[Samba] Re: Re: Re: SAMBA / LDAP / Domain Password change problem

John Schmerold john at katy.com
Fri Dec 3 04:45:36 GMT 2004


slapd.conf - password changed to proect the guilty:

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/samba.schema

pidfile         /var/run/slapd.pid

database        ldbm
suffix          "dc=twinoakschurch,dc=org"
rootdn          "cn=Manager,dc=twinoakschurch,dc=org"
rootpw                {crypt}ijFYNcSNctBYg

directory       /var/lib/ldap

index objectClass eq
index cn pres,sub,eq
index sn pres,sub,eq
index uid pres,sub,eq
index displayName pres,sub,eq
index uidNumber eq
index gidNumber eq
index memberUID eq
index sambaSID eq
index sambaPrimaryGroupSID eq
index sambaDomainName eq
index default sub

John Schmerold
Katy Computer & Wireless
20 Meramec Station Rd
Valley Park MO 63088
636-861-6900 v
775-227-6947 f



Danny Paul wrote:

>Ok, now it sounds like the account SAMBA uses to sonnect to LDAP is too
>restricted.  Attach your slapd.conf.
>
>John Schmerold wrote:
>
>  
>
>>First I setup DHCP on the server - we were using the Linksys router to
>>provide DHCP
>>
>>Then did following:
>>service smb stop ; service winbind stop ; rm -f
>>/var/cache/samba/wins.dat ; service smb start ; service winbind start
>>Same problem
>>
>>I looked at the log file for one of the computers that won't join the
>>domain. It says the following:
>>cat  /var/log/samba/log.ron_laptop
>>[2004/11/30 11:25:24, 0] passdb/pdb_ldap.c:ldapsam_add_sam_account(1870)
>>  ldapsam_add_sam_account: failed to modify/add user with uid =
>>ron_laptop$ (dn = uid=ron_laptop$,ou=Computers,dc=twinoakschurch,dc=org)
>>[2004/11/30 11:25:24, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2277)
>>  could not add user/computer ron_laptop$ to passdb.  Check permissions?
>>    
>>
>
>
>  
>


More information about the samba mailing list