summaryrefslogtreecommitdiffstats
path: root/source4/smb_server
Commit message (Collapse)AuthorAgeFilesLines
* r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett2007-10-103-8/+36
| | | | | | | | | | | | | | | | | | | | structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
* r12801: Some more include/ cleanups (remove unused macros + move filesJelmer Vernooij2007-10-101-1/+1
| | | | | to specific dirs) (This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
* r12725: some minor updatesStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit f2e97983f278211c6d70400ce1f43d6a69df0d8a)
* r12696: Reduce the size of include/structs.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
* r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
* r12608: Remove some unused #include lines.Jelmer Vernooij2007-10-1010-15/+0
| | | | (This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
* r12542: Move some more prototypes out to seperate headersJelmer Vernooij2007-10-108-0/+9
| | | | (This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
* r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.Jelmer Vernooij2007-10-1010-0/+11
| | | | (This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
* r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not usingJelmer Vernooij2007-10-103-9/+6
| | | | | | | the difference between these at all, and in the future the fact that INIT_OBJ_FILES include smb_build.h will be sufficient to have recompiles at the right time. (This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
* r12126: get rid of the local ->terminate hacks, we do that genericly nowStefan Metzmacher2007-10-102-15/+9
| | | | | metze (This used to be commit a7baf165c10c00096265b790d5362905c527806a)
* r12115: bring SMB sesssetup_spnego in sync with SMB2 sesssetupStefan Metzmacher2007-10-101-46/+51
| | | | | metze (This used to be commit 99cf7dbb177f92df40301ed8faeeb93e89452922)
* r12113: in SMB2 we should only allocate a new sessionStefan Metzmacher2007-10-101-6/+6
| | | | | | | | when the client sends UID = 0, otherwise we return NT_STATUS_USER_SESSION_DELETED metze (This used to be commit 15973be48e3da0a49130911b9d3f192338c23783)
* r12102: for SMB2 we need to allocate tcons per sessionStefan Metzmacher2007-10-109-53/+116
| | | | | metze (This used to be commit 4d527ac005086c2db954578b4126ca128e436e01)
* r12095: the most SMB2 opcodes need a valid session and tcon,Stefan Metzmacher2007-10-101-0/+46
| | | | | metze (This used to be commit 40b301c6bdb329ad347ac8a474be85dcbc671518)
* r12094: - implement dummy smb2srv_tcon()Stefan Metzmacher2007-10-101-2/+122
| | | | | | | - implement smb2srv_tdis() metze (This used to be commit cb9ddf7997731a4ad21f274fcb2e713614b382ef)
* r12093: add missing fileStefan Metzmacher2007-10-101-0/+74
| | | | | metze (This used to be commit 1506be37db16e24c3694278739fc3e52719d0d8b)
* r12092: - add dummy functions for the missing SMB2 opcodesStefan Metzmacher2007-10-105-12/+82
| | | | | | | - implement keepalive and logoff metze (This used to be commit 859ab627f45a5acca1deb66b8abdc38eaf49e5a2)
* r12091: the SMB2 specific level are not available via SMBStefan Metzmacher2007-10-101-0/+4
| | | | | | | (get rid of the compiler warnings) metze (This used to be commit 436c5127ef7baec22377d2f1d129702597486575)
* r12082: fixed a valgrind error found by kukks in the transs server handlingAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit 5c81986bff06efeacf95d3d64254d566181c30bb)
* r11992: Potentially allow SPNEGO to be disabled (as occours on WinXPAndrew Bartlett2007-10-101-13/+22
| | | | | | | | | standalone), and use only NTLMSSP. (But doing so would break Samba3's client). Andrew Bartlett (This used to be commit e74ca624e74ed82788817e302a516208dc1421bd)
* r11968: More warning fixes. We're on track to getting to double digits forTim Potter2007-10-102-4/+4
| | | | | the number of warnings generated now. (This used to be commit d479f2d7607adc698d71c5ba26932c72a26dcaab)
* r11967: Fix more 64-bit warnings.Tim Potter2007-10-101-1/+1
| | | | (This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
* r11789: - add the start of a SMB2 serverStefan Metzmacher2007-10-109-1/+814
| | | | | | | | | | | | | - it does Negprot and SessionSetup yet the rest returns NT_STATUS_NOT_IMPLEMENTED - it's off by default, enable with: smbsrv:enable smb2 = yes - negotition in the SMB Negprot isn't supported yet - it's only tested with smbtorture SMB2-CONNECT not with vista as client metze (This used to be commit 08b31d5f618d2e416cb9812ad3a49754cd7212b8)
* r11788: remove unused header filesStefan Metzmacher2007-10-101-3/+0
| | | | | metze (This used to be commit 27a2615876be3d49cca417796ad7466c342a6f8b)
* r11787: add missing fileStefan Metzmacher2007-10-101-0/+20
| | | | | metze (This used to be commit d74f333a84658a45d5386c39787e61bd31ab540d)
* r11786: move all SMB protocol specific stuff to smb_server/smb/Stefan Metzmacher2007-10-1012-12/+3
| | | | | metze (This used to be commit 5fea278cb65076cea71bb6c921e51c4feffc37d7)
* r11785: rename conn.c into tcon.cStefan Metzmacher2007-10-102-1/+1
| | | | | metze (This used to be commit eba4f6b7067c3e32a1db897fdca43f9a76a6f5ea)
* r11783: - make the VIUD field in smbsrv_session 64bit, as SMB2 needs itStefan Metzmacher2007-10-105-100/+134
| | | | | | | | | | | - 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)
* r11782: - make the TID 32bit in the smbsrv_tcon structure, as SMB2 usesStefan Metzmacher2007-10-104-16/+49
| | | | | | | | | | them - add a idtree_limit to the tcons substructure of smbsrv_connection this controls what the highest TID is we give away to the client it's UINT16_MAX (0xFFFF) for the SMB protocol metze (This used to be commit f3bf5a2c0947e33d4167fa4fa290968204a826e8)
* r11781: rename tree to tcons to match the sessions substructure of ↵Stefan Metzmacher2007-10-104-24/+24
| | | | | | | smbsrv_connection metze (This used to be commit acd3e644e030a3544ddc6cdcd4e0ec9617732cba)
* r11778: - remove unused memory contexts as req is already the temporary ↵Stefan Metzmacher2007-10-101-47/+21
| | | | | | | | | | | context for the current request - just use '0', I'll remove the UID_FIELD_INVALID macro completly later - why search for the session we have just create - add TODO notices, I need to dicuss them with abartlet... metze (This used to be commit 4bceb94749fba3138c492bed2733fad006affcc5)
* r11774: - move SMB specific initialisation of the smbsrv_connection out of ↵Stefan Metzmacher2007-10-104-27/+73
| | | | | | | | | | 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)
* r11759: fix up the SEC_SHARE handling, when we want to support that laterStefan Metzmacher2007-10-103-16/+14
| | | | | | | we need to fake a smbsrv_session for each smbsrv_tcon... metze (This used to be commit 5b5fb1772034fbfebbb7174df235c8c11d4819fe)
* r11757: make smb_server.c independent from the protocolStefan Metzmacher2007-10-103-608/+637
| | | | | metze (This used to be commit b606d5664dde64412dc29c1499322c5de4c262d5)
* r11746: revert my last commits, I now understand how we decide betweenStefan Metzmacher2007-10-103-3/+3
| | | | | | | finished and non-finished sessions metze (This used to be commit 7cf6b307bc820b87663e4b9d1aeb5e730729b24e)
* r11745: one more check for a valid sessionStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 92aae176fbde22bcc6fe58aa651d3d4a421fdf60)
* r11744: make sure the session is completed authenticated!!!Stefan Metzmacher2007-10-102-2/+2
| | | | | metze (This used to be commit 0383218a00a8e744b70a3fa5056467a43fbe3a42)
* r11724: - move checks packet size and protocol version,Stefan Metzmacher2007-10-101-53/+54
| | | | | | | | before we create the request structure - move code into one function metze (This used to be commit 96345b1c465c6cdf480f6e49d3c437cfe4d93c2c)
* r11713: separate out the setting of the fde in the packet context from theAndrew Tridgell2007-10-101-1/+2
| | | | | enabling of packet serialisation (This used to be commit 6a47cd65a8b588f9ddd375c57caaba08281e7cbb)
* r11650: - as every call that goes down to the ntvfs layer need a valid tcon ↵Stefan Metzmacher2007-10-102-9/+51
| | | | | | | | | | | | | | | and session ntcancel also needs to have AS_USER - move the SIGNING_NO_REPLY logic as global option, because this needs to be set for the error replies too. - as we currently don't know how to generate signatures for ntcancel replies we just skip the sending of the reply - w2k3 first checks the VUID and then the TID, so we do now - ntcreateX also uses ERRbaduid when getting a wrong VUID metze (This used to be commit d677ebf43d0d7e679ff11862683c993d887d9441)
* r11646: fix typosStefan Metzmacher2007-10-101-2/+2
| | | | | metze (This used to be commit 0c520e19a0676c688341523add8a176c3aba8578)
* r11643: fix compiler warningsStefan Metzmacher2007-10-101-2/+2
| | | | | metze (This used to be commit 913d5356eb04d0fd02c36052b5cb6a2a5646473a)
* r11641: remove unused parameter vuidStefan Metzmacher2007-10-101-8/+3
| | | | | metze (This used to be commit 9399e4d260011ce59229086e39585e1e56bd79a5)
* r11640: just a nicer format, and make adding more special cases easierStefan Metzmacher2007-10-101-5/+8
| | | | | metze (This used to be commit 5fb5d1a864d9df0ac82fca145b51fdb27406bc97)
* r11637: we need a session and a tcon for ntioctl() and ntrename()Stefan Metzmacher2007-10-101-3/+3
| | | | | metze (This used to be commit 3389544c2b14a044aed4a6d0ff966c0a2d92a61a)
* r11621: some minor fixes from comments by metzeAndrew Tridgell2007-10-101-0/+4
| | | | (This used to be commit 6ab808223475ba7c52dbe4d639af9a8e7f64b202)
* r11607: switched the smb server to use the generic packet send codeAndrew Tridgell2007-10-103-51/+13
| | | | (This used to be commit 9eee7bafa12553a894536db8ce5cc2d268e09ae6)
* r11603: converted the smb server to use the new generic packet codeAndrew Tridgell2007-10-103-101/+36
| | | | (This used to be commit 0fc496bb6f520ddf6d85cc2f3df80f93b871cfe9)
* r11367: Ensure to intialise the new logon_parameters (0 for session setups).Andrew Bartlett2007-10-101-0/+2
| | | | | Andrew Bartlett (This used to be commit abff53b6339b7924ff705c7e3685135e85d8ed7a)
* r11244: Relative path names in .mk filesJelmer Vernooij2007-10-101-14/+14
| | | | (This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)