Added load_interfaces in smbpasswd to allow name resolution by broadcast and
[samba.git] / source3 / utils / smbpasswd.c
index 722ff6f8b2fe75198ded94e96f693448a8431139..157583925b4af98d199c72842498088df0aaa058 100644 (file)
@@ -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");