search for: privatedir

Displaying 20 results from an estimated 259 matches for "privatedir".

2001 Nov 06
1
what files from $privatedir do I need to keep when upgrading from 221a to 222?
hello everybody, I'm planning a quick upgrade from 2.2.1a to 2.2.2, and I want to know which files from $PRIVATEDIR (and others) I need to keep... I have it like this: -rw-r--r-- 1 root root 42 Jul 28 16:40 MACHINE.SID -rw------- 1 root root 8192 Nov 2 12:55 secrets.tdb -rw------- 1 root root 10274 Nov 2 12:56 smbpasswd I'm sure MACHINE.SID and smbpasswd must...
2002 Mar 06
1
Possible bug in 2.2.3a source/script/installbin.sh (with patch)
Hi all, the file samba-2.2.3a/source/script/installbin.sh has a rather odd blindspot. It doesn't honor the --with-privatedir= option to ./configure it just blindly uses $BASEDIR/private instead. I think the fix would be:- a) move directory creation out of installbin.sh altogehter (after all what's the installdirs: target for in the Makefile?) OR b) add an extra parameter to installbin.sh thusly:- *** source/...
2005 Oct 15
1
makepkg.sh for samba 3.0.20
...and the smbd locates in /etc/samba. I tried to modify the makepkg.sh to put everything under /usr/local/samba as follow: Delete: ==== --localstatedir=/var/lib/samba \ --with-piddir=/var/run \ --with-logfilebase=/var/log/samba \ --with-privatedir=/etc/samba/private \ --with-configdir=/etc/samba \ Add: ==== --localstatedir=/usr/local/samba/lib \ --with-piddir=/var/run \ --with-logfilebase=/usr/local/samba/var/log \ --with-privatedir=/usr/local/samba/private \...
2019 Jul 13
2
rsync alternative -- smbclient?
...i.samba.org/index.php/Rsync_based_SysVol_replication_workaround --- begin --- #!/bin/bash # prerequisite: apt-get install smbclient ldb-tools realminfo=`cat /etc/samba/smb.conf | grep realm | tr -d "' " ` domain=`echo $realminfo | sed -n -E 's/realm=(.*)/\1/p' | tr A-Z a-z` privatedir=`smbd -b | grep "PRIVATE_DIR" | sed -n -E 's/PRIVATE_DIR:(.*)/\1/p' | xargs` sysvol=`cd $privatedir/..;pwd`/sysvol pdc=`samba-tool fsmo show | grep PdcEmulation | sed -n -E 's/PdcEmulationMasterRole owner: CN=NTDS Settings,CN=([^,]*),.*/\1/p'` peer=`ldbsearch --cross-ncs...
2003 Dec 12
2
sysconfdir
I compiled samba 3.0.0 with the following configure options: ./configure --prefix=/usr --sysconfdir=/etc/samba --with-privatedir=/etc/ samba/private --with-ldap --with-ads --with-krb5=/usr --with-smbmount --without-sys-quotas The problem is that it seems to disregard the sysconfdir param and looks for the smb.conf file in /usr/lib/. Any help? Thanks Justin
1999 Jan 13
2
makefile and path questions
Hi! This morning, I found a system that was still running an ancient samba. I immediately upgraded it to samba 1.9.18p1 and had the opportunity to fiddle with the make file after not doing this for a couple of months. The default makefile sorts the files like this: BINDIR (/usr/local/samba/bin) smbpasswd smbrun smbclient testparm testprns smbrun smbstatus smbpasswd
2002 May 27
2
Problems with samba 2.2.4
...nen-Benutzer 10820 thinnes3 (192.168.125.142) Mon May 27 09:57:58 2002 Public PULSAAR+O.Thinnes PULSAAR+Dom The group is called "PULSAAR+Dom?nen-Benutzer". 4. nsswitch/pam_winbind.so is not created when doing "make" # cd samba/source # ./configure --with-privatedir=/etc/samba --with-lockdir=/var/lock --with-configdir=/etc/samba --with-quotas --with-acl-support --with-winbind # make # make install nsswitch/pam_winbind.so which is located in /lib/security/pam_winbind.so is not compiled Yours sincerely. Oliver Thinnes
2011 Oct 21
2
Need help with redhat build to --prefix
...build samba 3.6.1 on a RedHat redhat-release-5Server-5.6.0.3 linux machine but cannot install it to the default directories because the machine is centrally managed... I am using the following configure command: ./configure --prefix=/app/radius/samba/ --with-configdir=/app/radius/samba/conf --with-privatedir=/app/radius/samba/private --disable-cups and I am unable to run winbindd ? there are unfound libraries: >ldd winbindd linux-vdso.so.1 => (0x00007fff529b3000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00002b01188e2000) libnsl.so.1 => /lib64/libnsl.so.1 (0x0000...
2003 Mar 19
2
pid and lock dir during compile
...llows: ./configure --with-fhs --prefix=/usr --sysconfdir=/etc --with- lockdir=/var/lock/samba.d --with-piddir=/var/lock/samba.d --with- confdir=/etc/samba.d --with-codepagedir=/etc/samba.d/codepages --with- logfilebase=/var/log/samba.d --with-syslog --localstatedir=/var --with- privatedir=/etc/samba.d/private Comments? -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
2019 Jul 13
0
rsync alternative -- smbclient?
...Vol_replication_workaround > > --- begin --- > #!/bin/bash > # prerequisite: apt-get install smbclient ldb-tools > > realminfo=`cat /etc/samba/smb.conf | grep realm | tr -d "' " ` > domain=`echo $realminfo | sed -n -E 's/realm=(.*)/\1/p' | tr A-Z a-z` > privatedir=`smbd -b | grep "PRIVATE_DIR" | sed -n -E 's/PRIVATE_DIR:(.*)/\1/p' | xargs` > sysvol=`cd $privatedir/..;pwd`/sysvol > > pdc=`samba-tool fsmo show | grep PdcEmulation | sed -n -E 's/PdcEmulationMasterRole owner: CN=NTDS Settings,CN=([^,]*),.*/\1/p'` > peer=`ldb...
2004 Aug 30
3
cannot access files after update samba 3.0.5 -> 3.0.6 (Redhat 6.2)
Redhat 6.2 kernel 2.2.14-12 Samba 3.0.6 compiled with ./configure --prefix=/usr/local/samba --localstatedir=/var/log/samba --with-lockdir=/var/lock/samba --with-privatedir=/etc/rc-abas.d --with-configdir=/etc/rc-abas.d --enable-debug I can list directories and write files on a samba share but cannot read files. This happens with Windows XP client or smbclient. After downgrading to 3.0.5 samba works fine again. It seems to be a Redhat 6.2 problem. On a second compu...
2015 Nov 30
1
Compiler-Options
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 with the exeption of: - --with-privatedir=/var/lib/samba ;-) Thanks problem solved Am 30.11.2015 um 19:08 schrieb Marc Muehlfeld: > Hello Stefan, > > Am 30.11.2015 um 18:23 schrieb Stefan Kania: >> on the wiki-page >> https://wiki.samba.org/index.php/Build_Samba_from_source >> >> there are some configu...
2002 Jun 30
1
make pam_smbpass
Hello list I'm trying to do the make command to compile the pam_smbpass.so make CONFIGOPTS="--with-fhs --with-privatedir=/etc --with-configdir=/etc/samba" But every time I get the following message: patching file Makefile.in patching file configure.in ./patch-source.sh: autoconf: command not found make: *** [patch-stamp] Error 127 What's wrong ? I don't know, but I did it like described in the READ...
2004 Jan 01
0
samba / tdb recovery
...SSAGE----- Hash: SHA1 I'm currently in the process of recovering a system and wanted to mention my thoughts and process for feedback and, if necessary, corrections: 1) I had my original version of samba (2.2.8) compiled with: ./configure --with-fhs --prefix=/usr --sysconfdir=/etc - --with-privatedir=/etc/samba --with-lockdir=/var/state/samba - --localstatedir=/var --with-netatalk --with-smbmount --with-pam --with-syslog - --with-sambabook --with-utmp --with-acl-support --no-create --no-recursion 2) I have a copy of everything in /etc/samba, and /var/state/samba (see configuration above)....
2008 Jan 03
0
Embedded samba 2.0.26 problems
...AVE_WRFILE_KEYTAB=no \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ --with-lockdir=/var/cache/samba \ --with-piddir=/var/run \ --with-privatedir=/etc/samba \ --with-logfilebase=/var/log/samba \ --with-configdir=/etc/samba \ --without-ldap \ --without-libaddns \ --with-included-popt \ --with-included-iniparser \ --with-smbmount \...
2010 Dec 24
1
reducing smbd memory footprint
...iling Samba 3.3.X with the following: CFLAGS = -g -Wall -O2 ./configure --cache-file=./config.cache \ --with-fhs \ --enable-shared \ --prefix=/usr \ --sysconfdir=/etc \ --libdir=/usr/lib/samba \ --with-privatedir=/etc/samba \ --with-piddir=/var/run/samba \ --localstatedir=/var \ --with-rootsbindir=/sbin \ --with-syslog \ --with-utmp \ --with-readline \ --with-libsmbclient \ --with-...
2011 Aug 04
1
Cross-compile and directory locations
...me to override directory locations, e.g. --libdir=/opt/lib. Unfortunately, other binaries (like smbpasswd) cannot find their libraries because they are looking in the wrong directory (/home/martin/result/.../lib), which only exist on the host on which I compiled the source. When I use e.g. --with-privatedir=/opt/var/samba/private during ./configure, the binary is ok, but 'make install' fails. 'make install' wants to create /opt/var/samba/private on the host, instead of using the prefix as well (e.g. /home/martin/result/opt/var/samba/private). Is there any already available solution to...
2015 Dec 04
1
setproctitle Errors
...ibbsd-ctor Is this error serious? Do I need to worry? I've filtered through similar posts, but a solution wasn't forthcoming. My ./configure line is as follows (mainly to modify installation locations): ./configure --enable-fhs --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-privatedir=/var/lib/samba/private --with-piddir=/var/run/samba --with-pammodulesdir=/lib/x86_64-linux-gnu/security --libdir=/usr/lib/x86_64-linux-gnu --with-modulesdir=/usr/lib/x86_64-linux-gnu/samba --datadir=/usr/share --with-lockdir=/var/run/samba --with-statedir=/var/lib/samba --with-cachedir=/var/cache/s...
2014 Dec 02
2
Multiple samba servers with AD integration
...ame tdb files. This is probably going to cause severe breakage unless you run each copy with separate state dirs. I don't know exactly what is needed, but looking at the smbd command line options, I would guess each running copy would need it's own --statedir --cachedir --piddir and --privatedir set. > Also I suggest that you remove the 'socket options' line, you are probably > making things worse by having this. Seconded. First rule of optimization: don't do it unless you understand what your changes are supposed to do, and can test and verify the results. Most of...
2019 Nov 15
1
Filesystem does not support posix ACLs
...veloper) are not available on samba-4.11.2. I get the following error: + --enable-developer --with-ntvfs-fileserver --sysconfdir=/etc/samba/ --mandir=/usr/share/man/ --sbindir=/usr/sbin/ --bindir=/usr/bin/ --without-systemd --with-statedir=/var/lib/samba --with-cachedir=/var/cache/samba --with-privatedir=/var/lib/samba/private tests/samba.sh: line 107: --enable-developer: command not found Which version does support these options? On 11/14/19 8:52 AM, Andrew Bartlett wrote: > On Thu, 2019-11-14 at 07:30 +0000, Ghassan Elrayah wrote: >> Hi, >> >> I am trying to get some integ...