summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3-lsa: Fix crypto prototypes.Günther Deschner2011-08-011-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Aug 1 00:18:34 CEST 2011 on sn-devel-104
* s3-build: remove some unused/duplicate headers.Günther Deschner2011-07-311-1/+0
| | | | Guenther
* s3-selftest: finally enable RPC-LSA against s3.Günther Deschner2011-07-311-1/+1
| | | | Guenther
* s3-selftest: enable RPC-LSA-SECRETS against s3.Günther Deschner2011-07-311-1/+1
| | | | Guenther
* s3-lsa: support secret objects in _lsa_QuerySecurity().Günther Deschner2011-07-311-0/+1
| | | | Guenther
* s3-lsa: support secret objects in _lsa_DeleteObject().Günther Deschner2011-07-311-0/+6
| | | | Guenther
* s3-lsa: implement _lsa_QuerySecret().Günther Deschner2011-07-311-6/+86
| | | | Guenther
* s3-lsa: implement _lsa_SetSecret().Günther Deschner2011-07-311-2/+66
| | | | Guenther
* s3-lsa: implement _lsa_CreateSecret().Günther Deschner2011-07-311-2/+78
| | | | Guenther
* s3-lsa: implement _lsa_OpenSecret().Günther Deschner2011-07-311-2/+58
| | | | Guenther
* s3-secrets: add lsa_secret passdb api.Günther Deschner2011-07-315-5/+262
| | | | Guenther
* s3-secrets: add lsa_secret struct to secrets IDL.Günther Deschner2011-07-311-0/+12
| | | | Guenther
* s3-passdb: add dummy calls to control global (replicated) secrets.Günther Deschner2011-07-313-2/+98
| | | | Guenther
* s3-lsa: add LSA_HANDLE_SECRET_TYPE.Günther Deschner2011-07-311-1/+2
| | | | Guenther
* s3-lsa: Fix _lsa_DeleteObject to handle trusted domain objects.Günther Deschner2011-07-311-0/+6
| | | | Guenther
* s4-kcc: correctly populate the neighbor object when taking information from ↵Matthieu Patou2011-07-311-0/+3
| | | | | | | repsTo Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Jul 31 00:17:17 CEST 2011 on sn-devel-104
* Added missing return. Not strictly neccessary, the following if ↵Jeremy Allison2011-07-301-0/+1
| | | | | | | | | | (!NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) clause will catch this and use tevent_req_nterror(req, status); to set the status as NT_STATUS_OK, but it looks strange to do it that way. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jul 30 01:34:24 CEST 2011 on sn-devel-104
* Secod part of bugfix for bug #8335 - file copy aborts with ↵Jeremy Allison2011-07-291-3/+24
| | | | | | | | | | | | | | | | | smb2_validate_message_id: bad message_id Modify the credit granting algorithm to closer to what I believe Windows does. Split up max_credits into 1/16ths, and then scale the requested credits by how many 16ths have been currently granted. Less than 1/16th == grant all requested (100%), scale down as more have been granted. Never ask for less than 1 if the client asked for at least 1. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jul 29 20:37:42 CEST 2011 on sn-devel-104
* First part of bugfix for bug #8335 - file copy aborts with ↵Jeremy Allison2011-07-292-2/+2
| | | | | | | smb2_validate_message_id: bad message_id Set default max credits to 8192 now this has been documented in the SMB2 spec.
* s3: Add a fallback for missing open&x support in OS/X LionVolker Lendecke2011-07-291-19/+68
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jul 29 17:55:20 CEST 2011 on sn-devel-104
* s3: Make map_open_params_to_ntcreate() available in lib/Volker Lendecke2011-07-294-154/+155
|
* s3: Make is_executable() available in lib/Volker Lendecke2011-07-294-18/+18
|
* s3: We only need base_name in map_open_params_to_ntcreateVolker Lendecke2011-07-294-9/+12
|
* s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam2011-07-2950-53/+54
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
* s3-waf: replace the dbwrap_util library by a dbwrap library that contains ↵Michael Adam2011-07-291-5/+4
| | | | the dbwrap core
* s3:dbwrap: move db_is_local() from dbwrap.c to dbwrap_open.cMichael Adam2011-07-294-34/+33
|
* s3:dbwrap: move db_open() to a file dbwrap_open.c of its own.Michael Adam2011-07-2933-78/+208
| | | | | | Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and make the fallbacke implementation functoins non-static and create a dbwrap_private.h header file that contains their prototypes.
* s3:g_lock: explicitly include dbwrap.hMichael Adam2011-07-291-0/+1
|
* s3:modules:nfs4_acls: fix the include of dbwrap.h to not include "include/"Michael Adam2011-07-291-1/+1
|
* s3:dbwrap: explicitly include dbwrap.h in dbwrap_ctdb.cMichael Adam2011-07-291-0/+1
| | | | | | This used to come in via g_lock.h Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* talloc: added test suite for talloc_free_children()Andrew Tridgell2011-07-291-0/+44
| | | | | | | this tests the fix from Simo Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jul 29 11:30:13 CEST 2011 on sn-devel-104
* talloc: preserve context name on talloc_free_children()Simo Sorce2011-07-291-0/+23
| | | | | | | Otherwise tc->name will end up pointing to garbage when it is not set to a const but rather to a string allocate as child of the context itself. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: use ldb.binary_encode() on search expression elementsAndrew Tridgell2011-07-299-24/+27
| | | | | | | | this allows us to deal with search elements containing characters that must be escaped in LDAP Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* samba-tool: fixed binary encoding of usernames in setpasswordAndrew Tridgell2011-07-291-2/+2
| | | | | Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* pyldb: added binary_encode() and binary_decode() methodsAndrew Tridgell2011-07-292-0/+57
| | | | | | | this gives access to RFC2254 encoding from python Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* ldb: added a test for an invalid search expressionAndrew Tridgell2011-07-291-0/+3
| | | | | | | this tests the fix for invalid expressions in & and | expressions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* ldb: fixed a search expression parse bugAndrew Tridgell2011-07-291-1/+11
| | | | | | | | | | | | | | | | when a secondary component of a & or | expression was invalid, it was ignored rather than giving an error. For example: (|(objectclass=user)(samaccountname=foo\blah)) was treated as being: (objectclass=user) whereas it should be an error, as foo\blah is invalid Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth Fill in the remainder of the unix info in auth_session_infoAndrew Bartlett2011-07-292-5/+45
| | | | | | | Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 29 05:33:03 CEST 2011 on sn-devel-104
* s4-auth Move conversion of security_token to unix_token to authAndrew Bartlett2011-07-298-61/+129
| | | | | | | | This allows us to honour the AUTH_SESSION_INFO_UNIX_TOKEN flag. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* gensec: Add a way to request a unix token from GENSECAndrew Bartlett2011-07-293-5/+14
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ntvfs: Use security_unix_token from auth.idlAndrew Bartlett2011-07-291-24/+16
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-selftest Add tests for 'map to guest = bad user'Andrew Bartlett2011-07-292-1/+36
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* selftest: Avoid being run over by armies of the undeadAndrew Bartlett2011-07-291-0/+2
| | | | | | | | Ignore SIGCHILD to reap zombies Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* nbt: Add comment explaining that these responses are manually encodedAndrew Bartlett2011-07-291-1/+5
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* selftest: explain how the message command test worksAndrew Bartlett2011-07-292-0/+3
|
* s4-lsa Use the supplied handle in LsaLookupNames2Andrew Bartlett2011-07-291-5/+5
| | | | | | | | | | | | In my rework of this function in 2006 with 459a2301a5d63f5a1a6b27996c8a0358b20f2ab2 I ignored the incoming handle, instead feching the LSA state again (dispite the commit message indicating otherwise). This means that data->access_mask is uninitialised, which doesn't matter right now, but will once we start checking that. Andrew Bartlett
* s4-debug: Start with DEBUG_DEFAULT_STDOUT, so we can log to a file in deamonsAndrew Bartlett2011-07-291-1/+1
| | | | | | | In commit 3c9d01e3e58e2217915317406541ac8c6f6dcf92 I changed the priority order and added DEBUG_DEFAULT_STDOUT, but did not check all the callers. Andrew Bartlett
* s3-printing: Add forward declaration for dcerpc_binding_handle.Andreas Schneider2011-07-281-0/+2
| | | | | | | This fixes a build warning. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 28 20:07:37 CEST 2011 on sn-devel-104
* s3: Priorize the async echo responder over the clientVolker Lendecke2011-07-281-4/+15
| | | | | | | | Without this, an active client connection can starve the echo responder. This leads to apparently "lost" SMBs. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 28 18:53:38 CEST 2011 on sn-devel-104
* tevent: Slightly simplify poll_event_loop_pollVolker Lendecke2011-07-281-33/+38
| | | | | No real code change. Do an early return instead of an if-statement, avoiding one level of indentation.