setting up ldap

Discussion in 'HOWTO-Related Questions' started by theands, Nov 13, 2007.

  1. theands

    theands New Member

    Hello everyone. I have been trying for about a week now, I have emailed people and posted on forums and still I am a bit confused.

    I currently have a Linux boxwith Debian installed. I have samba running as a PDC currently when a user logs into the domain windows mentions that there was not roaming profile found. Can anyone help me with that?

    Anyways to the big question, 'LDAP'. I want to centrualize authentication to be powered by LDAP. Currently I have openLdap install. Within the smb.config file I have the following.

    passdb backend = ldapsam:ldap://
    ldap suffix = dc=test,dc=net
    ldap admin dn = cn=admin,dc=test,dc=net
    ldap machine suffix = ou=machines
    ldap delete dn = no

    Theabove is included within the smb.config file. Is this enough to allow samba to reference ldap for user name and passwords.

    And finally I wish to create the followin Ldap structure


    I am using phpldapadmin to create this structure, but i have no idea how to set permission to each group. For instants I want the ou=admins to have root like privilages, whiles the ou=home user to have the ability to read only there home drives.

    Can anyone help me the answer to these questions are eluding me.


Share This Page