summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-03-04 01:50:47 +0000
committerJeremy Allison <jra@samba.org>1998-03-04 01:50:47 +0000
commit3fb9f9db569e0fe02777e1e7805f20e668309cfe (patch)
tree41dc29135d5ce7040deb5efe62a4661342fdf6b4 /source3/smbd
parentb7fb6c6b38784d25c9c85e9b27b08e30111dbd0c (diff)
downloadsamba-3fb9f9db569e0fe02777e1e7805f20e668309cfe.tar.gz
samba-3fb9f9db569e0fe02777e1e7805f20e668309cfe.tar.bz2
samba-3fb9f9db569e0fe02777e1e7805f20e668309cfe.zip
Adding Korean and Traditional Chinese codepage support.
Jeremy. (This used to be commit 2df47cf1bb3428fbaa8dcf45ec114ec3aaafae57)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/password.c2
-rw-r--r--source3/smbd/server.c4
2 files changed, 5 insertions, 1 deletions
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];