README 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. This is a winsync plugin for the 389 directory server. http://port389.org
  2. The Posix Winsync Plugin syncs Posix attributes between 389 DS and MS
  3. AD for users and groups, if the attributes are available in one of the
  4. tow worlds. For syncing from AD to DS it will add the objectclass
  5. posixAccount and ShadowAccount or posixGroup for the ldap entry.
  6. For sync a user or group from DS to AD AD needs a nisdomain name, the
  7. nisdomin name I have stored in the upper container of the users and
  8. groups, e.g.:
  9. dn: dc=example,dc=dom
  10. nisDomain: example
  11. objectClass: top
  12. objectClass: domain
  13. objectClass: nisdomainobject
  14. dc: example
  15. It can be stored in any container above the user and group container
  16. and below the replicated DS subtree.
  17. The MSFU35 and the RFC2307 schema of AD is supported, but must
  18. configured in the plugin. User lock/unlock will sync and lock the user
  19. on DS with nsmanageddisabledrole. The code is borrowed from the
  20. freeIPA project.
  21. It is also possible to generate memberUid Attributes in Posix Groups
  22. corresponding the group members, if the members are Posix Users.
  23. After syncing from AD with a change in group membership, it will
  24. schedule a 'Member of Plugin' task, so that users get the memberOf
  25. attributes. For that the posix user get the objectclass inetUser
  26. Configuration
  27. The configuration entry DN is cn=Posix Winsync API,cn=plugins,cn=config
  28. there are 4 Config attributes:
  29. posixWinsyncMsSFUSchema -- set this true for the old MSFU schema on W2k3 AD's
  30. default: false
  31. posixWinsyncMapMemberUID -- set this false, if you don't want generate memberUid attributs in posix Groups
  32. default: true
  33. posixWinsyncCreateMemberOfTask -- create a task for the member of plugin to
  34. generate the memberOf attributes in a user, if a group membership in
  35. any user is changed while syncing. The postop-/preop plugins will not
  36. called through winsync, thats why create a task.
  37. default: false
  38. posixWinsyncLowerCaseUID: some customers use uppercase letters in samAccountName
  39. which is mapped to uid. uid should be case insensitve and works on
  40. Unix/Linux for users, but makes problems with supplementary groups (a least on Solaris)
  41. so you can set this to true, so that memberUid attributes will convert to lowercase.
  42. default: false