[dev] [Patch] Check for requied attributes

Chuck Hagenbuch chuck at horde.org
Sun Aug 1 21:38:22 PDT 2004


Quoting Tarjei Huse <tarjei+a_lists.phpgw at nu.no>:

> Hi, patch update. I've added some comments.
>>  >
>> > > The attached patch adds functionality to turbas ldapdriver to check if
>> > > an entry beeing added contains all the attributes needed.
>> > >
>> > > This is especially practical with regard to adding entries from other
>> > > applications (like imp) as they cannot tell the user that f.x. the
>> > > Lastname field is required. As the patch is no, it adds just a "N/A"
>> > > string instead.

I'd definitely commit this if the field could contain an empty string 
instead of
N/A. Can it? Or does that go counter to how LDAP handles required fields?

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the dev mailing list