[Samba] Problem with smbclient and domain logon
Frank Matthieß
fm+samba at Microdata-POS.de
Thu Dec 12 16:24:10 GMT 2002
On Thu, Dec 12, 2002 at 10:37:06AM -0500, Sean Chambers wrote:
> If it's not too much trouble could you tell me what steps I must take....
> basically your're saying first i must create a trust account AND a normal
> user account?
>
> What are the commands to do this? i am very confused with smbpasswd because
> I find when doing smbpasswd -a sean it does not append the $ to the end, but
> when i first add the account it does so automatically.
For the machine WINBOX:
useradd WINBOX$
smbpasswd -m WINBOX
For user which will acces this server:
useradd username
smbpasswd username
IMPORTANT: Please take care about additional parameters to useradd an smbpasswd.
After that, your WINBOX can join the domain.
The smbpasswd step is used to authenticate against a windows like encryption
scheme, which is held by the smbpasswd file. If this auth is proved, samba try
to switch to a unix account of same name. For this unix auth you must add unix
users via useradd. If one step failes access is denied.
Please take the time to read "Samba-HOWTO-Collection.pdf", this will give you
a step-by-step instruction with background info's you need.
Frank.
--
Frank Matthieß fm+samba at Microdata-pos.de
More information about the samba
mailing list