diff options
author | Jeremy Allison <jra@samba.org> | 1998-03-04 01:50:47 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-03-04 01:50:47 +0000 |
commit | 2df47cf1bb3428fbaa8dcf45ec114ec3aaafae57 (patch) | |
tree | 7503a81a33c64502830319fc8b50993fc203ce63 /source | |
parent | 299016338cfb47f0c585875ef9b468121fcee97d (diff) | |
download | samba-2df47cf1bb3428fbaa8dcf45ec114ec3aaafae57.tar.gz samba-2df47cf1bb3428fbaa8dcf45ec114ec3aaafae57.tar.xz samba-2df47cf1bb3428fbaa8dcf45ec114ec3aaafae57.zip |
Adding Korean and Traditional Chinese codepage support.
Jeremy.
Diffstat (limited to 'source')
-rw-r--r-- | source/codepages/codepage_def.949 | 24 | ||||
-rw-r--r-- | source/codepages/codepage_def.950 | 24 | ||||
-rw-r--r-- | source/smbd/password.c | 2 | ||||
-rw-r--r-- | source/smbd/server.c | 4 |
4 files changed, 53 insertions, 1 deletions
diff --git a/source/codepages/codepage_def.949 b/source/codepages/codepage_def.949 new file mode 100644 index 00000000000..e3507904b58 --- /dev/null +++ b/source/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/source/codepages/codepage_def.950 b/source/codepages/codepage_def.950 new file mode 100644 index 00000000000..8c6d56a5366 --- /dev/null +++ b/source/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/source/smbd/password.c b/source/smbd/password.c index 19115154045..a51e5f639fc 100644 --- a/source/smbd/password.c +++ b/source/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/source/smbd/server.c b/source/smbd/server.c index 9c25a21000f..e6807bdf31d 100644 --- a/source/smbd/server.c +++ b/source/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]; |