1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3-param Make lp_realm() const

This disables % substitutions in the 'realm' parameter.  This is
used all over the codebase, and needs to be internally consistent
between all the Samba tasks.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2011-06-01 11:55:59 +10:00
parent 860b43737c
commit edc3041093
2 changed files with 2 additions and 2 deletions

View File

@ -1209,7 +1209,7 @@ char *lp_passwd_program(void);
char *lp_passwd_chat(void); char *lp_passwd_chat(void);
const char *lp_passwordserver(void); const char *lp_passwordserver(void);
const char *lp_name_resolve_order(void); const char *lp_name_resolve_order(void);
char *lp_realm(void); const char *lp_realm(void);
const char *lp_afs_username_map(void); const char *lp_afs_username_map(void);
int lp_afs_token_lifetime(void); int lp_afs_token_lifetime(void);
char *lp_log_nt_token_command(void); char *lp_log_nt_token_command(void);

View File

@ -5618,7 +5618,7 @@ FN_GLOBAL_STRING(lp_passwd_program, &Globals.szPasswdProgram)
FN_GLOBAL_STRING(lp_passwd_chat, &Globals.szPasswdChat) FN_GLOBAL_STRING(lp_passwd_chat, &Globals.szPasswdChat)
FN_GLOBAL_CONST_STRING(lp_passwordserver, &Globals.szPasswordServer) FN_GLOBAL_CONST_STRING(lp_passwordserver, &Globals.szPasswordServer)
FN_GLOBAL_CONST_STRING(lp_name_resolve_order, &Globals.szNameResolveOrder) FN_GLOBAL_CONST_STRING(lp_name_resolve_order, &Globals.szNameResolveOrder)
FN_GLOBAL_STRING(lp_realm, &Globals.szRealm) FN_GLOBAL_CONST_STRING(lp_realm, &Globals.szRealm)
FN_GLOBAL_CONST_STRING(lp_afs_username_map, &Globals.szAfsUsernameMap) FN_GLOBAL_CONST_STRING(lp_afs_username_map, &Globals.szAfsUsernameMap)
FN_GLOBAL_INTEGER(lp_afs_token_lifetime, &Globals.iAfsTokenLifetime) FN_GLOBAL_INTEGER(lp_afs_token_lifetime, &Globals.iAfsTokenLifetime)
FN_GLOBAL_STRING(lp_log_nt_token_command, &Globals.szLogNtTokenCommand) FN_GLOBAL_STRING(lp_log_nt_token_command, &Globals.szLogNtTokenCommand)