summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-20 12:10:58 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-20 12:10:58 +0000
commit423a7c417136af3f6d09b3c1763336dd0a401d4f (patch)
tree85684440ac212cb67b59531cecbab24992aac5f8 /source3/include
parent65ae39226c06e54c3237dd53f4be55b7449000e1 (diff)
downloadsamba-423a7c417136af3f6d09b3c1763336dd0a401d4f.tar.gz
samba-423a7c417136af3f6d09b3c1763336dd0a401d4f.tar.bz2
samba-423a7c417136af3f6d09b3c1763336dd0a401d4f.zip
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. (This used to be commit c6c28a4c3c9010ff9d5eac4bad091189a786d5a0)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 024917a0d8..e12ea4002d 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -155,6 +155,8 @@ char *lp_username_map(void);
char *lp_character_set(void);
char *lp_logon_script(void);
char *lp_logon_path(void);
+char *lp_logon_drive(void);
+char *lp_logon_home(void);
char *lp_remote_announce(void);
char *lp_wins_server(void);
char *lp_interfaces(void);
@@ -1088,6 +1090,7 @@ BOOL zero_ip(struct in_addr ip);
void reset_globals_after_fork();
char *client_name(void);
char *client_addr(void);
+char *automount_server(char *username);
void standard_sub_basic(char *str);
BOOL same_net(struct in_addr ip1,struct in_addr ip2,struct in_addr mask);
int PutUniCode(char *dst,char *src);