On Fri, Aug 01, 2003 at 01:31:05PM +0530, suhag wrote: > Sir, > > I checked up the sqwebmail server's "tail -f /var/log/messages", it was > logging an error whenever i supply username & passwd at > http://tesmail.domain.com/cgi-bin/sqwebmail. > ================================================================== > Aug 1 13:03:52 sqweb authdaemond.ldap: authlib: refuse to authenticate > <username>: uid=0, gid=0
That means you are trying to login as 'root', and authlib won't let you do that. (I guess either the database is giving a uid of 0 back, or you haven't set one) > Currently the LDAP_GLOB_UID & LDAP_GLOB_GID options r hash marked. Earlier > 'vmail' was specified there as all r maildirs have 'vmail' as their uid/gid > on LDAP server, but at this time it was logging ann error > ================================================================== > Aug 1 12:16:54 sqweb authdaemond.ldap: authldap: INVALID LDAP_GLOB_UID > ================================================================== This means you don't have an entry in /etc/passwd or /etc/group for 'vmail'. Create a user, but because you are using NFS you should make sure that you use the same uid/gid as you have on the remote NFS server. See 'man useradd', it might be something like # useradd -m -u 999 vmail if the uid/gid is 999, or else copy the relevant lines exactly from your other machine (probably /etc/passwd, /etc/shadow and /etc/group) Regards, Brian.
