Koozali.org: home of the SME Server

LDAP search problem - (CLOSE, timeout is off)

Offline black_128

  • *
  • 15
  • +0/-0
LDAP search problem - (CLOSE, timeout is off)
« on: August 27, 2008, 01:35:35 PM »
Hi!
Please, help me...... :-(

I instal SME Server 7.3. Has made all under the instruction, and SME Server do not update.

2). Further in Outlook 2003 I have added LDAP address book and write to Server string-> server IP.
Base SEARCH-> dc=mydomain, dc=com

Other records did not change.

3). Reboot Outlook.

4). Open Address Book and search ANY users.... enter "@"...or "." Or any other symbol. I also searched by name user.


ANYTHING..... clear screen :( Please, help me to solve a problem, 55 users work wait....

My LOG file...

Aug 27 14:56:53 linux slapd[5641]: conn=24 fd=7 ACCEPT from IP=192.168.14.155:1304 (IP=0.0.0.0:389)
Aug 27 14:56:53 linux slapd[5641]: conn=24 op=0 BIND dn="" method=128
Aug 27 14:56:53 linux slapd[5641]: conn=24 op=0 RESULT tag=97 err=0 text=
Aug 27 14:56:53 linux slapd[5641]: conn=24 op=1 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
Aug 27 14:56:53 linux slapd[5641]: conn=24 op=1 SRCH attr=objectClass supportedControl supportedCapabilities
Aug 27 14:56:53 linux slapd[5641]: conn=24 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Aug 27 14:57:03 linux slapd[5641]: conn=25 fd=8 ACCEPT from IP=192.168.14.155:1305 (IP=0.0.0.0:389)
Aug 27 14:57:03 linux slapd[5641]: conn=25 op=0 BIND dn="" method=128
Aug 27 14:57:03 linux slapd[5641]: conn=25 op=0 RESULT tag=97 err=0 text=
Aug 27 14:57:03 linux slapd[5641]: conn=25 op=1 SRCH base="dc=impexcl,dc=ru" scope=0 deref=0 filter="(objectClass=*)"
Aug 27 14:57:03 linux slapd[5641]: conn=25 op=1 SRCH attr=objectClass
Aug 27 14:57:03 linux slapd[5641]: conn=25 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Aug 27 14:57:03 linux slapd[5641]: conn=25 op=2 SRCH base="dc=impexcl,dc=ru" scope=2 deref=3 filter="(&(givenName=elena*))"
Aug 27 14:57:03 linux slapd[5641]: conn=25 op=2 SRCH attr=cn commonName mail roleOccupant display-name displayname sn surname co organizationName o givenName legacyExchangeDN objectClass uid mailNickname title company physicalDeliveryOfficeName telephoneNumber
Aug 27 14:57:03 linux slapd[5641]: conn=25 op=2 SEARCH RESULT tag=101 err=12 nentries=0 text=control unavailable in context
Aug 27 14:57:05 linux slapd[5641]: conn=25 op=3 UNBIND
Aug 27 14:57:05 linux slapd[5641]: conn=25 fd=8 closed
Aug 27 14:57:09 linux slapd[5641]: conn=24 op=2 UNBIND
Aug 27 14:57:09 linux slapd[5641]: conn=24 fd=7 closed
Aug 27 14:58:45 linux slapd[5641]: conn=26 fd=7 ACCEPT from IP=192.168.14.155:1311 (IP=0.0.0.0:389)
Aug 27 14:58:45 linux slapd[5641]: conn=26 op=0 BIND dn="" method=128
Aug 27 14:58:45 linux slapd[5641]: conn=26 op=0 RESULT tag=97 err=0 text=
Aug 27 14:59:10 linux slapd[5641]: conn=26 op=1 UNBIND
Aug 27 14:59:10 linux slapd[5641]: conn=26 fd=7 closed
Aug 27 15:00:01 linux su(pam_unix)[19741]: session opened for user qmailr by (uid=0)
Aug 27 15:00:01 linux su(pam_unix)[19741]: session closed for user qmailr
Aug 27 15:13:04 linux kernel: APIC error on CPU0: 60(60)
Aug 27 15:15:01 linux su(pam_unix)[19821]: session opened for user qmailr by (uid=0)
Aug 27 15:15:01 linux su(pam_unix)[19821]: session closed for user qmailr
Aug 27 15:30:01 linux su(pam_unix)[19899]: session opened for user qmailr by (uid=0)
Aug 27 15:30:01 linux su(pam_unix)[19899]: session closed for user qmailr
« Last Edit: August 30, 2008, 12:38:06 AM by black_128 »

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: LDAP search problem
« Reply #1 on: August 27, 2008, 02:39:03 PM »
Quote
2). Further in Outlook 2003 I have added LDAP address book and write to Server string-> server IP.
Base SEARCH-> dc=mydomain, dc=com

Most of problems I´ve seen on LDAP on SME is Base Search.
So let´s do an example so you can verify your config. If your domain is jader.com.br you should put there:
dc=jader,dc=com,dc=br

BTW: I´m not SURE about space inside this line: try without them.

if your domain is black128.net you should have a Base Search = "dc=black128,dc=net".

Hope this help you.

If not, please try it on another ldap client like outlook express (just run WAB) or Thunderbird

I´ll ask a NFR to add this info on Review Configuration screen.

Good luck.

Jáder

EDIT: Open a NFR and got a quick answer: this info is available on Directory option of menu Configuration!
http://bugs.contribs.org/show_bug.cgi?id=4520
« Last Edit: August 27, 2008, 11:41:33 PM by jader »
...

Offline black_128

  • *
  • 15
  • +0/-0
Re: LDAP search problem
« Reply #2 on: August 27, 2008, 02:50:20 PM »
Thanks for a fast reply!

Users work with Outlook 2003 - it is impossible to put other clients.

I try to make update SME 7.3. May be it will help.
---

Later 3 hours


Were found by very interesting fact. Mozilla Thunderbird 2.x work FINE!!!!!!! Outlook 2003 - no. Mozilla find all contacts in my Address Book via a "@" symbol. Hence does not work Outlook 2003.....

---

Later 20 min

Hmm....search ldap address Outlook 2003 is WORKING!!!!!!

Technique:

1). Adjust SME Server via HOW-TO Ldap
2). Add in Outlook 2003 - LDAP Address Book, Server Name-> IP Address, SEARCH BASE-> dc=domain, dc=xx (com, br, ru or other)
3). Reboot Outlook
4). Press create message-> press TO:-> (open address book)-> press "ADVANCED" the bottom left button-> select "FIND"-> and in a line of search, enter "" (SPACE the SYMBOL) and press OK:)

It is all:)

All contacts will be visible. BUT! There is a problem, it is necessary at opening Address Book and input of a part of a name or a symbol, were automatically visible all users. (As in Thunderbird)

If to close Outlook 2003 - procedure with search through SPACE a symbol it is necessary to repeat, and it is inconvenient.
« Last Edit: August 27, 2008, 06:27:38 PM by black_128 »