#1622 No structural class causes user add failure

1.140
closed
5
2004-05-11
2004-05-06
No

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.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2004-05-07

    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?

     
  • Jaldhar H. Vyas

    Jaldhar H. Vyas - 2004-05-10

    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.

     
  • Jamie Cameron

    Jamie Cameron - 2004-05-11
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2004-05-11

    Logged In: YES
    user_id=129364

    The next Webmin release will always set the 'person' object
    class too, which will solve this problem.

     
  • Jaldhar H. Vyas

    Jaldhar H. Vyas - 2004-05-12

    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.

     
  • Jamie Cameron

    Jamie Cameron - 2004-05-12

    LDAP Users and Groups patch

     
  • Jamie Cameron

    Jamie Cameron - 2004-05-12

    Logged In: YES
    user_id=129364

    I've attached a patch to this bug report..

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks