s3-auth: Remove security=share (depricated since 3.6).
authorAndrew Bartlett <abartlet@samba.org>
Fri, 3 Feb 2012 07:03:10 +0000 (18:03 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 4 Mar 2012 22:33:05 +0000 (23:33 +0100)
commitd7bb961859a3501aec4d28842bfffb6190d19a73
treee472b543e1e88914fbcf7bf68a3e431ff7314afd
parentacfa107ec64ceb6bf3a28df14585cfb0ccc79f41
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          |
                 *|     *  *  *          | *
        _________)/\\_//(\/(/\)/\//\/\///|_)_______
27 files changed:
docs-xml/manpages-3/smb.conf.5.xml
docs-xml/smbdotconf/security/onlyuser.xml
docs-xml/smbdotconf/security/security.xml
docs-xml/smbdotconf/security/serverrole.xml
docs-xml/smbdotconf/security/username.xml
lib/param/loadparm_server_role.c
lib/param/param_enums.c
libds/common/roles.h
source3/Makefile.in
source3/auth/auth.c
source3/auth/auth_compat.c [deleted file]
source3/auth/proto.h
source3/auth/wscript_build
source3/libnet/libnet_join.c
source3/param/loadparm.c
source3/smbd/globals.h
source3/smbd/negprot.c
source3/smbd/password.c
source3/smbd/process.c
source3/smbd/proto.h
source3/smbd/reply.c
source3/smbd/service.c
source3/smbd/sesssetup.c
source3/smbd/smb2_tcon.c
source3/smbd/uid.c
source3/utils/status.c
source4/param/tests/loadparm.c