Low Chee Beng
Dabbler
- Joined
- Apr 12, 2014
- Messages
- 29
Hi, I have a working config until i mess with the plugin and jail. Now my CIFS not working. FTP work well. AFP did not try as no Apple's product.
Now when start CIFS, sanity check failed. Attach below is the system messages and SMB4.conf
Pointers appreciated, Freenas is both frustrating and interesting. Devil, but i like it, ha ha
[global]
server max protocol = SMB3
encrypt passwords = yes
dns proxy = no
strict locking = no
oplocks = yes
deadtime = 15
max log size = 51200
max open files = 11070
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
getwd cache = yes
guest account = nobody
map to guest = Bad User
obey pam restrictions = Yes
directory name cache size = 0
kernel change notify = no
panic action = /usr/local/libexec/samba/samba-backtrace
server string = FreeNAS Server
ea support = yes
store dos attributes = yes
unix extensions = no
null passwords = yes
acl allow execute always = true
server role = standalone
netbios name = FREENAS
workgroup = WORKGROUP
security = user
pid directory = /var/run/samba
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
create mask = 0666
directory mask = 0777
client ntlmv2 auth = yes
dos charset = CP437
unix charset = UTF-8
log level = 1
[Freenas]
path = /mnt/FreeNas01
printable = no
veto files = /.snap/.windows/.zfs/
writeable = yes
browseable = yes
inherit owner = no
inherit permissions = no
recycle:repository = .recycle/%U
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = yes
recycle:directory_mode = 0777
recycle:subdir_mode = 0700
vfs objects = zfsacl streams_xattr aio_pthread
hide dot files = no
guest ok = yes
guest only = yes
inherit acls = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
zfsacl:acesort = dontcare
Jun 14 00:26:11 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Jun 14 00:26:11 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Jun 14 00:26:11 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Jun 14 00:26:11 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpLPQt71 -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Jun 14 00:26:12 freenas notifier: Performing sanity check on Samba configuration: FAILED
Jun 14 00:26:16 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Jun 14 00:26:16 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Jun 14 00:26:16 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Jun 14 00:26:16 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmp6T6W_h -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Jun 14 00:26:17 freenas notifier: winbindd not running? (check /var/run/samba/winbindd.pid).
Jun 14 00:26:17 freenas notifier: smbd not running? (check /var/run/samba/smbd.pid).
Jun 14 00:26:17 freenas notifier: nmbd not running? (check /var/run/samba/nmbd.pid).
Jun 14 00:26:17 freenas notifier: Performing sanity check on Samba configuration: FAILED
Jun 14 00:27:50 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Jun 14 00:27:50 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Jun 14 00:27:50 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Jun 14 00:27:50 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpoLbdPp -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Jun 14 00:27:50 freenas notifier: winbindd not running? (check /var/run/samba/winbindd.pid).
Jun 14 00:27:50 freenas notifier: smbd not running? (check /var/run/samba/smbd.pid).
Jun 14 00:27:50 freenas notifier: nmbd not running? (check /var/run/samba/nmbd.pid).
Jun 14 00:27:56 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Jun 14 00:27:56 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Jun 14 00:27:56 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Jun 14 00:27:56 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpbVwb7V -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Jun 14 00:27:56 freenas notifier: winbindd not running? (check /var/run/samba/winbindd.pid).
Jun 14 00:27:56 freenas notifier: smbd not running? (check /var/run/samba/smbd.pid).
Jun 14 00:27:56 freenas notifier: nmbd not running? (check /var/run/samba/nmbd.pid).
Jun 14 00:27:57 freenas notifier: Performing sanity check on Samba configuration: FAILED
Jun 14 12:39:07 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Jun 14 12:39:07 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Jun 14 12:39:08 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Jun 14 12:39:08 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpsnlQMm -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Jun 14 12:39:08 freenas notifier: winbindd not running? (check /var/run/samba/winbindd.pid).
Jun 14 12:39:08 freenas notifier: smbd not running? (check /var/run/samba/smbd.pid).
Jun 14 12:39:08 freenas notifier: nmbd not running? (check /var/run/samba/nmbd.pid).
Jun 14 12:39:08 freenas notifier: Performing sanity check on Samba configuration: FAILED
Jun 14 12:40:24 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Jun 14 12:40:24 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Jun 14 12:40:24 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Jun 14 12:40:24 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpgrIsOg -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Jun 14 12:40:24 freenas notifier: winbindd not running? (check /var/run/samba/winbindd.pid).
Jun 14 12:40:24 freenas notifier: smbd not running? (check /var/run/samba/smbd.pid).
Jun 14 12:40:24 freenas notifier: nmbd not running? (check /var/run/samba/nmbd.pid).
Jun 14 12:40:24 freenas notifier: Performing sanity check on Samba configuration: FAILED
Now when start CIFS, sanity check failed. Attach below is the system messages and SMB4.conf
Pointers appreciated, Freenas is both frustrating and interesting. Devil, but i like it, ha ha
[global]
server max protocol = SMB3
encrypt passwords = yes
dns proxy = no
strict locking = no
oplocks = yes
deadtime = 15
max log size = 51200
max open files = 11070
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
getwd cache = yes
guest account = nobody
map to guest = Bad User
obey pam restrictions = Yes
directory name cache size = 0
kernel change notify = no
panic action = /usr/local/libexec/samba/samba-backtrace
server string = FreeNAS Server
ea support = yes
store dos attributes = yes
unix extensions = no
null passwords = yes
acl allow execute always = true
server role = standalone
netbios name = FREENAS
workgroup = WORKGROUP
security = user
pid directory = /var/run/samba
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
create mask = 0666
directory mask = 0777
client ntlmv2 auth = yes
dos charset = CP437
unix charset = UTF-8
log level = 1
[Freenas]
path = /mnt/FreeNas01
printable = no
veto files = /.snap/.windows/.zfs/
writeable = yes
browseable = yes
inherit owner = no
inherit permissions = no
recycle:repository = .recycle/%U
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = yes
recycle:directory_mode = 0777
recycle:subdir_mode = 0700
vfs objects = zfsacl streams_xattr aio_pthread
hide dot files = no
guest ok = yes
guest only = yes
inherit acls = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
zfsacl:acesort = dontcare
Jun 14 00:26:11 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Jun 14 00:26:11 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Jun 14 00:26:11 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Jun 14 00:26:11 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpLPQt71 -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Jun 14 00:26:12 freenas notifier: Performing sanity check on Samba configuration: FAILED
Jun 14 00:26:16 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Jun 14 00:26:16 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Jun 14 00:26:16 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Jun 14 00:26:16 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmp6T6W_h -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Jun 14 00:26:17 freenas notifier: winbindd not running? (check /var/run/samba/winbindd.pid).
Jun 14 00:26:17 freenas notifier: smbd not running? (check /var/run/samba/smbd.pid).
Jun 14 00:26:17 freenas notifier: nmbd not running? (check /var/run/samba/nmbd.pid).
Jun 14 00:26:17 freenas notifier: Performing sanity check on Samba configuration: FAILED
Jun 14 00:27:50 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Jun 14 00:27:50 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Jun 14 00:27:50 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Jun 14 00:27:50 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpoLbdPp -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Jun 14 00:27:50 freenas notifier: winbindd not running? (check /var/run/samba/winbindd.pid).
Jun 14 00:27:50 freenas notifier: smbd not running? (check /var/run/samba/smbd.pid).
Jun 14 00:27:50 freenas notifier: nmbd not running? (check /var/run/samba/nmbd.pid).
Jun 14 00:27:56 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Jun 14 00:27:56 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Jun 14 00:27:56 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Jun 14 00:27:56 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpbVwb7V -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Jun 14 00:27:56 freenas notifier: winbindd not running? (check /var/run/samba/winbindd.pid).
Jun 14 00:27:56 freenas notifier: smbd not running? (check /var/run/samba/smbd.pid).
Jun 14 00:27:56 freenas notifier: nmbd not running? (check /var/run/samba/nmbd.pid).
Jun 14 00:27:57 freenas notifier: Performing sanity check on Samba configuration: FAILED
Jun 14 12:39:07 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Jun 14 12:39:07 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Jun 14 12:39:08 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Jun 14 12:39:08 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpsnlQMm -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Jun 14 12:39:08 freenas notifier: winbindd not running? (check /var/run/samba/winbindd.pid).
Jun 14 12:39:08 freenas notifier: smbd not running? (check /var/run/samba/smbd.pid).
Jun 14 12:39:08 freenas notifier: nmbd not running? (check /var/run/samba/nmbd.pid).
Jun 14 12:39:08 freenas notifier: Performing sanity check on Samba configuration: FAILED
Jun 14 12:40:24 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Jun 14 12:40:24 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Jun 14 12:40:24 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Jun 14 12:40:24 freenas generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpgrIsOg -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Jun 14 12:40:24 freenas notifier: winbindd not running? (check /var/run/samba/winbindd.pid).
Jun 14 12:40:24 freenas notifier: smbd not running? (check /var/run/samba/smbd.pid).
Jun 14 12:40:24 freenas notifier: nmbd not running? (check /var/run/samba/nmbd.pid).
Jun 14 12:40:24 freenas notifier: Performing sanity check on Samba configuration: FAILED