summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-06-08 14:23:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:08 -0500
commit377f947930f3a3fe69c21d5b9386642cbf8b3df7 (patch)
tree29405a3939304b51974c5b0c2ed84f9918b797af /source3/param/loadparm.c
parent4bc39f05b77a8601506fa144a20d7e9ab9c3efe6 (diff)
downloadsamba-377f947930f3a3fe69c21d5b9386642cbf8b3df7.tar.gz
samba-377f947930f3a3fe69c21d5b9386642cbf8b3df7.tar.bz2
samba-377f947930f3a3fe69c21d5b9386642cbf8b3df7.zip
r7395: * new feature 'map to guest = bad uid' (based on patch from
aruna.prabakar@hp.com). This re-enables the Samba 2.2 behavior where a user that was successfully authenticated by a remote DC would be mapped to the guest account if there was not existing UNIX account for that user and we could not create one. (This used to be commit b7455fbf81f4e47c087c861f70d492a328730a9b)
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 2c6a93483d..7089bbfd6a 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -763,6 +763,7 @@ static const struct enum_list enum_map_to_guest[] = {
{NEVER_MAP_TO_GUEST, "Never"},
{MAP_TO_GUEST_ON_BAD_USER, "Bad User"},
{MAP_TO_GUEST_ON_BAD_PASSWORD, "Bad Password"},
+ {MAP_TO_GUEST_ON_BAD_UID, "Bad Uid"},
{-1, NULL}
};