[Date Prev][Date Next] [Chronological] [Thread] [Top]

slapcat of selected attributes

I'd like slapcat to accept an attribute list to output:

	slapcat -H "ldap:///dc=uio,dc=no?telephoneNumber,cn";

slapcat URLs won't mean the same as in the LDAP spec, though: An
empty attribute list = all attrs, both user user and operational
ones: "*,+".  Elsewhere in LDAP it means just user attrs: "*".

Do anyone have a problem with that, or see a more sensible way to
express it?  It's not problem currently, when slapcat does not
support an attribute list anyway.

Come to think of it, ldapsearch ought to support full URLs too - but
until it does, at least there's no risk of confusion with ldapsearch
attribute lists.