I have successfully created an OpenLDAP (CentOS 6.2) to Active Directory (Windows Server 2008 R2) connection. I can login to my CentOS using an AD user.
Problem is, the AD user has to have these attributes:
- objectClass = posixAccount
- objectClass = posixGroup
- homeDirectory =/home/* username *
If I set these attributes manually using ldapmodify, upon logging into CentOS, the directory will be created.
So, how can I automatically set these attributes for the User upon creation? eg: when I right click on a user under Server Manager on Windows 2008, and go to the Profile tab, under Local Path it should be : /home/ * username */ listed instead of it being blank by default.
Any help greatly appreciated!