On Tue, 2003-08-05 at 22:23, Larry Brown wrote:
> I have set up an LDAP for system authentication using OpenLDAP on RH8 server
> with RH9 workstations.  I have it working to validate user information,
> however, when users log onto the machines there is no home folder for them.
> Is there any reference documentation on how to create an environment where
> anyone can log onto any machine and have their own desktop settings loaded
> and in place?  Something similar to the function M$ has with roaming
> profiles?  I'm having a terrible time trying to get a shared home directory
> to work (not that I want one shared set of configs but I'm trying to get it
> at least working).  I set each user's home folder to be one named "users".
> I gave it 770 permissions and set all users up under the users group and set
> the folder to be owned by root and set the group to users.  The first user
> usually works but subsequent logins fail with permission problems since the
> files created on that first login where owned by the person who first logged
> in.  I can see this will be a further source of problems for me.  If there
> is some way to get a roaming profiles scenario to work, that would be much
> better.  Any help would be greatly appreciated.

Personally, I'd use NFS on each client system, mounting /home from a
master NFS/RAID server.  This will allow you to centralize user
resources on one redundant system, while continuing to manage their
identities, passwords, etc., via LDAP.  You'll still need to manually
create home directories for each new user, but you'll only have to do it
once.

AFAIK, LDAP doesn't provide user administration capabilities similar to
what you might find with Windows/LDAP/AD(?).  I'm not an LDAP expert (on
the TODO list), so I'm not going to be much help here.  On a side note,
you might want to check out the Samba-TNG project
(http://www.samba-tng.org/).  There might be something there you could
use for your project.

For your other issue, if you have a shared group folder, you'll want to
turn on the setgid bit to ensure all new files continue to be
group-ownable, allowing other users read/write permissions even on files
they didn't create (if this is a wanted feature).  For example:

$ chmod 2770 /home/shared
$ ls -l /home/
drwxrws---    5 users    users        4096 Jun 27 14:27 users

Assuming you have users "Bob" and "Mary", the next time Bob saves a
file, it will still be owned by the "users" group, allowing Mary to edit
it at will.  For more information, search for "setgid", "setuid", and
"sticky bit".  Hope this helps!


-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to