[Samba] Samba-ldap-pdc questions

Marc Remolt JesoreHarale at gmx.de
Tue Jan 6 15:45:54 GMT 2004


You have more than one suffix in slapd.conf - why? The one you use in smb.conf ist a mixture of the two - that doesn't work. Use one of them - the one under which your user data is stored. 

Jesore

> [global]
>    workgroup = mydomain
>    netbios name = ts010
>    encrypt passwords = yes
>    passdb backend = ldapsam:ldap://localhost/
>    ldap suffix = o=mydomain,dc=mydomain,dc=com
>    ldap machine suffix = ou=Comupters
>    ldap user suffix = ou=Users
>    ldap group suffix = ou=Groups
>    ldap admin dn = "cn=tsadmin,dc=mydomain,dc=com"
> #   ldap ssl = start tls
>    ldap delete dn = no
 %n\n


> database        ldbm
> suffix          "o=mydomain"
> suffix          "dc=mydomain,dc=com"
> rootdn          "cn=tsadmin,dc=mydomain,dc=com"
> # Cleartext passwords, especially for the rootdn, should
> # be avoided.  See slappasswd(8) and slapd.conf(5) for details.
> # Use of strong authentication encouraged.
> # rootpw                secret
> rootpw          {SSHA}nzEMEVTSdQYIy3jLsWn4xmQLQI/Cb0Tn
> # The database directory MUST exist prior to running slapd AND
> # should only be accessible by the slapd and slap tools.
> # Mode 700 recommended.
> directory       /var/lib/ldap/
> 


More information about the samba mailing list