Consistency in parameter names?

Steve Langasek vorlon at netexpress.net
Thu Oct 24 03:49:00 GMT 2002


On Wed, Oct 23, 2002 at 08:22:07PM -0700, Jay Ts wrote:
> On Thu, Oct 24, 2002 at 11:04:16AM +0930, Richard Sharpe wrote:

> > We have:

> >   add user script
> >   add group script
> >   add machine script
> >   ...
> delete user script
> logon script
> magic script

> > and

> >   add share command
> >   add printer command

> > ?

> I noticed it too.  Ideally, (with the exception of
> logon script) I think they should all use "command" rather
> than "script", because AFAIK, they all can work with
> compiled programs as well as interpreted scripts. Samba
> doesn't care, it just execs the command with arguments, right?
> If not, I'd really like to know!

The reasoning I've heard for "delete user script" being called "script"
instead of "command" is that it's BAD to point this at something like
adduser without a certain amount of error checking... doesn't stop some
of us, though. :)

Steve Langasek
postmodern programmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20021024/e0cf14c0/attachment.bin


More information about the samba-technical mailing list