search for: substition

Displaying 20 results from an estimated 29 matches for "substition".

2002 Jun 25
7
SAMBA-LDAP and variable substition
Hello, Im using Samba and LDAP together and if I use the scriptPath attribute for a user defined in LDAP, it seems that variable substitions no longer work like they did when you're using the global logon script parameter in smb.conf. example: scriptPath = scripts\%m.bat ==> %m.bat is NOT substituted to machinename.bat Because the "logon scripts" directive of smb.conf will no longer be used when using Samba and LD...
2004 Sep 29
2
defining a template for functions via do.call and substit ute.
Here's one not-so-straightforward way: > f <- function(a, b) a + b > flist <- as.list(f) > names(flist)[1:2] <- c("x", "y") > flist[[3]] <- do.call("substitute", list(body(f), list(a=as.name("x"), b=as.name("y")))) > g <- as.function(flist) > g function (x, y) x + y HTH, Andy > From: john.gavin at ubs.com
2020 Mar 27
5
Multi-Threading Compilers
...also wary of the idea of just having use lists empty > for certain types without any other special handling. However, I would > argue that if Value::use_begin() etc. contain an assertion that fails > when called on one of the value types that don't have use lists, then > the Liskov substition principle is de facto not broken. It basically > leads to a situation that is as-if Value didn't have use lists in the > first place, and only certain sub-types had use lists. > But it doesn't - it means you write some generic code, test it with some cases & looks like it gene...
2006 Feb 21
2
Authorization Plugin for Rails
I''ve posted a lengthy description of an authorization plugin for Rails on my blog: http://www.billkatz.com/authorization It describes a proposed DSL for authorization, a pattern for use that describes conventions, and a reference implementation that lets you test the some of the ideas. I hope that some subset of Rails programmers gravitate toward a common DSL for authorization, which
2012 Jun 25
3
Base directory with File
Hi all, I''d like to specify a base_directory and a list of directories (as variables that may be pulled via hiera later) that will be created under that base directory. base_dir = "/home/base" bars = ["a", "b", "c"] bars will be used to create the folders under base and also part of the information going into building a template so I
2020 Mar 27
2
Multi-Threading Compilers
> On Mar 27, 2020, at 12:23 AM, Johannes Doerfert <johannesdoerfert at gmail.com> wrote: > > > > Getting to a multithread clean optimizer is not one bug fix away - > > this is a multiyear journey, and I would prefer not to see big changes > > with unclear tradeoffs made in an effort to get a quick win. > > I think I missed the suggestion of "big
2019 Jan 25
0
[klibc:update-dash] parser: Fix parsing of ${}
...tution" but instead fails with "Syntax error: Missing '}'". This is caused by us reading an extra character beyond the right brace. This patch fixes it so that this construct only fails during expansion rather than during parsing. Fixes: 3df3edd13389 ("[PARSER] Report substition errors at...") Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/dash/parser.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr/dash/parser.c b/usr/dash/parser.c index 6a8a4a43..efa...
2020 Mar 28
0
[klibc:update-dash] dash: parser: Fix parsing of ${}
...tution" but instead fails with "Syntax error: Missing '}'". This is caused by us reading an extra character beyond the right brace. This patch fixes it so that this construct only fails during expansion rather than during parsing. Fixes: 3df3edd13389 ("[PARSER] Report substition errors at...") Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/dash/parser.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr/dash/parser.c b/usr/dash/parser.c index 6a8a4a43..efa...
2020 Mar 28
0
[klibc:update-dash] dash: expand: Fix trailing newlines processing in backquote expanding
...ent.org.uk> CommitDate: Sat, 28 Mar 2020 21:42:55 +0000 [klibc] dash: expand: Fix trailing newlines processing in backquote expanding [ dash commit c4f4ee8ecf85834811c252fc1df3892863572bbd ] According to POSIX.1-2008 we should remove newlines only at the end of the substitution. Newlines-only substitions causes dash to remove newlines before beggining of the substitution. The following code: cat <<END 1 $(echo "") 2 END prints "1<newline>2" instead of expected "1<newline><newline>2". This patch fixes trailing newlines pro...
2006 Apr 24
0
String substitution on package install?
Hello ... I was working with some older code today that started throwing errors I'd never seen before. The source appears to be some sort of substition of the text of the code on install time, I was hoping that someone might be able to point me to what I'm doing wrong. If I take the following function: foo <- function() { test <- "This is a test" grep("^FOO_\\w+_OK$", test) } and put it in some file (say foo.R)....
1997 Nov 20
1
Feature Request
...something like that) keyword for the smb.conf file. This would validate the share as pointing to a existing directory. If the directory is valid, the share appears in the user's browse list. Otherwise, the share doesn't appear. This is useful for shares that are generated by variable substition. For example, "path=/shares/%m" if the directory /shares/node1 exists, then that share will appear in node1's list. Otherwise it won't. Thanks, Brian Gontowski mailto:blg@cherry-semi.com Corporate Systems Administrator Information Systems Department Cherry Semiconductor Corp...
2007 Apr 10
1
[PATCH] Add support for DHCP-Options
hi, I've written a start of an c32-module to do basic substition: add subst.c32 this is a start of a generic substition module --- commit 9a1f41a7e6599fe6a162197cd9ddc6610185e780 tree cfb799a0be9844926afe44e21b2eb96630666c44 parent 89478bdbfa7167bc1b627a478d042c99e46f06b7 author Maurice Massar <massar at unix-ag.uni-kl.de> Tue, 10 Apr 2007 20:13:39 +020...
2010 Apr 23
1
regsubst questions
I am attempting to set some variables in my manifest and I amd seeing a result I don''t quite understand. Here is a section of code from my manifest: $boot_time = generate(''/usr/bin/env'', ''/bin/date'', ''+%H:%m'') notice("boot_time => $boot_time") $boot_hour =
2019 Dec 16
0
[Announce] Samba 4.11.4 Available for Download
...INVAL when using SMB2 in SMBC_opendir_ctx. * BUG 14189: s3: smbd: SMB2 - Ensure we use the correct session_id if encrypting an interim response. * BUG 14205: Prevent smbd crash after invalid SMB1 negprot. o Ralph Boehme <slow at samba.org> * BUG 13745: s3:printing: Fix %J substition. * BUG 13925: s3: Remove now unneeded call to cmdline_messaging_context(). * BUG 14069: Incomplete conversion of former parametric options. * BUG 14070: Fix sync dosmode fallback in async dosmode codepath. * BUG 14171: vfs_fruit returns capped resource fork length. o Isaac Boukris &lt...
2019 Dec 16
0
[Announce] Samba 4.11.4 Available for Download
...INVAL when using SMB2 in SMBC_opendir_ctx. * BUG 14189: s3: smbd: SMB2 - Ensure we use the correct session_id if encrypting an interim response. * BUG 14205: Prevent smbd crash after invalid SMB1 negprot. o Ralph Boehme <slow at samba.org> * BUG 13745: s3:printing: Fix %J substition. * BUG 13925: s3: Remove now unneeded call to cmdline_messaging_context(). * BUG 14069: Incomplete conversion of former parametric options. * BUG 14070: Fix sync dosmode fallback in async dosmode codepath. * BUG 14171: vfs_fruit returns capped resource fork length. o Isaac Boukris &lt...
2009 Jan 19
1
sub and gsub treat \\ incorrectly (PR#13454)
Sub and gsub treat \\ replacement pattern incorrectly I expect sub("a","\\", "a", perl=T) to produce [1] "\" instead it generates [1] "" On the other hand, if I run sub("a","\\\\", "a", perl=T) it correctly outputs [1] "\\" The same issue applies to gsub. --please do not edit the information
2020 Jan 23
0
[Announce] Samba 4.10.13 Available for Download
...5: s3: Remove now unneeded call to cmdline_messaging_context(). * BUG 14069: Incomplete conversion of former parametric options. * BUG 14070: Fix sync dosmode fallback in async dosmode codepath. * BUG 14171: vfs_fruit returns capped resource fork length. * BUG 13745: s3:printing: Fix %J substition. o Isaac Boukris <iboukris at gmail.com> * BUG 14116: libnet_join: Add SPNs for additional-dns-hostnames entries. o Torsten Fohrer <torsten.fohrer at sbe.de> * BUG 14209: Avoiding bad call flags with python 3.8, using METH_NOARGS instead of zero. o Bj?rn Jacke <bjack...
2008 Oct 04
5
[Bug 17896] New: no sound with 0.8.0-1 hardy w/ usb audio
http://bugs.freedesktop.org/show_bug.cgi?id=17896 Summary: no sound with 0.8.0-1 hardy w/ usb audio Product: swfdec Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: plugin AssignedTo: swfdec at lists.freedesktop.org
2010 Mar 22
1
[git pull] dash, sh4, README's
...ibc] [MEMALLOC] Made grabstackblock an inline wrapper for stalloc [klibc] [MEMALLOC] Add pushstackmark [klibc] [BUILTIN] Treat OPTIND=0 in the same way as OPTIND=1 [klibc] [VAR] Remove setvarsafe [klibc] [BUILTIN] Use intmax_t arithmetic in test [klibc] [PARSER] Report substition errors at expansion time [klibc] [ARITH] Add assignment and intmax_t support [klibc] [ARITH] Size optimisations in arithmetic lexer [klibc] [EXPAND] Add likely flags in expari [klibc] [BUILTIN] Use setvarint to set OPTIND [klibc] [EXEC] Fixed execing of scripts with no...
1998 Apr 27
5
Group information lost when security = server
Hi. I have a samba install, samba-1.9.18p4, with security=server. Users are validated against the NT domain controller correctly, and user accounts do exist on the unix box (AIX 4.2.1) Problem is that while the uid of the files that users create is correct, the group id is always sys, even though the users have as primary gid STAFF. The definition of the share I am trying to create is: [cslan]