Added load_interfaces in smbpasswd to allow name resolution by broadcast and
authorMatthew Chapman <matty@samba.org>
Mon, 18 Jan 1999 01:32:45 +0000 (01:32 +0000)
committerMatthew Chapman <matty@samba.org>
Mon, 18 Jan 1999 01:32:45 +0000 (01:32 +0000)
multiple interfaces. (Jeremy already committed this in SAMBA_2_0).

source/utils/smbpasswd.c

index 722ff6f8b2fe75198ded94e96f693448a8431139..157583925b4af98d199c72842498088df0aaa058 100644 (file)
@@ -574,6 +574,8 @@ int main(int argc, char **argv)
 
        codepage_initialise(lp_client_code_page());
 
 
        codepage_initialise(lp_client_code_page());
 
+       load_interfaces();
+
        if(!pwdb_initialise(False))
        {
                fprintf(stderr, "Can't setup password database vectors.\n");
        if(!pwdb_initialise(False))
        {
                fprintf(stderr, "Can't setup password database vectors.\n");