summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-10-21 09:34:33 +0000
committerAndrew Tridgell <tridge@samba.org>1997-10-21 09:34:33 +0000
commit0891bb6a910841455162876be09a92107cd9df00 (patch)
treebae8a4b2bac095c5828091f8f193019d72828931 /source3/include/smb.h
parent8adc95a55ab51597cce665705c2a866294b743ac (diff)
downloadsamba-0891bb6a910841455162876be09a92107cd9df00.tar.gz
samba-0891bb6a910841455162876be09a92107cd9df00.tar.bz2
samba-0891bb6a910841455162876be09a92107cd9df00.zip
rewrote the password server code using the new clientgen.c client
interface The new code uses a source netbios name equal to the Samba servers name, not the client name. It also uses NetWkstaUserLogon to do a full network logon. This means it will honour the servers logon restrictions (such as login times etc). (This used to be commit 11de90f972f6d83974425e80014f54e15d495413)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 2b0fc44d24..7921e77108 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -989,6 +989,32 @@ struct smb_passwd
};
+struct cli_state {
+ int fd;
+ int cnum;
+ int pid;
+ int mid;
+ int uid;
+ int protocol;
+ int sec_mode;
+ int error;
+ int privilages;
+ fstring eff_name;
+ fstring desthost;
+ char cryptkey[8];
+ uint32 sesskey;
+ int serverzone;
+ uint32 servertime;
+ int readbraw_supported;
+ int writebraw_supported;
+ int timeout;
+ int max_xmit;
+ char *outbuf;
+ char *inbuf;
+ int bufsize;
+ int initialised;
+};
+
struct current_user
{
int cnum, id;