[Samba] Samba / ldap Can you help me?

Nicolas Cousin Nicolas.Cousin at ac-lille.fr
Fri Sep 26 14:14:02 GMT 2003


-- Hello,

Can you help me?

I want use Samba 3 with Ldap, but I don't know.

    - The configuration of samba in PDC without ldap is ok
    - Ldap is ok

I don't know what I write in the smb.conf for use Samba with Ldap 
authentification.

passwd backend ???
passwd program ???

[global]
        workgroup = SIAL_TEST
        netbios name = MSNT2
        server string = sial_pdc
        obey pam restrictions = Yes
        passdb backend = tdbsam, guest, ldap://172.29.143.5:389
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n .
        syslog = 3
        log file = /var/log/samba/log.%m
        max log size = 1000
        logon script = logon.cmd
        logon path = \\%N\profiles\%u
        logon home = \\msnt2\%u

        #######
        # PDC #
        #######

        domain logons = Yes
        os level = 65
        preferred master = Yes
        domain master = Yes
        dns proxy = No



        ########
        # LDAP #
        ########
        ldap suffix = dc=in,dc=ac-lille,dc=fr
        ldap machine suffix = ou=machines,o=sial,dc=in,dc=ac-lille,dc=fr
        ldap user suffix = ou=utilisateurs,o=sial,dc=in,dc=ac-lille,dc=fr
        ldap group suffix = dc=in,dc=ac-lille,dc=fr
        ldap idmap suffix = dc=in,dc=ac-lille,dc=fr
        ldap admin dn = cn=admin,dc=in,dc=ac-lille,dc=fr
        ldap ssl = no
        panic action = /usr/share/samba/panic-action %d
        invalid users = root
        admin users = administrateur





thank you .

    









More information about the samba mailing list