1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-29 16:23:52 +03:00

Removed global_myworkgroup, global_myname, global_myscope. Added liberal

dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
This commit is contained in:
Jeremy Allison
-
parent ea4d122a85
commit f755711df8
102 changed files with 1640 additions and 1873 deletions

View File

@@ -316,7 +316,7 @@ static NTSTATUS sam_account_ok(TALLOC_CTX *mem_ctx,
if (*workstation_list) {
BOOL invalid_ws = True;
char *s = workstation_list;
const char *s = workstation_list;
fstring tok;
@@ -454,7 +454,7 @@ static NTSTATUS check_samstrict_security(const struct auth_context *auth_context
attempt to check the password locally,
unless it is one of our aliases. */
if (!is_netbios_alias_or_name(user_info->domain.str)) {
if (!is_myname(user_info->domain.str)) {
return NT_STATUS_NO_SUCH_USER;
}