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? -- Marco Ciampa +--------------------+ | Linux User #78271 | | FSFE fellow #364 | +--------------------+
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 | +--------------------+
On Sun, Jan 2, 2011 at 5:17 PM, Marco Ciampa <ciampix at libero.it> wrote:> On Sun, Jan 02, 2011 at 04:48:29PM -0500, John Drescher wrote: >> 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 > > Yes, I know, you are right but... > > ...but that question I mailed is because I want to understand what is > going on. I do not want just to turn around the problem. > > I want to understand...I was asking if someone has encountered a similar > problem just to have a hint on where start fiddling to understand & fix > the problem. > > Sorry for the noise...(returning to study some Samba+LDAP howtos...) >No you are fine. You should probably post a few details of your setup. samba version, windows version, samba config. More context from the samba log you posted. Possibly an expert can help with this. I myself probably can not help much on this one. John