Confusing number of workgroup options in net rpc

Tim Potter tpot at samba.org
Wed Sep 10 06:36:48 GMT 2003


Why are there so many ways to specify the workgroup value in net?  There
is --workgroup/-w, --myworkgroup/-W in net.c as well as the default one 
from popt_common.c that handily combines --workgroup and -W.

I would like to see only one workgroup option that can be used to
override the value in smb.conf  Is there any good reason for the other
two?  Most of the net code uses opt_target_workgroup (--workgroup) and
other bits use opt_workgroup (--myworkgroup). 


Tim.



More information about the samba-technical mailing list