Author Topic: OpenLDAP tweaks  (Read 1447 times)

oxy

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
OpenLDAP tweaks
« 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?

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: OpenLDAP tweaks
« Reply #1 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).