summaryrefslogtreecommitdiff
path: root/source3/lib/substitute.c
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-06-09 14:13:11 +0000
committerJean-François Micouleau <jfm@samba.org>2000-06-09 14:13:11 +0000
commite58682eb077a79b5c54a0cea485b7d134a01f853 (patch)
treeb9f47a9bcc8416cc62d862183ce2064160b11e46 /source3/lib/substitute.c
parent0288a641e752eaf80c154e2d4f4fab023c73b486 (diff)
downloadsamba-e58682eb077a79b5c54a0cea485b7d134a01f853.tar.gz
samba-e58682eb077a79b5c54a0cea485b7d134a01f853.tar.bz2
samba-e58682eb077a79b5c54a0cea485b7d134a01f853.zip
do some standard_sub_advanced() in api_net_sam_logon on lp_logon_xxx().
and if you have unix realname=yes, you get the gecos name when locking the station. J.F. (This used to be commit b5ad24ae0b15643df5832e2369fb4e43c98a1359)
Diffstat (limited to 'source3/lib/substitute.c')
-rw-r--r--source3/lib/substitute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c
index a23f613814..5eb557d03c 100644
--- a/source3/lib/substitute.c
+++ b/source3/lib/substitute.c
@@ -197,7 +197,7 @@ void standard_sub_basic(char *str)
/****************************************************************************
Do some standard substitutions in a string.
****************************************************************************/
-static void standard_sub_advanced(int snum, char *user, char *connectpath, gid_t gid, char *str)
+void standard_sub_advanced(int snum, char *user, char *connectpath, gid_t gid, char *str)
{
char *p, *s, *home;
struct passwd *pass;