1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

param: assign default ports in s3 loadparm to match docs and s4

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jan 28 10:29:57 CET 2014 on sn-devel-104
This commit is contained in:
Garming Sam 2014-01-09 15:45:45 +13:00 committed by Andrew Bartlett
parent 826ba5f117
commit 28346a6ea8

View File

@ -1083,6 +1083,18 @@ static void init_globals(bool reinit_globals)
Globals.rndc_command = (const char **)str_list_make_v3(NULL, "/usr/sbin/rndc", NULL);
Globals.cldap_port = 389;
Globals.dgram_port = 138;
Globals.nbt_port = 137;
Globals.krb5_port = 88;
Globals.kpasswd_port = 464;
Globals.web_port = 901;
/* Now put back the settings that were set with lp_set_cmdline() */
apply_lp_set_cmdline();
}