[Samba] [PATCH] Re: samba-tool domain classicupgrade with LDAP backend
abartlet at samba.org
Fri Jan 4 02:52:49 MST 2013
On Fri, 2013-01-04 at 10:18 +0100, Juan Asensio Sánchez wrote:
> 2013/1/4 Andrew Bartlett <abartlet at samba.org>
> On Fri, 2013-01-04 at 08:57 +0100, Juan Asensio Sánchez wrote:
> > Hi
> > I forgot to explain my scenario... I have one Samba3
> > with LDAP backend (it's a test server, but used
> intensively), so to
> > make the tests I created a new virtual machine in a
> > network. This is a clean CentOS 6.3 machine, just installed
> > compile dependencies and then compile and install Samba; I
> > modify resolv.conf, neither nscd.conf, so the name
> resolution is using
> > an "official" DNS server. After posting the message, I
> > investigating and I found this message
> https://lists.samba.org/archive/samba-technical/2012-September/086979.html, where the user reports the same problem than me. The solution there is to use the IP address instead of the DNS name, and he says that the problem can be due to his configuration, but I have the same problem... so I could think this is bug, not a server configuration problem I can connect perfectly to the LDAP server, use ldapsearch command, etc. Indeed, the script retrieves correctly the users, but only fails when exporting the Posix attributes).
> What is your 'name resolve order' parameter set to?
> name resolve order = wins lmhosts hosts bcast
Thanks, that is the clue I needed. The attached patch should help.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1092 bytes
Desc: not available
More information about the samba