Hello, im studying integration of OL2k addressbooks to a openldap server which can be 
searched with
the "Global address book search"-tool in sqwebmail3. Wonder if anyone experienced with 
this
would like to share some tips on howto configure it such as default as a simple 
domain.com for example.

When i search my own ldapserver thru sqwebmail with ex "manager", i only receive 
"Enter LDAP Password: ". 

ok, this setup is only for test but where do i go wrong, maybe there is not enough 
searchcriteria?
I just wonder what to add to the ldap database, some quick example, searchable with 
sqwebmail ldapclient and how should the /usr/local/share/sqwebmail/ldapaddressbook 
config file look like? Or are my config files 
haywire?

Installed openldap-1.2.11(STABLE) 

and these are the ldap configfiles

/etc/ldap/ldap.conf
 BASE    dc=domain, dc=com
 HOST    ldapserver.domain.com
 PORT    389

/etc/ldap/ldapserver
 localhost

/etc/ldap/slapd.conf
 include         /etc/ldap/slapd.at.conf
 include         /etc/ldap/slapd.oc.conf
 schemacheck     off
 #referral       ldap://root.openldap.org/

 pidfile         /var/run/slapd.pid
 argsfile        /var/run/slapd.args

 # ldbm database definitions
 database        ldbm
 suffix          "dc=domain, dc=com"
 rootdn          "cn=Manager, dc=domain, dc=com"
 rootpw          secret
 # database directory
 directory       /var/lib/openldap-ldbm


/etc/ldap/domain.ldif or output of  'ldapsearch -b "dc=domain, dc=com" 
"(objectclass=*)"'
 dn: dc=domain, dc=com
 dc: domain
 o: Domain
 objectclass: organization
 objectclass: dcObject
 dn: cn=Manager, dc=domain, dc=com
 cn: Manager
 sn: Manager
 objectclass: person

/usr/local/share/sqwebmail/ldapaddressbook
 #(name<tab>host<tab>port<tab>suffix<tab>binddn<tab>bindpw)
 Domain ldapserver.domain.com   389 "dc=domain, dc=com" "cn=Manager, dc=domain, 
dc=com" secret

Cheers AB

Reply via email to