summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:smbd: disable sendfile if the echo handler is activeStefan Metzmacher2010-03-221-0/+4
| | | | metze
* s3:smbd: don't use recvfile if the echo handler is activeStefan Metzmacher2010-03-221-1/+2
| | | | metze
* s3:smbd: setup a shared memory area for the signing stateStefan Metzmacher2010-03-221-0/+80
| | | | metze
* s3:smbd: add echo handler information to struct smbd_server_connectionStefan Metzmacher2010-03-222-0/+22
| | | | metze
* s3:param: add "async smb echo handler" optionStefan Metzmacher2010-03-222-0/+12
| | | | | | | | This will enable an extra forked process that will reply to SMBecho requests, while the main process is blocked by another request. metze
* s3:smbd: pass down trusted_channel via receive_smb_talloc()Stefan Metzmacher2010-03-221-3/+5
| | | | metze
* s3:smbd: let reply_readbraw_error use the locked socketStefan Metzmacher2010-03-221-0/+11
| | | | metze
* s3:smbd: send keepalive packets under the socket lockStefan Metzmacher2010-03-221-1/+16
| | | | metze
* s3:smbd: smbd_[un]lock_socket() while accessing the socket to the clientStefan Metzmacher2010-03-221-1/+24
| | | | metze
* s3:smbd: add smbd_[un]lock_socket() dummiesStefan Metzmacher2010-03-222-0/+13
| | | | metze
* s3:smbd: add an option to skip signings checks srv_check_sign_mac for ↵Stefan Metzmacher2010-03-223-3/+25
| | | | | | trusted channels metze
* s3:libsmb: add a smb_signing_init_ex() functionStefan Metzmacher2010-03-222-8/+56
| | | | | | Make it possible to overload memory handling functions. metze
* s3: Fix a bad memleak in winbindVolker Lendecke2010-03-221-1/+2
|
* s3: Add "log writeable files on exit" parameterVolker Lendecke2010-03-223-0/+45
| | | | | | | This boolean option controls whether at exit time the server dumps a list of files with debug level 0 that were still open for write. This is an administrative aid to find the files that were potentially corrupt if the network connection died.
* s3: file_walk_table -> files_forallVolker Lendecke2010-03-223-3/+3
| | | | | This is more in line with the rest of the Samba code, like connections_forall etc.
* s3: Fix some nonempty blank linesVolker Lendecke2010-03-222-7/+6
|
* s3: Fix bug 7202 for multi-threaded applicationsVolker Lendecke2010-03-211-0/+1
| | | | | | | Thanks to Sergey Tereschenko <serg.partizan@gmail.com> for providing good feedback! Volker
* s3: Open winbindd_cache.tdb with read/write access.Bo Yang2010-03-211-1/+1
| | | | | | | | Open winbindd_cache.tdb with read/write access when validate the cache, otherwise, validation fails to get lock in tdb_check. It results in validation failure even the cache is good. Signed-off-by: Bo Yang <boyang@samba.org>
* s3-selftest: use proper names for samba3 dcerpc tests.Günther Deschner2010-03-191-2/+2
| | | | Guenther
* s3:librpc: remove unused stuffStefan Metzmacher2010-03-194-229/+0
| | | | metze
* s3-selftest: enable RAP calls testsuite against samba3.Günther Deschner2010-03-191-1/+3
| | | | Guenther
* s3-selftest: rearrange uid/gid calculation to achieve correct membership.Günther Deschner2010-03-191-21/+25
| | | | | | (make test variant) Guenther
* error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.Günther Deschner2010-03-191-1/+1
| | | | | | Metze, please check. Guenther
* s3:libsmb/nterr.c: fix/add NT_STATUS_RPC_* codesStefan Metzmacher2010-03-181-4/+9
| | | | metze
* s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.Günther Deschner2010-03-181-15/+31
| | | | Guenther
* s3-printing: Fix "printer admin" functionality.Jeremy Allison2010-03-181-1/+1
| | | | Fix bug #7255 ("printer admin" parameter does not work as expected).
* s3-eventlog: fix elog_tdbname(), we were always lower-casing entire lockdir ↵Günther Deschner2010-03-171-5/+19
| | | | | | | | path... Found by RPC-EVENTLOG torture test. Guenther
* s3-selftest: run RPC-EVENTLOG against s3.Günther Deschner2010-03-171-1/+1
| | | | Guenther
* s3-test: setup initial eventlog infrastructure.Günther Deschner2010-03-171-1/+6
| | | | Guenther
* s3-vfs: fix some buildwarnings in traffic analyzer, there are many more.Günther Deschner2010-03-161-9/+11
| | | | | | Holger, please check. Guenther
* s3: Make login_cache_write take a pointerVolker Lendecke2010-03-163-8/+10
|
* s3: Make login_cache_read take a pointer, avoid a mallocVolker Lendecke2010-03-163-25/+17
|
* s3: Remove a typedefVolker Lendecke2010-03-164-10/+11
|
* s3: Fix some nonempty blank linesVolker Lendecke2010-03-161-7/+7
|
* s3: fix buildwarning in smbta-util.Günther Deschner2010-03-161-3/+5
| | | | Guenther
* Fix developer build, remove mallocAndreas Schneider2010-03-161-11/+7
|
* s3-winreg: change notify call has no meaning when called remotely.Günther Deschner2010-03-161-4/+0
| | | | | | Just return not supported to make smbtorture happy. Guenther
* s3-registry: make sure root has full registry access (in particular for make ↵Günther Deschner2010-03-161-0/+6
| | | | | | test). Guenther
* s3-lsa: fix _lsa_lsaRSetForestTrustInformation server stub.Günther Deschner2010-03-161-1/+1
| | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org>
* Update copyrightJim McDonough2010-03-161-1/+1
|
* Don't exit(0) on errorJim McDonough2010-03-161-3/+3
|
* s3: vfs_smb_traffic_analyzer.c: add VFS functions for file open and closeHolger Hetterich2010-03-162-2/+65
|
* smb_traffic_analyzer.c: optimize marshalling function and documentHolger Hetterich2010-03-162-34/+54
| | | | | | | | | Collect all data that is needed, and use only one talloc_asprintf operation to create the string of common data. This simplifies the code a bit and is most probably faster than the old method. Also, #define SMBTA_COMMON_DATA_COUNT as a complete string, speeding things up because we know the value at compile time.
* vfs_smb_traffic_analyzer.c: added functionHolger Hetterich2010-03-161-63/+58
| | | | | | | | | static char *smb_traffic_analyzer_anonymize This takes a lot of code out of the main functions, and makes it a bit simpler. Do the anonymization in a function. Since we already anonymized the username we don't need to do this a second time in the v2 marshalling function.
* Simplify the code a bit by creating the functions:Holger Hetterich2010-03-161-84/+123
| | | | | | | smb_traffic_analyzer_encrypt - doing the encryption of a data block, smb_traffic_analyzer_create_header - create the protocol header, smb_traffic_analyzer_write_data - actually write the data to the socket.
* Add the number of common data blocks to the protocol.Holger Hetterich2010-03-162-10/+33
| | | | | | | | | | | Always send the number of common data blocks first. This way, we can make the protocol backwards compatible. A receiver running with an older subprotocol can just ignore if a newer sender sends more common data. Add a few remarks to the marshalling function. Add two #define lines defining the protocol subrelease number and the number of common data blocks to the header file.
* Put all the protocol stuff into a separate header file.Holger Hetterich2010-03-162-114/+152
| | | | | | All the structures and the vfs function identifier list is required by the receiver. It's therefore very handy to have this in an extra header file.
* Add smbta-util to manage the encryption key.Holger Hetterich2010-03-163-4/+225
| | | | | | | This program allows the administrator to enable or disable AES encryption when using vfs_smb_traffic_analyzer. It also generates new keys, stores them to a file, so that the file can be reused on another client or server.
* Implement AES encryption of the data block.Holger Hetterich2010-03-161-13/+33
| | | | | | | | | | | | First try. This runs on 16 bytes long AES block size, and enlarges the data block with 16 bytes, to make sure all bytes are in. The added bytes are filled with '.'. It then creates a header featuring the new length to be send, and finally sends the data block, then returns. This code is untested, as creating the receiver will be my next step. To simplify traffic_analyzer's code, this code should run as a function. It's on the do-to-list.
* Implement anonymization for protocol v2.Holger Hetterich2010-03-161-14/+53
| | | | | | | | | Since we need to care for the SID too, do the anonymization in the marshalling function and anonymize both the username and the SID. Remove the 'A' status flag from the header definition. A listener could see from the unencrypted header if the module is anonymizing or not, which is certainly not wanted.