[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Can LDAP attribute values be null?
In ./libraries/libldif/libe64.c, in str_parse_line(), the following
code appears:
/* if no value is present, error out */
if ( *s == '\0' ) {
Debug( LDAP_DEBUG_PARSE, "parse_line missing value\n", 0,0,0 );
return( -1 );
}
This prevents str2entry() from including attribute names that have
no associated value.
I didn't find any mention of null attribute values in the LDAP standard,
either for or against.
Is the behaviour of openLDAP correct? better than other alternatives?
--
Email:JLankford@NRTC.Northrop.com, Voice:562-948-7950, FAX:562-942-6835
Northrop Grumman Corp., 8900 E. Washington Blvd., Pico Rivera, CA 90660
"How long will it take? For each manager involved in initial meetings add one
month. For each manager who says 'data flow analysis' add another month. For
each unique end-user type add one month. For each unknown software package to be
employed add two months. For each unknown hardware device add two months. For
each 100 miles between developer and installation add one month. For each type
of communication channel add one month.... Round up to the nearest half-year."
-- Brad Sherman, as quoted in the USENET fortune file