Re: [Samba] ldbedit syntax problem

2013-09-23 Thread Rowland Penny

On 22/09/13 20:09, steve wrote:

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



Well, yes but better too much rather than nothing

Rowland

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] ldbedit syntax problem

2013-09-22 Thread Gémes Géza

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

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] ldbedit syntax problem

2013-09-22 Thread steve
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


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] ldbedit syntax problem

2013-09-22 Thread Rowland Penny

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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] ldbedit syntax problem

2013-09-22 Thread steve
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


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba