Hi, I've got a main file upload server on which I'd like to authenticate some users against LDAP, but override their uid/gid pair. I need to do this only on this one server, so change the unique uid/gid in the LDAP server isn't an option :-(
I've tried adding this to /etc/ldap.conf : nss_override_attribute_value uid www nss_override_attribute_value gid www And it gives a weird result (the system thinks the user's real uid corresponds to the "www" name...), but doesn't work. I've looked at pam's configuration but haven't found a way to do what I want there. The best I've managed to do is use pam_group.so to have all users logging in added to the "www" group, which would be acceptable if I could easily enforce g+sw mode on all directories and g+w on all files, unfortunately that's not easy either. Has anyone already tried something similar? And hopefully succeeded? :-) Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora release 7 (Moonshine) - Linux kernel 2.6.22.1-41.fc7 Load : 0.36 0.41 0.57 _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
