[Samba] Problem with AD users and groups

Marc Muehlfeld samba at marc-muehlfeld.de
Fri Jun 7 16:31:29 MDT 2013

Hello Marcelo,

Am 07.06.2013 03:30, schrieb Marcelo Ruriani:
> Thank you for the reply. To answer your questions. I am using the
> internal DNS. The DNS testing reveals that host -t SRV _ldap (and so on)
> plus host -t SRV _kerberos (and so on) return with a "not found" error.
> The A record test works fine.

Can you run

# samba_dnsupdate --verbose|grep "Failed nsupdate"

Entries that aren't found, can't be updated by that command, but let you 
know which are missing, like the SRV for _ldap._tcp.samdom.example.com:

# samba_dnsupdate --verbose|grep "Failed nsupdate"
Failed nsupdate: SRV _ldap._tcp.samdom.example.com 
dc1.samdom.example.com 389 : [Errno 2] No such file or directory

Then add the missing entries manually again:

# samba-tool dns add localhost samdom.example.com 
_ldap._tcp.samdom.example.com SRV "dc1.samdom.example.com 389 0 100"

Here's my test environment zone. There you can see the values for the 
SRV records you have to re-add. http://cpaste.org/1914/

! Create a backup of your samba directory before you do that !

After you have added the records, they should be resolvable again, of 


More information about the samba mailing list