1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

545 Commits

Author SHA1 Message Date
Andrew Bartlett
9db04c481d s3-smbd: Remove support for protocols before LANMAN1
This falls out of the removal of security=share, because we now require that
a session setup has been performed before (essentially) all other operations.

Andrew Bartlett
2012-06-05 04:27:36 +02:00
Andrew Bartlett
27fb14bfbe s3-loadparm: Swap synonyms of max/min protocol to server max/min protocol
This matches the lib/param code, as is a seperate parameter for the
client there.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed May 30 06:04:41 CEST 2012 on sn-devel-104
2012-05-30 06:04:41 +02:00
Jeremy Allison
e0b924b6d5 Note that "keepalive" only applies to SMB1 connections.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri May 18 02:59:34 CEST 2012 on sn-devel-104
2012-05-18 02:59:34 +02:00
Stefan Metzmacher
0239f680a7 docs-xml: remove documentation of "SECURITY = SERVER"
metze
2012-05-15 08:18:28 +02:00
Karolin Seeger
70feedbfe3 s3-loadparm: Add synonym "private directory".
Karolin

Autobuild-User: Karolin Seeger <kseeger@samba.org>
Autobuild-Date: Fri May 11 13:04:03 CEST 2012 on sn-devel-104
2012-05-11 13:04:03 +02:00
Karolin Seeger
4cc04a2924 s3-docs: Fix bug #7930.
Add hint that setting "profile acls = yes" on normal shares can cause trouble.

Karolin

Autobuild-User: Karolin Seeger <kseeger@samba.org>
Autobuild-Date: Tue May  8 18:47:59 CEST 2012 on sn-devel-104
2012-05-08 18:47:59 +02:00
Karolin Seeger
e42e87d544 s3-docs: Fix several typos.
Part of a fix for bug #7938. Based on a patch provided by John Bradshaw
<john@johnbradshaw.org>.

Karolin

Autobuild-User: Karolin Seeger <kseeger@samba.org>
Autobuild-Date: Tue May  8 13:56:32 CEST 2012 on sn-devel-104
2012-05-08 13:56:32 +02:00
Karolin Seeger
d8acdd020a s3-docs: overrided -> overridden
Fix typo. Part of a fix for bug #7938. Based on a patch provided by John
Bradshaw <john@johnbradshaw.org>.
2012-05-08 12:03:24 +02:00
Christian Ambach
a7df061ddf docs:autorid document ignore builtin parameter 2012-05-08 09:26:07 +02:00
Christian Ambach
da97234783 docs:autorid document read-only parameter 2012-05-08 09:26:07 +02:00
Christian Ambach
6bda0f6f88 docs:autorid document how well-known SIDs will be mapped
they consume space of the allocation pool and a list of most known well-known SIDs is
preallocated to create a deterministic mapping
2012-05-08 09:26:07 +02:00
Jeremy Allison
010f2b89e2 Add docs for aio_linux vfs module.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Apr 18 07:20:19 CEST 2012 on sn-devel-104
2012-04-18 07:20:19 +02:00
Christof Schmitt
92c5e80f46 docs👨vfs_gpfs: Remove itemized list to fix indentation
The indentation in the man page is wrong after the itemized list. An
easy fix is to put the text in the paragraph instead.

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Mon Apr 16 23:00:37 CEST 2012 on sn-devel-104
2012-04-16 23:00:37 +02:00
Christian Ambach
d642afa7f1 s3: switch off kernel oplocks by default
as discussed on samba-technical, turn kernel oplocks off by default
to not leave users without the benefits of Level II oplocks
2012-04-16 21:28:36 +02:00
Michael Adam
e109cc5412 docs: add a vfs_tsmsm manpage
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sat Apr 14 01:54:13 CEST 2012 on sn-devel-104
2012-04-14 01:54:13 +02:00
Christian Ambach
639a775866 docs: update kernel oplocks documentation
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-04-11 11:11:39 -07:00
Björn Baumbach
189b3d9b24 docs-xml: fix default name resolve order (fix bug #7564)
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Fri Apr  6 09:54:37 CEST 2012 on sn-devel-104
2012-04-06 09:54:37 +02:00
Björn Baumbach
35c11621c9 docs: add reload-printers command to smbcontrol manual page 2012-04-06 08:19:13 +02:00
Andrew Bartlett
19eee33d82 s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configure
If this is ever needed again, it would be more appropriate as an options argument
to removexattr.

Andrew Bartlett
2012-04-05 13:39:01 +10:00
Andrew Bartlett
c70ac29c54 s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configure
If this is ever needed again, it would be more appropriate as an options argument
to listxattr.

Andrew Bartlett
2012-04-05 13:39:00 +10:00
Andrew Bartlett
c5b17c5555 s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configure
If this is ever needed again, it would be more appropriate as an options argument
to listxattr.

Andrew Bartlett
2012-04-05 13:39:00 +10:00
Andrew Bartlett
b2f7cfa848 s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configure 2012-04-05 13:39:00 +10:00
Jeremy Allison
efd94d1598 Fix bug #8831 - Inconsistent (with manpage) command-line switch for "help" in smbtree
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Mar 30 22:59:53 CEST 2012 on sn-devel-104
2012-03-30 22:59:53 +02:00
SATOH Fumiyasu
6804e46811 s3-docs: Prepend '/' to filename argument (Bug #8826) 2012-03-26 12:59:21 +02:00
Christof Schmitt
0a896094c6 s3:vfs_gpfs: Implement fallocate callback for GPFS
GPFS provides the gpfs_prealloc call. Implement the fallocate
callback with mode VFS_FALLOCATE_EXTEND_SIZE using this call.
There is no support for VFS_FALLOCATE_KEEP_SIZE, so report
this mode as not available.
2012-03-22 18:41:22 +01:00
Christof Schmitt
62616784ae s3:vfs_gpfs: Report disk space and usage on GPFS share according to quotas
When a client requests the information about free space and space used,
adjust the reported values according to quotas in the GPFS file system:

- Retrieve quotas for the current user, current group and fileset for
  the top level of the share.
- If the soft block quota grace time has expired, report disk as full.
- If a hard block quota has been exceeded, report disk as full.
- If none of the hard block quotas been exceeded, report
  share size and free space according to the lowest limits found in
  the quotas.
- If no applicable hard block quota has been set, report the
  information from the statfs call.

This feature is disabled by default and has to be enabled by setting the
option gpfs:dfreequota.
2012-03-22 18:41:22 +01:00
Michael Adam
4882a4cd68 docs👨vfs_gpfs: fix formatting of values for gpfs:syncio
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Mar 22 01:56:08 CET 2012 on sn-devel-104
2012-03-22 01:56:08 +01:00
Michael Adam
475f0d1512 docs👨vfs_gpfs: Fix documented values for gpfs:hsm 2012-03-22 00:21:56 +01:00
Jeremy Allison
9788d6a348 Change default protocol to SMB2_02.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Mar  7 22:41:21 CET 2012 on sn-devel-104
2012-03-07 22:41:21 +01:00
Andrew Bartlett
d7bb961859 s3-auth: Remove security=share (depricated since 3.6).
This patch removes security=share, which Samba implemented by matching
the per-share password provided by the client in the Tree Connect with
a selection of usernames supplied by the client, the smb.conf or
guessed from the environment.

The rationale for the removal is that for the bulk of security=share
users, we just we need a very simple way to run a 'trust the network'
Samba server, where users mark shares as guest ok.  This is still
supported, and the smb.conf options are documented at
https://wiki.samba.org/index.php/Public_Samba_Server

At the same time, this closes the door on one of the most arcane areas
of Samba authentication.

Naturally, full user-name/password authentication remain available in
security=user and above.

This includes documentation updates for username and only user, which
now only do a small amount of what they used to do.

Andrew Bartlett

                       --------------
                      /              \
                     /      REST      \
                    /        IN        \
                   /       PEACE        \
                  /                      \
                  |      SEC_SHARE       |
                  |    security=share    |
                  |                      |
                  |                      |
                  |       5 March        |
                  |                      |
                  |        2012          |
                 *|     *  *  *          | *
        _________)/\\_//(\/(/\)/\//\/\///|_)_______
2012-03-04 23:33:05 +01:00
Jelmer Vernooij
cc17ddeca1 samba.7: Remove references to long gone testprns and smbsh utilities.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Mar  4 01:56:19 CET 2012 on sn-devel-104
2012-03-04 01:56:19 +01:00
Stefan Metzmacher
024737698e docs-xml: remove docs for "send spnego principal"
metze
2012-02-16 15:18:44 +01:00
Andrew Bartlett
4328f3ccf3 smbwrapper: Remove smbwrapper
There are now many better ways to access a remote SMB filesystem,
which do not rely on LD_PRELOAD and the associated dangers.  FUSE,
gvfs and the CIFS VFS are all much better options which do not require
knowing every possible libc entry point that can deal with a file
descriptor.

As an example of the maintainence that would be required to keep this
going, recent changes to deal with thread races and close-on-exec have
resulted in dup3(), but this isn't currently mapped.  While this would
not be hard to add, it illistrates why it is better to move to an
interface designed for this task.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Feb  9 01:58:24 CET 2012 on sn-devel-104
2012-02-09 01:58:24 +01:00
Andrew Bartlett
b93326b968 s3-build: remove EXEEXT from Makefiles
As far as I am aware, we do not actually build on any platforms that
require this.  The last Stratos VOS release on
ftp://ftp.stratus.com/vos/samba/samba.html was 3.0.5

Andrew Bartlett
2012-02-09 00:27:08 +01:00
Andrew Bartlett
2c04520f32 s3-docs: Remove references to long-gone smbmount utilities 2012-02-08 17:34:53 +11:00
Jeremy Allison
12609c1192 Update man page to fix typo vfs_aio_fork -> vfs_aio_pthread, add
aio read size, aio write size examples.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Jan 26 03:51:01 CET 2012 on sn-devel-104
2012-01-26 03:51:01 +01:00
Jeremy Allison
d8c699190d Add man page for vfs_aio_pthread module. 2012-01-25 15:36:03 -08:00
David Disseldorp
97818fd6e5 s3-rpcclient: add deldriverex flags argument
The spoolss DeletePrinterDriverEx command offers three flags for
controlling how associated files and other versions of the driver are
effected: DPD_DELETE_UNUSED_FILES (1), DPD_DELETE_SPECIFIC_VERSION (2)
and DPD_DELETE_ALL_FILES (4).

This commit adds an optional numeric flags argument to the rpcclient
deldriverex command.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>

Autobuild-User: David Disseldorp <ddiss@samba.org>
Autobuild-Date: Wed Jan 11 14:39:35 CET 2012 on sn-devel-104
2012-01-11 14:39:35 +01:00
Ira Cooper
eff69aa0f9 Add "repack" command to tdbtool.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jan  7 02:18:41 CET 2012 on sn-devel-104
2012-01-07 02:18:40 +01:00
Stefan Metzmacher
92280def16 s3:smbcontrol: remove unused "samsync" and "samrepl" commands
metze
2011-12-13 12:36:36 +01:00
Björn Jacke
f452add223 s3/doc: document the ignore system acls option of vfs_acl_xattr and vfs_acl_tdb
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Sat Dec 10 15:30:46 CET 2011 on sn-devel-104
2011-12-10 15:30:46 +01:00
Jeremy Allison
30d4484bf9 Add the "backup" toggle command to smbclient. In order for this to be
really useful we need to change to using NTCreateX opens by default in
cli_open() and fall back to old OpenX calls instead of doing it the
other way around.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Dec  2 00:23:13 CET 2011 on sn-devel-104
2011-12-02 00:23:13 +01:00
Andrew Bartlett
afcd3c625d docs: Add documentation for server role 2011-11-17 00:34:09 +01:00
Andreas Schneider
c49fc5264b docs: Make clear to use the workgroup name not the realm.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Nov  9 21:17:09 CET 2011 on sn-devel-104
2011-11-09 21:17:09 +01:00
Christian Ambach
9cf97175c7 s3:docs fix a series of typos in wbinfo manpage
s/choide/choice/

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Fri Nov  4 19:38:53 CET 2011 on sn-devel-104
2011-11-04 19:38:53 +01:00
Christian Ambach
2341422012 s3:docs: some corrections for wbinfo
Parameters for --sid-aliases and --sid-to-fullname were not listed
properly in the SYNOPSIS section
2011-11-04 18:03:11 +01:00
Günther Deschner
6d84a6936a s3-docs: Remove -Y option from winbind manpage.
This option no longer exists.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct 24 20:59:22 CEST 2011 on sn-devel-104
2011-10-24 20:59:22 +02:00
Jeremy Allison
6bd49ea4ae Deprecate "acl check permissions".
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Oct 21 21:51:18 CEST 2011 on sn-devel-104
2011-10-21 21:51:18 +02:00
Christian Ambach
aa1fd27317 s3:idmap_autorid: document allocation pool
document the need that excessive use of local users/group might
require increasing the rangesize

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Fri Oct 21 18:04:50 CEST 2011 on sn-devel-104
2011-10-21 18:04:50 +02:00
Günther Deschner
e1d2b47693 s3-docs: Add a clarification note for nss_info primary group membership calculation.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Oct 19 03:10:40 CEST 2011 on sn-devel-104
2011-10-19 03:10:40 +02:00