• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: problem writing to LDAP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem writing to LDAP


  • Subject: Re: problem writing to LDAP
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 05 Oct 2004 15:10:34 -0700

At 04:50 PM 05/10/2004 -0500, William Norris wrote:
>On Tue, 05 Oct 2004 14:31:02 -0700, Chuck Hill <email@hidden>
wrote:
>> FWIW, I just created my model by hand with a "Users" class that models the
>> items in "cn=users,dc=domain,dc=com".  Works fine. I've never tried an
>> update, but I don't see why it would not work.
>>
>
>
>yeah, it sorta makes sense to model the LDAP schemas as EOEntities
>except when it comes to writing to LDAP... just giving it a schema
>name doesn't give it anywhere to actually write the data.  Are you
>still using a regular JNDI connection?
Yes, but I wrote a plugin.  I'm pretty sure that was just for
authentication via TLS.


>how is the model actually
>setup?
>
>Name: Users
>Table: cn=users,dc=domain,dc=com
I put that in the LDAP connect URL.  At least partially. The table name
(external name) is the schema name.  The primary key is defined as
        {
            columnName = relativeDistinguishedName;
            externalType = relativeDistinguishedName;
            name = relativeDistinguishedName;
            valueClassName = NSString;
            writeFormat = "cn=<name>";
        }

Its been so long now, that I don't recall why I settled on that.  There
were (as I recall) several ways that worked, but that must have been what
worked best.

Have you checked out the example app for rentals(?) and the _package_
documentation on the JNDIAdaptor.  There is a bit of "stealth"
documentation there.

Chuck



--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
 _______________________________________________
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: 
 >Re: problem writing to LDAP (From: Chuck Hill <email@hidden>)
 >problem writing to LDAP (From: William Norris <email@hidden>)
 >Re: problem writing to LDAP (From: William Norris <email@hidden>)

  • Prev by Date: Re: Null-Pointers from a to Many array
  • Next by Date: Re: problem writing to LDAP
  • Previous by thread: Re: problem writing to LDAP
  • Next by thread: Re: problem writing to LDAP
  • Index(es):
    • Date
    • Thread