summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_get_set.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/passdb/pdb_get_set.c b/source3/passdb/pdb_get_set.c
index 46c49be8b1..4a5a5759d4 100644
--- a/source3/passdb/pdb_get_set.c
+++ b/source3/passdb/pdb_get_set.c
@@ -1045,19 +1045,6 @@ BOOL pdb_set_backend_private_data (SAM_ACCOUNT *sampass, void *private_data,
if (!sampass)
return False;
-#if 0
- /* With this check backend_private_data_free_fn is *never* set
- as the methods are never set anywhere. What is this
- supposed to do ????
-
- Volker
- */
-
- /* does this backend 'own' this SAM_ACCOUNT? */
- if (my_methods != sampass->private.backend_private_methods)
- return False;
-#endif
-
if (sampass->private.backend_private_data && sampass->private.backend_private_data_free_fn) {
sampass->private.backend_private_data_free_fn(&sampass->private.backend_private_data);
}