Hello, First time using the new ads function and have some questions. I'm issuing the command 5 times with different parameters and only one succeeds. #net ads dns register DNS update failed! #net ads dns register -P DNS update failed! #net ads dns register -P -I 10.170.4.10 DNS update failed! #net ads dns register -I 10.170.4.10 -U Administrator Administrator's password: Successfully registered hostname with DNS #net ads dns register -I 10.170.4.10 -U Administrator%secret DNS update failed! net ads info LDAP server: 10.170.4.10 LDAP server name: ad-server.foo.com Realm: FOO.COM Bind Path: dc=FOO,dc=COM LDAP port: 389 Server time: Fri, 01 Jun 2007 21:17:57 CEST KDC server: 10.170.4.10 Server time offset: -128 So the questions are: Which DNS IP adress is the command targeting initially? Why do I have to specify a user/password? Why can't I specify a password together with the username so that I can script it?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Henrik,> First time using the new ads function and have > some questions.I'm issuing the command 5 times with > different parameters and only one succeeds....> # net ads dns register -P > DNS update failed!...> # net ads dns register -I 10.170.4.10 -U Administrator > Administrator's password: > Successfully registered hostname with DNSThe DDNS update facility is design to be used by member servers joined to an AD domain. * If you enable --with-dnsupdate, then the DDNS update request will be done as part of "net ads join" * You can refresh the DNS A records using the machine account credentials by invoking "net ads dns register -P" * In all cases the list of IP addresses to register is take from the "interfaces" parameter in smb.conf. Or all broadcast capable interfaces in the absence of this parameter. cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGZDOAIR7qMdg1EfYRAhlKAJwIITka57s6+e3G/OTNhiSpnmgQXACg0gdA vOuSRAwH7ZkJPiXLE6U+6og=2qzk -----END PGP SIGNATURE-----
Maybe Matching Threads
- Why can't I delete "Everyone" ACL entry on a Samba share?
- Migrating to Samba 4.9.4 AD, kinit administrator -> kinit: Cannot contact any KDC for realm...
- Migrating to Samba 4.9.4 AD, kinit administrator -> kinit: Cannot contact any KDC for realm...
- CentOS 6 as DNS-Server
- Registering Samba server in a MS DNS