[Samba] ldbedit syntax problem

Gémes Géza geza at kzsdabas.hu
Sun Sep 22 21:56:48 MDT 2013


2013-09-22 21:09 keltezéssel, steve írta:
> On Sun, 2013-09-22 at 13:36 +0100, Rowland Penny wrote:
>> On 22/09/13 13:04, steve wrote:
>>> Hi
>>> How do I ldbedit this dn?
>>>
>>> CN=*,OU=auto.users,ou=automount,DC=bar,DC=foo
>>>
>>> It's the * that I can't get.
>>>
>>> Cheers,
>>> Steve
>>>
>>>
>> Hi Steve, how about 'ldbedit -e nano --url=ldap://server.bar.foo
>> --kerberos=yes --krb5-ccache=/tmp/krb5cc_0 CN=*' and then search in the
>> results for '*'
>>
>> Rowland
> Hi Rowland, hi everyone
> Yes, that works fine, thanks. The problem is that it loads the whole of
> the db into the editor.
> Cheers,
> Steve
>
>
Hi,

I haven't tried it but with ldbsearch it works:

-b OU=auto.users,ou=automount,DC=bar,DC=foo CN=*

Regards

Geza Gemes



More information about the samba mailing list