mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
s3:utils: Use samba_cmdline_burn() in smbget
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
c31d9fa8f5
commit
fb89a5f38e
@ -18,7 +18,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "system/filesys.h"
|
||||
#include "popt_common_cmdline.h"
|
||||
#include "lib/cmdline/cmdline.h"
|
||||
#include "libsmbclient.h"
|
||||
#include "cmdline_contexts.h"
|
||||
|
||||
@ -1005,7 +1005,7 @@ int main(int argc, char **argv)
|
||||
goto done;
|
||||
}
|
||||
|
||||
popt_burn_cmdline_password(argc, argv);
|
||||
samba_cmdline_burn(argc, argv);
|
||||
|
||||
if (smbc_init(get_auth_data, opt.debuglevel) < 0) {
|
||||
fprintf(stderr, "Unable to initialize libsmbclient\n");
|
||||
|
@ -59,7 +59,7 @@ bld.SAMBA3_BINARY('smbget',
|
||||
source='smbget.c',
|
||||
deps='''
|
||||
talloc
|
||||
popt_samba3_cmdline
|
||||
cmdline
|
||||
smbclient''')
|
||||
|
||||
bld.SAMBA3_BINARY('nmblookup',
|
||||
|
Loading…
x
Reference in New Issue
Block a user