1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
samba-mirror/source3/rpc_server
Andrew Bartlett ac08646c37 Rework much of the service.c code:
The aim of this execise is to give the 'security>=user' code a straight paper
path.  Security=share will sill call authorise_login(), but otherwise we avoid
that mess.

This allow *much* more accurate error code reporting, beocuse we don't start
pretending that we can use the (nonexistant) password etc.

Also in this patch is code to create the 'homes' share at session setup time
(as we have done in the past - been broken recently) and to record this on
the user's vuser struct for later reference.  The changes here should also
allow for much better use of %H (some more changes to come here).

The service.c changes move a lot of code around, but are not as drastric
as they look...

(Also included is a fix to srv_srvsvc_nt.c where 'total_entries' not
'*total_entries' was compared).

This code is needs testing, but passes my basic tests.

I expect we have lost some functionality, but the stuff I had expected
to loose was already broken before I started.  In particular, we don't 'fall
back' to guest if the user cannot access a share (for security=user).  If you
want this kind of stuff then you really want security=share anyway.

Andrew Bartlett
(This used to be commit 4c0cbcaed9)
2002-06-15 12:38:13 +00:00
..
.cvsignore get away with dummy and .dummy files 1998-09-29 04:52:17 +00:00
srv_dfs_nt.c Sync'ing SAMBA_2_2 with HEAD. 2002-05-09 04:43:05 +00:00
srv_dfs.c Removed version number from file header. 2002-01-30 06:08:46 +00:00
srv_lsa_hnd.c Move restrict anonymous checks into a general function called 2002-06-03 02:55:16 +00:00
srv_lsa_nt.c Globally replace 'global_sam_sid' with get_global_sam_sid(), a self 2002-06-07 14:33:33 +00:00
srv_lsa.c Partly based on the work by mimir (Rafal Szczesniak 2002-04-14 09:44:16 +00:00
srv_netlog_nt.c Update the netlogon code to better cope with trusted domains, where things 2002-06-15 11:40:25 +00:00
srv_netlog.c Removed version number from file header. 2002-01-30 06:08:46 +00:00
srv_pipe_hnd.c Fix my stupid compile bug in num_files_open. 2002-04-23 18:34:52 +00:00
srv_pipe.c Removed version number from file header. 2002-01-30 06:08:46 +00:00
srv_reg_nt.c Removed version number from file header. 2002-01-30 06:08:46 +00:00
srv_reg.c Removed version number from file header. 2002-01-30 06:08:46 +00:00
srv_samr_nt.c Add const, kill of useless casts and therefore eliminate warnings. 2002-06-14 00:47:08 +00:00
srv_samr.c Removed version number from file header. 2002-01-30 06:08:46 +00:00
srv_spoolss_nt.c merge from 2.2 2002-06-11 03:22:32 +00:00
srv_spoolss.c merge from SAMBA_2_2 2002-04-22 18:47:36 +00:00
srv_srvsvc_nt.c Rework much of the service.c code: 2002-06-15 12:38:13 +00:00
srv_srvsvc.c Cleaned up srvsvc constants a bit. 2002-05-29 00:49:26 +00:00
srv_util.c This (hopefully) fixes a bug reported by Kai Krueger <kai@kruegernetz.de> 2002-06-09 08:45:35 +00:00
srv_wkssvc_nt.c Removed version number from file header. 2002-01-30 06:08:46 +00:00
srv_wkssvc.c Removed version number from file header. 2002-01-30 06:08:46 +00:00