I have more information:
When I had it working before my nsswitch.conf looked like this (basic version):
passwd     compat

But I changed it to "passwd compat ldap" The first time, I had added a user to the /etc/passwd file, it would look up the info in the file like home dir, uid THEN it would go to ldap to authenticate so then tmda-cgi would work.  With the new nsswitch configuration, I took out the name in /etc/passwd, it would go to ldap to authenticate and get all the information like home directory,etc. from ldapWhen I do a getent passwd, the username, uidnumber, gidnumber, home directory, show up.  However I think when tmda-cgi calls for it, it returns 0 no matter what.


I thought I had this working a day ago but maybe I didn't or maybe it did
work. Our users auth against a LDAP server.  They are able to login locally
(via a terminal).  On tmda-cgi, I have tried two different ways, with
checkpassword-pam and regular remote ldap built into tmda-cgi.  I get this
error either way. A wrong user and password does show up as Wrong Password
or something like that.  A local test user (not in ldap) works fine.

Any ideas?

This is the bottom of the page right after the login:
Thanks

? in getfullname()

KeyError: getpwuid(): uid not found
__doc__ = 'Mapping key not found.'
__getitem__ = <bound method KeyError.__getitem__ of
<exceptions.KeyError instance>>
__init__ = <bound method KeyError.__init__ of <exceptions.KeyError
instance>>
__module__ = 'exceptions'
__str__ = <bound method KeyError.__str__ of <exceptions.KeyError
instance>>
args = ('getpwuid(): uid not found',)

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to