summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/VERSION2
-rw-r--r--source3/auth/auth_sam.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/VERSION b/source3/VERSION
index 31fe471547..1e67d25e21 100644
--- a/source3/VERSION
+++ b/source3/VERSION
@@ -29,7 +29,7 @@ SAMBA_VERSION_RELEASE=12
# e.g. SAMBA_VERSION_PRE_RELEASE=1 #
# -> "2.2.9pre1" #
########################################################
-SAMBA_VERSION_PRE_RELEASE=1
+SAMBA_VERSION_PRE_RELEASE=2
########################################################
# For 'rc' releases the version will be #
diff --git a/source3/auth/auth_sam.c b/source3/auth/auth_sam.c
index db05ac97f8..35f85f5e60 100644
--- a/source3/auth/auth_sam.c
+++ b/source3/auth/auth_sam.c
@@ -185,7 +185,7 @@ static NTSTATUS sam_account_ok(TALLOC_CTX *mem_ctx,
invalid_ws = False;
break;
}
- if (tok[0] == '@') {
+ if (tok[0] == '+') {
DEBUG(10,("sam_account_ok: checking for workstation %s in group: %s\n",
machine_name, tok + 1));
if (user_in_group_list(machine_name, tok + 1, NULL, 0)) {