[Samba] Join linux to win Nt pdc

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


-----BEGIN PGP SIGNED MESSAGE-----
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.202.158.77.194.1057904979.squirrel 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 = 192.168.0.1
> linux workstation = 192.168.0.10( 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 192.168.0.1  -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
address>"?

> Initialising global parameters
> params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
> Processing section "[global]"
> added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
> Connecting to 192.168.0.1 at port 445
> error connecting to 192.168.0.1:445 (Connection refused)
> Connecting to 192.168.0.1 at port 139
> failed session request
> Error connecting to 192.168.0.1
> 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 192.168.0.1 -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.

Regards,
Buchan

- --
|--------------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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/E9PgrJK6UGDSBKcRAipwAKCc9iVdxvjZHZ8+FYLvEqe/dkvvsQCdGx+D
/GdtImpIgfPFb6Mu6QfVGNI=
=CBdP
-----END PGP SIGNATURE-----

******************************************************************
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