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)
commit38634183a074556c8dfdcb6affc60f4bcc15a3f0
treea64f4c160be19f5569d19d9041babe163f8f0968
parent10a8b7ea487f9725f69b02c4dd9cf5e1f67a23ab
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
source/libnet/libnet_vampire.c