s3:winbindd_samr Do not use static contexts
authorSimo Sorce <idra@samba.org>
Thu, 8 Jul 2010 03:43:47 +0000 (23:43 -0400)
committerSimo Sorce <idra@samba.org>
Thu, 8 Jul 2010 03:45:50 +0000 (23:45 -0400)
commitf0b918473db75ff389a7d2e3bf4a069b8b30d141
tree4dd97b4c9781e0962af069334acbaf8a12b2108d
parent90b1a1d29623c6c2abc86e2571b535a7832dd376
s3:winbindd_samr Do not use static contexts

It is a very bad idea to use a static context within the open function.
Use the memory hierarchy to keep track of a client connection.
source3/winbindd/winbindd_samr.c