smbd: remove sub_set_smb_name()/reload_services()
authorRalph Boehme <slow@samba.org>
Fri, 17 Jan 2020 20:55:35 +0000 (21:55 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 6 Feb 2020 10:17:43 +0000 (10:17 +0000)
commitdbe7d13988d5eb88f13144def8f4d69f1259fef6
tree744251f108956ab2fe45eed1f8ac811623e46cfa
parentd1b2254f45ec6b4aa7dc846dd4b9be0b2f48d7a5
smbd: remove sub_set_smb_name()/reload_services()

This means switching auth backend based on %U include, ie

  passdb backend = tdbsam
  include = smb.conf.%U

and smb.conf.SOMEUSER contains

  passdb backend = smbpasswd

won't work anymore.

We're still calling set_current_user_info() and reload_services() later on
in this function, so everything else still works as before.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/smbd/sesssetup.c