Getting "BADAUTH" on Linu...
Getting "BADAUTH" on Linux
- Casa
- Pannello di controllo
- Forum della Comunità
- Services
- Dynamic DNS Service
- Getting "BADAUTH" on Linux
- Forum della Comunità
- Getting "BADAUTH" on Linux
Argomento: 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 ~]#
Rispondi con citazione | Segnalare
timothytw wrote:Have you tried enclosing the password in single quotes?
field=value- B
Rispondi con citazione | Segnalare
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
Rispondi con citazione | Segnalare
Autore | Argomento: Getting "BADAUTH" on Linux |
---|---|
erolwizard Iscritto: 15/01/2017 |
Getting "BADAUTH" on Linux giovedì 15 giugno 2017 23:49
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 Iscritto: 02/05/2002 |
Getting "BADAUTH" on Linux venerdì 16 giugno 2017 11:37
Have you tried enclosing the password in single quotes?
|
blackbarret Iscritto: 26/04/2017 |
Getting "BADAUTH" on Linux lunedì 19 giugno 2017 06:00
field=value- B |
bdavids Iscritto: 23/06/2017 |
Getting "BADAUTH" on Linux venerdì 23 giugno 2017 13:39
|
Al momento è venerdì 27 dicembre 2024 00:00 US Mountain Standard Time
venerdì 27 dicembre 2024 00:00