On Tue, 26 Nov 2002, Cesar Mtz wrote:
> installs samba 2,2,6,1 in red hat 7,2 as pdc and can authenticate
> well, but from a single maquina w2k I can logear with the user root, the
> same happens to win ws4 that I am making bad? the users I register asi to
> them
>
> useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false
-M
> <NETBIOS_NAME>$
>
>
> smbpasswd -am <NETBIOS_NAME
>
>
>
> in logs it says that password to me incorrect
>
> ideas please
On the samba server you must add 'root' to smbpasswd:
smbpasswd -a root
Give this account a password. Does not need to be the same as the system
'root' password. This account will be what samba uses when you use
'Administrator' from MS Windows NT/2K/XP to join the domain.
Also, add all domain users:
useradd -m 'MS_Windows_User_Name'
smbpasswd -a 'MS_Windows_User_Name'
Then do not forget to join the MS Windows machines to the domain. Log onto
the MS Windows NT/2K/XP client as the local machine 'Administrator',
then
right click on 'My Computer', click on 'Properties', then select
'Network
ID', then 'Change', then click on the Domain field and enter your
Samba
workgroup name as the Domain Name. Click 'Ok'
When prompted for a username and password, enter 'Administrator' and the
'root' password you used above at the "smbpasswd -a
'root'" step.
When the system re-boots, at the logon screen, click on the right most tab
(Ithink it is called 'Options') then log on as a Samba domain user and
password, in the Domain box enter the Samba domain name.
- John T.
--
John H Terpstra
Email: jht@samba.org