[Samba] error adding a user

Marco Ciampa ciampix at libero.it
Sun Jan 2 14:44:20 MST 2011


On Fri, Dec 31, 2010 at 04:34:05AM +0100, Marco Ciampa wrote:
> Sorry for (I'm shure) my stupid question (and my bad english)...
> 
> If this is not the right place to post this kind of question forgive me
> and please point me to the right mailinglist.
> 
> I've a Samba 3 that works with an openldap server as a sole domain controller.
> 
> I used to use the Microsoft usermanager.
> After a general migration/upgrate I am not able to create new users anymore.
> I can do it with the smbldap-tools, manually only from the root user but
> if I do it through the usermanager it gives me an error.
> A net user add command done with the same adminitrator user give me this error:
> 
> Failed to add user 'pippo' with: WERR_GENERAL_FAILURE.
> 
> from the logs:
> 
> [2010/12/31 04:30:44,  0] passdb/pdb_ldap.c:2197(ldapsam_add_sam_account)
>   ldapsam_add_sam_account: User 'pippo' already in the base, with samba attributes
> 
> Any hint?

Need some other info?

I've seen in the Internet many times asked this question so it seems a
recurring problem but with generic answers (check all your conf
data/permission/so on...) or no answer at all...

Maybe it is a generic-catch-all error message a la Windows so it could
be fired by a hundred reasons or what?

Sorry I am not a Samba nor LDAP expert... you see...

-- 


Marco Ciampa

+--------------------+
| Linux User  #78271 |
| FSFE fellow   #364 |
+--------------------+


More information about the samba mailing list