Displaying 9 results from an estimated 9 matches for "sdir".
Did you mean:
dir
2015 Jan 12
1
SIMPLE TINC template example
...script, BEFORE starting TINC VPN, put a number of
entries to configure your VPN:
sh ./templatewriter.sh LAN LOSI101 8540 255.255.255.0 0.0.0.0 10.99.0.11
10.98.0.11 ConnectTo=LOSI102 ConnectTo= ConnectTo=
**PUT MORE ENTRIES HERE FOR MORE COMPLEX VPN setups
######Templatewriter.sh
#!/bin/bash
SDIR=$1
NODENAME=$2
PORT=$3
MASK=$4
LISTIP=$5
OPNIP=$6
VPNIP=$7
CONN1=$8
CONN2=$9
CONN3=${10}
#READING IN THE RSA AND 25519 KEYS CAUSES ALL SORTS OF HEADACHES WITH SED
#JUST KEEP THEM IN THE TEMPLATES AS IS
#RSAKEY=$(cat "/tinc/rsa_key.pub")
#ED25519KEY=$(cat "/tinc/ed25519_key.pub"...
2015 Mar 25
1
[PATCH] New API: ls_i
...daemon/ls.c b/daemon/ls.c
index d3689cd..fdacdaf 100644
--- a/daemon/ls.c
+++ b/daemon/ls.c
@@ -148,3 +148,27 @@ do_llz (const char *path)
return out; /* caller frees */
}
+
+char *
+do_ls_i (const char *dir)
+{
+ int r;
+ char *out;
+ CLEANUP_FREE char *err = NULL;
+ CLEANUP_FREE char *sdir = NULL;
+
+ sdir = sysroot_path (dir);
+ if (!sdir) {
+ reply_with_perror ("malloc");
+ return NULL;
+ }
+
+ r = command (&out, &err, str_ls, "-i", sdir, NULL);
+ if (r == -1) {
+ reply_with_error ("%s", err);
+ free (out);
+ return NULL;
+...
2002 Aug 13
1
ACL: need additional samba option ?
...those
top directories and a default entry also (default:user:john:r-x for instance).
The mask and default mask (ACL) are set to rwx.
- Under these top directories, read only users must be able to read all files,
and read/write users must be able to create files and subdirectories. When a
file/sdir is created by a user, only that user should be able to modify or delete
the file/sdir unless additional rights are given by him/her through the windows
permissions.
The solution now:
- I created acls on the top directories, including default entries:
# ls -ld topdir
drwx------+ 7 root ot...
2002 Feb 28
1
Problems compiling Samba TNG 2.6.1
...samba/var/loc
ks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/usr/local/samba/l
ib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/us
r/local/samba/bin" -DFORMSFILE="/usr/local/samba/lib/ntforms.def" -DNTDRIVER
SDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_PROGRAM="/usr/local/samba/bin/smbpasswd" -DSMB_PASSWD_FILE="/u
sr/local/samba/private/smbpasswd" -DSAM_DIR="/usr/local/samba/sam" -DSMB_PAS
SGRP_FILE="/usr/lo...
2005 Feb 21
0
mounting win xp shares always logs in as gues
Hi,
I'm using samba 3.0.11 on debian linux.
I've got a problem when mounting windows xp shares on a linux box.
smbmount //$sServ/$sShare /mnt/$sDir/$sShare -o username='$sUser',password='$sPassword',unicode,ro,iocharset=iso8859-2,codepage=cp852
When looking at the Windows event viewer I can see that I always log in as guest:
I won't give you an exact text of what evnt viewer is displaying - it's in Polish. There's...
2014 Jan 11
0
EFI build problems
...9;gnu-efi' () registered for path 'gnu-efi'
make[4]: Entering directory `/home/wferi/syslinux/genec/gnu-efi/gnu-efi-3.0'
mkdir -p lib
make -C lib -f ./../lib/Makefile SRCDIR=./../lib ARCH=x86_64
make[5]: Entering directory `/home/wferi/syslinux/genec/gnu-efi/gnu-efi-3.0/lib'
for sdir in ia32 x86_64 ia64 runtime; do mkdir -p $sdir; done
/usr/bin/gcc -I./../lib -I./../lib/../inc -I./../lib/../inc/x86_64 -I./../lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-...
2014 Jan 10
2
EFI build problems
On Fri, Jan 10, 2014 at 2:53 AM, Ferenc Wagner <wferi at niif.hu> wrote:
> Gene Cumm <gene.cumm at gmail.com> writes:
>
>> On Sat, Jan 4, 2014 at 6:39 AM, Gene Cumm <gene.cumm at gmail.com> wrote:
>>> On Tue, Dec 17, 2013 at 8:39 AM, Ferenc Wagner <wferi at niif.hu> wrote:
>>>
>>>> * make spotless still fails after working around
2007 Nov 13
16
mongrel startup fails now: already initialized constant OPTIONS
I updated to ruby 1.8.6p111 last night and updated some gems and now
mongrel doesn''t work:
MacOS 10.4.10
$ ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin8.10.1]
$ gem list rails
*** LOCAL GEMS ***
rails (1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.6)
Here''s a simple test:
$ rails test5
create ...
$ cd test5
$ script/server
=> Booting
2019 Jul 14
2
Build error due to Waf task dependency cycle in run_after
Dear all,
trying to build some Heimdal-based packages for Samba AD DC under
openSUSE I am facing some difficulties with the build system:
During the installation which is triggered by "make install" waf complains
about some task dependency cycle after leaving folder bin/default.
Full log including config options can be seen unter https://build.opensuse.org/