[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


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


Re: [Samba] S4-Winbind dumping core on password

2013-09-22 Thread Andrew Bartlett
On Tue, 2013-09-17 at 15:31 -0700, S Murthy Kambhampaty wrote:
 Samba4-winbind (sernet-samba-4.0.9) on RHEL 6.4 dumps core on password 
 authentication for a domain user (su/sudo), and so domain password 
 authentication fails.  The machine is a standalone server in a Windows AD 
 (2008R2) domain.

Are you able to reproduce this with winbindd running under valgrind?
eg:

valgrind --trace-children=yes winbindd

Thanks,

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org


-- 
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 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


[SCM] Samba Shared Repository - branch master updated

2013-09-22 Thread Andrew Bartlett
The branch, master has been updated
   via  a3f25f2 selftst: add tests based on 4.1.0rc3 to check for zero 
invocationID in replPropertyMetaData
   via  038a9a7 selftest: Add release-4-1-0rc3 saved provision
   via  9c11ad2 selftest: Only run referenceprovision and ldapcmp for the 
4.0.0 test
   via  9b8e174 selftest: Add script to assist in writing out a tree 
undump.sh can restore
   via  9e1dde1 dbcheck: Look for and fix the all-zero invocationID in 
replPropertyMetaData
   via  25d4baf dsdb: Refuse to replicate an all-zero invocationID GUID in 
replPropertyMetaData
   via  274b899 smb.conf: Fill out the ntvfs handler smb.conf page from 
source4/NEWS
   via  334d83e Remove NEWS file containing confusing information
   via  8d9986a Remove confusing TODO file
   via  53c06d0 dsdb: Use WERR_DS_ATT_NOT_DEF_IN_SCHEMA for failed schema 
lookups
  from  096c962 Backport 0e97908 from WAF repository: symlink fix for 
OpenBSD

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit a3f25f25113d83a605638fa2806014ad9972f919
Author: Andrew Bartlett abart...@samba.org
Date:   Sat Sep 21 22:06:54 2013 -0700

selftst: add tests based on 4.1.0rc3 to check for zero invocationID in 
replPropertyMetaData

Signed-off-by: Andrew Bartlett abart...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

Autobuild-User(master): Andrew Bartlett abart...@samba.org
Autobuild-Date(master): Mon Sep 23 01:29:10 CEST 2013 on sn-devel-104

commit 038a9a7c5ec964e5b42e1329eab0573e50a9d3b0
Author: Andrew Bartlett abart...@samba.org
Date:   Sat Sep 21 22:52:01 2013 -0700

selftest: Add release-4-1-0rc3 saved provision

This version has the regression where we would, on join, write an
all-zero invocationID in the replPropertyMetaData attribute, on
Deleted Objects in particular.

To demonstrate this regression, this is based on the promoted_dc
environment from make test, with the domain altered to match the
pattern used in these trees.

Andrew Bartlett

Signed-off-by: Andrew Bartlett abart...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

commit 9c11ad25b211242cbe526f280688640658c4a365
Author: Andrew Bartlett abart...@samba.org
Date:   Sat Sep 21 23:36:46 2013 -0700

selftest: Only run referenceprovision and ldapcmp for the 4.0.0 test

Signed-off-by: Andrew Bartlett abart...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

commit 9b8e174fe8cac61cfcfa1c76e8cab2450e4a0af5
Author: Andrew Bartlett abart...@samba.org
Date:   Sat Sep 21 18:52:21 2013 -0700

selftest: Add script to assist in writing out a tree undump.sh can restore

Signed-off-by: Andrew Bartlett abart...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

commit 9e1dde15f9d3a374747d163e37016b54f008bd9f
Author: Andrew Bartlett abart...@samba.org
Date:   Sat Sep 21 18:03:43 2013 -0700

dbcheck: Look for and fix the all-zero invocationID in replPropertyMetaData

Signed-off-by: Andrew Bartlett abart...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

commit 25d4bafca7245e3f8291e5f0f304b1b4f8ce5600
Author: Andrew Bartlett abart...@samba.org
Date:   Sat Sep 21 14:33:21 2013 -0700

dsdb: Refuse to replicate an all-zero invocationID GUID in 
replPropertyMetaData

This matches Windows 2008R2.

Andrew Bartlett

Signed-off-by: Andrew Bartlett abart...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

commit 274b899095645550e263564ae4e03b4f0d6bdbea
Author: Andrew Bartlett abart...@samba.org
Date:   Sat Sep 21 14:32:27 2013 -0700

smb.conf: Fill out the ntvfs handler smb.conf page from source4/NEWS

Signed-off-by: Andrew Bartlett abart...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

commit 334d83e4e7821b3f2ac54ef11f67aefaa564b00b
Author: Andrew Bartlett abart...@samba.org
Date:   Sat Sep 21 14:31:31 2013 -0700

Remove NEWS file containing confusing information

Signed-off-by: Andrew Bartlett abart...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Michael Adam ob...@samba.org

commit 8d9986a6e9cb8c633c57c84c4d6aefd21e181c40
Author: Andrew Bartlett abart...@samba.org
Date:   Sat Sep 21 14:10:02 2013 -0700

Remove confusing TODO file

This makes no sense in the merged tree, and only confuses users.

Andrew Bartlett

Signed-off-by: Andrew Bartlett abart...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org
Reviewed-by: Michael Adam