mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +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 commit is contained in:
parent
256b85802e
commit
156cf8bede
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user