CVS update: samba/source/utils

Andrew Bartlett abartlet at pcug.org.au
Tue Feb 12 22:01:06 EST 2002


Herb Lewis wrote:
> 
> Andrew Bartlett wrote:
> >
> > Volker Lendecke wrote:
> > >
> > > On Sat, Feb 09, 2002 at 11:05:31PM +1100, Andrew Bartlett wrote:
> > > > > Move all the command line agrument processing to one place.
> > > >
> > > > Do we really want to do this?
> > >
> > > I needed that in several places. When you have separate Samba installations on
> > > a single machine it's necessary. But there are ways around it.
> > >
> > > Volker
> >
> > I don't have a problem with -c.  I was objecting to the removal of the
> > root/non-root split.
> >
> > Andrew Bartlett
> >
> 
> I didn't remove the root / non-root split. It still prints out the
> different usage messages and if a non-root tries to do a root arg
> it will spit out the usage and exit just like it did before. I just
> moved all the processing to one location and the root args have a
> if (!amroot) goto bad_args;
> in the getopt processing.

In which case I'll revise my position to a 'thankyou very much' - the
previous stuff was ugly and messy...

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba-cvs mailing list