NYCPHP Meetup

NYPHP.org

[nycphp-talk] Working with multiple records of the same type in LDAP

tedd tedd at sperling.com
Tue Dec 5 14:26:53 EST 2006


At 12:53 PM -0500 12/5/06, Randal Rust wrote:
>Finally I have been able to add records to my LDAP directory (adding
>organizations). The next step is to add addresses. I need to be able
>add multiple addresses of various types (postal, business, mailing).
>
>If an organization has mutliple addresses, how can I accurately
>display and update those addresses? What throws me is that the 'st'
>attribute is used for all addresses, and usually it only has one
>value.
>
>Let's say I have three addresses...
>
>1 W. Test St. Columbus, OH 43015
>100 High St. Columbus, OH 43015
>7145 Wilson Bridge Rd. Columbus, OH 43017
>
>
>...first, I need to display these three addresses in a table, then the
>user needs to be able to select one of the addresses for updating. If
>they update the third address, and change the State to 'NV,' then how
>do I keep it from updating the 'st' attribute, which is used for the
>other two addresses, to NV?
>
>--
>Randal Rust

Your states should be relational.

tedd
-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com



More information about the talk mailing list