Getting "BADAUTH" on Linu...
Getting "BADAUTH" on Linux
- Home
- Control Panel
- Community Forum
- Services
- Dynamic DNS Service
- Getting "BADAUTH" on Linux
- Community Forum
- Getting "BADAUTH" on Linux
Topic: Getting "BADAUTH" on Linux
I have a domain named: mydomain.com in dynu.com and on on my linux box I tried to set up a dynamic dns and I am getting bad authorization.Here is my conf:# ddclient configuration for Dynu## /etc/ddclient/ddclient.confdaemon=60 # Check every 60 seconds.syslog=yes # Log update msgs to syslog.mail=root # Mail all msgs to root.mail-failure=root # Mail failed update msgs to root.pid=/var/run/ddclient.pid # Record PID in file.use=web, web=checkip.dynu.com/, web-skip='IP Address' # Get ip from server.server=api.dynu.com # IP update server.protocol=dyndns2login=myusernamepassword=mypasswordmydomain.comAnd the ddclient update request:WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''CONNECT: checkip.dynu.comCONNECTED: using HTTPSENDING: GET / HTTP/1.0SENDING: Host: checkip.dynu.comSENDING: User-Agent: ddclient/3.8.3SENDING: Connection: closeSENDING:RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Fri, 16 Jun 2017 07:04:31 GMTRECEIVE: Server: Apache/2.2.15 (CentOS)RECEIVE: X-Powered-By: PHP/5.3.3RECEIVE: Content-Length: 34RECEIVE: Connection: closeRECEIVE: Content-Type: text/html; charset=UTF-8RECEIVE:RECEIVE: Current IP Address: 213.153.152.38INFO: setting IP address to 213.153.152.38 for mydomain.comUPDATE: updating mydomain.comCONNECT: api.dynu.comCONNECTED: using HTTPSENDING: GET /nic/update?system=dyndns&hostname=mydomain.com&myip=213.153.152.38 HTTP/1.0SENDING: Host: api.dynu.comSENDING: Authorization: Basic *****SENDING: User-Agent: ddclient/3.8.3SENDING: Connection: closeSENDING:RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Thu, 15 Jun 2017 23:44:20 GMTRECEIVE: Server: Dynu Web ServerRECEIVE: X-Powered-By: Dynu Dynamic DNS ServiceRECEIVE: Content-Length: 7RECEIVE: Content-Type: text/htmlRECEIVE:RECEIVE: badauthFAILED: updating mydomain.com: badauth: Bad authorization (username or password)[root@centos ~]#
Reply with quote | Report
timothytw wrote:Have you tried enclosing the password in single quotes?
field=value- B
Reply with quote | Report
blackbarret wrote:Confirmed, the ddclient password field expects single quotations and the domain as last line.Also i like to note, the config of the ddclient does not accept spaces or tabs, it requires to be LF's (not windows CRLF) and continuation oftimothytw wrote:Have you tried enclosing the password in single quotes?field=value- B
Reply with quote | Report
Author | Topic: Getting "BADAUTH" on Linux |
---|---|
erolwizard Joined: 1/15/2017 |
Getting "BADAUTH" on Linux Thursday, June 15, 2017 11:49 PM
I have a domain named: mydomain.com in dynu.com and on on my linux box I tried to set up a dynamic dns and I am getting bad authorization.Here is my conf:# ddclient configuration for Dynu## /etc/ddclient/ddclient.confdaemon=60 # Check every 60 seconds.syslog=yes # Log update msgs to syslog.mail=root # Mail all msgs to root.mail-failure=root # Mail failed update msgs to root.pid=/var/run/ddclient.pid # Record PID in file.use=web, web=checkip.dynu.com/, web-skip='IP Address' # Get ip from server.server=api.dynu.com # IP update server.protocol=dyndns2login=myusernamepassword=mypasswordmydomain.comAnd the ddclient update request:WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''CONNECT: checkip.dynu.comCONNECTED: using HTTPSENDING: GET / HTTP/1.0SENDING: Host: checkip.dynu.comSENDING: User-Agent: ddclient/3.8.3SENDING: Connection: closeSENDING:RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Fri, 16 Jun 2017 07:04:31 GMTRECEIVE: Server: Apache/2.2.15 (CentOS)RECEIVE: X-Powered-By: PHP/5.3.3RECEIVE: Content-Length: 34RECEIVE: Connection: closeRECEIVE: Content-Type: text/html; charset=UTF-8RECEIVE:RECEIVE: Current IP Address: 213.153.152.38INFO: setting IP address to 213.153.152.38 for mydomain.comUPDATE: updating mydomain.comCONNECT: api.dynu.comCONNECTED: using HTTPSENDING: GET /nic/update?system=dyndns&hostname=mydomain.com&myip=213.153.152.38 HTTP/1.0SENDING: Host: api.dynu.comSENDING: Authorization: Basic *****SENDING: User-Agent: ddclient/3.8.3SENDING: Connection: closeSENDING:RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Thu, 15 Jun 2017 23:44:20 GMTRECEIVE: Server: Dynu Web ServerRECEIVE: X-Powered-By: Dynu Dynamic DNS ServiceRECEIVE: Content-Length: 7RECEIVE: Content-Type: text/htmlRECEIVE:RECEIVE: badauthFAILED: updating mydomain.com: badauth: Bad authorization (username or password)[root@centos ~]#
|
timothytw Joined: 5/2/2002 |
Getting "BADAUTH" on Linux Friday, June 16, 2017 11:37 AM
Have you tried enclosing the password in single quotes?
|
blackbarret Joined: 4/26/2017 |
Getting "BADAUTH" on Linux Monday, June 19, 2017 6:00 AM
field=value- B |
bdavids Joined: 6/23/2017 |
Getting "BADAUTH" on Linux Friday, June 23, 2017 1:39 PM
|
It is currently Monday, November 25, 2024 5:39 AM US Mountain Standard Time
Monday, November 25, 2024 5:39 AM