[Date Prev][Date Next] [Chronological] [Thread] [Top]

facing problem with backsql



using openldap 2.x, MSSQL server

the error log is like this :
*******************
backsql_process_filter(): attribute 'uid' is not defined for objectclass 'qmailuser'
<==backsql_srch_query()
Constructed query: SELECT DISTINCT ldap_entries.id,persons.id, 'qmailuser' AS objectClass, ldap_entries.dn AS dn FROM ldap_entries,persons WHERE persons.id=ldap_entries.keyval AND ldap_entries.oc_map_id=? AND ldap_entries.dn LIKE '%'+? AND  1=0
_SQLprepare(): enabling MS SQL Server default result set workaround
<==backsql_oc_get_candidates()
send_ldap_result: conn=2 op=1 p=2
send_ldap_response: msgid=2 tag=101 err=32
ber_flush: 14 bytes to sd 8
connection_get(8): got connid=2
connection_read(8): checking for input on id=2
ber_get_next
ber_get_next on fd 8 failed errno=0 (Error 0)
connection_read(8): input error=-2 id=2, closing.
connection_closing: readying conn=2 sd=8 for close
connection_close: deferring conn=2 sd=8
<==backsql_search()
connection_resched: attempting closing conn=2 sd=8
connection_close: conn=2 sd=8
*****************************************************
what is this error
backsql_process_filter(): attribute 'uid' is not defined for objectclass 'qmailuser'

or is it ok ?
My slapd.conf is as this :

include  ./schema/core.schema
include  ./schema/cosine.schema
include  ./schema/nis.schema
include  ./schema/qmail.schema

If I use ldapadd, ldapsearch it works, but somehow when qmail calls openldap for authentication, it's showing this error. and use it not getting authenticated.

Thank you very much for reading this long mail :-)

--
Amol
Amol@mailjol.com
----------------------------------------------------------------
Send and receive mail in Indian languages
Register free at http://www.mailjol.com