summaryrefslogtreecommitdiffstats
path: root/source4/smb_server
Commit message (Collapse)AuthorAgeFilesLines
* Remove auth/ntlm as a dependency of GENSEC by means of function pointers.Andrew Bartlett2009-02-136-48/+49
| | | | | | | | | | | When starting GENSEC on the server, the auth subsystem context must be passed in, which now includes function pointers to the key elements. This should (when the other dependencies are fixed up) allow GENSEC to exist as a client or server library without bundling in too much of our server code. Andrew Bartlett
* s4:service_stream: s/private/private_dataStefan Metzmacher2009-02-021-3/+3
| | | | metze
* s4:smb_server: s/private/private_dataStefan Metzmacher2009-02-026-14/+14
| | | | metze
* s4:irpc: avoid c++ reserved word 'private'Stefan Metzmacher2009-02-011-2/+4
| | | | metze
* Fix the mess with ldb includes.Simo Sorce2009-01-301-1/+0
| | | | | | | | Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them.
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-293-4/+4
| | | | | | | | | | | | | | | | | | | | list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
* Fix two remaining missing symbols in smbtorture4.Jelmer Vernooij2008-12-221-0/+1
|
* Fix missing symbols issues when building with shared libraries.Jelmer Vernooij2008-12-221-1/+1
|
* s4: Fix subsystem for various services in samba daemon.Jelmer Vernooij2008-12-221-1/+1
|
* s4: fix LIBEVENTS dependencies and use more forward declarationsStefan Metzmacher2008-12-171-1/+2
| | | | | | | We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze
* Let ntvfs request transport close via ntvfs_request stateSam Liddicott2008-12-052-0/+22
| | | | | | | | | | | | | [I can't swear that this covers all the smb2 cases, there are some reply functions that I can't trace properly] Add NTVFS_ASYNC_STATE_CLOSE bit to ntvfs_request->async_states->state so that the ntvfs layer can signify that the client transport should be closed, most useful for proxy servies, and most likely due to a forwarding transport having been closed. Signed-off-by: Sam Liddicott <sam@liddicott.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Fix the build.Jelmer Vernooij2008-11-021-1/+1
|
* Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij2008-11-024-4/+4
| | | | should in the future only contain some settings required for gensec.
* Remove unused include param/param.h.Jelmer Vernooij2008-10-244-4/+0
|
* Remove iconv_convenience argument from convert_string{,talloc}() butJelmer Vernooij2008-10-241-2/+2
| | | | make them wrappers around convert_string{,talloc}_convenience().
* Remove iconv_convenience parameter from simple string push/pullJelmer Vernooij2008-10-244-5/+5
| | | | functions.
* Fixed a variable undeclared compilation errorTim Prouty2008-10-131-0/+1
| | | | | Explicitly declaring environ eliminates a compilation error on some systems.
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-116-6/+6
|
* smbd3 is unhappy if stderr is not openVolker Lendecke2008-10-051-1/+2
|
* Re-enable build of smb_samba3.c after the rename smbd->sambaVolker Lendecke2008-10-051-1/+1
|
* s4:smb_server/smb: FLAGS2_SMB_SECURITY_SIGNATURES should only be echoed, not ↵Stefan Metzmacher2008-09-301-5/+6
| | | | | | set always metze
* NetApp found that we never set the smb signing flags2.Andrew Bartlett2008-09-291-0/+4
| | | | | | | | | This was found during testing at the CIFS plugfest. No other client seems to honour or use this bit, but it is quite ligitimately required by the spec. Andrew Bartlett
* we need different error handling for truncated packets in NETPROT andAndrew Tridgell2008-09-241-2/+39
| | | | other SMB2 operations.
* we should terminate the connection on a bad negprot packet sizeAndrew Tridgell2008-09-241-2/+2
|
* - add reserved field in basic_information levelAndrew Tridgell2008-09-241-3/+25
| | | | | | | - use INVALID_PARAMETER for info length mismatch to match windows behaviour - added parsing of LINK_INFORMATION level
* record highest seq number in SMB2 to check for seqnum going backwardsAndrew Tridgell2008-09-241-0/+2
|
* cope with body_size zero in SMB2 receiveAndrew Tridgell2008-09-241-1/+2
|
* check for a 0 byte in the buffer in SMB2 readAndrew Tridgell2008-09-241-0/+6
|
* the offset is 16 bits in SMB2 fileinfoAndrew Tridgell2008-09-241-1/+1
|
* fixed error code for bad keepaliveAndrew Tridgell2008-09-241-1/+1
|
* stricter checking of SMB2 echo body (per the spec)Andrew Tridgell2008-09-241-1/+6
| | | | thanks to the bluearc test suite
* Rename smbd -> samba.Jelmer Vernooij2008-09-241-1/+1
| | | | | | | | This reverts commit 05ea5e23cf4e70de0bd658b1c5c0ead133967091. Conflicts: source4/smbd/server.c
* s4:smb_server: remove the bogus smbsrv_signing_restart()Stefan Metzmacher2008-09-232-41/+2
| | | | | | | | Real signing always starts with seqnumber 2, and once signing is on the session key never change anymore for the complete smb connection. metze
* Explain why we use signing for DCs, but not file serversAndrew Bartlett2008-09-221-0/+9
|
* process incoming connections and fork a samba3 in inetd modeStefan Metzmacher2008-09-222-0/+182
|
* Revert "Rename smbd -> samba."Jelmer Vernooij2008-09-211-1/+1
| | | | This reverts commit 0e9008be35a5b334bd65e6417193d4b8f27bdc36.
* Rename smbd -> samba.Jelmer Vernooij2008-09-211-1/+1
|
* Move our DC to implement mandetory signing.Andrew Bartlett2008-09-052-4/+10
| | | | | | | | | | | | | | (this does not change the file server role, and only really changes what 'server signing = auto' means) Optional signing really isn't any benifit to network security. In doing so, allow anonymous clients (if permitted by policy) to log in without signing, as Samba3 does not sign these connections (which would use an all-zero key, so pointless). Andrew Bartlett (This used to be commit 468bf839c500ed1a26ab9a358ee64a4c0a695797)
* With a windows 2008 client, even anonymous requires signing...Andrew Bartlett2008-09-051-6/+0
| | | | | Andrew Bartlett (This used to be commit a89f9818180e8fb868975c444c4d0e5aaa8d4e79)
* smb2srv: async replies with STATUS_PENDING are not signedStefan Metzmacher2008-08-141-2/+29
| | | | | | | ..., but the they may have the sign flag set. metze (This used to be commit 43e43dead030f6bffd06631007fdb162c3c6b2b5)
* smb2srv: sign replies when the request was also signedStefan Metzmacher2008-08-142-7/+4
| | | | | metze (This used to be commit dd2f4f7a491debcc30e590f571272afd99e52940)
* smb2srv: use defines instead of hex valuesStefan Metzmacher2008-08-141-3/+3
| | | | | metze (This used to be commit 7c4abf6614c47471ae005a12abe27d85890d867f)
* smb2srv: sign SMB2 Logoff repliesStefan Metzmacher2008-07-281-3/+17
| | | | | metze (This used to be commit 2844e361730a6bc640ea89d0e10059deca1ca867)
* smb2srv: correctly hold the signing state per sessionStefan Metzmacher2008-07-284-13/+31
| | | | | metze (This used to be commit 5b3ba3f3556e8031133128853cd2324ee3852aa1)
* initialise query_maximal_access here tooAndrew Tridgell2008-07-241-0/+1
| | | | (This used to be commit 4b3af09450cf33c6785a3d8fddddc68047f2e388)
* make sure we initialise query_maximal_accessAndrew Tridgell2008-07-241-0/+1
| | | | (This used to be commit 036f73d39a7ef882fd76afcd3c11eef483f6c308)
* smb_server/smb: handle incoming multi fragmented nttrans requestsStefan Metzmacher2008-07-071-16/+152
| | | | | metze (This used to be commit 9a5f7bf68b20e3b490b209b5cfc4408566320f2e)
* smb_server/smb: prepare multi fragmented nttrans requestsStefan Metzmacher2008-07-072-4/+7
| | | | | metze (This used to be commit 36a39b92d732a682e38ad4b3f733951fee4757ed)
* smb_server/smb: trans(2) setup count is uint8_tStefan Metzmacher2008-07-071-2/+3
| | | | | metze (This used to be commit 1b507a9b8e2ede5a4eb542bdf7a0eab9269b9f7b)
* smb_server/smb: transs and transs2 calls have different word countsStefan Metzmacher2008-07-071-1/+12
| | | | | | | Also add a note about NT_STATUS_DOS(ERRSRV, ERRerror). metze (This used to be commit 4287b7c1323796cf0688d0fae9b5bd4e840e3d48)