summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3: Remove "conn" from sys_notify_contextVolker Lendecke2012-03-213-3/+1
|
* s3: Pass "conn" to sys_notify_watch()Volker Lendecke2012-03-213-2/+5
|
* s3: Pass "conn" to notify_add()Volker Lendecke2012-03-213-3/+6
|
* s3: Pass "path" through vfs_notify_watchVolker Lendecke2012-03-2111-14/+28
|
* libndr: Rename policy_handle_empty to ndr_policy_handle_empty.Jelmer Vernooij2012-03-201-2/+2
| | | This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* libndr: Rename policy_handle_equal to ndr_policy_handle_equal.Jelmer Vernooij2012-03-201-3/+3
| | | This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ↵Jelmer Vernooij2012-03-204-10/+10
| | | | | ndr_ prefix. This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* s3-winbindd Only use SamLogonEx when we can get unencrypted session keysAndrew Bartlett2012-03-191-2/+2
| | | | | | | | | | | | | | | | | This ensures that we have some check on the session keys being returned as the RC4 cipher is not checksumed. The check comes from the fact that the credentials chain is tied to the session key, and so if the credentials check passes then the netlogon session key will be correct, and so the user session key will be correctly decrypted. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Mar 19 21:31:46 CET 2012 on sn-devel-104
* s3:gse: fix debug message in gse_get_server_auth_token()Stefan Metzmacher2012-03-171-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Mar 17 03:21:06 CET 2012 on sn-devel-104
* Fix second part of bug #8811 - sd_has_inheritable_components segfaults on an ↵Jeremy Allison2012-03-171-5/+20
| | | | | | | | | SD that se_access_check accepts. This fixes a coredump with a NULL DACL in add_directory_inheritable_components(). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Mar 17 01:05:57 CET 2012 on sn-devel-104
* build: Do not use --export-dynamic flag on OpenBSD 5.xAmitay Isaacs2012-03-161-1/+2
| | | | | | | | With --export-dynamic flag on OpenBSD 5.x, extra symbols get added in the data segment which causes ABI generation script to fail. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Mar 16 16:04:31 CET 2012 on sn-devel-104
* s3-notify: Lift "/." handling up one levelVolker Lendecke2012-03-162-15/+9
| | | | | | | This slightly simplifies the code Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 16 14:28:44 CET 2012 on sn-devel-104
* 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