mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
38beef2ff6
When updating the system keytab as a result of joining a domain, if the keytb had prior entries, ads_keytab_create_default tries to update those entries. However, it starts updating before freeing the cursor which was used for finding those entries, and hence causes an an attempt to write-lock the keytab while a read-lock exists. To reproduce configure smb.conf for ads domain member and run this twice: net ads join -U <credentials> '--option=kerberos method=secrets and keytab' Signed-off-by: Uri Simchoni <urisimchoni@gmail.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon May 4 21:01:41 CEST 2015 on sn-devel-104 |
||
---|---|---|
.. | ||
ads_ldap_protos.h | ||
ads_proto.h | ||
ads_status.c | ||
ads_status.h | ||
ads_struct.c | ||
authdata.c | ||
cldap.c | ||
cldap.h | ||
disp_sec.c | ||
kerberos_keytab.c | ||
kerberos_proto.h | ||
kerberos_util.c | ||
kerberos.c | ||
krb5_errs.c | ||
krb5_setpw.c | ||
ldap_printer.c | ||
ldap_schema.c | ||
ldap_schema.h | ||
ldap_user.c | ||
ldap_utils.c | ||
ldap.c | ||
ndr.c | ||
sasl_wrapping.c | ||
sasl.c | ||
sitename_cache.c | ||
sitename_cache.h | ||
util.c |