[Samba] ldapsam question

Jochen Witte devnull at alpha-lab.net
Tue Feb 8 14:20:45 GMT 2005


Am Dienstag, den 08.02.2005, 08:13 -0600 schrieb Paul Gienger:
> >I want to check my new LDAP passdb with the net command, but I get:
> >
> ># net user
> >root's password: 
> >[2005/02/08 15:00:09, 0] utils/net_ads.c:ads_startup(186)
> >  ads_connect: Interrupted system call
> >  
> >
> I don't think you should be seeing ads messages at all.  What is your 
> security setting?  Perhaps shoot your whole smb.conf to the list, inline 
> not attached.
> 
> >If I use a wrong password, I get:
> >
> ># net user
> >root's password: 
> >[2005/02/08 15:04:05, 0] utils/net_ads.c:ads_startup(186)
> >  ads_connect: Interrupted system call
> >Could not connect to server 127.0.0.1
> >  
> >
> This part would be a Bad Thing (TM).  You're using LDAP on localhost 
> (from your previous posts) so something is borked here.  Is ldap 
> running?  Are you trying to use SSL? Again, smb.conf please.
> 

Here we go (just the important parts):

---snip---
        security = user
        encrypt passwords = Yes
        # Deprecated
        #min passwd length = 3
        obey pam restrictions = No
        ldap passwd sync = Yes
        passdb backend = ldapsam:ldap://127.0.0.1/
        ldap admin dn = cn=root,<suffix>
        ldap suffix = <suffix>
        ldap group suffix = ou=Group
        ldap user suffix = ou=People
        ldap machine suffix = ou=Hosts
        ldap idmap suffix = ou=People

---snip--- 

Do You need more?

Regards
Jochen


-- 
Jochen Witte <devnull at alpha-lab.net>




More information about the samba mailing list