Use the python-provided ldb and lp_ctx pointers in libnet_vampire.c
authorAndrew Bartlett <abartlet@samba.org>
Fri, 11 Apr 2008 09:15:24 +0000 (19:15 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 11 Apr 2008 09:15:24 +0000 (19:15 +1000)
commita1a3089199d9ad523e63148a5a2afcca8db39bdf
tree1aef2b967bff0df2db08308e4decc382e58aeb24
parent393007315d56d72cd4ebccc204da703b27eb968b
Use the python-provided ldb and lp_ctx pointers in libnet_vampire.c

By using the already open smb.conf and sam.ldb, we not only avoid
overhead, but also remove the risk we could touch a different
database.

Andrew Bartlett
(This used to be commit 38634183a074556c8dfdcb6affc60f4bcc15a3f0)
source4/libnet/libnet_vampire.c