From: Chris R. <chr...@me...> - 2001-03-30 17:18:33
|
Behruz Rushenas <beh...@cp...> wrote: > Hi Chris, > > I have already looked in the Net::LDAP::Schema, but i didn't find any > functions allowinfgto get information about attributes ( type, syntax, > ...). > > Behruz Hm the functionality's there, but maybe it could be brought out a little more obviously. Try the 'item' method. $syntax = $schema->item('mail', 'syntax'); At a guess the second argument must be one of the names in RFC 2252, ie name, desc, obsolete, sup, equality, ordering, substr, syntax, single-value, collective, no-user-modification, usage, abstract, structural, auxiliary, must, may. Cheers, Chris |