Hello, I switched from smbpasswd to LDAP backend in 2.2.x cvs code. The "add user script" is not invoked anymore (I used it for automatically adding W2K machines). Should I be using "add machine script" with LDAP? Thanks, Axel. -- Axel.Thimm+samba@physik.fu-berlin.de
On Tue, 2002-04-09 at 03:58, Axel Thimm wrote:> Hello, > > I switched from smbpasswd to LDAP backend in 2.2.x cvs code. The "add user > script" is not invoked anymore (I used it for automatically adding W2K > machines).Axel, try using the smbldap-tools (Perl scripts) from http://samba.idealx.org. I've been using smbldap-useradd.pl for the "add user" directive, works like a charm.> > Should I be using "add machine script" with LDAP?"add user" works - just make sure to specify that it's a machine account: add user script = /usr/local/sbin/smbldap-useradd.pl -w %u BTW, these scripts make dealing with other tasks regarding account management much easier, too. Take a look at smbldap-populate.pl - can save you a lot of time.> Thanks, Axel. > -- > Axel.Thimm+samba@physik.fu-berlin.de > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
On Tue, 9 Apr 2002, Axel Thimm wrote:> Hello, > > I switched from smbpasswd to LDAP backend in 2.2.x cvs code. The "add user > script" is not invoked anymore (I used it for automatically adding W2K > machines). > > Should I be using "add machine script" with LDAP?This options doesn't exist in SAMBA_2_2. The "add user script" should be invoked. Do you have error messages in the smbd logs? cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--