-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim C wrote on Thu, Feb 20, 2003 at 06:02:30PM -0800 :
> 
> add user script = /usr/share/samba/scripts/smbldap-useradd.pl -w -d 
> /dev/null -g Machines -s /bin/false %u
> ...and according to the docs the script *must* be run as root... still I 

Correct.

> need to be sure at this point.  How can I write such a script?  Since 
> the options are as noted above, I should probably just echo the $USER 
> environment variable, yes?

Well it's perl.  Make sure that the first line of smbldap-useradd.pl has
#!/usr/bin/perl (ie points to the correct perl binary).

> What about changing to a higher log level?  Right now I am at 3.

Couldn't hurt.  Pick it up to around 5 or 6.  Increase your max log file
size to 500K as it will rotate pretty quickly if you leave it down at
50K.

Blue skies...                   Todd
- -- 
           MandrakeSoft USA   http://www.mandrakesoft.com
   Easy things should be easy, and hard things should be possible.
                                                --Larry Wall
      Mandrake Cooker Devel Version, Kernel 2.4.21pre4-9mdk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Voeelp7v05cW2woRAmUmAKDCXsLwyQdx+oieeMFHUsEC4uVEfACgh++K
izniZG0T8OaVRPURii50TxQ=
=t/rf
-----END PGP SIGNATURE-----

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to