util.c password.c :
authorLuke Leighton <lkcl@samba.org>
Mon, 20 Oct 1997 12:10:58 +0000 (12:10 +0000)
committerLuke Leighton <lkcl@samba.org>
Mon, 20 Oct 1997 12:10:58 +0000 (12:10 +0000)
commitc6c28a4c3c9010ff9d5eac4bad091189a786d5a0
tree1b3c593a861a3d80ae94597d09ab49027a45efb4
parent53a8a6ced58429886fef019a56c9059e0dcb6622
util.c password.c :

added automount_server() function which, if -DAUTOMOUNT is in use,
returns the server name of the NIS auto.map entry.  otherwise,
it returns local_server.

added use of automount_server() for a new substitution %N for NIS
home server.  this defaults, via automount_server(), to the same
functionality as %L if -DAUTOMOUNT is not used.

removed vuser->home_share.  moved code that grabbed the servername
into the separate function automount_server().

loadparm.c :

created "logon drive" (default of "")
created "logon home"  (default of "\\%N\%U")
changed default of "logon path" from NULL to "\\%N\%U\profile".

ipc.c pipenetlog.c :

use lp_logon_drive(), lp_logon_home() and lp_logon_path() in their
now easier-to-use form (don't have to check if *lp_logon_path() and
manually substitute a default of \\%L\%U and do a standard_sub_basic()
on the result, because the default automatically does this.
source/include/proto.h
source/lib/util.c
source/param/loadparm.c
source/pipenetlog.c
source/smbd/ipc.c
source/smbd/password.c