diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-11-07 08:36:29 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-11-07 08:36:29 +0000 |
commit | c22afa7d97b8fe2fc00aa5da73ed1d2d8669cd1c (patch) | |
tree | af9d16da36364274ecb5068c07c455300f2205fb /source3/passdb | |
parent | ec04a974968bba6e4dc9ed0eb246f054af9602fc (diff) | |
download | samba-c22afa7d97b8fe2fc00aa5da73ed1d2d8669cd1c.tar.gz samba-c22afa7d97b8fe2fc00aa5da73ed1d2d8669cd1c.tar.bz2 samba-c22afa7d97b8fe2fc00aa5da73ed1d2d8669cd1c.zip |
I agree with vl's #if 0 here, and am not quite sure what I was
thinking with regard to the original code.
Let's keep samba simple, and just remove it.
Andrew Bartlett
(This used to be commit 156cf8bede52e1d33be980fd8841367253a60b9e)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_get_set.c | 13 |
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); } |