Apache Directory Project - How to use a wilcards for ldif exports with LDAP Studio

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > March 2007 > How to use a wilcards for ldif exports with LDAP Studio





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to use a wilcards for ldif exports with LDAP Studio
tux-07

2007-03-28, 7:11 pm

Hello,

I have a question I need to export some information from an ldap and I
need to use a wildcard to get some data I am using (*) to substitute
the parameters I wish to match.

So I am doing something like:
1. Set up the connection.
2. Set the search base: ou=People,o=myorg
3. Set the filter uid=1234*
4. Click Next and save the file and I get an empty file.

If I select a specific user it works also if I put the specific user
in the search base it works, but it does not work with the wildcard.
What am I doing wrong.

Thanks in advance.
George

Emmanuel Lecharny

2007-03-28, 7:11 pm

tux-07 a écrit :

> Hello,


Hi George,

>
> I have a question I need to export some information from an ldap and I
> need to use a wildcard to get some data I am using (*) to substitute
> the parameters I wish to match.
>
> So I am doing something like:
> 1. Set up the connection.
> 2. Set the search base: ou=People,o=myorg
> 3. Set the filter uid=1234*
> 4. Click Next and save the file and I get an empty file.
>
> If I select a specific user it works also if I put the specific user
> in the search base it works, but it does not work with the wildcard.
> What am I doing wrong.


just try with (uid=1234*) instead of uid=1234*. Ldap filters need some
'(' and ')'.

If it does not work, feel free to push another mail !

>
> Thanks in advance.
> George
>



Stefan Seelmann

2007-03-28, 7:11 pm

George,

please use (uid=1234*) with surrounding '(' and ')' as filter. In LDAP
this parenthesis are necessary, we will improve the filter handling in
the a future release of LDAP Studio to add this parentesis automatically
if they are missing.

Kind regards,
Stefan

tux-07 schrieb:
> Hello,
>
> I have a question I need to export some information from an ldap and I
> need to use a wildcard to get some data I am using (*) to substitute
> the parameters I wish to match.
>
> So I am doing something like:
> 1. Set up the connection.
> 2. Set the search base: ou=People,o=myorg
> 3. Set the filter uid=1234*
> 4. Click Next and save the file and I get an empty file.
>
> If I select a specific user it works also if I put the specific user
> in the search base it works, but it does not work with the wildcard.
> What am I doing wrong.
>
> Thanks in advance.
> George



tux-07

2007-03-28, 7:11 pm

Thank you that plus some other checkboxes did it and I am able to take
exports. Plus I like the fact that the IDE lets you stop an export in
the middle almost instanteniously instead of hanging/finishing/or
making a huge delay nice work,.

Thanks.
George

On 3/28/07, Stefan Seelmann <seelmann-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org> wrote:
> George,
>
> please use (uid=1234*) with surrounding '(' and ')' as filter. In LDAP
> this parenthesis are necessary, we will improve the filter handling in
> the a future release of LDAP Studio to add this parentesis automatically
> if they are missing.
>
> Kind regards,
> Stefan
>
> tux-07 schrieb:
>
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com