1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

83152 Commits

Author SHA1 Message Date
Volker Lendecke
4544c52fc4 s3: For read-only shares, filter out write bits from conn->access_mask
Signed-off-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep 27 02:51:42 CEST 2012 on sn-devel-104
2012-09-27 02:51:41 +02:00
Volker Lendecke
4666dec416 s3: Fix rejecting mkdir on read-only shares
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-09-27 01:07:08 +02:00
Jelmer Vernooij
3bdca921cc smb.conf(5): Add basic documentation for 'rpc bigendian'.
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Wed Sep 26 23:51:34 CEST 2012 on sn-devel-104
2012-09-26 23:51:34 +02:00
Jelmer Vernooij
0dd965492c smb.conf(5): Add basic documentation for 'kpasswd port'. 2012-09-26 22:12:07 +02:00
Jelmer Vernooij
879b3ad081 smb.conf(5): Add basic documentation for 'dgram port'. 2012-09-26 22:12:07 +02:00
Jelmer Vernooij
12ab467f87 smb.conf(5): Add basic documentation for 'unicode'. 2012-09-26 22:12:07 +02:00
Jelmer Vernooij
3ab03ccd84 smb.conf(5): Add basic documentation for 'web port'. 2012-09-26 22:12:07 +02:00
Jelmer Vernooij
c66744a8c9 smb.conf(5): Add basic documentation for 'nbt port'. 2012-09-26 22:12:07 +02:00
Jelmer Vernooij
29a763aa0f smb.conf(5): Add basic documentation for 'krb5 port'. 2012-09-26 22:12:07 +02:00
Jelmer Vernooij
7dd3cdc673 smb.conf(5): 'write ok' is a reverse synonym for 'read only'. 2012-09-26 22:12:07 +02:00
Jelmer Vernooij
6b9960e78a smb.conf(5): Distinguish parametric options. 2012-09-26 22:12:07 +02:00
Jelmer Vernooij
4192960a9e find_missing_doc: Convert to python. 2012-09-26 22:12:07 +02:00
Jelmer Vernooij
f2b2c1028b find_missing_manpages: convert to python 2012-09-26 22:12:07 +02:00
Jelmer Vernooij
104c3df6cf find_missing_manpages: Ignore make variables. 2012-09-26 22:12:07 +02:00
Jelmer Vernooij
90b1a94cb4 netlogon: Per MS-NRPC, don't send unknown workstation flags back to the
client.
2012-09-26 22:12:07 +02:00
Volker Lendecke
5022b3d8c1 s4: Fix a -Wunused-value warning
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Sep 26 21:52:00 CEST 2012 on sn-devel-104
2012-09-26 21:52:00 +02:00
Andreas Schneider
24fc5b46f2 s3-spoolss: Fix builtin forms order to match Windows again.
Thanks to mamachine@gmail.com.

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Sep 26 20:07:44 CEST 2012 on sn-devel-104
2012-09-26 20:07:43 +02:00
Volker Lendecke
36ec31336f s3: Slightly simplify open_file()
The "else" is not necessary. In the if-branch we just returned.

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Sep 26 18:08:03 CEST 2012 on sn-devel-104
2012-09-26 18:08:03 +02:00
Volker Lendecke
be300b0588 Coding: Add comment disproving control-flow changing macros 2012-09-26 16:29:28 +02:00
Volker Lendecke
1fa730deba s3: Slightly simplify calculate_open_access_flags 2012-09-26 16:29:28 +02:00
Volker Lendecke
cc58a19565 s3: Slightly simplify calculate_open_access_flags 2012-09-26 16:29:28 +02:00
Andreas Schneider
50d324b7e0 s3-smbd: Don't segfault if user specified ports out for range.
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Sep 26 16:28:44 CEST 2012 on sn-devel-104
2012-09-26 16:28:44 +02:00
Andrew Bartlett
968da5f890 nsswitch: Add waf tests for solaris special cases
These are in configure.in for autoconf.  Found in the config.h comparison on
the smbtorture4 build.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Sep 26 11:50:10 CEST 2012 on sn-devel-104
2012-09-26 11:50:10 +02:00
Andrew Bartlett
128fb54ab4 build: Remove unused --with-sys-quotas option 2012-09-26 10:11:22 +02:00
Andrew Bartlett
afbc87b8cc build: Set HAVE_SYS_QUOTAS and WITH_QUOTAS if we have any supported sysquota backend 2012-09-26 10:11:22 +02:00
Andrew Bartlett
7ad1971e22 build: Remove unused samba_cv_sysquotas_file variable from autoconf configure 2012-09-26 10:11:22 +02:00
Andrew Bartlett
e1f17eef97 build: Add waf configure support for non-linux quotas 2012-09-26 10:11:22 +02:00
Jelmer Vernooij
11634e6cd7 smb.conf(5): Remove documentation for removed 'lock spin count'
parameter.

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Wed Sep 26 09:41:09 CEST 2012 on sn-devel-104
2012-09-26 09:41:09 +02:00
Jelmer Vernooij
e809abf55f smb.conf(5): Remove 'idmap config' documentation - the parameter has
been removed.
2012-09-26 07:58:31 +02:00
Jelmer Vernooij
30c0c751c2 Remove unused neatquotes script. 2012-09-26 07:58:31 +02:00
Jelmer Vernooij
be564022cb smb.conf.5: Document 'cldap port'. 2012-09-26 07:58:31 +02:00
Jelmer Vernooij
718317ecef undocumented: Drop extension from helper scripts. 2012-09-26 07:58:31 +02:00
Jelmer Vernooij
05ba1fe418 Remove obsolete land-remote.py and land.py scripts. 2012-09-26 07:58:31 +02:00
Jelmer Vernooij
c5e83ee9a5 samba-tool: Hide 'samba-tool domain samba3upgrade'.
This subcommand is provided for backwards compatibility only; new use of
it should be discouraged. Its new name is 'samba-tool domain
classicupgrade'.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=9047
2012-09-26 07:58:31 +02:00
Stefan Metzmacher
98d117a542 selftest/knownfail: samba*.smb2.oplock.stream1 doesn't work
metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Sep 26 07:57:12 CEST 2012 on sn-devel-104
2012-09-26 07:57:12 +02:00
Stefan Metzmacher
7a14f09f9c s4:torture/smb2: remove samba specific stuff from smb2.oplock
metze
2012-09-26 06:16:06 +02:00
Stefan Metzmacher
4604219ceb s3:smb2_create: don't take 'state->te' as indication for "was_deferred" (bug #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-26 06:16:06 +02:00
Andrew Bartlett
3c4d0ce469 samba_dnsupdate: Safely update/create names for Samba3 targets as well
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-26 05:48:25 +02:00
Andrew Bartlett
6d7c651f2f samba_dnsupdate: Move to using tmpfile/rename to keep the dns_hosts_file consistent
This may be the cause of some of the large failure modes on the build farm.

Andrew Bartlett
2012-09-26 04:08:26 +02:00
Andrew Bartlett
b320e7f93b selftest: Remove invalid security=share and rename secshare to simpleserver
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-26 04:08:26 +02:00
Jeremy Allison
83f60672e1 Fix bug #9213 - Bad ASN.1 NegTokenInit packet can cause invalid free.
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-26 04:07:57 +02:00
Andrew Bartlett
3902e7332d lib/util/charset: We do not use fucntions from wchar.h any more
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-26 02:13:10 +02:00
Andrew Bartlett
1c5c96d7cd lib/util/charset: Try to find iconv on HP-UX 2012-09-26 00:24:20 +02:00
Ricky Nance
6146b609e7 wscript: Removed executable bit.
Removed the executable for both wscript and wscript_build.
2012-09-26 00:24:20 +02:00
Volker Lendecke
7600fd8b0c s3: Factor out calculate_open_access_flags
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-26 00:22:56 +02:00
Volker Lendecke
e0de443af8 s3: Slightly simplify smbd_smb2_request_process_negprot
Remove a nested if-statement
2012-09-25 22:41:51 +02:00
Volker Lendecke
1b403d46c7 s3: Fix some blank line endings 2012-09-25 22:41:51 +02:00
Volker Lendecke
11af163df8 s3: Fix a typo 2012-09-25 22:41:51 +02:00
Volker Lendecke
0feb341502 pysmbd: Fix cut&paste errors 2012-09-25 22:41:51 +02:00
Pierre Lejeune
809004689a pyntdb: Fix init function for ntdb python module.
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-25 22:40:39 +02:00