On Sunday, Aug 24, 2003, at 07:10 Europe/Helsinki, Bob Hall wrote:
Bingo. When I was originally trying to get authentication to work, I removed everything from the user_attrs setting except uid. I copied the original setting back in from the original file, and now it works fine. The raw log directory is filling up like crazy.
Great :)
Timo, you've got to explain this setting. Here's the original setting: user_attrs = uid,homeDirectory,,uid,uidNumber,gidNumber ^^^^^ There's an extra uid and an extra comma, but when I remove them, authentication fails. What's going on? What's with the duplicates?
The first uid is the virtual user name that you log in with. For example user@domain.com. The second uid is the system user id which is used to lookup groups from /etc/groups file. Hmm.. This should probably be said more clearly there. You really don't want to have it if you have only virtual users.
Two commas mean simply that the value in the middle of them doesn't exist. That'd be the MAIL environment which you can use to override config file's default_mail_env. By default it doesn't exist in LDAP so it's empty.