summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #7233 - print fails with jobs >4GB from Win7 clients.Jeremy Allison2010-03-241-25/+53
| | | | | | Ensure we always write at end-of-file for older write calls. Jeremy.
* Fix bug #7283 - vfs_acl_tdb does not work as expected.Jeremy Allison2010-03-241-34/+14
| | | | | | | both vfs_acl_common.c and vfs_acl_tdb.c were using the connection handle, thus conflicted. Fix this. Jeremy.
* Fix valgrind warning when source and dest stat are identical.Jeremy Allison2010-03-241-1/+3
| | | | Jeremy.
* s3:ntlmssp: use c99 typesStefan Metzmacher2010-03-243-27/+27
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: use client.netbios_name instead of workstationStefan Metzmacher2010-03-245-11/+14
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: remove unused ntlmssp_set_workstation()Stefan Metzmacher2010-03-242-14/+0
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state unionStefan Metzmacher2010-03-242-51/+63
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: add const for *sig in ntlmssp_unseal_packet()Stefan Metzmacher2010-03-242-2/+2
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: make whole_pdu const for ntlmssp_[un]seal_packet()Stefan Metzmacher2010-03-242-4/+4
| | | | | | | | Only data needs to be non-const. metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: use a 'bool ok' variable to make the code more readableStefan Metzmacher2010-03-241-2/+14
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: fix some formatingStefan Metzmacher2010-03-241-58/+89
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: inline ntlmssp_weaken_keys()Stefan Metzmacher2010-03-242-71/+37
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: make send_seal_key and recv_seal_key local variablesStefan Metzmacher2010-03-242-16/+12
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: rename void *auth_context; into void *callback_private;Stefan Metzmacher2010-03-243-12/+15
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: add some constsStefan Metzmacher2010-03-241-3/+3
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: remove unused get_global_myname() and get_domain() from ↵Stefan Metzmacher2010-03-243-15/+0
| | | | | | | | | | ntlmssp_state Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store themStefan Metzmacher2010-03-249-23/+82
| | | | | | | | Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: remove server_name from ntlmssp_state and fill the server.* ↵Stefan Metzmacher2010-03-243-3/+11
| | | | | | | | | | fields also for the client Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: pass names to ntlmssp_server_start() and store them in ntlmssp_stateStefan Metzmacher2010-03-245-44/+131
| | | | | | | | Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: replace server_role by a server.is_standalone in ntlmssp_stateStefan Metzmacher2010-03-243-4/+11
| | | | | | | | Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: make use of C99 types in ntlmssp_sign.cStefan Metzmacher2010-03-242-29/+28
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp: use uint8_t in calc_ntlmv2_key()Stefan Metzmacher2010-03-241-4/+4
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* s3-testparm: Throw warning when 'workgroup' and 'netbios name' are identical.Karolin Seeger2010-03-241-0/+6
| | | | | | Address bug #7285 (NetBIOS Namespace Clash Handling). Karolin
* s3: Optimize gencache for smbd exitVolker Lendecke2010-03-241-14/+75
| | | | | | | | If thousands of smbds try to gencache_stabilize at the same time because the network died, all of them might be sitting in transaction_start. Don't do the stabilize transaction if nothing has changed in gencache_notrans.tdb. Volker
* s3:librpc/rpc: move prototypes to dcerpc.hStefan Metzmacher2010-03-232-18/+18
| | | | metze
* s3-builtin: Add missing builtin groups.Karolin Seeger2010-03-232-0/+12
| | | | Karolin
* s3-builtin: Add some builtin groups.Karolin Seeger2010-03-232-1/+11
| | | | Karolin
* share_info.tdb could use non-canonicalized sharenames.Jeremy Allison2010-03-223-20/+150
| | | | | | | | Fix this by moving canonicalization into lib/sharesec.c. Update the db version to 3. Ensures we always find share names with security descriptors attached. Jeremy.
* Fix valgrind error when running under share level security. plaintext_passwordJeremy Allison2010-03-221-2/+2
| | | | | | is a data blob with a data pointer pointing to an allocation of length zero. Jeremy.
* s3: Add the "ctdb locktime warn threshold" parameterVolker Lendecke2010-03-223-0/+25
| | | | | This is mainly a debugging aid for post-mortem analysis in case a cluster file system is slow.
* s3: Implement an asynchronous echo responder processVolker Lendecke2010-03-221-19/+478
| | | | | | This replies to echo requests when the main smbd is stuck somewhere Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: don't allow SMB2 if the async echo handler is activeStefan Metzmacher2010-03-221-1/+2
| | | | metze
* s3:smbd: disable SMB encryption when the echo handler is activeStefan Metzmacher2010-03-221-0/+10
| | | | metze
* s3:smbd: disallow readbraw and writebraw if the echo handler is activeStefan Metzmacher2010-03-221-0/+17
| | | | metze
* 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
|