Hi all,
There seems to be a conflict in the online documentation as to the
'security =' level and the 'add user script'.
  http://ie.samba.org/samba/docs/Samba-HOWTO-Collection.html#AEN1146
says that you have to have 'security = user' in order to have
Samba behave as a PDC.  Further on :-
  http://ie.samba.org/samba/docs/Samba-HOWTO-Collection.html#AEN1231
it says you can use the 'add user script' to have Samba automatically
create the UNIX user accounts for machine trust accounts. (Samba
automatically creates the smbpasswd machine trust account, although I
can't find this behaviour documented anywhere)
Anyway, the smb.conf(5) man page:-
  http://ie.samba.org/samba/docs/man/smb.conf.5.html#ADDUSERSCRIPT
says that 'add user script' only works in 'domain' or
'server' security
mode.
So which is it?  Does 'add user script' work in 'security =
user'?
                               Mac
          Assistant Systems Adminstrator @nibsc.ac.uk
                        dmccann@nibsc.ac.uk
   Work: +44 1707 654753 x285      Everything else: +44 7956 237670 (anytime)
Gerald Carter
2002-Feb-19  08:20 UTC
[Samba] Doco conflict (smb.conf(5) vs. HOWTO-Collection)
On Tue, 19 Feb 2002, Mac wrote:> There seems to be a conflict in the online documentation as to the > 'security =' level and the 'add user script'. > > > http://ie.samba.org/samba/docs/Samba-HOWTO-Collection.html#AEN1146 > > says that you have to have 'security = user' in order to have > Samba behave as a PDC. Further on :- > > http://ie.samba.org/samba/docs/Samba-HOWTO-Collection.html#AEN1231 > > it says you can use the 'add user script' to have Samba automatically > create the UNIX user accounts for machine trust accounts. (Samba > automatically creates the smbpasswd machine trust account, although I > can't find this behaviour documented anywhere) > > Anyway, the smb.conf(5) man page:- > > http://ie.samba.org/samba/docs/man/smb.conf.5.html#ADDUSERSCRIPT > > says that 'add user script' only works in 'domain' or 'server' security > mode. > > So which is it? Does 'add user script' work in 'security = user'?Yes. Thanks for catching this. I'll update the man page. 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--