CVS update: samba/source/utils

Herb Lewis herb at sgi.com
Tue Feb 12 06:22:10 EST 2002


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.
-- 
======================================================================
Herb Lewis                               Silicon Graphics 
Networking Engineer                      1600 Amphitheatre Pkwy MS-510
Strategic Software Organization          Mountain View, CA  94043-1351
herb at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177          
======================================================================




More information about the samba-cvs mailing list