PDA

View Full Version : setting up ldap


theands
13th November 2007, 11:57
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://127.0.0.1
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

dc=test,dc=net
-ou=machines
--cn=andrew,dc=test,dc=net
-ou=Home
-ou=webpages
-ou=admins

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.

Regards,
Ands