[Samba] Problem Connecting to Samba-OpenLDAP PDC

Tomasz Chmielewski mangoo at mch.one.pl
Wed Jun 22 20:34:25 GMT 2005


Adam Gritt schrieb:
> I have made some changes to try and get the PDC working and now I am
> down to one thing where I believe the problem lies.  All such
> documents on the setup show that the addition of users to the PDC
> should be added to passwd as well as LDAP but for my system that is
> not the case.  I am running the listed software:
> 
> Fedora Core 4
> OpenLDAP 2.2.23
> Samba 3.0.14a
> 
> This is what currently happens when I run the command:
> [root at Fedora4 log]# smbclient //pdc-srv/testuser1 -U testuser1
> Password:
> session setup failed: NT_STATUS_LOGON_FAILURE
> 
> The user testuser1 is listed in the ldap database but now in the
> passwd database.  I am obviously missing something important to link
> the two but I do not know what.  Any help on the matter is
> appreciated.

the same question as before:

does "getent passwd" list that user?

if so, try doing:

root# su some_user_from_etc_passwd
someuser$ su testuser1  <- the user from LDAP
password:
testuser1$

does it work for you?


-- 
Tomek
WPKG - install software on your Samba clients
http://wpkg.org


More information about the samba mailing list