>>>> "Oscar" == Oscar Figueiredo
<oscar(a)cpe.fr> writes:
>>>> "Volker" == Volker Zell
<Dr.Volker.Zell(a)oracle.com> writes:
> Hi
> Trying to use
> eudc-query-form
> and entering a search for a name gives:
> Signaling: (wrong-type-argument char-or-string-p nil)
> [...]
Oscar> I suspect something weird with the way binary values in that record are
handled
Oscar> but I am not sure. Would it be feasible to try the same query on XEmacs
21.2 ?
Oscar> Also, could you try to evaluate the following in XEmacs 21.1:
Oscar> (ldap-search "(cn=vzell)" "ldap01.us.oracle.com")
OK, here is what I get:
The following uses Xemacs and openldap-1.2.1 -
http://www.openldap.org/ compiled using
Cygwin B20.1:
XEmacs 21.1 "20 Minutes to Nikko" [Lucid] (i586-pc-cygwin32) of Sat May 29 1999
on vzell
Opening LDAP connection to ldap01.us.oracle.com...
Searching with LDAP on ldap01.us.oracle.com...
Parsing ldap results... 1
Parsing ldap results... done
((("mailid" "Dr. Volker .Zell") ("employeenumber"
"1250") ("cn" "Zell,Dr.Volker " "VZELL"
"Zell" "Dr.Volker " "Dr.Volker ,Zell")
("givenname" "Dr.Volker ") ("orclosname"
"Dr.Volker.Zell") ("telephonenumber" "0211/74839-414")
("uid" "VZELL") ("sn" "Zell") ("manager"
"cn=TNUSSBAU+objectclass=orclperson,dc=DE, dc=ORACLE, dc=COM") ("ou"
"3750 - Education Dsseldorf") ("roomnumber" "Dsseldorf")
("title" "Dozent") ("mail"
"VZELL(a)DE.ORACLE.COM")))
Matches ((("mailid" "Dr. Volker .Zell") ("employeenumber"
"1250") ("cn" "Zell,Dr.Volker " "VZELL"
"Zell" "Dr.Volker " "Dr.Volker ,Zell")
("givenname" "Dr.Volker ") ("orclosname"
"Dr.Volker.Zell") ("telephonenumber" "0211/74839-414")
("uid" "VZELL") ("sn" "Zell") ("manager"
"cn=TNUSSBAU+objectclass=orclperson,dc=DE, dc=ORACLE, dc=COM") ("ou"
"3750 - Education Dsseldorf") ("roomnumber" "Dsseldorf")
("title" "Dozent") ("mail"
"VZELL(a)DE.ORACLE.COM"))) [634]
----------------------
The following uses Xemacs and openldap-2.0.0 -
http://www.openldap.org/ compiled using
latest Cygwin 1.1.4
XEmacs 21.1 (patch 12) "Channel Islands" [Lucid] (i686-pc-cygwin32) of Tue Sep
5 2000 on VZELL
((("mailid" "Dr. Volker .Zell") ("employeenumber"
"1250") ("cn" "Zell,Dr.Volker " "VZELL"
"Zell" "Dr.Volker " "Dr.Volker ,Zell")
("givenname" "Dr.Volker ") ("orclosname"
"Dr.Volker.Zell") ("telephonenumber" "0211/74839-414")
("uid" "VZELL") ("sn" "Zell") ("manager"
"cn=TNUSSBAU+objectclass=orclperson,dc=DE, dc=ORACLE, dc=COM") ("ou"
"3750 - Education Dsseldorf") ("roomnumber" "Dsseldorf")
("title" "Dozent") ("mail"
"VZELL(a)DE.ORACLE.COM")))
Matches ((("mailid" "Dr. Volker .Zell") ("employeenumber"
"1250") ("cn" "Zell,Dr.Volker " "VZELL"
"Zell" "Dr.Volker " "Dr.Volker ,Zell")
("givenname" "Dr.Volker ") ("orclosname"
"Dr.Volker.Zell") ("telephonenumber" "0211/74839-414")
("uid" "VZELL") ("sn" "Zell") ("manager"
"cn=TNUSSBAU+objectclass=orclperson,dc=DE, dc=ORACLE, dc=COM") ("ou"
"3750 - Education Dsseldorf") ("roomnumber" "Dsseldorf")
("title" "Dozent") ("mail"
"VZELL(a)DE.ORACLE.COM"))) [285]
XEmacs 21.2 (beta35) "Nike" [Lucid] (i686-pc-cygwin) of Fri Sep 1 2000 on
VZELL
((("mailid" "Dr. Volker .Zell") ("employeenumber"
"1250") ("cn" nil nil nil nil nil) ("givenname" nil)
("orclosname" "Dr.Volker.Zell") ("telephonenumber"
"0211/74839-414") ("uid" "VZELL") ("sn" nil)
("manager" "cn=TNUSSBAU+objectclass=orclperson,dc=DE, dc=ORACLE,
dc=COM") ("ou" nil) ("roomnumber" "Dsseldorf")
("title" nil) ("mail" "VZELL(a)DE.ORACLE.COM")))
Matches ((("mailid" "Dr. Volker .Zell") ("employeenumber"
"1250") ("cn" nil nil nil nil nil) ("givenname" nil)
("orclosname" "Dr.Volker.Zell") ("telephonenumber"
"0211/74839-414") ("uid" "VZELL") ("sn" nil)
("manager" "cn=TNUSSBAU+objectclass=orclperson,dc=DE, dc=ORACLE,
dc=COM") ("ou" nil) ("roomnumber" "Dsseldorf")
("title" nil) ("mail" "VZELL(a)DE.ORACLE.COM"))) [228]
So it seems a problem with Xemacs 21.2.35
By the way here is what ldapsearch on the commandline gives:
ldapsearch.exe -L -b "dc=ORACLE,dc=COM" -h
ldap01.us.oracle.com -p 389 -v -u
"cn=vzell"
ldap_init(
ldap01.us.oracle.com, 389 )
filter pattern: cn=vzell
returning: ALL
filter is: (cn=vzell)
dn: cn=VZELL+objectclass=orclperson,dc=DE,dc=ORACLE,dc=COM
ufn: VZELL+objectclass=orclperson,dc=DE,dc=ORACLE,dc=COM
mailid: Dr. Volker .Zell
employeenumber: 1250
cn: Zell,Dr.Volker
cn: VZELL
cn: Zell
cn: Dr.Volker
cn: Dr.Volker ,Zell
givenname: Dr.Volker
orclosname: Dr.Volker.Zell
telephonenumber: 0211/74839-414
uid: VZELL
sn: Zell
manager: cn=TNUSSBAU+objectclass=orclperson,dc=DE, dc=ORACLE, dc=COM
ou:: Mzc1MCAtIEVkdWNhdGlvbiBE/HNzZWxkb3Jm
roomnumber:: RPxzc2VsZG9yZg==
title: Dozent
mail: VZELL(a)DE.ORACLE.COM
1 matches
Oscar> Oscar
Oscar> PS: You're using XEmacs native LDAP support, not the FSF Emacs
emulation
Oscar> relying on the external ldapsearch utility, right ?
Yes I'm using, the libraries from
openldap-2.0.0 -
http://www.openldap.org/
Ciao
Volker