summaryrefslogtreecommitdiffstats
path: root/docs/htmldocs/using_samba
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2002-02-07 23:27:20 +0000
committerHerb Lewis <herb@samba.org>2002-02-07 23:27:20 +0000
commit6a9657dbd74b491bf3047834b6438662b19e1f95 (patch)
treec2fa5ae4ef02d7fbd3a6994ef468af01050d7d2c /docs/htmldocs/using_samba
parent626598cb1c0f2ba9a216b40d20b892218ec1759d (diff)
downloadsamba-6a9657dbd74b491bf3047834b6438662b19e1f95.tar.gz
samba-6a9657dbd74b491bf3047834b6438662b19e1f95.tar.xz
samba-6a9657dbd74b491bf3047834b6438662b19e1f95.zip
Add -c option to specify smb.conf file (-s was already used).
This will allow you to use smbpasswd if your smb.conf file is not in the compiled location. Move all the command line agrument processing to one place. Process args before calling lp_load services so it gets correct smb.conf file I'm not sure of the intent of the -L option (it no longer needs to be first). The usage message shows only root can use it, but there is no check in the original code to see if you were root before processing the arg. I left it so you can specify the arg as non-root but doesn't seem correct. Also this arg is not documented in smb.conf man page. Could people test the various forms of using smbpasswd to make sure I didn't break anything. I tried the ones I can think of and it seems OK.
Diffstat (limited to 'docs/htmldocs/using_samba')
0 files changed, 0 insertions, 0 deletions