[Samba] Samba + ldap + cannot find domain
Rowland penny
rpenny at samba.org
Thu Feb 18 08:40:06 UTC 2016
On 18/02/16 02:45, Dave Beach wrote:
> Because I'm a masochist, I decided to port my previous (and much older)
> Samba configuration running a (much older) Slackware implementation to a
> (much) new server (running Debian Jessie) without actually looking at how to
> migrate it. Great fun, lots of problems to solve now.
>
>
>
> The problem of the moment: /var/log/samba/log.smbd tells me it cannot find
> the domain info in the ldap backend. Here's the funny thing: the log seems
> to be telling me Samba is looking for the domain name X, when my domain name
> is actually configured as Y in /etc/samba/smb.conf. X is listed in smb.conf
> as the netbios name of the server.
>
>
>
> This makes no sense to me. Am I missing something obvious?
You may be, but how can we tell, we cannot see your smb.conf
>
>
>
> Log.smbd tells me a connection is being opened to the ldap server, and that
> it was querying dc=A,dc=B (all correct), (&(objectClass=sambaDomain)
> (sambaDomainName=X). pbd_init_ldapsam then throws a warning that it could
> not get the domain info, which makes complete sense to me because it's
> looking for the wrong domain name.
>
>
>
> Why would Samba be looking for the server's netbios name as the domain name?
> They're clearly correct in my smb.conf.
Are they?
>
>
>
> I'm sure there will be subsequent problems for me to solve, but this one has
> me stumped at the moment.
>
>
Beats the hell out of me, if only I could see your smb.conf ;-)
> Any help or suggestions greatly appreciated.
>
Yes, post your smb.conf
Rowland
More information about the samba
mailing list