Page 1 of 1

Using Outlook address book to poll from scalix ldap

Posted: Mon May 08, 2006 9:56 am
by csbishop
I'd like to setup outlook to poll from the scalix server ldap dir, but seem to be having difficulty having the ldap server display any info.

I have searched the forums, and tried a few things from there, but have been unsuccessful.

I'm guessing what I have in the search base is incorrect. Anyone care to share with me what they are using in their search base for the LDAP address book for outlook?

Thanks.

Posted: Mon May 08, 2006 11:34 am
by dannyt
Hi,

Try using

Code: Select all

o=Scalix
which is what you would normally get if you use omldapsearch to try it out.

Regards,
Danny

Posted: Mon May 08, 2006 11:42 am
by csbishop
Thanks.

That was one of the things I tried previously, and it returned nothing, however, if I logged into the server with my email/pass i recieved this error when tryin to access the ldap db

Naming Violation (64)

Posted: Mon May 08, 2006 12:22 pm
by dannyt
Hi,

Sounds like one of the LDAP parameter sent by Outlook is invalid, e.g. the format of the name used for authentication (if not anonymous). One way to debug is to stop the LDAP server and then run it by hand (as root):

Code: Select all

/opt/scalix/bin/omslapd -d 31
then try the Outlook LDAP access again to see what LDAP tracing says.

Regards,
Danny

Posted: Mon May 08, 2006 1:03 pm
by csbishop
What exactly am I looking for? Here's what it said when I tried to poll the ldap from outlook.

Code: Select all

select activity
activity on: 9r
read activity on 9
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf 0x807d530, ptr 0x807d530, end 0x807d535
        current len 5, contents:
        02 01  /  B 00
connection_operation thread started
check_criticality
do_unbind
connection_operation thread finished
listening for connections on 8, activity on:
before select active_threads 0
select activity
new connection on 9
activity on:
listening for connections on 8, activity on: 9r
before select active_threads 0
select activity
activity on: 9r
read activity on 9
ber_get_next
ber_get_next: tag 0x30 len 51 contents:
ber_dump: buf 0x8068ed0, ptr 0x8068ed0, end 0x8068f03
        current len 51, contents:
        02 01  0  ` 84 00 00 00  * 02 01 03 04 1d  u  S
         e  r  @  d  o  m  a  i  n   .  n  e  t 80 06  v  e  r
         o  n  a
connection_operation thread started
check_criticality
do_bind
=> dn_normalize "user@domain.net"
<= dn_normalize "user@domain.net"
do_bind: version 3 dn (user@domain.net) method 128
language=C, omt61cs=T61BASE,O, omt61cs_fromu=T61BASE,O
send_ldap_result 64::
ber_flush: 14 bytes to sd 9
         0 0c 02 01  0  a 07 0a 01  @ 04 00 04 00
connection_operation thread finished
listening for connections on 8, activity on: 9r
before select active_threads 0

Posted: Mon May 08, 2006 2:54 pm
by csbishop
Ok - I see where I was confused. I wasn't aware I have to "search" for a user first. Is there anyway that I can get the address book to just popup all of our users without having to conduct a search? LIke it would if you were viewing your local contacts, but instead using the ldap server.

Posted: Tue May 09, 2006 7:52 am
by dannyt
Hi,

I am no Outlook expert so I wouldn't know how to do that. Back on the LDAP server trace, it looks like the server is expecting some kind of tag name in front of your email address for binding, e.g. "mail=user@domain.net" otherwise it does not know which attribute you are talking about. Normally this is "cn=my name", so may be Outlook could be configured to include the tag name? Hope that helps.

Regards,
Danny