summaryrefslogtreecommitdiff
path: root/source4/smb_server/session.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-09s4:smb_server/smb: only create a new session with vuid == 0Stefan Metzmacher1-6/+3
metze
2011-11-08s4-smb_server No longer follow the security=share smb.conf directiveAndrew Bartlett1-3/+0
By ignoring the value of security= from the smb.conf, we can allow this to instead set the value of 'server role' in a manner compatible with the Samba 3.x release stream. Andrew Bartlett
2009-09-19s4-smbd: minimise includes in smbd/ and smb_serverAndrew Tridgell1-1/+0
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23020: a better fix for the memory leak - this one doesn't stuff up spnego :)Andrew Tridgell1-1/+2
(This used to be commit 9a8da730a725fc9fc1a3e407273e688f44eadfe1)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+1
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r15855: more talloc_set_destructor() typesafe fixes. nearly done ...Andrew Tridgell1-2/+1
(This used to be commit 396d82a231b6e3a91178db08b706626d4d4b420c)
2007-10-10r15715: add my copyrightStefan Metzmacher1-1/+2
metze (This used to be commit a3799771c830a6ae952b0d9b45b8a01f7a6bf9c6)
2007-10-10r14739: keep the last request time for the smbsrv_connection,Stefan Metzmacher1-1/+3
smbsrv_session and smbsrv_tcon for management tools metze (This used to be commit 2c87f210e9e68de42dc45ca6532f3f33f4b6ce95)
2007-10-10r11783: - make the VIUD field in smbsrv_session 64bit, as SMB2 needs itStefan Metzmacher1-65/+90
- add an idtree_limit to limit the max VUID we give the clients it's UINT16_MAX (0xffff) for the SMB protocol - add auth_time to the smbsrv_session statistics - use the session_info as marker for finished and non-finished session setups metze (This used to be commit 7eb10048b2c4e5ee9c39750dc877514ed9235a76)
2007-10-10r11774: - move SMB specific initialisation of the smbsrv_connection out of ↵Stefan Metzmacher1-3/+4
smb_server.c - add a generic incoming packet handler, which handles the first incoming packet and passes to the protocol specifc packet handler metze (This used to be commit f89deac1cb8a7e5651116d96b9a94d5cc8293076)
2007-10-10r11759: fix up the SEC_SHARE handling, when we want to support that laterStefan Metzmacher1-4/+2
we need to fake a smbsrv_session for each smbsrv_tcon... metze (This used to be commit 5b5fb1772034fbfebbb7174df235c8c11d4819fe)
2007-10-10r8574: added server side irpc calls for listing the current sessionsAndrew Tridgell1-3/+8
(This used to be commit 391cfe3c9645a19f8f5ff5c11b1ac03ee0b10f8f)
2007-10-10r7676: Make VUID and TID choice random, as this gives us protection againstAndrew Bartlett1-1/+1
replay attacks under SMB signing, where the session key is a fixed derivitive of the user's password. This removes the VID offset, but I'm not worried about random client bytes mattering here, given the space (and the fact that it applies to very, very old clients). Andrew Bartlett (This used to be commit eb1d37c5a91a6bc4515469e1ae026d28c12d7149)
2007-10-10r6312: Metze reminds me this header is no longer required.Andrew Bartlett1-1/+0
Andrew Bartlett (This used to be commit c67a9370c4e8f94aad68abba073779bb0edf742b)
2007-10-10r6310: Rename password.c to session.c, and remove the linked list of allAndrew Bartlett1-0/+139
outstanding sessions, as we don't use it. Andrew Bartlett (This used to be commit 0cbd11a0f2448f2021fa1d8ad85a0a6f52192ee8)
2007-10-10r6309: Remove this file it is empty and unreferenced. (In preperation forAndrew Bartlett1-29/+0
renaming password.c over the top, as it deals with sessions, not passwords). Andrew Bartlett (This used to be commit 0bba8da460f77946ba9ee5db58ae2329e9e57e1a)
2007-10-10r3256: get rid of the unused session_claim() and session_yield() callsAndrew Tridgell1-13/+0
(This used to be commit f1c5be396b62203fb183431ea6218eed38976d0b)
2007-10-10r1499: combine struct user_struct and struct smbsrv_userStefan Metzmacher1-2/+2
to a struct smbsrv_session that the same as cli_session for the client we need a gensec_security pointer there (spnego support will follow) prefix some related functions with smbsrv_ metze (This used to be commit f276378157bb9994c4c91ce46150a510de5c33f8)
2007-10-10r1291: rename struct smbsrv_context to smbsrv_connectionStefan Metzmacher1-1/+1
because this is the connection state per transport layer (tcp) connection I also moved the substructs directly into smbsrv_connection, because they don't need a struct name and we should allway pass the complete smbsrv_connection struct into functions metze (This used to be commit 60f823f201fcedf5473008e8453a6351e73a92c7)
2007-10-10r1277: rename struct server_context to smbsrv_ontextStefan Metzmacher1-1/+1
because I need server_context fot the generic server infastructure metze (This used to be commit 0712f9f30797e65362c99423c0cf158a2f539000)
2004-02-03- move all SMB server stuff to smb_server/*Stefan Metzmacher1-0/+42
and create the SMB server subsystem - remove unused XML and MYSQL configure tests metze (This used to be commit 956d212c83d8ebd8e31ec109f17dc2105ca72c30)