A Debain user reports:
I can't add new users with this module. The error message
is
Failed to save user : Failed to add user to LDAP database :
no structural object class provided
and indeed, the new user is of objectclasses posixAccount
and
shadowAccount, which are both AUXILIARY and not
STRUCTURAL in openldap. As far as I know the problem
occured because the new version of openldap (2.1) started
to enforce proper object classes.
Logged In: YES
user_id=129364
Do you know if there is a correct structural object class
that should be used when creating users in this situation?
Logged In: YES
user_id=125881
In my intranet setup I'm using 'account' as the structural object
class which works. I'm not 100% sure that would be the best
choice though.
Logged In: YES
user_id=129364
The next Webmin release will always set the 'person' object
class too, which will solve this problem.
Logged In: YES
user_id=125881
In the mean time do you have a patch? I'd like to update the
Debian package as quickly as possible.
LDAP Users and Groups patch
Logged In: YES
user_id=129364
I've attached a patch to this bug report..