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

Andrew Bartlett abartlet at samba.org
Tue Feb 13 22:33:41 GMT 2007


On Tue, 2007-02-13 at 23:13 +0100, Stefan (metze) Metzmacher wrote:
> -----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

That's reasonable then.   I would have just removed the messages :-)

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070214/c9cda99c/attachment.bin


More information about the samba-technical mailing list