Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: oxy on July 04, 2012, 07:24:16 am

Title: OpenLDAP tweaks
Post by: oxy on July 04, 2012, 07:24:16 am
Hi everybody!
I am kind of stuck in a situation here and I would appreciate your help. The problem is following: I have to add apple.schema to openldap, but the thing is it requires some "extras" in the samba:
acctFlags, pwdLastSet, logonTime, logoffTime, kickoffTime, homeDrive, scriptPath, profilePath, userWorkstations, smbHome, domain, rid, primaryGroupID
Any idea how to accomplish that?
Title: Re: OpenLDAP tweaks
Post by: jsalamero on July 05, 2012, 09:52:55 am
Adding more attributes there probably break up things, as won't be added when a user is created neither deleted. To add attributes to an schema, add them to the .ldif file before the module is enabled, or if has been enabled already stop slapd, find the file with the schema inside /etc/ldap/slap.d/ and add it there (this is a dirty, not validated way).