From 02c239c6d35f47f13143c66baffbd303373b8028 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 22 Jun 2012 16:27:56 +0200 Subject: s3-passdb: Remove obsolte ldapsam_compat support. --- source3/lib/smbldap.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index 43ddaff53a..81276936e6 100644 --- a/source3/lib/smbldap.c +++ b/source3/lib/smbldap.c @@ -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); -- cgit