summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-07-31s4:libcli/ldap: the tls code steals the original socket on its own nowStefan Metzmacher1-3/+0
metze
2009-07-31s4:ldap_server: the tls code steals the original socket on its own nowStefan Metzmacher2-2/+2
metze
2009-07-31s4:tls: avoid using talloc_reference() in tls_init_client()Stefan Metzmacher1-6/+2
metze
2009-07-31s4:tls: avoid using talloc_reference() in tls_init_server()Stefan Metzmacher1-8/+1
metze
2009-07-31s4:libnet: use talloc_strdup() instead of talloc_reference()Stefan Metzmacher2-2/+2
metze
2009-07-31s4:build: make sure that we regenerate proto headers when source files changeStefan Metzmacher1-0/+2
metze
2009-07-31librpc/ndr_drsuapi: fix a memory leak on ndr_push_drsuapi_DsReplicaOID()Stefan Metzmacher1-0/+1
metze
2009-07-31util/asn1: fix potential memory leak in asn1_write_OID()Stefan Metzmacher1-0/+1
metze
2009-07-31s4:auth: make sure we have elements returned at all in ↵Stefan Metzmacher1-0/+6
authsam_expand_nested_groups() metze
2009-07-31s4: Patch to implement nested group and privilegesMatthias Dieter Wallnöfer1-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".
2009-07-31tdb: don't alter tdb->flags in tdb_reopen_all()Rusty Russell1-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>
2009-07-31tdb: Reimplementation of Metze's "lib/tdb: if we know pwrite and pread are ↵Rusty Russell1-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>
2009-07-31tdb: Revert "lib/tdb: if we know pwrite and pread are thread/fork safe ↵Rusty Russell1-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>
2009-07-31.gitignore: ignore more generated filesStefan Metzmacher1-0/+5
metze
2009-07-31winsif.idl: add definition of winsif_WinsDoScanvengingNew()Stefan Metzmacher1-1/+14
metze
2009-07-31winsif.idl: add definition of winsif_WinsStatusWHdl()Stefan Metzmacher1-1/+5
metze
2009-07-31winsif.idl: add definition of winsif_WinsStatusNew()Stefan Metzmacher1-1/+17
metze
2009-07-31winsif.idl: add definition of winsif_WinsGetDbRecsByName()Stefan Metzmacher1-2/+9
metze
2009-07-31winsif.idl: add definition of winsif_WinsGetBrowserNames()Stefan Metzmacher1-1/+10
metze
2009-07-31winsif.idl: add definition of winsif_WinsSetFlags()Stefan Metzmacher1-1/+3
metze
2009-07-31winsif.idl: add definition of winsif_WinsDeleteWins()Stefan Metzmacher1-1/+3
metze
2009-07-31winsif.idl: add definition of winsif_WinsGetBrowserNames_Old()Stefan Metzmacher1-1/+13
metze
2009-07-31winsif.idl: add definition of winsif_WinsGetNameAndAdd()Stefan Metzmacher1-1/+9
metze
2009-07-31winsif.idl: add definition of winsif_WinsWorkerThreadUpdate()Stefan Metzmacher1-1/+3
metze
2009-07-31winsif.idl: add definition of winsif_WinsResetCounters()Stefan Metzmacher1-1/+1
metze
2009-07-31winsif.idl: add definition of winsif_WinsSetPriorityClass()Stefan Metzmacher1-1/+3
metze
2009-07-31winsif.idl: add definition of winsif_WinsPullRange()Stefan Metzmacher1-1/+6
metze
2009-07-31winsif.idl: add definition of winsif_WinsDelDbRecs()Stefan Metzmacher1-1/+5
metze
2009-07-31winsif.idl: add definition of winsif_WinsBackup()Stefan Metzmacher1-1/+4
metze
2009-07-31winsif.idl: add definition of winsif_WinsTerm()Stefan Metzmacher1-1/+3
metze
2009-07-31winsif.idl: add definition of winsif_WinsGetDbRecs()Stefan Metzmacher1-1/+13
metze
2009-07-31winsif.idl: add definition of winsif_WinsDoScavenging()Stefan Metzmacher1-1/+1
metze
2009-07-31winsif.idl: add definition of winsif_WinsDoStaticInit()Stefan Metzmacher1-1/+4
metze
2009-07-31winsif.idl: add definition of winsif_WinsTrigger()Stefan Metzmacher1-1/+10
metze
2009-07-31winsif.idl: add definition of winsif_WinsStatus()Stefan Metzmacher1-1/+76
metze
2009-07-31winsif.idl: add definition of WinsRecordAction()Stefan Metzmacher1-1/+53
metze
2009-07-31winsif.idl: add missing function callsStefan Metzmacher1-1/+74
metze
2009-07-31s4:librpc: rename wins.idl => winsif.idlStefan Metzmacher2-8/+8
metze
2009-07-31librpc: rerun "make idl"Stefan Metzmacher32-0/+81119
metze
2009-07-31pidl:Samba3/ClientNDR: add support tevent_req based _send/recv() client ↵Stefan Metzmacher1-0/+245
functions metze
2009-07-31pidl:Samba3/ClientNDR: rename ParseFunction => ParseFunctionSync and add ↵Stefan Metzmacher1-1/+8
ParseFunction as glue This prepares the following ParseFunctionAsync* commits. metze
2009-07-31pidl:Samba3/ClientNDR: allow passing optional variable prefixes to ↵Stefan Metzmacher1-7/+9
ParseOutputArgument() metze
2009-07-31pidl/Samba4.pm: allow an optional prefix passed to DeclLong()Stefan Metzmacher1-3/+4
metze
2009-07-31s3:rpc_client: add dispatch_send/recv() to struct rpc_pipe_clientStefan Metzmacher2-0/+19
metze
2009-07-31Increase the max_grp value to 128 (AIX NGROUPS_MAX value) instead of 32 to ↵Yannick Bergeron1-1/+1
allow AIX to call sys_getgrouplist only once
2009-07-31pidl:Samba4/Python: fix mapType() => mapTypeName()Stefan Metzmacher1-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
2009-07-30Tidy up treatment of ctime.Jeremy Allison2-5/+9
Jeremy.
2009-07-30Fix bug #6529 - Offline files conflict with Vista and Office 2003.Jeremy Allison1-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.
2009-07-30Remove the extraneous logic in smb_set_info_standard - weJeremy Allison2-26/+9
do the time twiddling logic at the smb_set_file_time level. Jeremy.
2009-07-30SMB_INFO_STANDARD is not a valid info level on set,Jeremy Allison1-42/+0
and was being read incorrectly anyway. Remove. Jeremy.