summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* librpc/ndr_drsuapi: fix a memory leak on ndr_push_drsuapi_DsReplicaOID()Stefan Metzmacher2009-07-311-0/+1
| | | | metze
* util/asn1: fix potential memory leak in asn1_write_OID()Stefan Metzmacher2009-07-311-0/+1
| | | | metze
* s4:auth: make sure we have elements returned at all in ↵Stefan Metzmacher2009-07-311-0/+6
| | | | | | authsam_expand_nested_groups() metze
* s4: Patch to implement nested group and privilegesMatthias Dieter Wallnöfer2009-07-311-34/+100
| | | | | | | | | This patch adds a function "authsam_expand_nested_groups" (calculation of rights through expanding groups of a certain SID) which basically collects all memberships through "memberOf" attributes. It works with either user or group SIDs. For avoiding loops it tests on each call if the SID hasn't been added yet (through the helper function "sids_contains_sid"). The function itself is called by "authsam_make_server_info".
* tdb: don't alter tdb->flags in tdb_reopen_all()Rusty Russell2009-07-311-6/+13
| | | | | | | The flags are user-visible, via tdb_get_flags/add_flags/remove_flags. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tdb: Reimplementation of Metze's "lib/tdb: if we know pwrite and pread are ↵Rusty Russell2009-07-311-5/+10
| | | | | | | | | | | | | | | | | | | thread/fork safe tdb_reopen_all() should be a noop". This version just wraps the reopen code, so we still re-grab the lock and do the normal sanity checks. The reason we do this at all is to avoid global fd limits, see: http://forums.fedoraforum.org/showthread.php?t=210393 Note also that this whole reopen concept is fundamentally racy: if the parent goes away before the child calls tdb_reopen_all, the database can be left without an active lock and another TDB_CLEAR_IF_FIRST opener will clear it. A fork_with_tdbs() wrapper could use a pipe to solve this, but it's hardly elegant (what if there are other independent things which have similar needs?). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tdb: Revert "lib/tdb: if we know pwrite and pread are thread/fork safe ↵Rusty Russell2009-07-311-5/+0
| | | | | | | | | | tdb_reopen_all() should be a noop" This reverts commit e17df483fbedb81aededdef5fbb6ae1d034bc2dd. tdb_reopen_all also restores the active lock, required for TDB_CLEAR_IF_FIRST. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* .gitignore: ignore more generated filesStefan Metzmacher2009-07-311-0/+5
| | | | metze
* winsif.idl: add definition of winsif_WinsDoScanvengingNew()Stefan Metzmacher2009-07-311-1/+14
| | | | metze
* winsif.idl: add definition of winsif_WinsStatusWHdl()Stefan Metzmacher2009-07-311-1/+5
| | | | metze
* winsif.idl: add definition of winsif_WinsStatusNew()Stefan Metzmacher2009-07-311-1/+17
| | | | metze
* winsif.idl: add definition of winsif_WinsGetDbRecsByName()Stefan Metzmacher2009-07-311-2/+9
| | | | metze
* winsif.idl: add definition of winsif_WinsGetBrowserNames()Stefan Metzmacher2009-07-311-1/+10
| | | | metze
* winsif.idl: add definition of winsif_WinsSetFlags()Stefan Metzmacher2009-07-311-1/+3
| | | | metze
* winsif.idl: add definition of winsif_WinsDeleteWins()Stefan Metzmacher2009-07-311-1/+3
| | | | metze
* winsif.idl: add definition of winsif_WinsGetBrowserNames_Old()Stefan Metzmacher2009-07-311-1/+13
| | | | metze
* winsif.idl: add definition of winsif_WinsGetNameAndAdd()Stefan Metzmacher2009-07-311-1/+9
| | | | metze
* winsif.idl: add definition of winsif_WinsWorkerThreadUpdate()Stefan Metzmacher2009-07-311-1/+3
| | | | metze
* winsif.idl: add definition of winsif_WinsResetCounters()Stefan Metzmacher2009-07-311-1/+1
| | | | metze
* winsif.idl: add definition of winsif_WinsSetPriorityClass()Stefan Metzmacher2009-07-311-1/+3
| | | | metze
* winsif.idl: add definition of winsif_WinsPullRange()Stefan Metzmacher2009-07-311-1/+6
| | | | metze
* winsif.idl: add definition of winsif_WinsDelDbRecs()Stefan Metzmacher2009-07-311-1/+5
| | | | metze
* winsif.idl: add definition of winsif_WinsBackup()Stefan Metzmacher2009-07-311-1/+4
| | | | metze
* winsif.idl: add definition of winsif_WinsTerm()Stefan Metzmacher2009-07-311-1/+3
| | | | metze
* winsif.idl: add definition of winsif_WinsGetDbRecs()Stefan Metzmacher2009-07-311-1/+13
| | | | metze
* winsif.idl: add definition of winsif_WinsDoScavenging()Stefan Metzmacher2009-07-311-1/+1
| | | | metze
* winsif.idl: add definition of winsif_WinsDoStaticInit()Stefan Metzmacher2009-07-311-1/+4
| | | | metze
* winsif.idl: add definition of winsif_WinsTrigger()Stefan Metzmacher2009-07-311-1/+10
| | | | metze
* winsif.idl: add definition of winsif_WinsStatus()Stefan Metzmacher2009-07-311-1/+76
| | | | metze
* winsif.idl: add definition of WinsRecordAction()Stefan Metzmacher2009-07-311-1/+53
| | | | metze
* winsif.idl: add missing function callsStefan Metzmacher2009-07-311-1/+74
| | | | metze
* s4:librpc: rename wins.idl => winsif.idlStefan Metzmacher2009-07-312-8/+8
| | | | metze
* librpc: rerun "make idl"Stefan Metzmacher2009-07-3132-0/+81119
| | | | metze
* pidl:Samba3/ClientNDR: add support tevent_req based _send/recv() client ↵Stefan Metzmacher2009-07-311-0/+245
| | | | | | functions metze
* pidl:Samba3/ClientNDR: rename ParseFunction => ParseFunctionSync and add ↵Stefan Metzmacher2009-07-311-1/+8
| | | | | | | | ParseFunction as glue This prepares the following ParseFunctionAsync* commits. metze
* pidl:Samba3/ClientNDR: allow passing optional variable prefixes to ↵Stefan Metzmacher2009-07-311-7/+9
| | | | | | ParseOutputArgument() metze
* pidl/Samba4.pm: allow an optional prefix passed to DeclLong()Stefan Metzmacher2009-07-311-3/+4
| | | | metze
* s3:rpc_client: add dispatch_send/recv() to struct rpc_pipe_clientStefan Metzmacher2009-07-312-0/+19
| | | | metze
* Increase the max_grp value to 128 (AIX NGROUPS_MAX value) instead of 32 to ↵Yannick Bergeron2009-07-311-1/+1
| | | | allow AIX to call sys_getgrouplist only once
* pidl:Samba4/Python: fix mapType() => mapTypeName()Stefan Metzmacher2009-07-311-1/+1
| | | | | | | | | | | | This tries to fix commit 8eff9f9a3167eb0c2a4c00edf5a4cdbbc06c4dfd. The problem was: Undefined subroutine &Parse::Pidl::Samba4::Python::mapType called at /home/metze/master4/pidl/lib/Parse/Pidl/Samba4/Python.pm line 848. Jelmer: please check this. metze
* Tidy up treatment of ctime.Jeremy Allison2009-07-302-5/+9
| | | | Jeremy.
* Fix bug #6529 - Offline files conflict with Vista and Office 2003.Jeremy Allison2009-07-301-0/+16
| | | | | | We need to send a notify message when a timestamp is changed that can't be reflected in the underlying POSIX filesystem. Jeremy.
* Remove the extraneous logic in smb_set_info_standard - weJeremy Allison2009-07-302-26/+9
| | | | | do the time twiddling logic at the smb_set_file_time level. Jeremy.
* SMB_INFO_STANDARD is not a valid info level on set,Jeremy Allison2009-07-301-42/+0
| | | | | and was being read incorrectly anyway. Remove. Jeremy.
* realloc() has that horrible overloaded free semantic when size is 0:Rusty Russell2009-07-301-2/+7
| | | | current code does a free of the old record in this case, then fail.
* If the record is at the end of the database, pretending it has length 1Rusty Russell2009-07-301-4/+1
| | | | might take us out-of-bounds. Only pretend to be length 1 for the malloc.
* python: Cope with the dom_sid2 alias in pidl's python generating code.Jelmer Vernooij2009-07-302-4/+8
| | | | | This fixes some problems in the samr Python bindings that pidl was (correctly) warning about.
* DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal.Jelmer Vernooij2009-07-306-20/+21
| | | | | Use py_talloc_reference in DCE/RPC code, fixes access to SAMR pipe.
* Remove RFC's from the release tarballs to make the lives of the DebianJelmer Vernooij2009-07-301-0/+3
| | | | maintainers of Samba4 a bit easier.
* s3 po: Regenerate msg files.Kai Blin2009-07-308-16/+11056
|