From 55abd936a838a4410899db76cb5530b0c4694dc9 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 10 Oct 2001 17:19:10 +0000 Subject: mega-merge from 2.2 (This used to be commit c76bf8ed3275e217d1b691879153fe9137bcbe38) --- docs/docbook/manpages/smbpasswd.8.sgml | 108 ++++++++++++++------------------- 1 file changed, 46 insertions(+), 62 deletions(-) (limited to 'docs/docbook/manpages/smbpasswd.8.sgml') diff --git a/docs/docbook/manpages/smbpasswd.8.sgml b/docs/docbook/manpages/smbpasswd.8.sgml index 3af636715d..e757a0c67c 100644 --- a/docs/docbook/manpages/smbpasswd.8.sgml +++ b/docs/docbook/manpages/smbpasswd.8.sgml @@ -9,7 +9,7 @@ smbpasswd - change a users SMB password + change a user's SMB password @@ -45,7 +45,7 @@ SMB passwords. By default (when run with no arguments) it will attempt to - change the current users SMB password on the local machine. This is + change the current user's SMB password on the local machine. This is similar to the way the passwd(1) program works. smbpasswd differs from how the passwd program works however in that it is not setuid root but works in @@ -56,10 +56,10 @@ the smbpasswd(5) file. When run by an ordinary user with no options. smbpasswd - will prompt them for their old smb password and then ask them + will prompt them for their old SMB password and then ask them for their new password twice, to ensure that the new password was typed correctly. No passwords will be echoed on the screen - whilst being typed. If you have a blank smb password (specified by + whilst being typed. If you have a blank SMB password (specified by the string "NO PASSWORD" in the smbpasswd file) then just press the <Enter> key when asked for your old password. @@ -117,7 +117,7 @@ will fail. If the smbpasswd file is in the 'old' format (pre-Samba 2.0 - format) there is no space in the users password entry to write + format) there is no space in the user's password entry to write this information and so the user is disabled by writing 'X' characters into the password space in the smbpasswd file. See smbpasswd(5) for details on the 'old' and new password file formats. @@ -151,7 +151,7 @@ -D debuglevel - debuglevel is an integer + debuglevel is an integer from 0 to 10. The default value if this parameter is not specified is zero. @@ -274,68 +274,52 @@ - -j DOMAIN This option is used - to add a Samba server into a Windows NT Domain, as a Domain - member capable of authenticating user accounts to any - Domain Controller in the same way as a Windows NT - Server. See the security = domain option - in the smb.conf(5) man page. - - The Samba server can be joined to the Windows NT - Domain in one of two ways. The Administrator for the - domain can use the "Server Manager for Domains" program to - add the primary NetBIOS name of the Samba server as a - member of the Domain. - - After this has been done, to join the Domain invoke - smbpasswd with this - parameter. smbpasswd will then look up the Primary Domain - Controller for the Domain (found in the - smb.conf file in the parameter - password server and change the - machine account password used to create the secure Domain - communication. This password is then stored by smbpasswd - in a TDB, writeable only by root, called - secrets.tdb + -j DOMAIN + This option is used to add a Samba server + into a Windows NT Domain, as a Domain member capable of authenticating + user accounts to any Domain Controller in the same way as a Windows + NT Server. See the security = domain option in + the smb.conf(5) man page. + + In order to be used in this way, the Administrator for + the Windows NT Domain must have used the program "Server Manager + for Domains" to add the primary NetBIOS name of the Samba server + as a member of the Domain. + + After this has been done, to join the Domain invoke + smbpasswd with this parameter. smbpasswd will then + look up the Primary Domain Controller for the Domain (found in + the smb.conf file in the parameter + password server and change the machine account + password used to create the secure Domain communication. This + password is then stored by smbpasswd in a TDB, writeable only by root, + called secrets.tdb Once this operation has been performed the - smb.conf file may be updated to set the - security = domain option and all future - logins to the Samba server will be authenticated to the - Windows NT PDC. - - Note that even though the authentication is being - done to the PDC all users accessing the Samba server must - still have a valid UNIX account on that machine. - - The second method for joining the domain is to - use the -U option in addition to the - -j to specify an administrator - username and optional password. This method does not - require the use of the "Server Manager for Domains" - program. This method is more secure as the machine account - password is set to a well known value before the member - server is joined to the domain. - - This option is only available when running smbpasswd - as root. + smb.conf file may be updated to set the + security = domain option and all future logins + to the Samba server will be authenticated to the Windows NT + PDC. + + Note that even though the authentication is being + done to the PDC all users accessing the Samba server must still + have a valid UNIX account on that machine. + + + This option is only available when running smbpasswd as root. + - -U username[%password] This - option may only be used in conjunction with the - -r or -j - options. When changing a password on a remote machine it - allows the user to specify the user name on that machine - whose password will be changed. It is present to allow - users who have different user names on different systems to - change these passwords. When changing the password on a - machine account using the -j option - the username and password of an administrator is specified - here. Non-administrator users with the 'Add workstations - to domain' user right can also be used. + -U username + This option may only be used in conjunction + with the -r option. When changing + a password on a remote machine it allows the user to specify + the user name on that machine whose password will be changed. It + is present to allow users who have different user names on + different systems to change these passwords. @@ -351,7 +335,7 @@ -s This option causes smbpasswd to be silent (i.e. - not issue prompts) and to read it's old and new passwords from + not issue prompts) and to read its old and new passwords from standard input, rather than from /dev/tty (like the passwd(1) program does). This option is to aid people writing scripts to drive smbpasswd -- cgit