[Samba] Re: Can't Find Password

Bradley W. Langhorst brad at langhorst.com
Wed Apr 16 00:45:00 GMT 2003


On Tue, 2003-04-15 at 12:02, John Peak wrote:
> Thanks again for the help so far.  It appears that this was a problem, but I
> don't think it we *the* problem.  It appears that Samba still cannot lookup
> the account in LDAP even thought it is now connecting using the proper admin
> login.
> 
> Just to recap...:
> 
> 1)  Trying to login to Samba using an LDAP backend gives me
> NT_STATUS_NO_SUCH_USER
> 2)  I get a "Problem during the LDAP search:  (No such object)" in my log
> which I think is just Samba trying to lookup the sambaGroupMapping object.
> I do not have this in my LDAP database, but don't believe this should cause
> problems.
you're using alpha23+ right...
i think you need to run the update to populate those structures
see the release notes for a23

if not then the shouldn't be a sambaGroupMapping object...
you did set the ldap admin password with smbpasswd -w as per the docs
right.

try pdbedit -l as a  quick way to check if you're getting stuff out of
ldap

> 3)  The LDAP log I've included also seems to indicate that the LDAP search
> is being performed and is returning something.  Also, when I manually run
> ldapsearch I get the "root" posixAccount record back as expected.
are you binding as "cn=Manager,dc=elucidation" during that search?

> smb.conf
> ---------
> [global]
>         workgroup = ELUCIDATION
>         #passdb backend = ldapsam unixsam guest
>         passdb backend = ldapsam guest
i think this should be
passdb backend = ldapsam_nua:ldap://your.ldap.server
guest account = nobody 
but i think it's working because your ldapserver is on localhost...
>         non unix account range = 10000-19999
...

brad


-- 
Bradley W. Langhorst <brad at langhorst.com>



More information about the samba mailing list