[Samba] setting up samba3 on rh9 using win bind

Tim Jordan timothy_jordan at labor.state.ak.us
Thu Jan 8 22:29:36 GMT 2004


> > I have winbind running and both the wbinfo, and getent passwd commands
> > return users and groups from the windows domain.
> > 
> > Samba is set up, using the gui but when I try and add users, the domain
> > users do not appear in the list.

Hi Tim,
The idea behind winbind is that you don't have to "add" domain users.  Winbind will query the PDC for 
authentication.  If they are in the Windows domain, good enough.

The step by step instruction your looking for is currently "The Official SAMBA 3 - HOW TO" by John Terpstra and Jelmer Vernooij.
It's not exactly step by step but from your email it will be a great help to you!  For now look over the "How To" documentation
at samba.org.

Also, what security parameter are you using in the smb.conf?  I use security=ads for taking advantage of kerberoes 
since our domain is W2K.  I have used security=domain which also uses winbindd but not nearly as slick (with this 
config you do have to map M$ users to *nix users.

It seems winbindd is working from wbinfo and getent so now you should look at setting up your groupmappings, 
test the smbclient against a windows share, setup a share in smb.conf, check the *nix permissions on the directory
your sharing, then with smbd, nmbd, winbindd, running try to connect from a M$ client.


Finally, since your new I would suggest giving Mandrake 9.2 a try with samba packages from 
http://ranger.dnsalias.com/mandrake/9.2/samba-3.0.1
I found it very easy to setup and you can use SWAT to manage the Samba server.

If you want I can assist you via email.
Good Luck,
Tim Jordan



On Thu, 2004-01-08 at 12:15, Tim Thorpe wrote:
> I have been attempting to set up RH9 as a file server using Windows
> authentication.
> 
> I have winbind running and both the wbinfo, and getent passwd commands
> return users and groups from the windows domain.
> 
> Samba is set up, using the gui but when I try and add users, the domain
> users do not appear in the list.
> 
> I am sure the gurus will tell me not to use the gui's but I am really new at
> this and would like to get this running in a relative hurry.
> 
> Are there step by step instructions anywhere for setting up Samba, using a
> Windows DC for authentication, on RH9.
> 
> If you gurus can walk me through setting this up from the command line I
> will greatly appreciate that also.
> 
> I did download a document from geceventures.com that I thought would help
> but the first thing it tells me to do is "On the Linux server, add user...
> 
> Adding users that already exist on my DC to the linux box is exactly what I
> would like to avoid.
> 
> TIA,
> 
> TPT
> 



More information about the samba mailing list