winbindd.c patch to handle configurable smb.conf location
Tim Potter
tpot at samba.org
Tue May 1 04:44:41 GMT 2001
Rob Mason writes:
> I needed winbindd to be able to handle a -s command line
> parameter for location of conf file Below is patch to
> winbindd.c, to allow it to do this, basically copied out of
> smbd/server.c!!
Neat-o. I've commited your patch to the Samba tng branch.
> --- 648,654 ----
>
> /* Initialise samba/rpc client stuff */
>
> ! while ((opt = getopt(argc, argv, "ids:")) != EOF) {
BTW, this should have been "id:s:" so as not to break the -d
option.
Thanks,
Tim.
More information about the samba-technical
mailing list