1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-29 15:42:04 +03:00

s3-passdb: Remove obsolte ldapsam_compat support.

This commit is contained in:
Andreas Schneider
2012-06-22 16:27:56 +02:00
parent 3f14155a9f
commit 02c239c6d3
7 changed files with 6 additions and 187 deletions

View File

@ -411,12 +411,6 @@ static void smbldap_make_mod_internal(LDAP *ldap_struct, LDAPMessage *existing,
bool existed;
DATA_BLOB oldblob = data_blob_null;
if (attribute == NULL) {
/* This can actually happen for ldapsam_compat where we for
* example don't have a password history */
return;
}
if (existing != NULL) {
if (op & LDAP_MOD_BVALUES) {
existed = smbldap_talloc_single_blob(talloc_tos(), ldap_struct, existing, attribute, &oldblob);