[Samba] integrating win2k and redhat linux

Buchan Milne bgmilne at cae.co.za
Tue Aug 20 01:43:01 GMT 2002

> Message: 3
> Date: Sat, 17 Aug 2002 14:10:15 -0700 (PDT)
> From: subodh kelkar <sub161 at yahoo.com>
> To: samba at lists.samba.org
> Subject: [Samba] integrating win2k and redhat linux
> i have a linux machine that i want to connect to a
> windows2000 domain to offer services like file sharing
> etc.
> i have configured samba but whenever i access the
> linux machine from the win2k network neighbourhood ,
> it gives me an error saying that 
> "Network not correct"
> specifications:
> security=domain
> password=encrypted
> dns =false
> wins server=server add.
> please reply at the same e-mail address.

You need to run winbind.

The easiest way is to install Mandrake 8.2, which has it mostly working 
out the box.

For the configuration you need to do, see 

(basically, do the following as root:

1. # urpmi samba-winbind samba
2. edit your /etc/smb.conf and uncomment the winbind-related stuff
3. # smbpasswd -j <domain> -U <domain admin user>
4. # service winbind start
5. # serivce smb start

if you want to authenticate all services by winbind, do this also:

6. # cp /etc/pam.d/system-auth-winbind /etc/pam.d/system-auth

(There is also one at 
http://mandrakeuser.org/connect/csamba5.html#winbind, but it may be a 
bit out-of-date).

FYI, Mandrake 9.0 will support setting this up during installation (only 
with network installs AFAIK).

|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
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

More information about the samba mailing list