summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* s4-smbtorture: For now, skip trusted domain auth validation tests against ↵Günther Deschner2011-08-311-9/+15
| | | | | | the sambas. Guenther
* s4-smbtorture: Add trust password to CreateTrust testSumit Bose2011-08-311-32/+245
| | | | | | | | Instead of using empty authinfo and authinfo_internal structures a trust password is added to these structures. After creating the trust the trust account is used to validate that the trust password is set correctly. Signed-off-by: Günther Deschner <gd@samba.org>
* 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>
* s4-smbtorture: Add tests for lsaQueryTrustedDomainInfoByName() and ↵Sumit Bose2011-08-311-0/+102
| | | | | | lsaSetTrustedDomainInfoByName() 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-ldap: Add Posix offset and encryption types to LDAP schemaSumit Bose2011-08-317-6/+43
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-ldap: Add sambaTrustForestTrustInfo to NDS LDAP schema (again)Sumit Bose2011-08-311-1/+50
| | | | | | | The related attributes and objectclass were accidentally remove by commit d4c30a5ffbeab75506bf1ad5d8d5da48e3f4d41c 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
* s3:lib add some more well-known sidsChristian Ambach2011-08-311-0/+3
| | | | | add S-1-3-2/Creator Owner Server, S-1-3-3/Creator Group Server and S-1-3-4/Owner Rights to the well-known SID list
* s3:lib add new well-known SIDs for BUILTINChristian Ambach2011-08-311-0/+8
| | | | | | Distributed COM Users, Cryptographic Operators, Event Log Readers and Certificate Service DCOM Access were missing from the BUILTIN well-known SID list
* security.idl add new well-known SIDsChristian Ambach2011-08-311-0/+8
| | | | | http://support.microsoft.com/kb/243330/en-us lists some new well-known SIDS in the BUILTIN domain
* tdb2: add full LGPL headersRusty Russell2011-08-312-0/+34
| | | | | | | | | | | This is for SAMBA, so we follow their rules and do full license headers. Two files were missing them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 58025731) Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Aug 31 09:52:43 CEST 2011 on sn-devel-104
* MAINTAINERS.txt: ping me about CCAN changesRusty Russell2011-08-311-0/+5
| | | | | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Aug 31 07:58:34 CEST 2011 on sn-devel-104
* ccan: fix likely redefinition warnings with --enable-tdb2Rusty Russell2011-08-311-0/+8
| | | | | | | | | | | | | | | | | | | When we do --enable-tdb2, we start clashing with the replace.h version: In file included from ../lib/tdb2/tools/../private.h:25:0, from ../lib/tdb2/tools/tdb2torture.c:60: ../lib/ccan/likely/likely.h:32:0: warning: "likely" redefined ../lib/replace/replace.h:762:0: note: this is the location of the previous definition ../lib/ccan/likely/likely.h:53:0: warning: "unlikely" redefined ../lib/replace/replace.h:765:0: note: this is the location of the previous definition I don't like to #ifndef-protect them in general, since you don't want different parts of the code to silently have different definitions, but it's the simplest fix for now. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb2: fix build with --enable-tdb2Rusty Russell2011-08-311-3/+2
| | | | | | | | tdb2 doesn't expost tdb_jenkins_hash; go straight to the source in ccan/hash. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* smb2_constants: add SMB2_HDR_CREDIT_CHARGEStefan Metzmacher2011-08-301-1/+2
| | | | | | | | | | | | | SMB2_HDR_EPOCH was never used and SMB 2.10 uses it as SMB2_HDR_CREDIT_CHARGE. We keep SMB2_HDR_EPOCH as alias for now, until all callers are fixed. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 30 23:49:56 CEST 2011 on sn-devel-104
* s3:include: add CAP_LWIO and CAP_DYNAMIC_REAUTH definesStefan Metzmacher2011-08-301-0/+2
| | | | metze
* s3-build: move libsmb/clisigning.c to LIBSMB_SRCStefan Metzmacher2011-08-302-4/+5
| | | | | | It's only needed in the client library. metze
* s3:smb2 fix Bug 8428 - wrong reply to DHnC (durable handle reconnect)Christian Ambach2011-08-301-6/+6
| | | | | | | | | | | | | | | | | | According to [MS-SMB2] 3.3.5.9.7 (http://msdn.microsoft.com/en-us/library/cc246784%28v=PROT.13%29.aspx), smbd must reply with NT_STATUS_OBJECT_NAME_NOT_FOUND as it does not support durable file-handles yet. I have seen w2k8r2 running xcopy /C ending up in an endless loop trying to get back the original file handle from smbd sending the same requests over and over. Metze, Jeremy, please check! Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Aug 30 22:20:36 CEST 2011 on sn-devel-104
* s3-rpc_server: Make sure we switch always the connecting user.Andreas Schneider2011-08-301-13/+11
| | | | | | | | | | We always have a valid session info and if it is a anonymous connection we have a session info of the guest user. This means we should always call become_authenticated_pipe_user() else and anonymous user could do things as root. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Aug 30 20:50:54 CEST 2011 on sn-devel-104
* s3: Silence some warningsVolker Lendecke2011-08-303-0/+56
| | | | | | | | | | | Rusty, please suggest a proper fix for this. Thanks, Volker Lendecke Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 30 19:16:14 CEST 2011 on sn-devel-104
* smbtorture4: Fix a typoVolker Lendecke2011-08-301-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 30 09:51:10 CEST 2011 on sn-devel-104
* Fixed regression test case for Bug 8412 - Microsoft Office 2007 (Microsoft ↵Jeremy Allison2011-08-301-2/+40
| | | | | | | Word) fails to save as on a Samba share with SMB2 Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Aug 30 03:26:49 CEST 2011 on sn-devel-104
* Fix bug 8412 - Microsoft Office 2007 (Microsoft Word) fails to save as on a ↵Jeremy Allison2011-08-292-6/+46
| | | | Samba share with SMB2.
* Fix bug Bug 8422 - Infinite loop in ACL module code.Jeremy Allison2011-08-291-1/+1
| | | | | Missing assignment means this loop will never terminate. Need to be applied to 3.5.x and 3.6.1.
* s4: Mark the winsreplication test as knownfailVolker Lendecke2011-08-291-1/+1
| | | | | | | | This continues to break my autobuild even if I just check something into source3. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Aug 29 21:04:06 CEST 2011 on sn-devel-104
* s3: Fix getent group if trusted domains are not reachableVolker Lendecke2011-08-291-2/+7
|
* s3:rpc_server: fix two debug messages in svcctl_add_service()Michael Adam2011-08-291-2/+2
| | | | | | | (copy and paste from eventlog?) Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Aug 29 15:30:33 CEST 2011 on sn-devel-104
* s3-lib: If we create a pipe socket, don't start to listen.Andreas Schneider2011-08-294-6/+31
| | | | | | | | | The create_pipe_sock() function should only create the socket as the name states and not start to listen on it too. We should start to listen on in the individual places as we need different backlog values. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Aug 29 13:21:43 CEST 2011 on sn-devel-104
* s3:libsmb: make cli_session_request_send/recv() staticStefan Metzmacher2011-08-282-13/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Aug 28 20:29:01 CEST 2011 on sn-devel-104
* s3:libsmb: move cli_session_request*() to smbsock_connect.cStefan Metzmacher2011-08-282-127/+129
| | | | metze
* s3:libsmb: move cli_smb_oplock_break_waiter*() to clioplock.cStefan Metzmacher2011-08-284-86/+86
| | | | metze
* s3:libsmb: use cli_smb_req_set_mid() in cli_smb_oplock_break_waiter_send()Stefan Metzmacher2011-08-281-3/+1
| | | | metze
* s3:libsmb: let cli_smb_req_mid() return the mid set by cli_smb_req_set_mid()Stefan Metzmacher2011-08-281-0/+5
| | | | metze
* dnspython: Update to latest upstream snapshot.Jelmer Vernooij2011-08-27109-858/+1197
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Aug 27 17:40:39 CEST 2011 on sn-devel-104
* subunit: Update to latest upstream snapshot.Jelmer Vernooij2011-08-2722-609/+1281
|
* testtools: Update to latest upstream snapshot.Jelmer Vernooij2011-08-2759-876/+5255
|
* RAW_SFILEINFO_RENAME_INFORMATION_SMB2 sends 4 bytes of uninitialized data ↵Jeremy Allison2011-08-271-0/+1
| | | | | | | out on the network. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Aug 27 07:48:30 CEST 2011 on sn-devel-104
* s3: Fix a winbind race leading to 100% CPUVolker Lendecke2011-08-261-2/+3
| | | | | | | | | | | | | | | | | | | | | | | This fixes a race condition that leads to the winbindd_children list becoming corrupted. It happens when on a busy winbind SIGCHLD is a bit late. Imagine a winbind with multiple requests in the queue for a single child. Child dies, and before the SIGCHLD handler is called we find the socket to be dead. wb_child_request_done is called, receiving an error from wb_simple_trans_recv. It closes the socket. Then immediately the wb_child_request_trigger will do another fork_domain_child before the signal handler is called. This means that we do another fork_domain_child, we have child->sock==-1 at this point. fork_domain_child will do a DLIST_ADD(winbindd_children, child) a second time where the child is already part of that list. This corrupts the list. Then the signal handler kicks in, spinning in for (child = winbindd_children; child != NULL; child = child->next) { forever. Not good. This patch makes sure that both conditions (sock==-1 and not part of the list) for a winbindd_child struct match up. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Aug 26 18:51:24 CEST 2011 on sn-devel-104
* s3: Fix two int/enum mixupsVolker Lendecke2011-08-261-2/+2
|