[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Question] EUDC: An Emacs client for directory servers (LDAP, PH).



Dear wl-users,

I'm Takahiro.

I want to use EUDC with ldap. 
Since my setting may be wrong, EUDC query doesn't work well.
Could you teach which points are wrong?
I posted same in Japanese mailing list, but don't still get the advices.

Here is my environment.

(emacs-version)
"GNU Emacs 24.1.1 (i386-mingw-nt6.0.6002)
 of 2012-06-10 on MARVIN"
(wl-version)
"Wanderlust/2.15.9 (Almost Unreal)"

yama@JPC00095266:~$ uname -a
CYGWIN_NT-6.0 JPC00095266 1.7.16(0.262/5/3) 2012-07-20 22:55 i686 Cygwin
yama@JPC00095266:~$ type ldapsearch
ldapsearch is hashed (/usr/bin/ldapsearch)
yama@JPC00095266:~$ ldapsearch -V
ldapsearch: @(#) $OpenLDAP: ldapsearch 2.3.43 (Mar 26 2012 13:18:52) $
        vzell@vzell-de:/misc/src/release/openldap-2.3.43-3/build/clients/tools
        (LDAP library: OpenLDAP 20343)
SASL/EXTERNAL authentication started
ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
        additional info: SASL(-4): no mechanism available:

On launching emacs, my .emacs read below setting file for EUDC.

yama@JPC00095266:~$ cat ~/.mylisp/eudc.el
(require 'eudc)

(setq eudc-server "LDAP.jp.company.com")   ; LDAP port:389(Internal) 3268(Global)
(setq eudc-protocol 'ldap)

Emacs ends start up, I hit M-x eudc-query-form, then input my name in query form.
Execute [Query Server], I get "Don't know how to perform the query"

ldapsearch request the password for query, but works fine as follows.

yama@JPC00095266:~$ ldapsearch.exe -x -W -b "ou=JPUsers,dc=jp,dc=company,dc=com" "CN=0000910700"
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <ou=JPUsers,dc=jp,dc=company,dc=com> with scope subtree
# filter: CN=0000910700
# requesting: ALL
#

# 0000910700, Users, JPUsers, jp.company.com
dn: CN=0000910700,OU=Users,OU=JPUsers,DC=jp,DC=company,DC=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: 0000910700
sn: Yamaguchi
c: JP

[...]

displayName: Yamaguchi, Takahiro

[...]

co: Japan

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

-- 
Takahiro Yamaguchi