s3:libsmb: fix a call to lp_load to reinit the globals in any case
authorMichael Adam <obnox@samba.org>
Tue, 26 Jul 2011 10:36:53 +0000 (12:36 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 28 Jul 2011 09:17:27 +0000 (11:17 +0200)
commitfbf254c19aa01984f02f1b7c95e294ff10178aab
treeba89e480fb0fc0baa2d695e8456763fa7da884ef
parentbff217cf4a3ea52f9509970ea9bf8520a281eb3e
s3:libsmb: fix a call to lp_load to reinit the globals in any case

The potential previous lp_load of $HOME/.smb/smb.conf might have failed
halfway through and might have left globals initialized in an unwanted state.
So we should make sure to clean up before loading the dyn_CONFIGFILE()
source3/libsmb/libsmb_context.c