#1984 can not add users do samba

1.180
closed
Jamie Cameron
5
2005-03-13
2005-03-12
Anonymous
No

every time I try to add a user to samba this msg returns :
Failed to save user : The user was successfully saved,
but an error occured in another module :
samba::useradmin_create_user failed : /usr/bin/pdbedit
failed :

tdb_update_sam: Failing to store a SAM_ACCOUNT for
[pessoal] without a primary group RID

at ../web-lib.pl line 753.

Samba is a PDC, testparm does not return any error

I`ve using this feature from years now, but a new
machine, freshly instaled it no longer works !!

Discussion

  • the samba configuration file

     
    Attachments
  • Jamie Cameron
    Jamie Cameron
    2005-03-13

    Logged In: YES
    user_id=129364

    It looks like the -G option is needed to the pdbedit command
    when adding a new user, which Webmin isn't supplying because
    it doesn't know the RID. In the next release, I will add an
    option to the 'User Synchronisation' page for specifying this.

     
  • Jamie Cameron
    Jamie Cameron
    2005-03-13

    • status: open --> closed