search for: samba_stop

Displaying 5 results from an estimated 5 matches for "samba_stop".

2017 Jan 27
2
getent problems with new Samba version
...Domain Controller - JMF 20140723 # # To make Samba start automatically at boot, make this # file executable: chmod 755 /etc/rc.d/rc.samba # samba_start() { if [ -x /usr/sbin/samba -a -r /etc/samba/smb.conf ]; then echo "Starting Samba: /usr/sbin/samba" /usr/sbin/samba fi } samba_stop() { echo "Stopping Samba" killall samba } samba_restart() { samba_stop sleep 2 samba_start } case "$1" in 'start') samba_start ;; 'stop') samba_stop ;; 'restart') samba_restart ;; *) # Default is "start", for backwards...
2017 Jan 27
0
getent problems with new Samba version
...t automatically at boot, make this > # file executable: chmod 755 /etc/rc.d/rc.samba > # > > samba_start() { > if [ -x /usr/sbin/samba -a -r /etc/samba/smb.conf ]; then > echo "Starting Samba: /usr/sbin/samba" > /usr/sbin/samba > fi > } > > samba_stop() { > echo "Stopping Samba" > killall samba > } > > samba_restart() { > samba_stop > sleep 2 > samba_start > } > > case "$1" in > 'start') > samba_start > ;; > 'stop') > samba_stop > ;; > &...
2017 Jan 27
2
getent problems with new Samba version
More experimentation ... I stopped Samaba, ldbedit'ed the /var/lib/samba/private/idmap.ldb and changed the line xidNumber: 3000026 to xidNumber: 10001 killed the cache and restarted Samba. As I hoped, the wbinfo now showed $ wbinfo -i mark HPRS\mark:*:10001:10000:Mark Foley:/home/HPRS/mark:/bin/bash which was NOT the case in my message below after killing the cache. In that previous
2004 May 17
3
wrong file size
I'm having a problem coping a 5GB file from Windows NT 4 TSE to samba 3.0.4 This is the output from stat on this file: File: `priv.edb' Size: 5393883136 Blocks: 8388728 IO Block: 4096 regular file Device: 308h/776d Inode: 9 Links: 1 Access: (0744/-rwxr--r--) Uid: (10000/DOMAIN\!schedule) Gid: (10000/DOMAIN\Domain Users) Access: 2004-05-17 10:07:22.000000000
2003 Feb 01
1
Samba 3 & ADS current capabilities [adr]
...**** #!/bin/bash #start/stop/restart samba samba_start() { echo "starting smbd" /usr/local/samba/sbin/smbd -D: echo "starting nmbd" /usr/local/samba/sbin/nmbd -D echo "starting winbind" /etc/init.d/winbind.init start } samba_stop() { echo "stopping smbd nmbd" killall smbd nmbd echo "stopping winbind" killall winbindd } samba_restart() { samba_stop sleep 1 samba_start } case "$1" in 'start') samba_start...