Here I have an OpenLDAP configured (default rpm configuration) to log to 
/var/log/ldap. I usually tail -f that file while doing tests, in order to look for 
error messages as they come. Also, I use an WindowManager with three windows opened to 
the bash shell, the first is the test application, the second is the tail for ldap log 
and the third is the tail for any other service log I am talking to in the first 
window. That may help you to get to the problem, I hope.

Also, look at your slapd.conf file, may be you do not have permission to access the 
database. My configuration is quite simple, and I just appended to the end of file the 
ACL below:

### begin quote /etc/openldap/slapd.conf
access to *
  by dn="cn=root,o=dasa" write
  by self write
  by * read
### end quote /etc/openldap/slapd.conf

I could not even authenticate to ssh until I put that ACL there. G'luck!



Bye,
Fernando Maior
Drogaria Araujo S.A.
http://www.araujo.com.br
+55+31 3270-5886

>>> "Didier Geheniau" <[EMAIL PROTECTED]> 26/02/03 04:11 >>>
This is not working to.
In both cases the user is accepted but after the password i get the -ERR error in 
server configuration error
 
regards,
 
Didier

        -----Oorspronkelijk bericht----- 
        Van: Sandeep Goel [mailto:[EMAIL PROTECTED] 
        Verzonden: wo 26-2-2003 7:02 
        Aan: Didier Geheniau 
        CC: 
        Onderwerp: RE: -ERR error in server configuration
        
        

        Try to Use
        
        Telnet x.x.x.x 110
        user [EMAIL PROTECTED] (with complete domain name)
        pass password
        
        Regards,
        Sandeep
        
        
                -----Original Message-----
                From: Didier Geheniau [mailto:[EMAIL PROTECTED] 
                Sent: Wed 26-02-2003 01:34
                To: [EMAIL PROTECTED] 
                Cc:
                Subject: -ERR error in server configuration
               
               
        
                Hi all,
               
                I have compiled qmail with ldap, ldap-control and smtp-auth,
                I use pop-auth for user login via pop3d
                When testing with telnet on localhost 110 i get -ERR error in server
                configuration after giving the user password.
                When using qmail-ldaplookup -u <username>
                I get no password, this is ok because i set a restriction on the
                password field in ldap
                When using qmail-ldaplookup -u <username> -p <password>
                I get the password, this is ok to and confirms that the password
                authentication is with ldap
                The pop3d log shows:
               
                @400000003e5bca363938569c tcpserver: status: 1/40
                @400000003e5bca36393a891c tcpserver: pid 1932 from <client_ip>
                @400000003e5bca36393d2514 tcpserver: ok 1932 0:<server_ip>:110
                :<client_ip>::63905
                @400000003e5bca3705768964 tcpserver: end 1932 status 256
                @400000003e5bca370576b45c tcpserver: status: 0/40
               
                Does anyone knows why i get the "-ERR error in server configuration"
                when i try to login via pop3?
               
                Regards,
               
                Didier
               
               
               
        
        


Reply via email to