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

translucent local search bug ?



Hi,

I've configure a ldap server with translucent. I add my own attribute like "Poste" and with the last release of openldap I can search my local attribute (like Poste) or my remote attributes (like mail, ou, Deleg):

# ldapsearch -x -b "ou=People,dc=compagnie,dc=com"  "(Poste=*)"
return all the datas :

dn: uid=julien.garnier.1,ou=per,ou=People,dc=compagnie,dc=com
businessCategory: E - Informatique, statistique et calcul scientifique
displayName: GARNIER Julien
employeeType: E4X01 - Technicien d'exploitation et de maintenance
Poste: 3550
CorCom: moy1300
cnrsGrade: TCN
GXlabTSEDR: 1
roomNumber: 7
CorSecu: 0
CorInfo: 1
GXlab: 0
CorValo: 0
CorForm: 0
ACMO: 0
Service: SSI

Now, if I juste want to return some attributes with a simple request, it work :
#ldapsearch -x -b "ou=People,dc=compagnie,dc=com" "(Poste=*)" mail Poste


# julien.garnier.1, cnrs, People, cnrs.fr
dn: uid=julien.garnier.1,ou=per,ou=People,dc=compagnie,dc=com
mail: Julien.Garnier@compagnie.com
Poste: 3550


Now I want to make a search mixing local and remote attributes :
# ldapsearch -x -b "ou=People,dc=compagnie,dc=com" "(&(Deleg=DR*)(ou=MOY*)(Poste=*))"
It's OK, I have the same result as the first test.


But if I want to make the last search and only show some attributes, it doesn't work :
# ldapsearch -x -b "ou=People,dc=compagnie,dc=com" "(&(Deleg=DR*)(ou=MOY*)(Poste=*))" Poste
or
# ldapsearch -x -b "ou=People,dc=compagnie,dc=com" "(&(Deleg=DR*)(ou=MOY*)(Poste=*))" mail


return no values :
# extended LDIF
#
# LDAPv3
# base <ou=People,dc=compagnie,dc=com> with scope subtree
# filter: (&(Deleg=DR*)(ou=MOY*)(Poste=*))
# requesting: mail
#

# search result
search: 2
result: 0 Success

# numResponses: 1

Is it a bug or did I have read the man in the wrong way ???

Thanks,

Julien

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature