[Samba] error adding a user

John Drescher drescherjm at gmail.com
Sun Jan 2 14:48:29 MST 2011


On Sun, Jan 2, 2011 at 4:44 PM, Marco Ciampa <ciampix at libero.it> wrote:
> 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...
>

I would just add the user in ldap directly. LAM is a good tool to do
that and pretty easy to use.

http://www.ldap-account-manager.org

John


More information about the samba mailing list