Displaying 20 results from an estimated 274 matches for "piddir".
Did you mean:
uiddir
2003 Jun 26
6
[Bug 605] make install don't create piddir
http://bugzilla.mindrot.org/show_bug.cgi?id=605
Summary: make install don't create piddir
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Build system
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: opens...
2016 Apr 02
2
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
On 02/04/16 20:59, Sonic wrote:
> On Sat, Apr 2, 2016 at 2:34 PM, Rowland penny <rpenny at samba.org> wrote:
>> On debian there is a script called samba in /etc/init.d , it starts smbd &
>> nmbd *or* samba, if it doesn't find 'server role = active directory domain
>> controller' in smb.conf , it doesn't try to start the samba deamon.
> Odd that
2016 Apr 02
0
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
...rt: $network $local_fs $remote_fs
# Required-Stop: $network $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: start Samba daemons for the AD DC
### END INIT INFO
#
# Start/stops the Samba daemon (samba).
# Adapted from the Samba 3 packages.
#
PIDDIR=/var/run/samba
SAMBAPID=$PIDDIR/samba.pid
# clear conflicting settings from the environment
unset TMPDIR
# See if the daemon and the config file are there
test -x /usr/sbin/samba -a -r /etc/samba/smb.conf || exit 0
. /lib/lsb/init-functions
case "$1" in
start)...
2019 Oct 13
0
After upgrading samba 4.5.10 to 4.9.13
On 13/10/2019 15:06, ??????? ??????? wrote:
> #!/sbin/openrc-run
Never used openrc :-(
> # Copyright 1999-2018 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License, v2 or
> later
>
> extra_started_commands="reload"
> [ -z "${piddir}" ] && piddir="/run/samba"
>
> depend() {
> ??????? after slapd
> ??????? need net
> ??????? use cupsd
> }
>
I take it that 'depend' means the services listed must be running, if
so, then there is a problem right there. You cannot run slapd and a...
2001 Feb 08
1
sftp / latest snapshot
...em should be solved by
removing arc4random calls from sftp-client.c. In the ChangeLog there is:
20010208
- (djm) Fix linking of sftp, don't need arc4random any more.
But sftp-client is dated Feb 5 and still contains the calls. Maybe the
check-in was forgotten!?
- I am not sure whether piddir (explicitly specified) should be set to
sysconfdir just like that without a comment if piddir does not exist.
Wouldn't it be better to create piddr during "make install"?
-> configure.in
- At the end of configure.in
echo " User binaries: $B"
is c...
2005 Oct 15
1
makepkg.sh for samba 3.0.20
...to create
samba pkg for Solaris. The install base for the new version
locates in /opt/samba 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-logfi...
2014 Aug 15
1
ctdb event script 50.samba does not start smbd
...ocket=/usr/local/var/run/ctdb/ctdbd.socket --logfile=/var/log/syslog
Here is the service script copied from the samba wiki. It is installed
chmod + x'd at /etc/init.d/smbd. It works fine manually:
#!/bin/sh
RUN_MODE="daemons"
[ -r /etc/default/samba ] && . /etc/default/samba
PIDDIR=/usr/local/samba/var/run
NMBDPID=$PIDDIR/nmbd.pid
SMBDPID=$PIDDIR/smbd.pid
unset TMPDIR
test -x /usr/local/samba/sbin/nmbd -a -x /usr/local/samba/sbin/smbd ||
exit
. /lib/lsb/init-functions
case "$1" in
start)
log_daemon_msg "Starting Samba daemons"...
2003 Mar 19
2
pid and lock dir during compile
I am compiling 2.2.8 on a Caldera Openlinux box that was running 2.0.5 or
some such. It already has a working config and uses samba.d dirs for it's
files:
/etc/samba.d
/var/lock/samba.d
/var/log/samba.d
etc
During compile I use following switches
--with-piddir=/var/lock/samba.d
--with-lockdir=/var/lock/samba.d
However the pid files are ending up in /var/run/samba instead of
/var/lock/samba.d
The only other thing I can think might affect this is the --localstatedir. My
./configure line is as follows:
./configure --with-fhs --prefix=/usr --sysconf...
2002 May 24
1
patch for openssh/contrib/solaris/buildpkg.sh
...tc/init.d/${SYSVINIT_NAME} l
> installf ${PKGNAME} \${PKG_INSTALL_ROOT}$TEST_DIR/etc/rc1.d/K30${SYSVINIT_NAME}=$TEST_DIR/etc/init.d/${SYSVINIT_NAME} l
> installf ${PKGNAME} \${PKG_INSTALL_ROOT}$TEST_DIR/etc/rc2.d/S98${SYSVINIT_NAME}=$TEST_DIR/etc/init.d/${SYSVINIT_NAME} l
207c207
< [ -d $piddir ] || installf ${PKGNAME} $TEST_DIR$piddir d 755 root sys
---
> [ -d $piddir ] || installf ${PKGNAME} \${PKG_INSTALL_ROOT}$TEST_DIR$piddir d 755 root sys
2015 Oct 05
3
Question Wiki Setup a Samba Active Directory Domain Controller
...N INIT INFO
# Provides: nmbd
# Required-Start: $network $local_fs $remote_fs
# Required-Stop: $network $local_fs $remote_fs
# X-Start-Before: smbd
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: start Samba NetBIOS nameserver (nmbd)
### END INIT INFO
PIDDIR=/var/run/samba
NMBDPID=$PIDDIR/nmbd.pid
# clear conflicting settings from the environment
unset TMPDIR
# See if the daemons are there
test -x /usr/sbin/nmbd || exit 0
. /lib/lsb/init-functions
case $1 in
start)
if init_is_upstart; then
exit 1...
2017 May 24
2
Howto switch from distribution to self compiled?
...bin
SWATDIR: /usr/share/swat
CONFIGFILE: /etc/samba/smb.conf
LOGFILEBASE: /var/log/samba
LMHOSTSFILE: /etc/samba/lmhosts
LIBDIR: /usr/lib64
MODULESDIR: /usr/lib64/samba
SHLIBEXT: so
LOCKDIR: /var/lib/samba
STATEDIR: /var/lib/samba
CACHEDIR: /var/lib/samba
PIDDIR: /var/run
SMB_PASSWD_FILE: /var/lib/samba/private/smbpasswd
PRIVATE_DIR: /var/lib/samba/private
NCALRPCDIR: /var/ncalrpc
NMBDSOCKETDIR: /var/nmbd
new:
SBINDIR: /usr/local/samba/sbin
BINDIR: /usr/local/samba/bin
CONFIGFILE: /usr/local/samba/etc/smb.conf
LOGFILEBASE:...
2018 Jun 10
2
Samba Time Synchronisation wikipage
...cal/samba/var/run/ncalrpc
LOGFILEBASE: /usr/local/samba/var
LMHOSTSFILE: /usr/local/samba/etc/lmhosts
DATADIR: /usr/local/samba/share
MODULESDIR: /usr/local/samba/lib
LOCKDIR: /usr/local/samba/var/lock
STATEDIR: /usr/local/samba/var/locks
CACHEDIR: /usr/local/samba/var/cache
PIDDIR: /usr/local/samba/var/run
PRIVATE_DIR: /usr/local/samba/private
CODEPAGEDIR: /usr/local/samba/share/codepages
SETUPDIR: /usr/local/samba/share/setup
WINBINDD_SOCKET_DIR: /usr/local/samba/var/run/winbindd
WINBINDD_PRIVILEGED_SOCKET_DIR: /usr/local/samba/var/lib/winbindd_privileged...
2014 Mar 24
0
Samba documentation feedback: installation guide for AD join
...art/reboot
#
# Modified by local@#samba~irc.freenode.net at 06th March 2013
# The script was successfully tested on Debian GNU/Linux Squeeze+Wheezy
# Defaults
RUN_MODE="daemons"
# Reads config file (will override defaults above)
[ -r /etc/default/samba ] && . /etc/default/samba
PIDDIR=/usr/local/samba/var/run
NMBDPID=$PIDDIR/nmbd.pid
SMBDPID=$PIDDIR/smbd.pid
# clear conflicting settings from the environment
unset TMPDIR
# See if the daemons are there
#test -x /usr/local/samba/sbin/nmbd -a -x /usr/local/samba/sbin/smbd || exit 0
test -x /usr/local/samba/sbin/smbd || exit 0
. /...
2018 Jul 26
4
Problem with definition of slist in CFEngine
...arch)",
"sys.maildir ................ = $(sys.maildir)",
"sys.masterdir .............. = $(sys.masterdir)",
"sys.os ..................... = $(sys.os)",
"sys.ostype ................. = $(sys.ostype)",
"sys.piddir ................. = $(sys.piddir)",
"sys.policy_hub ............. = $(sys.policy_hub)",
"sys.policy_hub_port ........ = $(sys.policy_hub_port)",
"sys.release ................ = $(sys.release)",
"sys.resolv ....................
2018 Feb 05
5
Using Samba 4.7.4 as a domain member
Hi!
I've installed samba 4.7.4 with options. All works fine except winbind. The
command getent and id don't return ad users. What's the problem?
./configure --prefix=/opt/samba --libdir=/lib64 --with-piddir=/run/samba
--with-pammodulesdir=/lib64/security --enable-fhs --without-ad-dc
--enable-selftest
2015 May 05
1
post make install, sudo service samba start ->service not recognized?
...ood.
So now how do I start the service? If I just do [sudo service samba start] I
get "Service not recognized"?
Thank you, Caesar.
P.S. for LinuxMint 17 Rebecca, here's the ./configure command
sudo ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--with-piddir=/var/run/samba --with-pammodulesdir=/lib/security
--without-systemd --enable-fhs
--sbindir=/usr/sbin --bindir=/usr/bin --libdir=/usr/lib/x86_64-linux-gnu
--with-modulesdir=/usr/lib/x86_64-linux-gnu/samba
--with-lockdir=/var/run/samba --enable-gnutls
The pre-requisit...
2004 Apr 30
0
buildpkg.sh enhancements
..._ROOT
-mkdir $FAKE_ROOT
-${MAKE} install-nokeys DESTDIR=$FAKE_ROOT
-if [ $? -gt 0 ]
-then
- echo "Fake root install failed, stopping."
- exit 1
-fi
## Fill in some details, like prefix and sysconfdir
-for confvar in prefix exec_prefix bindir sbindir libexecdir datadir mandir sysconfdir piddir
+for confvar in prefix exec_prefix bindir sbindir libexecdir datadir mandir sysconfdir piddir srcdir
do
eval $confvar=`grep "^$confvar=" Makefile | cut -d = -f 2`
done
@@ -118,6 +129,10 @@
## Extract common info requires for the 'info' part of the package.
VERSION=`./ssh -V...
2017 Aug 12
0
Samba 4.6 replication issue (WERR_FILE_NOT_FOUND)
...usr/sbin
CONFIGFILE: /etc/samba/smb.conf
NCALRPCDIR: /run/samba/ncalrpc
LOGFILEBASE: /var/log/samba
LMHOSTSFILE: /etc/samba/lmhosts
DATADIR: /usr/share
MODULESDIR: /usr/lib64/samba
LOCKDIR: /var/lib/samba/lock
STATEDIR: /var/lib/samba
CACHEDIR: /var/lib/samba
PIDDIR: /run
PRIVATE_DIR: /var/lib/samba/private
CODEPAGEDIR: /usr/share/samba/codepages
SETUPDIR: /usr/share/samba/setup
WINBINDD_SOCKET_DIR: /run/samba/winbindd
WINBINDD_PRIVILEGED_SOCKET_DIR: /var/lib/samba/winbindd_privileged
NTP_SIGND_SOCKET_DIR: /var/lib/samba/ntp_signd
`sam...
2019 Oct 13
4
After upgrading samba 4.5.10 to 4.9.13
Good time!
After upgrading samba 4.5.10 to 4.9.13, name resolution in AD hangs.
# /etc/init.d/samba status
?* status: crashed
But the domain itself works, but hangs when resolving user names.
What can be done?
[2019/10/13 12:24:52.896473, 10, pid=17379, effective(0, 0), real(0, 0),
class=ldb] ../lib/ldb-samba/ldb_wrap.c:77(ldb_wrap_debug)
? ldb: Added timed event
2008 Apr 08
1
unable to compile samba 3.0.28a on RHEL 5.1 i386
...r-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE'
+ ./configure --prefix=/usr --localstatedir=/var
--with-configdir=/etc/samba --with-libdir=/usr/lib/samba
--with-lockdir=/var/lib/samba --with-logfilebase=/var/log/samba
--with-mandir=/usr/share/man --with-piddir=/var/run
--with-privatedir=/etc/samba
--with-sambabook=/usr/share/swat/using_samba
--with-swatdir=/usr/share/swat --enable-cups --with-acl-support
--with-ads --with-automount --with-fhs --with-pam_smbpass
--with-libsmbclient --with-libsmbsharemodes --without-smbwrapper
--with-pam --with-quota...