Re: mysterious LDAP problem and "why doesn't EOAdaptorDebugEnabled log LDAP too?"
Re: mysterious LDAP problem and "why doesn't EOAdaptorDebugEnabled log LDAP too?"
- Subject: Re: mysterious LDAP problem and "why doesn't EOAdaptorDebugEnabled log LDAP too?"
- From: Chuck Hill <email@hidden>
- Date: Fri, 14 Oct 2005 10:45:11 -0700
On Oct 13, 2005, at 4:15 PM, Benjamin J Doherty wrote:
Friends:
I am using WebObjects to connect to OpenLDAP and there's a
mysterious error that I cannot understand. This is what appears in
the LDAP server's debug.log file:
Oct 13 14:05:37 server slapd[97299]: conn=109589 op=3 SRCH
base="uid=bjd,ou=People,dc=dot,dc=org" scope=2 deref=3 filter="(&
(objectClass=inetOrgPerson)(&(sn=doherty)(cn=benjamin j doherty)(!
(audio=*))(!(businessCategory=*))(!(carLicense=*))(!
(departmentNumber=*))(displayName=benjamin j doherty)(!
(employeeNumber=*))(!(employeeType=*))(givenName=benjamin)(!
(homePhone=*))(?=undefined)(!(initials=*))(!(jpegPhoto=*))(!
(labeledURI=*))(mail=email@hidden)(!(manager=*))(mobile=+1234567890)
(!(o=*))(!(pager=*))(!(photo=*))(!(roomNumber=*))(!(secretary=*))
(uid=bjd)(!(userCertificate=*))(!(x500UniqueIdentifier=*))(!
(preferredLanguage=*))(!(userSMIMECertificate=*))(!(userPKCS12=*))(!
(title=*))(!(x121Address=*))(!(registeredAddress=*))(!
(destinationIndicator=*))(!(preferredDeliveryMethod=*))(!
(telexNumber=*))(!(teletexTerminalIdentifier=*))(!
(telephoneNumber=*))(!(internationaliSDNNumber=*))(!
(facsimileTelephoneNumber=*))(!(street=*))(!(postOfficeBox=*))(!
(postalCode=*))(!(postalAddress=*))(!(physicalDeliveryOfficeName=*))
(....
I've figured out that the problem lies in the homePostalAddress
attribute for this entry. It's not blank for this entry, and other
entries where it is blank are saved with no hassle. (The debug.log
is locking against (!(homePhone=*))(?=undefined)(!(initials=*)),
and homePostalAddress is the only attribute between the two named
ones alphabetically. Can anyone give me some ideas of what to
twiddle? This is a D2JC application.
I'd check the model for that attribute. Is it missing an external
name or is the name not consistent with the LDAP store?
Also, I noticed in trying to track down this problem that
EOAdapterDebugEnabled does NOT log LDAP the way it does SQL. Is
there another launch flag I need to use?
uh, that is Adaptor with an -or at the end, not an -er. :-)
Chuck
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden