1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

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)
This commit is contained in:
Andrew Bartlett 2003-11-07 08:36:29 +00:00
parent ec04a97496
commit c22afa7d97

View File

@ -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);
}