-------- Original Message --------
quanah@xxxxxxxxxxxx wrote:
>
>
> --On Friday, July 01, 2005 10:53 AM -0600 Rich Megginson
> <richm@xxxxxxxxxxxx> wrote:
>
>> Does search using a NOT filter imply the presence of that attribute?
>> Specifically:
>>
>> (!(someAttr=abc))
>>
>> Should this return those entries which have the someAttr attribute
>> present AND whose someAttr value != abc? Or should this return entries
>> which do not have the someAttr attribute?
>
>
> This should return all entries that don't have someAttr=abc. I.e., if
> the entry has someAttr=joe, it will be returned. If the entry doesn't
> have any occurrence of someAttr, it will be returned.
What happens if you specify the uid attribute to be returned? Is this
specified in X.500? If so, where?
>
> For example:
>
> tribes:~> ldapsearch "(!(uid=quanah))" | more
e.g. what happens if you do
ldapsearch "(!(uid=quanah))" uid
? Does it return only those entries that have a uid attribute? Does
OpenLDAP omit entries from the search results that match the search
filter but do not contain the attribute listed in the attribute list in
the search request?
> SASL/GSSAPI authentication started
> SASL username: quanah@xxxxxxxxxxxx
> SASL SSF: 56
> SASL installing layers
> # extended LDIF
> #
> # LDAPv3
> # base <> with scope sub
> # filter: (!(uid=quanah))
> # requesting: ALL
> #
>
> # stanford.edu
> dn: dc=stanford,dc=edu
> objectClass: dcObject
> objectClass: organization
> o: Stanford University
> dc: stanford
> l: Palo Alto
>
> # Manager, stanford.edu
> dn: cn=Manager,dc=stanford,dc=edu
> objectClass: organizationalRole
> cn: Manager
>
> # People, stanford.edu
> dn: cn=People,dc=stanford,dc=edu
> objectClass: top
> objectClass: organizationalRole
> cn: People
>
>
> --Quanah
>
> --
> Quanah Gibson-Mount
> Principal Software Developer
> ITSS/Shared Services
> Stanford University
> GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
>
> "These censorship operations against schools and libraries are stronger
> than ever in the present religio-political climate. They often focus on
> fantasy and sf books, which foster that deadly enemy to bigotry and blind
> faith, the imagination." -- Ursula K. Le Guin
>
>
|
--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users