summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-smb2_server: SMB2_OP_IOCTL doesn't require at least 1 dyn byteDavid Disseldorp2011-09-291-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: add smb2 ioctl test suiteDavid Disseldorp2011-09-293-1/+89
| | | | | | Currently only covers FSCTL_GET_SHADOW_COPY_DATA. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: remove unchecked read from smb2 createDavid Disseldorp2011-09-292-9/+9
| | | | | | Add a corresponding test case to smb2.read. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* socket_wrapper: correctly handle dup()/dup2() ref countingStefan Metzmacher2011-09-291-85/+81
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 13:13:56 CEST 2011 on sn-devel-104
* socket_wrapper: pass down the fd explictly from the swrap_*() to the ↵Stefan Metzmacher2011-09-291-10/+11
| | | | | | real_*() calls metze
* s3:smb2_server: SMB2_OP_CANCEL requests don't have to be signedStefan Metzmacher2011-09-291-0/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 02:58:41 CEST 2011 on sn-devel-104
* test commit to see it push works for me.Herb Lewis2011-09-291-1/+1
| | | | | Autobuild-User: Herb Lewis <herb@samba.org> Autobuild-Date: Thu Sep 29 00:51:16 CEST 2011 on sn-devel-104
* s4:torture/smb2/lock: remove samba4 specific checks for ↵Stefan Metzmacher2011-09-281-12/+14
| | | | | | | | | | | | | | NETWORK_NAME_DELETED/USER_SESSION_DELETED Most Windows versions have a strange order to verify the session id, tree id and file id. (They should be checked in that order, but windows seems to check the file id before the others). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 21:12:07 CEST 2011 on sn-devel-104
* s4:libcli/smb2: ignore SMB2_OP_CANCEL responsesStefan Metzmacher2011-09-281-0/+10
| | | | | | | | | | | | If there're a problem with signing or the session doesn't exists any more the server responses with a failure, instead of not sending a response. For now we ignore the reponse, as there's not much we could do with it and it's not likely that we generate bad requests, which trigger that behavior, except for testing. metze
* s4:libcli/smb2: correctly sign SMB2_OP_CANCEL request if they belong to a ↵Stefan Metzmacher2011-09-281-0/+1
| | | | | | session metze
* s4:libcli/smb2: don't try to check the signing if we got ↵Stefan Metzmacher2011-09-281-1/+2
| | | | | | NT_STATUS_USER_SESSION_DELETED metze
* s3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ ↵Michael Adam2011-09-281-2/+1
| | | | | | | | | record in traverse It did not compare the last charcter (usually '\0') Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Sep 28 16:54:59 CEST 2011 on sn-devel-104
* libcli: Install libcli.h.Jelmer Vernooij2011-09-282-4/+289
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Sep 28 14:19:20 CEST 2011 on sn-devel-104
* smb_unix_ext.h: Protect against multiple inclusion.Jelmer Vernooij2011-09-281-0/+4
|
* Install headers included by smb_common.h.Jelmer Vernooij2011-09-281-2/+2
|
* s4:libcli/resolve: only try broadcast messages to ipv4 addressesStefan Metzmacher2011-09-281-2/+12
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 05:10:53 CEST 2011 on sn-devel-104
* dns: Do as BIND and MS DNS and drop quries with qdcount != 1Kai Blin2011-09-281-5/+11
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Sep 28 03:37:22 CEST 2011 on sn-devel-104
* dns: The QCLASS is called IN, not IPKai Blin2011-09-282-7/+7
|
* s3 net: Fix a discard const warningKai Blin2011-09-281-1/+1
|
* errormap: Add unix_to_werror() functionKai Blin2011-09-282-0/+10
| | | | | | | | While this function technically is closest to the map_nt_status_from_unix() function, I think it is better to keep the new function in line with our usual fooerror_to_barerror() naming scheme. Signed-off-by: Kai Blin <kai@samba.org>
* s3:libsmb: remove unused TALLOC_FREE(subreq) calls inStefan Metzmacher2011-09-281-5/+0
| | | | | Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 02:01:09 CEST 2011 on sn-devel-104
* s3:libsmb: call TALLOC_FREE(subreq) directly after cli_sesssetup_blob_recv()Stefan Metzmacher2011-09-281-3/+2
| | | | | | | cli_sesssetup_blob_recv() talloc moves stuff that's needed on the given memory context. metze
* s3-messaging Do not ever send a kill to -1Andrew Bartlett2011-09-281-0/+3
| | | | | | | | | This from a report by Olaf Flebbe <o.flebbe@science-computing.de> Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Sep 28 00:23:44 CEST 2011 on sn-devel-104
* s3-messaging Ensure that the message is of the correct legnthAndrew Bartlett2011-09-271-1/+1
| | | | | | By using ndr_pull_struct_blob_all we are more robust against wrongly formatted messages. Andrew Bartlett
* s4-ldap_server: Fix segfault on startup failure of ldap serverAndrew Bartlett2011-09-271-2/+2
|
* s3-pdb_samba4: Remove unused attribute from domain searchAndrew Bartlett2011-09-271-1/+0
|
* These modules are no longer experimental but production-ready (especiallyJeremy Allison2011-09-272-4/+0
| | | | | | | the acl_xattr code). Remove the "experimental" tag. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Sep 27 21:00:12 CEST 2011 on sn-devel-104
* Free the memory talloc'dRichard Sharpe2011-09-271-1/+6
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Sep 27 18:51:47 CEST 2011 on sn-devel-104
* s3-samr: Remove fstring in samr.Andreas Schneider2011-09-261-5/+14
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Sep 26 19:56:04 CEST 2011 on sn-devel-104
* s3-passdb: Cleanup use of fstring and move to talloc.Simo Sorce2011-09-264-24/+61
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-group-mapping: Remove unused functions.Simo Sorce2011-09-262-36/+0
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3: Slightly simplify print_kdc_line()Volker Lendecke2011-09-261-10/+8
| | | | | | | | No code change except for an early "return talloc_asprintf(..)" making an else branch obsolete. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 26 18:24:25 CEST 2011 on sn-devel-104
* s3: Slightly simplify print_kdc_line()Volker Lendecke2011-09-261-20/+19
| | | | | No code change except for an early "return talloc_asprintf(..)" making an else branch obsolete.
* s3: Slightly simplify print_kdc_line()Volker Lendecke2011-09-261-49/+52
| | | | | No code change except for an early "return talloc_asprintf(..)" making an else branch obsolete.
* s3: Remove the smbd_server_conn ref from create_junctionVolker Lendecke2011-09-263-3/+6
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 26 16:33:30 CEST 2011 on sn-devel-104
* s3: Remove the smbd_server_conn ref from setup_dfs_referralVolker Lendecke2011-09-261-1/+1
|
* s3: Remove the smbd_server_conn ref from get_referred_pathVolker Lendecke2011-09-263-11/+17
|
* s3: Remove the smbd_server_conn ref from dfs_redirectVolker Lendecke2011-09-261-1/+3
|
* s3: Remove the smbd_server_conn ref from create_conn_structVolker Lendecke2011-09-264-17/+23
|
* s3: Remove the smbd_server_conn ref from parse_dfs_pathVolker Lendecke2011-09-261-5/+8
|
* libcliraw: Make smb_raw_write_recv public and include it in a public header.Jelmer Vernooij2011-09-252-1/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Sep 25 17:12:05 CEST 2011 on sn-devel-104
* addns: Remove unused empty header fileKai Blin2011-09-252-31/+0
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sun Sep 25 09:15:09 CEST 2011 on sn-devel-104
* net: Don't register link local addresses with DNSKai Blin2011-09-243-0/+29
|
* addns: Allow creating AAAA records during updatesKai Blin2011-09-242-4/+60
|
* libcli/smb: Get rid of set but unused variableKai Blin2011-09-241-1/+3
|
* s4 winbind: Don't drop workgroup name for getpw*Kai Blin2011-09-242-2/+16
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sat Sep 24 22:49:50 CEST 2011 on sn-devel-104
* Fix bug 8480 - acl_xattr can free an invalid pointer if no blob is loaded.David Disseldorp2011-09-231-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Sep 23 22:20:55 CEST 2011 on sn-devel-104
* Revert "Add a missing include file to two VFS modules"Jeremy Allison2011-09-232-2/+0
| | | | | | My mistake - should have been 3.6.x only. This reverts commit 2e4d0641950ce6e38724ca71b46cf925f51ac7be.
* s3:smbd: disconnect the socket if we got an unexpected requestStefan Metzmacher2011-09-232-1/+20
| | | | | | | | | | | If we got a SMB2_OP_NEGPROT after the protocol is already negotiated or if we got a non SMB2_OP_NEGPROT before the protocol was negotiated we should close the connection (as windows does). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Sep 23 12:30:50 CEST 2011 on sn-devel-104
* s3:smbd: don't call smbd_terminate_connection in smb2_validate_message_id() ↵Stefan Metzmacher2011-09-231-2/+3
| | | | | | | | (bug #8476) Only return false and the caller will terminate the connection. metze