Windows NT SP6 / 2.0.7

Steffen Moser moser at egu.schule.ulm.de
Mon Aug 28 16:15:46 GMT 2000


Hello,

this is an "English-only" mailing list, so please send further questions
in English and no longer in German!

Christian Augustat wrote:

> Ich kriege beim login in die Domäne, dass kein Computerkonto existiert.

> Leider kann ich mit Yast keinen User erstellen, der am ende ein $ enthält,
> sodaß ich einen ohne '$' erstellt habe und dieses dann nachträglich in die
> /etc/passwd und shadow eingetragen habe.

You can use the following lines to create a machine account on your
Linux box. This can be also done without using "YaST".

At first you have to create the UNIX account:

  useradd -s /bin/false -c "NT Machine Account" PC01$

The next step is to create the samba machine account:

  /usr/local/samba/bin/smbpasswd -m -a PC01$

Of course, you have to use *your* path to the binary "smbpasswd". You
should also use the NetBIOS name of *your* WinNT4 machine instead of
"PC01". 

> Darauf hin habe ich mit smbpasswd -a -m einen 'Machineaccount erstellt,
> was wie gesagt keine Resonanz bei der NT - Maschine erwirgt.
> Ich kann jedoch auf die Samba - Freigaben zugreifen, konnte auch in die
> Domäne wechseln, jedoch kann ich mich nicht über diese Anmelden.
> 
> Kann mir jemand sagen, wass ich vergessen / verkehrt gemacht habe ?

Do you have the line

  domain logons = Yes

in your "smb.conf"?

You also *have to* use encrypted NetBIOS passwords ("encrypt passwords =
yes" in your "smb.conf") if you want your "samba-2.0.7" machine acting
as a domain controller for your WinNT4 machine. You cannot use the
windows registry patch to disable the encryption of passwords in this
case! This is IIRC quite a common mistake... 

You also must be sure that the content of 

  workgroup = 

in your "smb.conf" must be the name of the domain you want to join. 

For further information you can read: 

  http://www.oreilly.com/catalog/samba/chapter/book/ch06_05.html

(for example)...

HTH!

Regards,
Steffen




More information about the samba-ntdom mailing list