[Samba] Virtual users

Dwight Tovey dwight at dtovey.net
Mon May 24 13:50:47 GMT 2004


I'd like a bit of a Sanity Check to make sure I understand the process.

We are setting up filesharing on a Linux server via Samba (3.0.2).  We
would like to give the users personal space (home directories), but we
don't want to add them as Linux users (no entries in /etc/passwd).  The
users are defined in an LDAP directory.

If I understand it correctly, in order to do this we will need to use
winbindd and define a range of UIDs and GIDs for winbindd to use.  When a
user goes to connect to the server, winbindd will authenticate against
LDAP, then map this user to a uid/gid from this range and add this mapping
to a database that it maintains.

Questions:
It looks like winbindd doesn't authenticate directly through LDAP but
instead goes through PAM.  Is this correct or did I miss something?

Can we define the user's home directory as an attribute in LDAP?

Is it possible to define group mappings?

Anthing else I should be concerned about?

Thanks in advance for any info.
    /dwight

-- 
Dwight N. Tovey
email: dwight at dtovey.net
web: http://www.dtovey.net/~dwight
-----------
If you have never been hated by your child, you have never been a parent.



More information about the samba mailing list