2 Unix SMB/CIFS implementation.
3 Parameter loading functions
4 Copyright (C) Andrew Bartlett 2011
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #include "../source4/param/s3_param.h"
23 /* These are in the order that they appear in the s4 loadparm file.
24 * All of the s4 loadparm functions should be here eventually, once
25 * they are implemented in the s3 loadparm, have the same format (enum
26 * values in particular) and defaults. */
27 static const struct loadparm_s3_context s3_fns
=
29 .get_parametric
= lp_parm_const_string_service
,
30 .get_parm_struct
= lp_get_parameter
,
31 .get_parm_ptr
= lp_parm_ptr
,
32 .get_service
= lp_service
,
34 .server_role
= lp_server_role
,
36 .winbind_separator
= lp_winbind_separator
,
37 .template_homedir
= lp_template_homedir
,
38 .template_shell
= lp_template_shell
,
40 .dos_charset
= lp_dos_charset
,
41 .unix_charset
= lp_unix_charset
,
44 .dnsdomain
= lp_dnsdomain
,
45 .socket_options
= lp_socket_options
,
46 .workgroup
= lp_workgroup
,
48 .netbios_name
= lp_netbios_name
,
49 .netbios_scope
= lp_netbios_scope
,
51 .lanman_auth
= lp_lanman_auth
,
52 .ntlm_auth
= lp_ntlm_auth
,
54 .client_plaintext_auth
= lp_client_plaintext_auth
,
55 .client_lanman_auth
= lp_client_lanman_auth
,
56 .client_ntlmv2_auth
= lp_client_ntlmv2_auth
,
58 .private_dir
= lp_private_dir
,
59 .ncalrpc_dir
= lp_ncalrpc_dir
,
63 const struct loadparm_s3_context
*loadparm_s3_context(void)