Crash in passdb/pdb_ldap.c
Jelmer Vernooij
jelmer at nl.linux.org
Mon Apr 7 18:42:52 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
My server is crashing at the ldap_mods_free() in the part of passdb/pdb_ldap.c
(HEAD, around line 1523) pasted below.. Can we assume that if
init_ldap_from_sam() fails we can free mods ?
if (!init_ldap_from_sam(ldap_state, entry, &mods, newpwd,
element_is_set_or_changed)) {
DEBUG(0, ("ldapsam_add_sam_account: init_ldap_from_sam failed!\n"));
ldap_msgfree(result);
ldap_mods_free(mods, 1);
return NT_STATUS_UNSUCCESSFUL;
}
Jelmer
- --
Jelmer Vernooij <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
20:40:35 up 21:59, 9 users, load average: 0.07, 0.23, 0.19
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+kcasPa9Uoh7vUnYRAqDQAJwJCHllZhAvtJst+W2WD+9AM2f7awCeLuV3
V7VcX36joGmGAgfey2QXAF0=
=G2Hc
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list