svn commit: samba r21315 - in branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules: .

Stefan (metze) Metzmacher metze at samba.org
Tue Feb 13 22:13:50 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Bartlett schrieb:
> On Tue, 2007-02-13 at 13:43 +0000, metze at samba.org wrote:
>> Author: metze
>> Date: 2007-02-13 13:43:23 +0000 (Tue, 13 Feb 2007)
>> New Revision: 21315
>>
>> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21315
>>
>> Log:
>> ldb now supports filters like (&(dn=%s)(&(objectClass=kerberosSecret)(privateKeytab=*))) again
>> we can use such a filter:-)
>>
>> we should only update the keytab for records matching this filter,
>> that means we need to do a search before calling cli_credentials_set_secrets()
> 
> Why do we need to do the search twice?  The end result is a filter
> string for cli_credentials_set_secrets() to search on.

because cli_credentials will complain if the object isn't a
kerberosSecret and we get ugly and missleading debug messages

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFF0jgem70gjA5TCD8RAm4mAKC70uj63MwUp95fyAjCndjt/8KXjwCgp+zU
L3PpPH6Lw1HT8MqAToTZYio=
=IyFL
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list