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.
<quote who="Srilakshmanan, Kumuthiny">
Are you missing a bracket? "(&(object Class=AsteriskSIPUser)(AstAccountName=600))"
;-)
I'm pretty confident that's a copy paste error from my console. Will check in the morning, as I'm sure it's as above.
The search filter is generated from another program.
Gavin.
Gavin Henry wrote:
<quote who="Srilakshmanan, Kumuthiny"> > Are you missing a bracket? > "(&(object Class=AsteriskSIPUser)(AstAccountName=600))"
;-)
I'm pretty confident that's a copy paste error from my console. Will check in the morning, as I'm sure it's as above.
The search filter is generated from another program.
Gavin.
Yes, as I thought. Translucent doesn't return searches on local attributes.
One for the to do list then.
Gavin.
Gavin Henry a écrit :
Yes, as I thought. Translucent doesn't return searches on local attributes.
One for the to do list then.
Gavin.
Hi,
I'm in the same case of you, did you find an alternative or a solution ? I need to be able to search my own attributes or wath is the utlity of slapo-translucent ?
Thanks in advance,
Julien
Julien Garnier wrote:
Gavin Henry a écrit :
Yes, as I thought. Translucent doesn't return searches on local attributes.
One for the to do list then.
Gavin.
Hi,
I'm in the same case of you, did you find an alternative or a solution ? I need to be able to search my own attributes or wath is the utlity of slapo-translucent ?
slapo-trabslucent does what it does. It's didn't meet my needs, but I was only testing so haven't given it much thought again yet.
openldap-software@openldap.org