summaryrefslogtreecommitdiff
path: root/source3/utils/smbpasswd.c
diff options
context:
space:
mode:
authorMatthew Chapman <matty@samba.org>1999-01-18 01:32:45 +0000
committerMatthew Chapman <matty@samba.org>1999-01-18 01:32:45 +0000
commite10503d1a2053b0a4d5e86ffcf9b36e6cccc9497 (patch)
treeef49a6f482b4a33ee98b80cbaa54114823709364 /source3/utils/smbpasswd.c
parent8dac09c5a15bbf17cf69975bff84106eba6147e9 (diff)
downloadsamba-e10503d1a2053b0a4d5e86ffcf9b36e6cccc9497.tar.gz
samba-e10503d1a2053b0a4d5e86ffcf9b36e6cccc9497.tar.bz2
samba-e10503d1a2053b0a4d5e86ffcf9b36e6cccc9497.zip
Added load_interfaces in smbpasswd to allow name resolution by broadcast and
multiple interfaces. (Jeremy already committed this in SAMBA_2_0). (This used to be commit f530e289c6f69961c51511e0220fdd886fbd2c78)
Diffstat (limited to 'source3/utils/smbpasswd.c')
-rw-r--r--source3/utils/smbpasswd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index 722ff6f8b2..157583925b 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -574,6 +574,8 @@ int main(int argc, char **argv)
codepage_initialise(lp_client_code_page());
+ load_interfaces();
+
if(!pwdb_initialise(False))
{
fprintf(stderr, "Can't setup password database vectors.\n");