Bug#1039699: Adding students/teachers with gosa fails due to LDAP and postcreate command errors
After some more debugging I have found that:
- creating a user based on the newstudent/newteacher template actually
succeeds and that the resulting user has a posixAccount class
- what actually fails is automatic group creation
- creating an independent group also fails
- adding a user to an existing group (created using ldapvi) fails
So in short group creation and adding to groups is broken due to the
above "groupOfNames" vs "posixGroup" class and "member" vs "memberUid"
issues.
Two suspicious changes in this regard are
https://github.com/gosa-project/gosa-core/pull/34 and
https://github.com/gosa-project/gosa-core/commit/79aa7fe63b#diff-2e1c800f3c3627ecb4b32cd634e508d10290c25afeb072a73fb5c58a7bdc2150L61
Unfortunately I have been unable to revert these due to a ton of conflicts, in
order to do so it is necessary to revert on master first and then rebase the
diff on top of develop since the latter is the base of our package but has
truncated git history.
--
Guido Berhoerster
Reply to: