From ca12d82eaf4c6bd498208a246ca8a1ca9f47c58b Mon Sep 17 00:00:00 2001
From: Gerald Carter
This option is only available when running smbpasswd as root.
If the smbpasswd file is in the 'old' format (pre-Samba 2.0 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) If the smbpasswd file is in the 'old' format, then smbpasswd will prompt for a new password for this user, - otherwise the account will be enabled by removing the 'D' - flag from account control space in the smbpasswd file. See will FAIL to enable the account. + See smbpasswd (5) for @@ -410,66 +403,6 @@ CLASS="FILENAME"
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.
This option is only available when running smbpasswd as root. -