From 99bde6889d3d8b7a9e950c86c30e82662e1dacdd Mon Sep 17 00:00:00 2001
From: Gerald Carter
smbpasswd can also be used by a normal user to change their SMB password on remote machines, such as Windows NT Primary Domain Controllers. See the (-r) and -U options @@ -64,10 +64,10 @@ HUGE amounts of log data, most of which is extremely cryptic.
This option specifies that the username following should have their password set to null (i.e. a blank password) in - the local smbpasswd file. This is done by writing the string "NO - PASSWORD" as the first part of the first password stored in the + the local smbpasswd file. This is done by writing the string "NO + PASSWORD" as the first part of the first password stored in the smbpasswd file.
Note that to allow users to logon to a Samba server once - the password has been set to "NO PASSWORD" in the smbpasswd + the password has been set to "NO PASSWORD" in the smbpasswd file the administrator must set the following parameter in the [global] section of the smb.conf file :
null passwords = yes
This option is only available when running smbpasswd as root.
This option allows a user to specify what machine @@ -89,7 +89,7 @@ a real password database so it is not possible to change passwords specifying a Win95/98 machine as remote machine target.
This option allows the user of smbpasswd to determine what name resolution services to use when looking up the NetBIOS - name of the host being connected to.
The options are :"lmhosts", "host", "wins" and "bcast". They + name of the host being connected to.
The options are :"lmhosts", "host", "wins" and "bcast". They cause names to be resolved as follows:
lmhosts: Lookup an IP address in the Samba lmhosts file. If the line in lmhosts has no name type attached to the NetBIOS name (see the lmhosts(5) for details) then @@ -127,8 +127,7 @@ has been configured to use the experimental --with-ldapsam option. The -w switch is used to specify the password to be used with the - ldap admin - dn. Note that the password is stored in + ldap admin dn. Note that the password is stored in the secrets.tdb and is keyed off of the admin's DN. This means that if the value of ldap admin dn ever changes, the password will need to be @@ -148,10 +147,8 @@ smbd running on the local machine by specifying either allow hosts or deny hosts entry in the smb.conf(5) file and neglecting to - allow "localhost" access to the smbd.
In addition, the smbpasswd command is only useful if Samba - has been set up to use encrypted passwords. See the document - "LanMan and NT Password Encryption in Samba" in the docs directory for details - on how to do this.
This man page is correct for version 3.0 of the Samba suite.
The original Samba software and related utilities + allow "localhost" access to the smbd.
In addition, the smbpasswd command is only useful if Samba + has been set up to use encrypted passwords.
This man page is correct for version 3.0 of the Samba suite.
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
The original Samba man pages were written by Karl Auer. -- cgit