NYCPHP Meetup

NYPHP.org

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

Randal Rust randalrust at gmail.com
Tue Dec 5 12:53:31 EST 2006


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
R.Squared Communications
www.r2communications.com



More information about the talk mailing list