Hi all. I am having trouble trying to figure out how to code some sort of "has value" 
functionality. Specifically, I have a script which will walk a DIT, adding a few 
objectclasses and attributes if those are not already present. I am looking for a way 
to say "if this objectclass does not exits, then add it". Is there some way to say "if 
$entry->get_values('objectclass') does not contain "foo", then add foo"?

-- 
Mark Drummond
Technical Specialist
STANTIVE Solutions Inc. - Kingston, ON, Canada
Sun Microsystems Independent Sales Organization (ISO)

T] 613.634.7410 ext.226   E] [EMAIL PROTECTED]
F] 613.634.7412           W] www.stantive.com


Reply via email to