summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-notify: Simplify if-expressionsVolker Lendecke2012-03-161-16/+13
|
* s3-dbwrap: Move "lock_order" initialization to db_open_xxVolker Lendecke2012-03-164-6/+8
|
* Make reinit_after_fork_pipe_handler code with reads being interrupted by a ↵Jeremy Allison2012-03-151-1/+1
| | | | | | | signal. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 15 23:29:47 CET 2012 on sn-devel-104
* s3:smbd: call file_close_user() before removing tree connects in ↵Stefan Metzmacher2012-03-152-0/+6
| | | | | | | | | | | | conn_close_all() This will help later if we have to handle a SMB2TreeDisconnect different compared to a SMB2SessionLogoff and a TCPDisconnect. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 15 21:56:09 CET 2012 on sn-devel-104
* s3:selftest: reactivate the writetimeupdatedelay speed-upMichael Adam2012-03-151-1/+2
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:smbd: let smbd/nmbd/winbindd child processes terminate if the parent ↵Michael Adam2012-03-155-0/+92
| | | | | | | | | | | process died. This applies to all child processes making use of reinit_after_fork(). It is implemented by establishing a pipe between parent and child. The child watches for EOF on the read end of the pipe, indidcating an exited parent. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3: Use talloc_tos() in notify_send()Volker Lendecke2012-03-151-6/+2
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 15 12:43:41 CET 2012 on sn-devel-104
* s3: Fix lock ordering in notify_addVolker Lendecke2012-03-151-13/+15
| | | | | | | It's not necessary to keep the global notify record locked during the inotify and notify_onelevel.tdb operations. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: properly free the notify_onelevel recordVolker Lendecke2012-03-151-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Replace some callers of cluster_id_equalVolker Lendecke2012-03-151-4/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Remove the separate server_id arg to notify_initVolker Lendecke2012-03-153-4/+3
| | | | | | The server_id is tied to the messaging_context Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Fix blank line endingsVolker Lendecke2012-03-151-13/+13
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 15 10:59:46 CET 2012 on sn-devel-104
* s3: Update waf build to include missed dependancy on Lion.Ira Cooper2012-03-151-1/+1
| | | | | Autobuild-User: Ira Cooper <ira@samba.org> Autobuild-Date: Thu Mar 15 07:34:43 CET 2012 on sn-devel-104
* util: Add --disable-fault-handling.Ira Cooper2012-03-151-0/+7
| | | | | | On some platforms you can not debug coredumps after the default signal handler gets done dumping core. This allows waf to have an option to disable our default signal handler.
* build: Do not build with utmp when we do not have utmp.hAndrew Bartlett2012-03-151-1/+4
| | | | | | | | | This matches the autoconf build, and should partially address bug #8709. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Mar 15 01:12:15 CET 2012 on sn-devel-104
* build: param must require cups to get the cups headers path in -IAndrew Bartlett2012-03-151-1/+1
|
* s3-krb5: Remove GSS_WRAP_IOV conditionalAndrew Bartlett2012-03-154-5/+5
| | | | | | | We already confirm that we have this functionality before we set HAVE_KRB5 at configure time. Andrew Bartlett
* selftest: test wbinfo --authenticate and --krb5authAndrew Bartlett2012-03-151-0/+5
|
* build: Ensure that we clean build objects from auth/ as wellAndrew Bartlett2012-03-151-1/+1
|
* s3:selftest: add support for 'make test FAIL_IMMEDIATELY=1'Stefan Metzmacher2012-03-141-0/+4
| | | | | | | This is what autobuild uses in order to let the build abort on the first failure. metze
* s3-spoolss: Check return type of update_dsspooler().Andreas Schneider2012-03-141-12/+18
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Mar 14 19:38:45 CET 2012 on sn-devel-104
* s3-spoolss: Check return codes in update_dsspooler.Andreas Schneider2012-03-141-40/+170
|
* s3-printing: Check for browseable too.Andreas Schneider2012-03-141-1/+6
|
* s3-printing: Make printer a const char *.Andreas Schneider2012-03-142-3/+9
|
* s3-rpc_client: Add debug message for printer dataex errors.Andreas Schneider2012-03-141-0/+4
|
* s3-rpc_server: Increase debug level for policy handle.Andreas Schneider2012-03-141-5/+5
|
* samba3util: Add ccan to dependency list now that str_checksum() uses a ccan ↵Jelmer Vernooij2012-03-141-1/+1
| | | | | | | function. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Mar 14 17:55:51 CET 2012 on sn-devel-104
* s3:smb2_server: fix a compiler warningChristian Ambach2012-03-141-2/+2
| | | | | Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Wed Mar 14 16:06:48 CET 2012 on sn-devel-104
* s3:smbd: also create ncalrpc/np directory before forking rpc daemonsStefan Metzmacher2012-03-141-0/+13
| | | | | | | | | | After the fixes to directory_create_or_exist(), this should not be needed anymore, but lets try to make autobuild reliable first. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 14 13:44:41 CET 2012 on sn-devel-104
* autoconf: make autoconf build work on OS X 10.6Matthieu Patou2012-03-141-2/+2
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Mar 14 08:31:19 CET 2012 on sn-devel-104
* lib/crypto: Detect CommonCrypto and use it if availableMatthieu Patou2012-03-142-1/+8
| | | | | | | | | | CommonCrypto/CommonDigest is available on Mac and there is function in the libc for MD5 calculation. MD5Final is a C define of CC_MD5_Final. Under some circumstance we have the symbol defined twice in samba binaries on Snow Leopard at least. By detecting CommonCrypto/CommonDigest we end up always using the system version if available.
* Second part of fix for bug #7933 - samba fails to honor SEC_STD_WRITE_OWNER ↵Jeremy Allison2012-03-131-4/+6
| | | | | | | | | | | | bit with the acl_xattr module. Error found by Andrew Bartlett <abartlet@samba.org> and Ricky Nance <ricky.nance@weaubleau.k12.mo.us>. Don't use a pointer when you really mean a bool flag. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 13 21:56:15 CET 2012 on sn-devel-104
* Fix bug #8807 - dcerpc_lsa_lookup_sids_noalloc() crashes when groups has ↵Christian Ambach2012-03-131-3/+7
| | | | | | | | more than 1000 groups Use correct talloc heirarchy. Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-spoolss: Consistently fail OpenPrinterEx with "" printernameAndrew Bartlett2012-03-131-0/+4
| | | | | | | | | | | | samba3.rpc.spoolss.printserver has become a flakey test recently, and this papers over the real problem. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Mar 13 17:51:00 CET 2012 on sn-devel-104
* s3-rpc: Decrypt with the proper session key in CreateTrustedDomainEx2.Alexander Bokovoy2012-03-135-79/+120
| | | | | | | | | | | | | | | | On LSA and SAMR pipes session_key is truncated to 16 byte when doing encryption/decryption. However, this was not done for trusted domain-related modifying operations. As result, Samba 4 client libraries do not work against Samba 3 while working against Windows 2008 r2. Solved this by introducing "session_extract_session_key()" function that allows to specify intent of use of the key. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Mar 13 12:23:44 CET 2012 on sn-devel-104
* s3:torture: fix segfault in LOCAL-TALLOC-DICTStefan Metzmacher2012-03-131-1/+3
| | | | | | talloc_dict_set() expects a pointer to an talloc'ed pointer. metze
* s3:torture: talloc_dict_traverse() returns the number of entriesStefan Metzmacher2012-03-131-2/+7
| | | | metze
* s3: Improve statvfs supportBrad Smith2012-03-112-9/+14
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sun Mar 11 14:18:04 CET 2012 on sn-devel-104
* tdb_wrap: Move to specific directory.Jelmer Vernooij2012-03-107-7/+7
| | | | | | | | | | It's a bit confusing to mix low-level and high-level libraries. We had multiple libraries in one directory, and there were have circular dependencies with other libraries outside that directory (in this case, samba-hostconfig). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 10 23:13:01 CET 2012 on sn-devel-104
* selftest: fix running additional smbclient test for non-spnego session setupAndrew Bartlett2012-03-101-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Mar 10 20:46:05 CET 2012 on sn-devel-104
* s3: fix build on AIXBjörn Jacke2012-03-101-1/+2
| | | | | Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Sat Mar 10 19:07:20 CET 2012 on sn-devel-104
* s3: Add smb_request_doneVolker Lendecke2012-03-104-60/+103
| | | | | | | | | | | This is used to enable async chained command sequences. A synchronous reply_xxx command does not need to take are anymore about and_x chaining. The async commands (pipe r/w at this moment) must do so however. When finished, they must inform the main chain engine that they are finished with a smb_request_done call. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 10 17:14:05 CET 2012 on sn-devel-104
* s3: Remove unused smb_request->doneVolker Lendecke2012-03-102-8/+0
|
* s3: Remove unused smb_request->chain_outbufVolker Lendecke2012-03-102-6/+0
|
* s3: Remove "req_wct_ofs()"Volker Lendecke2012-03-104-22/+2
| | | | This is fixed up in construct_reply_chain
* s3: Fix the read&x offset within a chainVolker Lendecke2012-03-101-0/+32
|
* s3: Remove chain_replyVolker Lendecke2012-03-106-289/+0
| | | | <insert your favourite tombstone ascii art here>
* s3: Replace chain_replyVolker Lendecke2012-03-102-3/+143
| | | | | | | | | | | This is a new implementation of our andx handling code. The old code was quite involved in that it was called from within the reply_ handlers. This leads to pretty complex faking of smb_request structures to give them the same environment, independent of whether they are called directly or from within chain_reply. chain_reply needs to go because it blocks really async handling of chained requests.
* s3: Add a new set of andx chain handling routinesVolker Lendecke2012-03-107-2/+599
| | | | This is in preparation of getting rid of chain_reply.
* s3: Make sure the andX chains are ended correctlyVolker Lendecke2012-03-105-0/+33
| | | | Normally chain_reply took care of this. This will go away soon.