summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:smb2cli: make sure we don't try to send requests on a disconnected cli_stateStefan Metzmacher2011-09-051-0/+5
| | | | metze
* s3:smb2cli: make sure requests are not finished, when we send when to the ↵Stefan Metzmacher2011-09-051-0/+4
| | | | | | network metze
* s3:smb2cli: disconnect the connection, if we're out of message idsStefan Metzmacher2011-09-051-1/+15
| | | | metze
* s3:smb2cli: don't use state->cli->smb2.mid++ as macro argumentStefan Metzmacher2011-09-051-1/+5
| | | | | | It gets expanded multiple times. metze
* s3-smbd: Rename reload_printers() and add documentation.Andreas Schneider2011-09-055-11/+22
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Sep 5 17:59:47 CEST 2011 on sn-devel-104
* s3: Fix smbcontrol smbd idmap kill S-1-5-21-...Volker Lendecke2011-09-051-6/+20
| | | | | | | | | The calls to sid_to_gid and sid_to_uid create id mapping entries themselves, which makes it pretty difficult to reliably delete id mapping entries everywhere just using a SID. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 5 16:30:41 CEST 2011 on sn-devel-104
* s3: Reformat msg_idmap.c to match Samba codingVolker Lendecke2011-09-051-13/+19
|
* s3:smbd: make use of PROTOCOL_SMB2_02Stefan Metzmacher2011-09-051-1/+1
| | | | metze
* libcli/smb: move smb2_signing.c to the toplevelStefan Metzmacher2011-09-054-145/+1
| | | | metze
* s3-spoolssd: Remove stale printers only on a valid pcap update.Andreas Schneider2011-09-051-2/+2
| | | | | | | | | load_printers() removes stale printers and we should only remove them if we have a CUPS connection and talked to cups. Else we will remove every configured printer if cups is not available. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Sep 5 11:18:23 CEST 2011 on sn-devel-104
* s3:smb2cli: ask for a session key in smb2cli_sesssetup_send()Stefan Metzmacher2011-09-031-0/+3
| | | | | | | | | This is needed if we want to support SMB2 signing later. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Sep 3 16:21:35 CEST 2011 on sn-devel-104
* s3-spoolss: Fix bug #8236 empty notify servername.Andreas Schneider2011-09-031-0/+9
| | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Sep 3 02:58:42 CEST 2011 on sn-devel-104
* Part 5 of bugfix for bug #7509 - smb_acl_to_posix: ACL is invalid for set ↵Jeremy Allison2011-09-031-4/+21
| | | | | | | | | | (Invalid argument) Be smarter about setting default permissions when a ACL_GROUP_OBJ isn't given. Use the principle of least surprises for the user. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Sep 3 00:16:05 CEST 2011 on sn-devel-104
* Part 4 of bugfix for bug #7509 - smb_acl_to_posix: ACL is invalid for set ↵Jeremy Allison2011-09-021-8/+11
| | | | | | | (Invalid argument) Be smarter about setting default permissions when a ACL_USER_OBJ isn't given. Use the principle of least surprises for the user.
* Part 3 of bugfix for bug #7509 - smb_acl_to_posix: ACL is invalid for set ↵Jeremy Allison2011-09-021-7/+6
| | | | | | | | (Invalid argument) Don't call check_owning_objs() to convert ACL_USER->ACL_USER_OBJ and AC_GROUP->ACL_GROUP_OBJ for default (directory) ACLs, we do this separately inside ensure_canon_entry_valid().
* Part 2 of bugfix for bug #7509 - smb_acl_to_posix: ACL is invalid for set ↵Jeremy Allison2011-09-021-0/+38
| | | | | | | (Invalid argument) Only map CREATOR_OWNER/CREATOR_GROUP to ACL_USER_OBJ/ACL_GROUP_OBJ in a default(directory) ACL set.
* Part 1 of bugfix for bug #7509 - smb_acl_to_posix: ACL is invalid for set ↵Jeremy Allison2011-09-021-72/+0
| | | | | | | (Invalid argument) Remove the code I added for bug "6878 - Cannot change ACL's inherit flag". It is incorrect and causes the POSIX ACL ACL_USER_OBJ duplication.
* s3:registry: fix a debug message typoMichael Adam2011-09-021-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Sep 2 11:47:11 CEST 2011 on sn-devel-104
* s3:registry: introduce a define REGDB_CODE_VERSION and use it in regdb code.Michael Adam2011-09-022-9/+9
| | | | | This is to not use the precise code version REGDB_VERSION_V3 explicitly in the code.
* s3:registry: rename REGVE_Vx toREGDB_VERSION_Vx for consistencyMichael Adam2011-09-022-15/+15
|
* s3:registry: implement regdb_set_secdesc() with regdb_trans_do()Michael Adam2011-09-021-22/+43
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Sep 2 00:51:40 CEST 2011 on sn-devel-104
* s3:registry: implement regdb_store_values() with regdb_trans_do()Michael Adam2011-09-011-1/+26
| | | | This adds the runtime check for changed regdb format version to store_values
* s3:registry: change regdb_store_values_internal() from bool to NTSTATUS ↵Michael Adam2011-09-011-11/+15
| | | | return code
* s3:registry: use the regdb_trans_do wrapper instead of using dbwrap_trans_do ↵Michael Adam2011-09-011-18/+18
| | | | | | directly in the registry db code. This verifies the regdb format version number before the corresponding write operations.
* s3:registry: add regdb_trans_do(): a transaction wrapper that will check the ↵Michael Adam2011-09-011-0/+42
| | | | | | | regdb version If the version has changed since initialization, the write will fail with ACCESS_DENIED.
* s3:registry: drop log level of unknown regdb version message in regdb_init() ↵Michael Adam2011-09-011-1/+1
| | | | to 0
* s3-rpc_server: Add missing rng_fault_state in epmapper.Andreas Schneider2011-09-011-0/+2
| | | | | | | | | We need to raise an exception so we need to set the rng_fault_state for epm_Insert and epm_Delete if someone connects over a transport other than NCALRPC. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Sep 1 15:59:50 CEST 2011 on sn-devel-104
* s3-rpc_server: Handle services with multiple pipe names.Andreas Schneider2011-09-011-2/+10
| | | | | The configuration should only use the default pipe name to configure all of them correctly.
* Fix bug 8429 - Compound SMB2 requests on an IPC connection can corrupt the ↵Jeremy Allison2011-08-311-12/+17
| | | | | | | reply stream. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Aug 31 21:18:11 CEST 2011 on sn-devel-104
* Based on metze's fix for Bug 8407 - SMB2 server can return requests ↵Jeremy Allison2011-08-312-2/+39
| | | | out-of-order when processing a compound request. (cherry picked from commit 19db1c98c6ba3cb5e883e16e865c44900ce17444)
* s3:smb2_server: keep compound_related on struct smbd_smb2_requestStefan Metzmacher2011-08-312-4/+4
| | | | | metze (cherry picked from commit cda93f04eb4e7e975b192a5fd33275ec638140ac)
* s3-waf: fix unresolved symbols in the group policy client side extensions ↵Günther Deschner2011-08-311-1/+1
| | | | | | | | | subsystem. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Aug 31 19:48:39 CEST 2011 on sn-devel-104
* s3-waf: convert libgpo into a private library.Günther Deschner2011-08-311-5/+6
| | | | Guenther
* s3-waf: allow undefined symbols in idmap_rid module.Günther Deschner2011-08-311-0/+1
| | | | Guenther
* s3: Fix bug 8334, do not fork the echo handler for smb2Volker Lendecke2011-08-311-1/+2
| | | | | | | | | | | | | | | | | | | If a smb1 negprot negotiated smb2 we forked the echo responder. This will eventually lead to a panic from [2011/08/30 10:33:29.212578, 0, pid=3846917] smbd/smb2_server.c:243(smbd_smb2_request_create) Invalid SMB packet: first request: 0x0009 because from the echo responder we always read using the normal smb1 protocol handling routine. If that is a bit down the smb2 stream, we get a non-negprot packet and panic. BTW, the echo responder is not required for smb2 anyway, Microsoft confirmed that it probes the server liveness using TCP keepalives and not smb2 echo requests. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Aug 31 17:58:48 CEST 2011 on sn-devel-104
* s3-rpc_server: Disable epmapper by default.Andreas Schneider2011-08-311-2/+2
| | | | | | | | | | | | | We need more testing in the real world. We need to be sure that if a Windows client can access port 135 it doesn't require that a service is available via ncacn_ip_tcp. If possible please enable it using the following smb.conf options for testing: rpc_daemon:epmd = fork rpc_server:epmapper = external Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Aug 31 16:29:20 CEST 2011 on sn-devel-104
* s3-waf: allow unresolved symbols in some idmap and nss_info modules.Günther Deschner2011-08-311-0/+7
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Aug 31 14:27:31 CEST 2011 on sn-devel-104
* s3-waf: add missing tdb dependency to idmap_tdb2 module.Günther Deschner2011-08-311-1/+1
| | | | Guenther
* s3-waf: convert nss_info subsystem into a private library.Günther Deschner2011-08-311-4/+5
| | | | Guenther
* s3-lsa: Add _lsa_SetInformationTrustedDomain() and related callsSumit Bose2011-08-311-21/+312
| | | | | | | | | The following LSA calls are added: - _lsa_SetInformationTrustedDomain() - _lsa_SetTrustedDomainInfo() -_lsa_SetTrustedDomainInfoByName() Signed-off-by: Günther Deschner <gd@samba.org>
* s3-lsa: Update _lsa_QueryTrustedDomainInfo()Sumit Bose2011-08-311-8/+63
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Add supprted encryption types to struct pdb_trusted_domainSumit Bose2011-08-312-0/+24
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Add posix offset to struct pdb_trusted_domainSumit Bose2011-08-312-0/+23
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-lsa: Fix access mapping in_lsa_OpenTrustedDomain_base()Sumit Bose2011-08-311-1/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-lsa: Fix typo and use right pdb interfaceSumit Bose2011-08-311-1/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Derive domain GUID from SIDSumit Bose2011-08-311-2/+23
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3:modules make perfcount_test loadable againChristian Ambach2011-08-311-1/+1
| | | | | | | use expected 'init_samba_module' name for initializer function Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Wed Aug 31 11:22:26 CEST 2011 on sn-devel-104
* s3:lib S-1-5-9 is "Enterprise Domain Controllers"Christian Ambach2011-08-311-1/+1
| | | | and not ServerLogon
* s3:lib remove duplicate entry for "Anonymous Logon"Christian Ambach2011-08-311-1/+0
|
* s3:lib add S-1-5-17 to well-known SID listChristian Ambach2011-08-311-0/+1
| | | | | | | | http://support.microsoft.com/kb/243330/en-us says the name is "This organization", but Windows 2008 says IUSR Picking the Windows 2008 variant as 'This Organization' would be duplicate to S-1-5-15