Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: David Sedeño on January 28, 2002, 02:51:23 PM

Title: LDAP searchs
Post by: David Sedeño on January 28, 2002, 02:51:23 PM
Hi,

I'm having troubles in the searches to the ldap directory. Doesn't work in the webmail and Outlook Express. In outlook I set the search to "dc=domain,dc=com" but doesn't find anything...

Any idea?
Title: Re: LDAP searchs
Post by: Lloyd Keen on January 28, 2002, 03:38:05 PM
Once you add the directory service go to the advanced tab for the properties of the server and just below the section where you add the search base you have to tick the box that says "use simple search filter" or similar (I'm going from memory here). Let me know if that works if not I'll put up some screen shots for you.
Title: Re: LDAP searchs
Post by: David Sedeño on January 29, 2002, 01:49:34 PM
Hi,

I have checked the "use simple search filter" but doesn't work either.

I have see this in the log of the server:

Jan 29 06:51:15 rojo1 slapd[837]: conn=5 op=0 BIND dn="" method=128
Jan 29 06:51:15 rojo1 slapd[837]: conn=5 op=0 RESULT tag=97 err=0 text=
Jan 29 06:51:15 rojo1 slapd[837]: conn=5 op=1 SRCH base="dc=mydomain,dc=com" scope=2 filter="(|(mail=teresa*)(cn=teresa*))"
Jan 29 06:51:15 rojo1 slapd[837]: <= substrings_candidates db open failed (mail.gdbm)
Jan 29 06:51:15 rojo1 slapd[837]: <= substrings_candidates db open failed (cn.gdbm)
Jan 29 06:51:15 rojo1 slapd[837]: conn=5 op=1 SEARCH RESULT tag=101 err=0 text=
Jan 29 06:51:15 rojo1 slapd[837]: conn=-1 fd=11 closed

Any idea??

Thanks in advanced
Title: Re: LDAP searchs
Post by: Dallas Hilla on February 06, 2002, 05:52:25 PM
Hello David,

I have just discovered (by accident) how to solve your problem, I have Outlook XP too !!!

In Outlook XP, go to:

    TOOLS --> Email Accounts

Select option:  View or change existing directories or address books
Click [Next>] button.

Select your LDAP definition from the "Directories and Address Books" list
Click the [Change] button
Click [More Settings...] button
Select the tab and enter into the "Search Base" :

    cn=*,dc=yourdomain,dc=com,dc=au

The key was the "cn=*" entry, which made all addresses list out on the addressbook using wildcard "*" to show all names.


Cheers,
Dal
--
Dallas Hilla
BE (Chemical), BSc (Computer Science, IT)
Linux Mainframe Systems and Desktop Developer
Cook Australia
Brisbane Technology Park
61 / 25 Buckingham Place
Eight Mile Plains
Brisbane Q 4113
Home: 07 3341 3130
Work: 07 3841 1188
Mobile: 0407 973 728
Email: hillad@ozemail.com.au
Title: Re: LDAP searchs
Post by: Dallas Hilla on February 06, 2002, 06:12:52 PM
So sorry,my bad.  I should have tested this by closing Outlook and trying to list the LDAP contents again...  *sigh*  M$ just does not make it easy for us using XP.

It was worth a stab.  Anyone else had better luck...?


Dal