Re: LDAP and EOF
Re: LDAP and EOF
- Subject: Re: LDAP and EOF
- From: Joe Little <email@hidden>
- Date: Sun, 8 Mar 2009 09:51:07 -0700
Check your LDAP ACLs -- by default userPassword is "access" and not
"read". I'd agree with the other message, in that you should never try
to read this anyways via an EO.
On Thu, Mar 5, 2009 at 10:41 PM, Mitchell Smith <email@hidden> wrote:
> Hi,
>
> I am trying to write a web based tool which reads and writes to our
> organization's OpenLDAP directory containing customer information.
>
> I configured up a connection in entity modeler and reverse engineered the
> schema which for the most part seemed to work pretty well.
>
> I can view a record for a customer given their CN however the userPassword
> field from the core.schema is not displayed.
>
> If I have a look at how that attribute was reverse engineered I see that it
> has been assigned an external type of octet string which matches what is
> specified in the OpenLDAP schema. The java type is NSData so I tried
> changing it to a String.
>
> Unfortunately I still continue to get null when trying to print the
> userPassword attribute, even though I can see that the value is not null
> when I retrieve the same record using a little Perl script which uses the
> same credentials to access the directory.
>
> Has anyone encountered this particular issue before, and is there a work
> around?
>
> I am thinking that the issue is probably in the way the schema was reverse
> engineered, but I'm not sure what to tweak to get it to reveal that value.
>
> Any comments or suggestions would be greatly appreciated.
>
> Thanks,
>
> Mitch
>
> _______________________________________________
> 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
>
_______________________________________________
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
References: | |
| >LDAP and EOF (From: "Mitchell Smith" <email@hidden>) |