Antwort: [Samba] User manager for Domains for samba 3.0 PDC Error in 3.0.1pre3

rruegner robowarp at gmx.de
Thu Nov 27 08:22:06 GMT 2003


Hi Stefan, as i posted before all this stuff works in my install samba 3 ,
with smbpasswd backend, but user creation fails with
3.0.1pre3 from usrmgr.
I am nearly sure that this is a bug to 3.0.1pre3 ,
this behavior was just the same in development releases 
to version 3, i guess it has now broken again

Best Regards
  ----- Original Message ----- 
  From: Stefan.Iven at voessing.de 
  To: rruegner 
  Cc: samba at lists.samba.org 
  Sent: Thursday, November 27, 2003 8:02 AM
  Subject: Antwort: [Samba] User manager for Domains for samba 3.0 PDC Error


  Hello,

  I never testes Samba3 with smbpasswd backend.
  With LDAP I had the most problems with wrong
  smb.conf settings.
  Useinng smbldap tools, and setting the following entries in
  smb.conf work for me. Adding, changing, deleting for User and
  Global Groups work fine. You only have to do a screenrefresh to
  see the result.

         passdb backend = ldapsam:ldap://localhost:389
         add user script = /usr/bin/smbldap-useradd.pl -a %u
         delete user script = /usr/bin/smbldap-userdel.pl %u
         add group script = /usr/bin/smbldap-groupadd.pl %g
         delete group script = /usr/bin/smbldap-groupdel.pl %u
         add user to group script = /usr/bin/smbldap-groupmod.pl -m %u %g
         delete user from group script = /usr/bin/smbldap-groupmod.pl -x %u %g
         set primary group script = /usr/bin/smbldap-usermod.pl -g gid %u
         add machine script = /usr/bin/smbldap-useradd.pl -w %u

  Also, root have to be local administrator too. If root wasn't local admin,
  I get Access Denied when trying to add Users.
  I know when using smbpasswd backend this smb.conf entrys wont help,
  but perhaps it help you to get an idea what maybe wrong.

  Greetings

  Stefan




  >Hi @all,
  >using usrmgr in Samba 3.0.1pre3 with smbpasswd backend
  >fails at create new user all other functions ( addgroup, deluser ....)
  >works.
  >The create new user funktion works like charme with samba 3
  >I am not if this is known to the team ( i read about ldap failures with
  >usrmgr )
  >has anyone info of this bug ?




More information about the samba mailing list