#3155 Pb with the user account creation

1.420
closed-rejected
Jamie Cameron
5
2008-06-29
2008-06-29
olivier
No

When i create an user account on the "System - User & Group" module, i've got an error message:

Impossible d'enregistrer l'utilisateur : L'utilisateur a été enregistré avec succès, mais une erreur s'est produite dans un autre module : samba::useradmin_create_user failed : /usr/bin/pdbedit failed :
WARNING: The "printer admin" option is deprecated
ldapsam_modify_entry: LDAP Password could not be changed for user alain: Server is unwilling to perform
new password value is empty
ldapsam_add_sam_account: failed to modify/add user with uid = alain (dn = uid=alain,dc=ebox)

at ../web-lib-funcs.pl line 982

Although this message, the account is created on the user and group module and on the user samba module.
But the connection to the shared files using this new account don't work

Discussion

  • olivier
    olivier
    2008-06-29

    Logged In: YES
    user_id=2130645
    Originator: YES

    i forget to mention that a use webmin to administrate my linux server which is a Ubuntu v8.04 server version

     
  • Jamie Cameron
    Jamie Cameron
    2008-06-29

    • status: open --> closed-rejected
     
  • Jamie Cameron
    Jamie Cameron
    2008-06-29

    Logged In: YES
    user_id=129364
    Originator: NO

    So it looks like you have Samba configured to use an LDAP database for user storage.

    In that case, you shouldn't use the Users and Groups module - instead, you need to setup and use the LDAP Users and Groups, which can manage the LDAP database directly. This assumes that your Linux system is configured to use LDAP to get user accounts - the LDAP Client module is the best place to set this up.