Hello!
A good day to you all. i'm experiencing some problems with OpenLDAP 2.0.27 and Mozilla 1.4 address books
When i use the LDAP server in composing mail, it works without any problems; but the "download now" or "update" function doesn't seem to work.
My /etc/openldap/slapd.conf is as follows:
###########################################################################################
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/bert.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/rfc822-MailMember.schema
include /etc/openldap/schema/redhat/autofs.schema
include /etc/openldap/schema/redhat/kerberosobject.schema
pidfile /var/run/slapd.pid
# if no access controls are present, the default is:
# Allow read by all
#
# rootdn can always write!
schemacheck on
database ldbm
suffix "dc=bert, dc=com"
rootdn "cn=root, dc=bert, dc=com"
rootpw testing
# rootpw {crypt}ijFYNcSNctBYg
directory /home/ldapdata
index objectClass eq
replica host=192.168.2.27 bindmethod=simple suffix="dc=bert,dc=com" binddn="cn=user,dc=bert,dc=com" credentials=secret replogfile /var/log/replication.log
###########################################################################################
bert.schema is as follows:
###########################################################################################
objectclass ( 2.5.6.21 NAME 'bertperson' SUP top STRUCTURAL
MUST ( cn $ mail )
MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )
objectclass ( 2.5.6.22 NAME 'bertlist' SUP top STRUCTURAL
MUST ( cn $ mail $ description)
MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )
###########################################################################################
i've defined a directory server in Mozilla:
name: test
hostname: 192.168.2.27
base dn: dc=bert,dc=com
port number: 389
bind dn: <blank>
When prompted for the user name and password , i enter
cn=user,dc=bert,dc=com
testing
i get the ff entries in the logfile:
###########################################################################################
Oct 23 16:52:13 server01 slapd[3241]: daemon: conn=1 fd=14 connection from IP=192.168.2.27:1497 (IP=0.0.0.0:389) accepted.
Oct 23 16:52:13 server01 slapd[3248]: conn=1 op=0 BIND dn="" method=128
Oct 23 16:52:13 server01 slapd[3248]: conn=1 op=0 RESULT tag=97 err=0 text=
Oct 23 16:52:13 server01 slapd[3248]: conn=0 op=2 UNBIND
Oct 23 16:52:13 server01 slapd[3248]: conn=-1 fd=9 closed
Oct 23 16:52:14 server01 slapd[3248]: conn=1 op=1 SRCH base="" scope=0 filter="(objectClass=*)"
Oct 23 16:52:14 server01 slapd[3248]: conn=1 op=1 RESULT tag=101 err=0 tex
###########################################################################################
But when i do the usual mail composition, i get this:
###########################################################################################
Oct 23 16:53:51 server01 slapd[3241]: daemon: conn=2 fd=9 connection from IP=192.168.2.27:1498 (IP=0.0.0.0:389) accepted.
Oct 23 16:53:51 server01 slapd[3248]: conn=2 op=0 BIND dn="" method=128
Oct 23 16:53:51 server01 slapd[3248]: conn=2 op=0 RESULT tag=97 err=0 text=
Oct 23 16:53:51 server01 slapd[3248]: conn=2 op=1 SRCH base="dc=bert,dc=com" scope=2 filter="(|(cn=george*)(mail=george*)(sn=george*))"
Oct 23 16:53:51 server01 slapd[3248]: conn=2 op=1 SEARCH RESULT tag=101 err=0 text=
###########################################################################################
It seems that the "download now" option doesn't use the proper binddn and suffix settings.
Comments?