summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-06-22 16:27:56 +0200
committerAndreas Schneider <asn@samba.org>2012-07-03 21:56:49 +0200
commit02c239c6d35f47f13143c66baffbd303373b8028 (patch)
treebd78d3929778df06f725694a735ee3ebf1bc2b8e /source3/lib
parent3f14155a9f409103fcfeea0df633e2700dd316f2 (diff)
downloadsamba-02c239c6d35f47f13143c66baffbd303373b8028.tar.gz
samba-02c239c6d35f47f13143c66baffbd303373b8028.tar.bz2
samba-02c239c6d35f47f13143c66baffbd303373b8028.zip
s3-passdb: Remove obsolte ldapsam_compat support.
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbldap.c6
1 files changed, 0 insertions, 6 deletions
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);