search for: expand_env_var

Displaying 2 results from an estimated 2 matches for "expand_env_var".

2006 Aug 24
1
smb.conf template homedir
...f users. i.e.: /usr/guests/guest_name /usr/netapp/student/student_name /usr/netapp/faculty/faculty_name /usr/netapp/staff/staff_name I have tried templete homedir = %$(env HOME), but it does not work: Aug 24 14:04:46 vmnode10 smbd[15826]: [2006/08/24 14:04:46, 0] lib/substitute.c:expand_env_var(190) Aug 24 14:04:46 vmnode10 smbd[15826]: expand_env_var: Environment variable [HOME] not set I assume I just can't figure out the correct syntax for the "template homedir". Could someone point me in the right direction? Thanks, -- Karen McArthur Bates College, Lewiston, Maine
2000 Feb 01
0
FEATURE REQ: safe % expansion via new syntax
...should be a way to specify, in smb.conf, that this quoting take place. One way to do the latter might be to have %"... work as %... would but in a safe way Bourne Shell-quoting wise. The %"... feature would require changes to: - standard_sub() - standard_sub_basic() - string_sub() - expand_env_var() The * command feature would only require changes to functions that call smbrun(). I'm thinking of %s and %f which expand to file names in 'print command' parameters. I'm also thinking of the 'open command' and 'close command' parameters implemented by a patch by...