summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-09-26s3:smb2_create: don't take 'state->te' as indication for "was_deferred" (bug ↵Stefan Metzmacher1-1/+4
#9196) We always set state->te = NULL of TALLOC_FREE(state->te), before calling smbd_smb2_request_dispatch(), so open_was_deferred_smb2() always returned false, while dispatching it again. But it's remove_deferred_open_message_smb2_internal() which should reset this state. In developer mode validate_my_share_entries() did call smb_panic() before. metze
2012-09-26samba_dnsupdate: Safely update/create names for Samba3 targets as wellAndrew Bartlett2-8/+21
This avoids unlocked writes to the dns_hosts_file, and may fix some of our issues on the build farm where large numbers of tests fail due to failed name resolution. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Sep 26 05:48:25 CEST 2012 on sn-devel-104
2012-09-26samba_dnsupdate: Move to using tmpfile/rename to keep the dns_hosts_file ↵Andrew Bartlett2-4/+11
consistent This may be the cause of some of the large failure modes on the build farm. Andrew Bartlett
2012-09-26selftest: Remove invalid security=share and rename secshare to simpleserverAndrew Bartlett2-10/+9
This avoids the loadparm code failing due to the invalid smb.conf entry, and removes the very last hint of security=share! Andrew Bartlett
2012-09-26Fix bug #9213 - Bad ASN.1 NegTokenInit packet can cause invalid free.Jeremy Allison1-0/+4
Not the correct fix for the specific issue, but a general fix to make sure this can never happen again. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Sep 26 04:07:57 CEST 2012 on sn-devel-104
2012-09-26lib/util/charset: We do not use fucntions from wchar.h any moreAndrew Bartlett3-9/+1
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Sep 26 02:13:10 CEST 2012 on sn-devel-104
2012-09-26lib/util/charset: Try to find iconv on HP-UXAndrew Bartlett1-0/+3
2012-09-26wscript: Removed executable bit.Ricky Nance2-0/+0
Removed the executable for both wscript and wscript_build.
2012-09-26s3: Factor out calculate_open_access_flagsVolker Lendecke1-15/+31
Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Sep 26 00:22:56 CEST 2012 on sn-devel-104
2012-09-25s3: Slightly simplify smbd_smb2_request_process_negprotVolker Lendecke1-5/+3
Remove a nested if-statement
2012-09-25s3: Fix some blank line endingsVolker Lendecke1-6/+6
2012-09-25s3: Fix a typoVolker Lendecke1-1/+1
2012-09-25pysmbd: Fix cut&paste errorsVolker Lendecke1-2/+3
2012-09-25pyntdb: Fix init function for ntdb python module.Pierre Lejeune1-2/+2
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Tue Sep 25 22:40:39 CEST 2012 on sn-devel-104
2012-09-25s4-python: Override SIGINT handler in scripts only.Jelmer Vernooij5-8/+26
Override the SIGINT handler in a few select cases only, rather than doing so in one of the samba Python modules. I've done this where it matters most; we can add this code to other scripts too if necessary. This means that importing the 'samba' module from a third party application does not have side-effects on the state of the signal handlers. Bug: https://bugzilla.samba.org/show_bug.cgi?id=9068
2012-09-25s3: Slightly simplify is_stat_openVolker Lendecke1-3/+2
The "access_bits" clause is redundant. is_stat_open says that exactly at least one of the stat_open_bits must be set and none else. Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Sep 25 20:05:06 CEST 2012 on sn-devel-104
2012-09-25s3: Make is_stat_open() a bit more readableVolker Lendecke1-4/+7
2012-09-25lib: Make async_sock includable on its ownVolker Lendecke1-0/+1
Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Sep 25 18:03:46 CEST 2012 on sn-devel-104
2012-09-25s4-torture: Fix some nonemtpy blank linesVolker Lendecke1-12/+12
2012-09-25s3: Fix indentation of if-expressionsVolker Lendecke1-2/+3
To me this makes open_file_ntcreate a little easier to understand Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Sep 25 10:08:15 CEST 2012 on sn-devel-104
2012-09-25docs: Change TOSHARG-VFS to avoid suggesting VFS modules are Linux/IRIX onlyAndrew Bartlett1-2/+1
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Sep 25 08:27:15 CEST 2012 on sn-devel-104
2012-09-25docs: Remove mention of auth methods in TOSHARG-PassdbAndrew Bartlett1-12/+0
This is not connected to the passdb system, and we should not encourage setting of auth methods in any case. Andrew Bartlett
2012-09-25docs: Fix typo in TOSHARG-PassdbAndrew Bartlett1-1/+1
2012-09-25docs: Remove Win9X/WinMe mentions from TOSHARG-PDCAndrew Bartlett1-166/+0
2012-09-25docs: Add mention of AD DC support in TOSHARG-PDCAndrew Bartlett1-12/+10
2012-09-25docs: Explain the no-domain-logons restriction applies to all HOME editionsAndrew Bartlett1-8/+8
2012-09-25docs: Remove references to default paramters in TOSHARG-PDCAndrew Bartlett1-129/+53
2012-09-25docs: Update TOSHARG-InstallAndrew Bartlett1-18/+2
- winbindd runs as many processes now - open_oplock_ipc errors do not happen any more, we do not use UDP messaging any more. Andrew Bartlett
2012-09-25client: Fix talloc_stackframe() free order assertion in developer modeAndrew Bartlett1-0/+1
Reported-by: Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
2012-09-25replace: Avoid returning value in void setproctitle() replacement.Jelmer Vernooij1-1/+0
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Tue Sep 25 06:38:40 CEST 2012 on sn-devel-104
2012-09-25We now pass "samba3.raw.acls.generic" and "samba3.smb2.acls.GENERIC" with ↵Jeremy Allison1-3/+0
the max access change. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 25 04:57:44 CEST 2012 on sn-devel-104
2012-09-25Fix bug #9189 - SMB2 Create doesn't return correct MAX ACCESS access mask in ↵Jeremy Allison1-0/+7
blob. If we aren't already granted DELETE access, check if we have DELETE_CHILD in the containing directory.
2012-09-25s4:rpc_server/drsuapi: use talloc_zero instead of talloc() in ↵Stefan Metzmacher1-1/+1
dcesrv_drsuapi_DsBind() metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Sep 25 03:06:13 CEST 2012 on sn-devel-104
2012-09-25s4:rpc_server/drsuapi: fix a crash in ↵Stefan Metzmacher1-6/+6
dcesrv_drsuapi_DsGetDomainControllerInfo_1() metze
2012-09-25samba-tool domain provision: DNS forwarder is not a boolean.Jelmer Vernooij1-3/+3
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Tue Sep 25 00:48:43 CEST 2012 on sn-devel-104
2012-09-24Remove compatibility code for setproctitle() now moved to libreplace.Jelmer Vernooij2-26/+0
2012-09-24replace: Support setproctitle().Jelmer Vernooij6-15/+21
This uses the setproctitle() from libc, libsetproctitle or libbsd. If none is available it provides a dummy implementation.
2012-09-24samba-tool domain-provision: Avoid python2.5-isms.Jelmer Vernooij1-1/+4
2012-09-24samba-tool domain-provision: Fix docstring.Jelmer Vernooij1-2/+2
2012-09-24script/autobuild.py: set the default for --log-base to the current gitrootStefan Metzmacher1-7/+7
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Sep 24 15:27:16 CEST 2012 on sn-devel-104
2012-09-24build: Fix detection of quotas on macosAndrew Bartlett1-1/+1
This is a weird one. While visually OK, the . in sys/types.h was not made up of the typical ASCII character, so of course did not find types.h! Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Sep 24 12:24:45 CEST 2012 on sn-devel-104
2012-09-24s3-pylibsmb: Use Py_RETURN_NONEVolker Lendecke1-9/+4
Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Mon Sep 24 08:09:53 CEST 2012 on sn-devel-104
2012-09-24torture: More torture_assert() calls in rpc.lsaAndrew Bartlett1-36/+19
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Sep 24 05:27:46 CEST 2012 on sn-devel-104
2012-09-24torture: use torture_assert rather than return false in rpc.lsaAndrew Bartlett1-110/+52
This will help ensure we always generate correct subunit failures. Andrew Bartlett
2012-09-24torture: tidy up rpc.lsa OpenPolicy2 test to more clearly use torture_fail()Andrew Bartlett1-14/+10
2012-09-24build: Add missing dep on tdb_compatAndrew Bartlett1-1/+1
2012-09-24lib/replace: Look for special flags needed for c99Andrew Bartlett1-0/+10
This is normally handled by the waf core, but for HP-UX we currently fail. The autoconf code hard-codes a case for HP-UX, but I want to try testing it using a generic system first. Andrew Bartlett
2012-09-24lib/replace: Improve mkstemp test in autoconf and wafAndrew Bartlett2-4/+34
On the Sernet-solaris8 host, this test passed in the autoconf build, then failed in the recursive waf build. This newer test should probe the behaviour more closely, by checking we get two distinct, secure files. Andrew Bartlett
2012-09-24s3:winbindd fix a compiler warningChristian Ambach1-1/+1
about type potentially being used uninitialized Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Mon Sep 24 03:49:53 CEST 2012 on sn-devel-104
2012-09-23s3:printing only do printing_subsystem_update when printing is enabledChristian Ambach1-1/+4
no point in calling this if printing was disabled and no spoolss service was started this hurts CTDB clusters as the smbds on the cluster nodes will fight for the single record in the TDB This fixes Bug 9197 - Disabling printing still makes smbd create and access printer_list.tdb