ZFS CIFS share (original) (raw)
Приветствую.
Вот какая проблема. На свежаке, 11:
Есть винт, c9d0, он целиком взят в zpool tank
rezdm@rezdm-sol:/$ pfexec zfs create -o casesensitivity=mixed -o nbmand=on -o sharesmb=name=rezdm tank/space/rezdm
rezdm@rezdm-sol:/$ cd /tank/space
rezdm@rezdm-sol:/tank/space$ pfexec chown -R rezdm:staff rezdm
rezdm@rezdm-sol:/tank/space$ cd rezdm/.zfs/shares
rezdm@rezdm-sol:/tank/space/rezdm/.zfs/shares$ /usr/bin/ls -lv
total 1
-rwxrwxrwx+ 1 root root 0 Nov 20 00:53 rezdm
0:everyone@:read_data/write_data/append_data/read_xattr/write_xattr
/execute/delete_child/read_attributes/write_attributes/delete
/read_acl/write_acl/write_owner/synchronize:allow
rezdm@rezdm-sol:/tank/space/.zfs/shares$ pfexec /usr/bin/chmod A0=user:rezdm:read_data/write_data/append_data/read_xattr/write_xattr/execute/delete_child/read_attributes/write_attributes/delete/read_acl/write_acl/write_owner/synchronize:allow rezdm
rezdm@rezdm-sol:/tank/space/rezdm/.zfs/shares$ /usr/bin/ls -lv
total 1
----------+ 1 root root 0 Nov 20 00:53 rezdm
0:user:rezdm:read_data/write_data/append_data/read_xattr/write_xattr
/execute/delete_child/read_attributes/write_attributes/delete
/read_acl/write_acl/write_owner/synchronize:allow
rezdm@rezdm-sol:/tank/space/rezdm/.zfs/shares$ uname -a
SunOS rezdm-sol 5.11 snv_151a i86pc i386 i86pc Solaris
rezdm@rezdm-sol:/tank/space/rezdm/.zfs/shares$ sharemgr show
default
zfs
zfs/tank/space/rezdm
/tank/space/rezdm
smb
/var/smb/cvol
IPC$
rezdm@rezdm-sol:/tank/space/rezdm/.zfs/shares$ sharemgr show -vp
default nfs=()
zfs
zfs/tank/space/rezdm smb=()
rezdm=/tank/space/rezdm
smb smb=()
* /var/smb/cvol smb=() "Default Share"
c$=/var/smb/cvol "Default Share"
* IPC$ smb=() "Remote IPC"
IPC$=IPC$ "Remote IPC"
В винде (7ка) захожу на \\rezdm-sol — шара видна.
Пытаюсь зайти на шару — спрашивает пользователь-пароль.
Ввожу — получаю отлуп.
Куды копать?
Спасибо.
nb: auto_home не хочу
Метки: filesystems, solaris, zfs