svn commit: samba r21179 - in
branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules: .
abartlet at samba.org
abartlet at samba.org
Tue Feb 6 12:27:23 GMT 2007
Author: abartlet
Date: 2007-02-06 12:27:23 +0000 (Tue, 06 Feb 2007)
New Revision: 21179
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21179
Log:
Anything more complex than this causes the keytab never to be updated...
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/update_keytab.c
Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/update_keytab.c
===================================================================
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/update_keytab.c 2007-02-06 10:48:32 UTC (rev 21178)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/update_keytab.c 2007-02-06 12:27:23 UTC (rev 21179)
@@ -61,7 +61,8 @@
}
cli_credentials_set_conf(item->creds);
- filter = talloc_asprintf(item, "(&(&(objectClass=kerberosSecret)(&(privateKeytab=*)(|(secret=*)(ntPwdHash=*))))(dn=%s))",
+/* filter = talloc_asprintf(item, "(&(&(&(objectClass=kerberosSecret)(privateKeytab=*))(|(secret=*)(ntPwdHash=*)))(distinguishedName=%s))", */
+ filter = talloc_asprintf(item, "dn=%s",
ldb_dn_get_linearized(dn));
status = cli_credentials_set_secrets(item->creds, module->ldb, NULL, filter);
talloc_free(filter);
More information about the samba-cvs
mailing list