search for: init_is_upstart

Displaying 7 results from an estimated 7 matches for "init_is_upstart".

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
...start) SERVER_ROLE=`samba-tool testparm --parameter-name="server role" 2>/dev/null | tail -1` if [ "$SERVER_ROLE" != "active directory domain controller" ]; then exit 0 fi if init_is_upstart; then exit 1 fi # CVE-2013-4475 KEYFILE=/var/lib/samba/private/tls/key.pem if [ -e $KEYFILE ] then KEYPERMS=`stat -c %a $KEYFILE`...
2014 Aug 16
1
CTDB: Failed to connect client socket to daemon.
...t Samba SMB/CIFS daemon (smbd) ### END INIT INFO PIDDIR=/usr/local/samba/var/run SMBDPID=$PIDDIR/smbd.pid # clear conflicting settings from the environment unset TMPDIR # See if the daemons are there test -x /usr/local/samba/sbin/smbd || exit 0 . /lib/lsb/init-functions case $1 in start) if init_is_upstart; then exit 1 fi SERVER_ROLE=`samba-tool testparm --parameter-name="server role" 2>/dev/null | tail -1` if [ "$SERVER_ROLE" = "active directory domain controller" ]; then exit 0 fi log_daemon_msg "Starting SMB/CIFS daemon" smbd # Make...
2015 Oct 05
3
Question Wiki Setup a Samba Active Directory Domain Controller
...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 fi SERVER_ROLE=`samba-tool testparm --parameter-name="server role" 2>/dev/null | tail -1` if [ "$SERVER_ROLE" = "active directory domain controller" ]; then exi...
2015 Nov 15
0
samba's source code won't compile on ubuntu 14.04 LTS
...d examples on the web. > > Just download the Ubuntu samba packages (don't install them), extract the scripts from them and alter the paths to suit your new set up. I had the same thought when I set out to do this. So I tried it, and it didn’t work. Here’s where mine always choked. if init_is_upstart; then exit 1 fi This if/then in the script always tested positive and caused it to exit. Given my limited time, I wasn’t able to explore the intricacies of upstart. I considered simply removing the test, but wasn’t sure if there was a more elegant solution. It didn’t matter anyways because I...
2015 Nov 15
2
samba's source code won't compile on ubuntu 14.04 LTS
On 14/11/15 22:54, Matthew Delfino wrote: > This is a little rough, but I recently did this with Ubuntu 14.04.3 LTS and Samba source code 4.3.1: > > Installing Ubuntu: All steps default except: > - Choose to install "OpenSSH server" > > When rebooted: > - sudo -s > - apt-get update > - apt-get upgrade > - apt-get install open-vm-tools #if you have this in a
2015 Oct 04
4
Question Wiki Setup a Samba Active Directory Domain Controller
Hi again, I refer to https://wiki.samba.org/index.php/Setup_a_Samba_Active_Directory_Domain_Controller#Testing_your_Samba_Domain_Controller Thank you for this great wiki! I run all the tests and everything looks perfect! I encounter just a little difference here. Actually I thought that there should be no Master and Workgroup for a AD DC. (as given in the wiki and in Stefan Kania's book