|
@ -25,7 +25,7 @@ dns_infoblox_add() { |
|
|
_saveaccountconf Infoblox_Server "$Infoblox_Server" |
|
|
_saveaccountconf Infoblox_Server "$Infoblox_Server" |
|
|
|
|
|
|
|
|
## Base64 encode the credentials |
|
|
## Base64 encode the credentials |
|
|
Infoblox_CredsEncoded=$(printf "$Infoblox_Creds" | _base64) |
|
|
|
|
|
|
|
|
Infoblox_CredsEncoded=$(echo -n "$Infoblox_Creds" | _base64) |
|
|
|
|
|
|
|
|
## Construct the HTTP Authorization header |
|
|
## Construct the HTTP Authorization header |
|
|
export _H1="Accept-Language:en-US" |
|
|
export _H1="Accept-Language:en-US" |
|
@ -57,7 +57,7 @@ dns_infoblox_rm() { |
|
|
_debug txtvalue "$txtvalue" |
|
|
_debug txtvalue "$txtvalue" |
|
|
|
|
|
|
|
|
## Base64 encode the credentials |
|
|
## Base64 encode the credentials |
|
|
Infoblox_CredsEncoded=$(printf "$Infoblox_Creds" | _base64) |
|
|
|
|
|
|
|
|
Infoblox_CredsEncoded=$(echo -n "$Infoblox_Creds" | _base64) |
|
|
|
|
|
|
|
|
## Construct the HTTP Authorization header |
|
|
## Construct the HTTP Authorization header |
|
|
export _H1="Accept-Language:en-US" |
|
|
export _H1="Accept-Language:en-US" |
|
|