search for: samba_start

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

2017 Jan 27
2
getent problems with new Samba version
...14.2 upgrade. Either there was no rc.samba.new, or I deleted it after the Samba upgrade: #!/bin/sh # # /etc/rc.d/rc.samba # # Start/stop/restart the Samba4 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 '...
2017 Jan 27
0
getent problems with new Samba version
...after > the Samba upgrade: > > #!/bin/sh > # > # /etc/rc.d/rc.samba > # > # Start/stop/restart the Samba4 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() { >...
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]
...nss_base_netmasks ou=Networks,dc=example,dc=com?ne #nss_base_bootparams ou=Ethers,dc=example,dc=com?one #nss_base_aliases ou=Aliases,dc=example,dc=com?one #nss_base_netgroup ou=Netgroup,dc=example,dc=com?one <snip> ******* smb startup file *********** #!/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&quo...