[Samba] Join linux to win Nt pdc

Buchan Milne bgmilne at cae.co.za
Tue Jul 15 10:13:52 GMT 2003

Hash: SHA1

> Message: 14
> Date: Fri, 11 Jul 2003 13:29:39 +0700 (WIT)
> From: sonjaya at stud.che.itb.ac.id
> Subject: [Samba] Join linux to win Nt pdc
> To: samba at lists.samba.org
> Message-ID:
> 	<4553. at stud.che.itb.ac.id>
> Content-Type: text/plain;charset=iso-8859-1
> dear milist
>  i'm newbie , i try to join my linux box to win nt pdc , i try follow
> documention in samba.org but still not working
> here the conditional of my server .
> server win nt PDC =
> linux workstation = linux mandrake 9.1+ samba )
> in win nt PDc have been add win nt workstation with name linux ( linux ws)
> here my samba.conf
> [global]
>         netbios name = linux
>         server string = linux-inside
>         encrypt passwords = Yes
>         security = domain
>         workgroup = "linux-net"

Is your Windows NT server's domain name "linux-net" ?

>         password server = *
>         map to guest = Bad User
>         log file = /var/log/samba/log.%m
>         max log size = 50
>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> then i try to join with command.
> #smbpasswd -j linux-net -r  -D 3 -U Administrator%pass

I am not sure if Windows NT servers will take connections with an IP
address, have you tried "-r <server's netbios name>" instead of "-r <ip

> Initialising global parameters
> params.c:pm_process() - Processing configuration file
> Processing section "[global]"
> added interface ip= bcast= nmask=
> Connecting to at port 445
> error connecting to (Connection refused)
> Connecting to at port 139
> failed session request
> Error connecting to
> Unable to join domain linux-net.

Can you access the Windows NT server with smbclient from the linux machine:

$ smbclient -L <servers netbios name> -I -U Administrator

If you can't get a connection, you have to fix that first. Do you have
any firewalls running? You may want to try:
# service shorewall clear
if you aren't sure.

> that error log i get , any body can help me , because my planing to change
> microsoft workstation with linux and join to win nt pdc , now use win nt
> pdc for temperory , later after finish change workstation win nt pdc will
> change with samba pdc .
> thank's

I see you have no winbind configuration in your config file. Winbind
will allow you to use the usernames from your Windows domain under
linux. Mandrake 9.1 has support for winbind, in fact you can set it up
during installation (use the "Advanced" button in the screen where you
enter the root password).

Depending on how many Windows workstations you have, it may be simpler
to migrate the server to linux first, then you don't have to mess with
winbind at all, you can use LDAP instead.


- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to info at cae.co.za for a copy.

More information about the samba mailing list