[Fedora-directory-users] problem with unique search on gidNumber

Rich Megginson rmeggins at redhat.com
Thu Jan 3 19:59:52 UTC 2008


Jason Beavers wrote:
> All,
>
> Any thoughts about this?  I know i'm missing something but so far i'm 
> still stumped.
Can you post relevant excerpts from your access log showing the search 
request and results?  Do you see any problems in your error log?

Can you post your dse.ldif, making sure to first obscure any sensitive 
information?

Or, better, use pastebin.com to paste the information and just post 
links here.
>
> ----- Original Message ----
> From: Jason Beavers <beavrz1 at yahoo.com>
> To: General discussion list for the Fedora Directory server project. 
> <fedora-directory-users at redhat.com>
> Sent: Wednesday, December 19, 2007 5:22:10 PM
> Subject: Re: [Fedora-directory-users] problem with unique search on 
> gidNumber
>
> that search returns ALL results with with ANY gidNumber value set, not 
> just those with "205"
>
> ----- Original Message ----
> From: Rich Megginson <rmeggins at redhat.com>
> To: General discussion list for the Fedora Directory server project. 
> <fedora-directory-users at redhat.com>
> Sent: Friday, December 14, 2007 10:57:40 AM
> Subject: Re: [Fedora-directory-users] problem with unique search on 
> gidNumber
>
> Jason Beavers wrote:
> > Yep, "gidnumber.db4" is there.
> So what does a search for "(gidNumber=205)" return?
> >
> > ----- Original Message ----
> > From: Rich Megginson <rmeggins at redhat.com <mailto:rmeggins at redhat.com>>
> > To: General discussion list for the Fedora Directory server project.
> > <fedora-directory-users at redhat.com 
> <mailto:fedora-directory-users at redhat.com>>
> > Sent: Friday, December 14, 2007 10:19:54 AM
> > Subject: Re: [Fedora-directory-users] problem with unique search on
> > gidNumber
> >
> > Jason Beavers wrote:
> > > well i cheated (lazy :-) ) and edited the index configuration using
> > > the Fedora console, which regenerated the indexes.
> > You can check - look in /opt/fedora-ds/slapd-instancename/db/userRoot
> > and see if you have a gidNumber.db4 file.
> > > Or so i was lead to believe it would based on the documentation.
> > > should i be forcing it by runing the perl scripts instead?
> > >
> > > ----- Original Message ----
> > > From: Rich Megginson <rmeggins at redhat.com 
> <mailto:rmeggins at redhat.com> <mailto:rmeggins at redhat.com 
> <mailto:rmeggins at redhat.com>>>
> > > To: General discussion list for the Fedora Directory server project.
> > > <fedora-directory-users at redhat.com 
> <mailto:fedora-directory-users at redhat.com>
> > <mailto:fedora-directory-users at redhat.com 
> <mailto:fedora-directory-users at redhat.com>>>
> > > Sent: Friday, December 14, 2007 8:08:24 AM
> > > Subject: Re: [Fedora-directory-users] problem with unique search on
> > > gidNumber
> > >
> > > Jason Beavers wrote:
> > > > I'm trying to get unique searches working for "gidNumber."  When
> > > > trying a search as below:
> > > >
> > > > ./ldapsearch -b "dc=mydomain,dc=int"
> > > > "(&(objectClass=groupOfNames)(gidNumber=205)(ou:dn:=Groups))" cn
> > > gidNumber
> > > >
> > > >
> > > > I'm getting results back with ALL entries with a gidNumber attribute
> > > > set, instead of just the one entry that matches "gidNumber=205."
> > > > I've tried adding the gidNumber attribute to the indexes,
> > > What steps did you take?  You created the index configuration?   
> Then ran
> > > db2index to generate the index files?
> > > > however i cannot seem to get it to respond with a unique result.
> > > Have you tried just "(gidNumber=205)" - does that work?
> > > >
> > > > What am I missing?
> > > >
> > > > Thanks in advance.
> > > >
> > > > -j
> > > >
> > > >
> > ------------------------------------------------------------------------
> > > > Never miss a thing. Make Yahoo your homepage.
> > > > <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
> > > >
> > ------------------------------------------------------------------------
> > > >
> > > > --
> > > > Fedora-directory-users mailing list
> > > > Fedora-directory-users at redhat.com 
> <mailto:Fedora-directory-users at redhat.com>
> > <mailto:Fedora-directory-users at redhat.com 
> <mailto:Fedora-directory-users at redhat.com>>
> > > <mailto:Fedora-directory-users at redhat.com 
> <mailto:Fedora-directory-users at redhat.com>
> > <mailto:Fedora-directory-users at redhat.com 
> <mailto:Fedora-directory-users at redhat.com>>>
> > > > https://www.redhat.com/mailman/listinfo/fedora-directory-users
> > > >
> > >
> > >
> > >
> > > 
> ------------------------------------------------------------------------
> > > Looking for last minute shopping deals? Find them fast with Yahoo!
> > > Search.
> > >
> > 
> <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping> 
>
> >
> > >
> > > 
> ------------------------------------------------------------------------
> > >
> > > --
> > > Fedora-directory-users mailing list
> > > Fedora-directory-users at redhat.com 
> <mailto:Fedora-directory-users at redhat.com>
> > <mailto:Fedora-directory-users at redhat.com 
> <mailto:Fedora-directory-users at redhat.com>>
> > > https://www.redhat.com/mailman/listinfo/fedora-directory-users
> > >
> >
> >
> >
> > ------------------------------------------------------------------------
> > Never miss a thing. Make Yahoo your homepage.
> > <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
> > ------------------------------------------------------------------------
> >
> > --
> > Fedora-directory-users mailing list
> > Fedora-directory-users at redhat.com 
> <mailto:Fedora-directory-users at redhat.com>
> > https://www.redhat.com/mailman/listinfo/fedora-directory-users
> > 
>
>
>
> ------------------------------------------------------------------------
> Looking for last minute shopping deals? Find them fast with Yahoo! 
> Search. 
> <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping>
>
>
> ------------------------------------------------------------------------
> Looking for last minute shopping deals? Find them fast with Yahoo! 
> Search. 
> <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping> 
>
> ------------------------------------------------------------------------
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20080103/7573e403/attachment.bin>


More information about the Fedora-directory-users mailing list