summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/codepages/codepage_def.94924
-rw-r--r--source3/codepages/codepage_def.95024
-rw-r--r--source3/smbd/password.c2
-rw-r--r--source3/smbd/server.c4
4 files changed, 53 insertions, 1 deletions
diff --git a/source3/codepages/codepage_def.949 b/source3/codepages/codepage_def.949
new file mode 100644
index 0000000000..e3507904b5
--- /dev/null
+++ b/source3/codepages/codepage_def.949
@@ -0,0 +1,24 @@
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+
+# Codepage definition file for IBM Code Page 949 - MS-DOS Korean Hangul
+# defines lower->upper mapping.
+# Written by Jeremy Allison <jallison@whistle.com>
+
+# The columns are :
+# lower upper map upper to lower map lower to upper
+#
+# This file is intentionaly empty - no mappings are done.
diff --git a/source3/codepages/codepage_def.950 b/source3/codepages/codepage_def.950
new file mode 100644
index 0000000000..8c6d56a536
--- /dev/null
+++ b/source3/codepages/codepage_def.950
@@ -0,0 +1,24 @@
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+
+# Codepage definition file for IBM Code Page 950 - MS-DOS Traditional Chinese
+# defines lower->upper mapping.
+# Written by Jeremy Allison <jallison@whistle.com>
+
+# The columns are :
+# lower upper map upper to lower map lower to upper
+#
+# This file is intentionaly empty - no mappings are done.
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 1911515404..a51e5f639f 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -515,7 +515,7 @@ static BOOL dfs_auth(char *this_user,char *password)
*/
/* Fix for original (broken) code from Brett Wooldridge <brettw@austin.ibm.com> */
- if (dce_login_atmost_once)
+ if (dcelogin_atmost_once)
return (False);
/* This can be ifdefed as the DCE check below is stricter... */
#ifndef NO_CRYPT
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 9c25a21000..e6807bdf31 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -54,6 +54,10 @@ extern int smb_read_error;
extern pstring user_socket_options;
+#ifdef DFS_AUTH
+extern int dcelogin_atmost_once;
+#endif /* DFS_AUTH */
+
connection_struct Connections[MAX_CONNECTIONS];
files_struct Files[MAX_OPEN_FILES];