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

RE: ldapsearch on local attributes with slapo-translucent



Are you missing a bracket?
"(&(object Class=AsteriskSIPUser)(AstAccountName=600))"

-----Original Message-----
From:
openldap-software-bounces+kumuthiny.srilakshmanan=auspost.com.au@OpenLDAP.or
g
[mailto:openldap-software-bounces+kumuthiny.srilakshmanan=auspost.com.au@Ope
nLDAP.org] On Behalf Of Gavin Henry
Sent: Friday, 20 July 2007 7:26 AM
To: openldap-software@openldap.org
Subject: ldapsearch on local attributes with slapo-translucent


Dear All,

I'm doing some work with Asterisk and translucent, trying to overlay some
attributes to an existing remote account, locally.

These attributes have been added by entries in the local database before 
being presented to me via ldapsearch, whilst searching for attributes
present in the remote directory:

objectClass: AsteriskExtension
objectClass: AsteriskSIPUser
AstAccountName: 600
AstAccountType: friend
AstAccountSecret: 600
AstAccountQualify: yes
AstAccountPort: 5060
AstAccountNAT: never
AstAccountMailbox: 600@device
AstAccountHost: dynamic
AstAccountDTMFMode: rfc2833
AstAccountContext: from-internal
AstAccountCanReinvite: no
AstAccountCallerID: Gavin <502>

Should I expect to be able to search for the above attributes and get a
result? Currently I am not.

A filter like:

"(&(objectClass=AsteriskSIPUser)(AstAccountName=600)"

returns:

ldapsearch: ldap_search_ext: Bad search filter (-7)

So I guess that answers my question.

If slapo-translucent did return results for searches against the local
attributes, would this be defeating the purpose/design of the overlay?

Thanks,

Gavin.



Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website.

The information contained in this e-mail communication may be proprietary, confidential or legally professionally privileged.  It is intended exclusively for the individual or entity to which it is addressed. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. Australia Post does not represent, warrant or guarantee the integrity of this e-mail communication has been maintained nor that the communication is free of errors, virus or interference. 

If you are not the addressee or intended recipient please notify us by replying direct to the sender and then destroy any electronic or paper copy of this message. Any views expressed in this e-mail communication are taken to be those of the individual sender, except where the sender specifically attributes those views to Australia Post and is authorised to do so.