search for: standard_sub_basic

Displaying 9 results from an estimated 9 matches for "standard_sub_basic".

2000 Jan 28
1
PATCH: 'source environment' param and % token subs for 'netbios name'
Attached please find unified diffs against Samba 2.0.6. I'm hoping that others will find it useful and that it may even find its way into Samba 2.0.7 This patch does two things: - Modifies the handling of the 'netbios name' parameter so that standard_sub_basic() is run on its value when the 'netbios name' parameter is processed. This has to be done this way because the netbios name is accessed via the global_myname variable throughout Samba and not via lp_netbios_name(). - Adds a new parameter called 'source environment' wh...
2002 Jul 18
1
Compile error in Samba_2_2 CVS
...recycle/recycle.c mkdir recycle/.libs gcc -Wall -I../../source -I../../source/include -I../../source/ubiqx -I../../source/smbwrapper -c recycle/recycle.c -fPIC -DPIC -o recycle/.libs/recycle.lo recycle/recycle.c: In function `do_parameter': recycle/recycle.c:157: too few arguments to function `standard_sub_basic' make: *** [recycle/recycle.lo] Error 1 rm block/block.lo skel.lo audit.lo -- Eirik Thorsnes
2002 Sep 08
1
%L substitution...
Quick question for the Samba team, Just wondering if there is a reason that a %L substitution changes the WHOLE string after the substitution to lowercase (in standard_sub_basic)? This was causing me a big headache as I was using a %G later in the string, and this was being translated into a %g... Here's the relevant section of code from lib/substitute.c: case 'L' : if (*local_machine) s...
2002 Jul 09
1
PATCH: Performance improvement for parameterised include path names
...w when to stop hacking our local copy. --- samba-2.2.3a/source/param/loadparm-2.2.3a.c Tue Jul 9 13:50:53 2002 +++ samba-2.2.3a/source/param/loadparm.c Tue Jul 9 13:52:40 2002 @@ -2454,10 +2454,10 @@ pstring fname; pstrcpy(fname, pszParmValue); - add_to_file_list(pszParmValue, fname); - standard_sub_basic(fname); + add_to_file_list(pszParmValue, fname); + string_set(ptr, fname); if (file_exist(fname, NULL)) -- ______ jonathan@cs.keele.ac.uk Jonathan Knight, / Department of Computer Science / _ __ Telephone: +44 1782 583437 University of K...
2000 Jan 30
0
More checks for param/loadparm.c
...(True); --- > static BOOL handle_netbios_name(char *pszParmValue, char **parm_ptr) { > pstring netbios_name; > > if (validate_netbios_name(pszParmValue) == False) > return False; > > pstrcpy(netbios_name,pszParmValue); > #define NW 1 > #ifdef NW > /* run standard_sub_basic on netbios name... needed because > global_myname is not accessed through any lp_ macro. > Nicolas Williams <Nicolas.Williams@wdr.com> */ > standard_sub_basic(netbios_name); > #endif > pstrcpy((char *)parm_ptr,netbios_name); > unix_to_dos((char *)parm_...
1998 Jun 29
0
1.9.18p8 compile problems
...t the following compile error when compiling p8 with p4 Makefile: Linking smbd util.o: In function `check_log_size': util.o(.text+0x2cc): undefined reference to `slprintf' util.o: In function `name_mangle': util.o(.text+0x94f): undefined reference to `slprintf' util.o: In function `standard_sub_basic': util.o(.text+0x4c9e): undefined reference to `slprintf' util.o: In function `uidtoname': util.o(.text+0x4f32): undefined reference to `slprintf' util.o: In function `gidtoname': util.o(.text+0x4f6a): undefined reference to `slprintf' charset.o(.text+0x200): more undefined...
2002 Jul 24
1
%u etc not working
Hello I've got some problems with log files and usernames. I was trying to make seperate log files for different users but I cannot get them to work when I specify log file = /var/log/samba.%u a file samba.%u appears in /var/log Am I missing something here or might it be a compile error? Greetz Maxor -------------- next part -------------- HTML attachment scrubbed and removed
2000 Feb 01
0
FEATURE REQ: safe % expansion via new syntax
...cial % tokens in this way or else there 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' p...
2003 Dec 01
0
No subject
...1 program terminated by signal SEGV (Segmentation Fault) dbx: core file read error: address 0xff3eff94 not in data space where (dbx) where =>[1] dbghdr(0x0, 0xee0e0, 0xee988, 0x3e7, 0x0, 0xff21b9fc), at 0xaf390 [2] client_name(0x114800, 0x134, 0xff19c, 0x7efefeff, 0x25, 0x25), at 0xc3c40 [3] standard_sub_basic(0x1b2fb8, 0x1e, 0xd2ce8, 0x7efefeff, 0x81010100, 0xff00), at 0xc00f0 [4] lp_string(0x1b2fb8, 0x1050cb, 0x0, 0x4, 0x4e, 0xff3f02e0), at 0x5dcd8 [5] lp_logfile(0xff3f02e0, 0x1050a8, 0x3ff, 0xff238018, 0x0, 0x0), at 0x5dd08 [6] reopen_logs(0x0, 0x0, 0x0, 0x1154f8, 0x0, 0x0), at 0xaed18 [7] che...