This change updates lp_guestaccount() to be a *global* paramater, rather than
commit8e708332eded210c1d1fe0cebca3c9c19f054b71
authorAndrew Bartlett <abartlet@samba.org>
Fri, 9 Nov 2001 11:16:06 +0000 (9 11:16 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 9 Nov 2001 11:16:06 +0000 (9 11:16 +0000)
tree25967a4fb473f71e4469b7e318a3a6081bc52471
parent72c1af6f8d9893dd5b8b4d105b301d8c621749c6
This change updates lp_guestaccount() to be a *global* paramater, rather than
per-share.  I beleive that almost all the things that this could have done on
a per-share basis can be done with other tools, like 'force user'.

Almost all the user's of this paramater used it as a global anyway...

While this is one step at a time, I hope it will allow me to considerably
simplfy the make_connection() code, particularly for the user-level security
case.

This already removes an absolute truckload of extra attempted password lookups
on the guest account.

Andrew Bartlett
source/auth/auth_util.c
source/param/loadparm.c
source/rpc_server/srv_pipe.c
source/smbd/auth_util.c
source/smbd/password.c
source/smbd/sesssetup.c
source/smbd/uid.c