Thanks for your input.
The problem is I am simulating the request from a Radius (Funk Softeware)
server, which is using somekind of tunneling feature with @servicename
concantenated
with the user name.
I have been thinking your solutions, but the problem is I need to look
for a way to configure the Radius, so it will pass the OpenLDAP two separate
information (i.e: uid & servicename) instead of one. I don't know how
to do it yet...;-)) The SBR .aut file is pretty simple there.
I am sure the dn is "uid=lukman@aaa.com,dc=aaa,dc=com". I got it with the second statement.
Thanks
--
Best Regards,
Lukman W. Kusuma
Randy Kunkee wrote:
> Dear All,
>
> I have a problem with filter which contain '@' char.
>
> no result found with this command :
> $ ldapsearch -D "cn=Administrator,dc=aaa,dc=com" -w test -b
> "dc=aaa,dc=com" uid=lukman@aaa.comIt would be really odd for the above uid to be valid. More likely,
you want to use the filter "uid=lukman" and leave off @aaa.com.>
> And I manage to make it work with a silly way which I use it for demo
> only.
> $ ldapsearch -D "cn=Administrator,dc=aaa,dc=com" -w test -b
> "uid=lukman@aaa.com,dc=aaa,dc=com" uid=*
>
> I know from ldapfilter.conf that '@' is used for mail filtering, and it
> just work fine if the filter is mail=lukman@aaa.com.
>Are you sure your dn is not "uid=lukman,dc=aaa,dc=com"? Also, I'd suggest
making it a base search (add -s base), and change your filter to
"objectclass=*". If you get "no such object", then for sure it does not
exist.Randy
begin:vcard n:W. Kusuma;Lukman tel;cell:(65) 97431520 tel;fax:(65) 8832345 tel;work:(65) 8830800 X38 x-mozilla-html:FALSE url:www.commverge.com org:CommVerge Solutions (S) Pte Ltd version:2.1 email;internet:lukman@commverge.com title:Integration Manager adr;quoted-printable:;;7 Temasek Boulevard=0D=0ASuntec City Tower One #16-06;;;038987;Singapore fn:Lukman W. Kusuma end:vcard