diff options
author | Jeremy Allison <jra@samba.org> | 1997-09-19 17:40:11 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1997-09-19 17:40:11 +0000 |
commit | b588615b201fda404c09637b344e9823443ce396 (patch) | |
tree | 1d09669cf97a626bd750ad1159720cc4392302d9 | |
parent | 97ed4fea67095dfb83227e7b5fffc236ff277e02 (diff) | |
download | samba-b588615b201fda404c09637b344e9823443ce396.tar.gz samba-b588615b201fda404c09637b344e9823443ce396.tar.xz samba-b588615b201fda404c09637b344e9823443ce396.zip |
smbclient.1: Added documentation of the username%password environment code.
smb.conf.5: Added 'username level' docs.
Jeremy (jallison@whistle.com)
-rw-r--r-- | docs/manpages/smb.conf.5 | 22 | ||||
-rw-r--r-- | docs/manpages/smbclient.1 | 7 |
2 files changed, 29 insertions, 0 deletions
diff --git a/docs/manpages/smb.conf.5 b/docs/manpages/smb.conf.5 index 475eae8c7e0..869dbf9ffd8 100644 --- a/docs/manpages/smb.conf.5 +++ b/docs/manpages/smb.conf.5 @@ -477,6 +477,8 @@ time server unix realname +username level + username map use rhosts @@ -3199,6 +3201,26 @@ on how this parameter determines access to the services. username = fred username = fred, mary, jack, jane, @users, @pcgroup +.SS username level (G) + +This option helps Samba to try and 'guess' at the real UNIX username, +as many DOS clients send an all-uppercase username. By default Samba +tries all lowercase, followed by the username with the first letter +capitalized, and fails if the username is not found on the UNIX machine. + +If this parameter is set to non-zero the behaviour changes. This +parameter is a number that specifies the number of uppercase combinations +to try whilst trying to determine the UNIX user name. The higher the number +the more combinations will be tried, but the slower the discovery +of usernames will be. Use this parameter when you have strange +usernames on your UNIX machine, such as 'AstrangeUser'. + +.B Default: + username level = 0 + +.B Example: + username level = 5 + .SS username map (G) This option allows you to to specify a file containing a mapping of diff --git a/docs/manpages/smbclient.1 b/docs/manpages/smbclient.1 index 6ae454f2f24..af36e4a3763 100644 --- a/docs/manpages/smbclient.1 +++ b/docs/manpages/smbclient.1 @@ -257,6 +257,13 @@ If no is supplied and neither environment variable exists the user name will be empty. +If the USER environment variable containts a '%' character, everything +after that will be treated as a password. This allows you to set the +environment variable to be +.B USER=username%password +so that a password is not passed on the command line (where it may +be seen by the ps command). + If the service you are connecting to requires a password, it can be supplied using the .B \-U |