summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libcli: make the LIBSECURITY subsystem into a private libraryAndrew Tridgell2010-10-211-4/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: fixed expansion of direct_objects and direct_libsAndrew Tridgell2010-10-211-2/+2
| | | | these do not need to be expanded in break_dependency_loops()
* waf: allows libraries to be marked as private_library=TrueAndrew Tridgell2010-10-212-3/+13
| | | | | | | | | | | this is for libraries where we make no promises about the API, but where we wish it to be a library to allow our binaries to use common code. These libraries always get the project suffix added to the library name, to ensure we are in a separate namespace Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: rework expand_subsystem_deps()Andrew Tridgell2010-10-211-18/+36
| | | | | | | | | make the variable names a lot clearer, and restrict the expansion of subsystem deps to object style subsystems and modules. If a subsystem or a module is built as a library then we don't need to expand the dependencies across that boundary Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: added --show-deps and --show-duplicatesAndrew Tridgell2010-10-212-1/+74
| | | | | | these options make it easier to examine our depenency tree, by showing any objects linked into more than one library, and by showing the dependency tree for a chosen target
* ldb:ldb_modules.c - if we don't find the associated dynamic object then ↵Matthias Dieter Wallnöfer2010-10-211-0/+1
| | | | | | | please close the handle Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 21 07:52:44 UTC 2010 on sn-devel-104
* ldb:ldb_tdb/ldb_cache.c - remove a superflous "talloc_free"Matthias Dieter Wallnöfer2010-10-211-3/+1
| | | | Didn't realise that this is already called by "ltdb_attributes_unload".
* ldb:ldb_tdb/ldb_cache.c - in this function we don't use LDB return codesMatthias Dieter Wallnöfer2010-10-211-1/+1
|
* s4:lib/util/charset/iconv.c - remove a distinction which can never happenMatthias Dieter Wallnöfer2010-10-211-4/+1
| | | | | "ret->cd_direct" is never set before. It is set in the "if" upperwards but then the function is terminated with "return".
* Now we have SeSystemSecurity, remove the source3-only #ifdef.Jeremy Allison2010-10-211-2/+0
| | | | | | | Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 21 01:35:00 UTC 2010 on sn-devel-104
* Add code to implement SeSecurityPrivilege in net rpc rights, and in theJeremy Allison2010-10-213-27/+21
| | | | | | | | | open and get/set NT security descriptor code. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 21 00:15:57 UTC 2010 on sn-devel-104
* pytalloc: use talloc_unlink() to free py_talloc objectsKamen Mazdrashki2010-10-201-1/+3
| | | | | | | | | | | Those type of objects are referenced every time we assign them to other py_talloc objects, which leads to runtime warnings that we are trying to free an object with references Wrap talloc_unlink() in SMB_ASSERT() to ensure we catch possible failure Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Oct 20 21:37:06 UTC 2010 on sn-devel-104
* talloc: make header C++ safeSimo Sorce2010-10-201-0/+8
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Wed Oct 20 18:15:09 UTC 2010 on sn-devel-104
* smbtorture: Fix typo in status message.James Peach2010-10-201-1/+1
|
* s3: Make "unpack_pjob" staticVolker Lendecke2010-10-202-2/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Oct 20 16:51:04 UTC 2010 on sn-devel-104
* s3: Use any_nt_status_not_ok in winbindVolker Lendecke2010-10-2019-95/+19
|
* s3: Add any_nt_status_not_okVolker Lendecke2010-10-202-0/+14
| | | | | This helps avoid quite a bit of repetitive code when looking at dcerpc_xx_recv results.
* s3: Don't use talloc_autofree_context in map_fileVolker Lendecke2010-10-201-1/+1
|
* uid_wrapper: The gid wrapper does not require a destructorVolker Lendecke2010-10-201-2/+2
| | | | Don't use talloc_autofree_context
* Make getpwnam_alloc() static to lib/username.c, and ensure all username ↵Jeremy Allison2010-10-2017-117/+97
| | | | | | | | | | | | lookups go through Get_Pwnam_alloc(), which is the correct wrapper function. We were using it *some* of the time anyway, so this just makes us properly consistent. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 20 16:02:12 UTC 2010 on sn-devel-104
* nsstest: no need for two copies of the same tool.Günther Deschner2010-10-204-527/+116
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 20 15:05:34 UTC 2010 on sn-devel-104
* s3-waf: more registry cleanup.Günther Deschner2010-10-201-9/+20
| | | | Guenher
* s3-waf: convert LIBSMBCONF into a subsystem.Günther Deschner2010-10-201-5/+8
| | | | Guenther
* s3-waf: move RPC_CLIENT_SCHANNEL into a subsystem.Günther Deschner2010-10-202-7/+12
| | | | Guenther
* s4-schema_init: Print more info about syntax we fail to recognizeKamen Mazdrashki2010-10-201-2/+4
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Oct 20 13:54:01 UTC 2010 on sn-devel-104
* asn1_tests.c: Make test data static constKamen Mazdrashki2010-10-201-6/+6
|
* lib/util/asn1.c: comment spellingKamen Mazdrashki2010-10-201-1/+1
|
* ldb:ldb_index.c - fix some memory leaksMatthias Dieter Wallnöfer2010-10-201-1/+6
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Oct 20 13:11:49 UTC 2010 on sn-devel-104
* ldb:ldb_index.c - let "ldb_module_oom" generate the return codeMatthias Dieter Wallnöfer2010-10-201-15/+8
|
* ldb:ldb_cache.c - fix memory contexts and memory leaksMatthias Dieter Wallnöfer2010-10-201-3/+4
|
* ldb:ldb_tdb submodule - use "ldb_msg_new" where appropriateMatthias Dieter Wallnöfer2010-10-202-12/+12
| | | | It is saver than a manual "talloc".
* ldb:ldb_pack.c - remove superflous "message->elements = NULL"Matthias Dieter Wallnöfer2010-10-201-1/+0
| | | | It's already marked at this at the beginning of the call.
* libcli/security/access_check.c - fix a memory leakMatthias Dieter Wallnöfer2010-10-201-7/+12
|
* s3: Add some DEBUGVolker Lendecke2010-10-201-0/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Oct 20 11:58:20 UTC 2010 on sn-devel-104
* s3: Cope with EINTR in smbd_[un]lock_socketVolker Lendecke2010-10-201-2/+10
|
* libcli/ldap Don't try and encode a control with a NULL OIDAndrew Bartlett2010-10-201-0/+6
| | | | | | | | | | ctrl->oid is set to NULL by the Samba4 rootDSE module when removing controls that should not be exposed over LDAP (to avoid a realloc). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Oct 20 04:13:44 UTC 2010 on sn-devel-104
* autobuild: create an autobuild.pid fileAndrew Tridgell2010-10-191-0/+9
| | | | | | | | | | this will allow us to avoid an error email when you resubmit and there is an existing autobuild. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Oct 19 23:36:05 UTC 2010 on sn-devel-104
* s4-mailslot: fixed handling of random collision in temporary mailslot namesAndrew Tridgell2010-10-191-1/+1
| | | | | | | | | we could get occasional failures in the samba4.nbt.dgram test if we happened to get a collision in the random mailslot names. Thanks to Jeremy for spotting this! (his autobuild failed) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Fix shadow warning for "access" variable.Jeremy Allison2010-10-191-3/+3
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Oct 19 22:53:38 UTC 2010 on sn-devel-104
* Add deadtime detection for SMB2. Correctly update lastused timestamp across ↵Jeremy Allison2010-10-192-30/+76
| | | | all active tcons. Should fix dfree cache not updating bug.
* Add SMB2 paths to smbd/conn.c. Except for conn_idle_all(), to be cleaned up ↵Jeremy Allison2010-10-191-32/+105
| | | | next.
* Copyright/whitespace/comment cleanup in preparation for adding SMB2 paths.Jeremy Allison2010-10-191-20/+27
|
* Move tcons.num_open from smb1 to sconn->num_tcons_open as this is needed for ↵Jeremy Allison2010-10-194-7/+11
| | | | SMB2 also.
* s3-waf Use LIBSECRUITY subsystem from the common wscript_buildAndrew Bartlett2010-10-191-24/+9
| | | | | | | Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 19 22:06:51 UTC 2010 on sn-devel-104
* s3-waf: all subsystems complete now, no need for this loop anymore.Günther Deschner2010-10-191-26/+0
| | | | | | | | | Kai, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 19 17:10:24 UTC 2010 on sn-devel-104
* s3-waf: convert rpc into a subsystem.Günther Deschner2010-10-192-63/+140
| | | | Guenther
* s4:nbt_server - fix a LDB counter typeMatthias Dieter Wallnöfer2010-10-191-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Oct 19 14:05:13 UTC 2010 on sn-devel-104
* s4-dsdb Reset the error string after 'expected' errors.Andrew Bartlett2010-10-191-0/+1
| | | | | | | | | | This helps ensure that we don't get confusing error strings in the logs on other error cases. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 19 12:16:07 UTC 2010 on sn-devel-104
* s4-dsdb Add module to send only 'simple' DNs to OpenLDAP backendsAndrew Bartlett2010-10-193-2/+83
| | | | | | | | | If we send the full extended DN, then we risk standards-complient LDAP servers rejecting it as invalid. Only the DN portion is needed to resolve the record in any case, and any SID or GUID componenets have already been evaluated into the DN. Andrew Bartlett
* s4-dsdb Allow LDB_ERR_INVALID_DN_SYNTAX in dsdb_load_partition_usnAndrew Bartlett2010-10-191-1/+1
| | | | | | | | This will happen on an OpenLDAP backend, because @ records are invalid in LDAP. We don't have these sequence numbers in this case. Andrew Bartlett