Samba - kan ACL niet bewerken

Pagina: 1
Acties:

  • Megalith
  • Registratie: Juni 2009
  • Nu online
Ik ben bezig met het inrichten van mijn ZFS doos (ZFSguru). Ik zou graag de users van mijn Windows AD gebruiken in de ACL van Samba op het ZFSguru systeem. Ik heb Samba opnieuw gecompiled met ADS en ACL support. Het domein joinen is gelukt en ik kan zelfs een share benaderen (\\192.168.1.111\music) met een AD account.

Het laatste wat ik nog voor elkaar wil krijgen is de ACL aanpassen, het liefst vanaf mijn eigen Windows machine. Echter krijg ik hierbij nu steeds de melding; "De parameter is onjuist".

Afbeeldingslocatie: http://i49.tinypic.com/am9oqd.png

Ik heb op het moment geen idee waar ik de oorzaak van dit probleem zou kunnen vinden, en google geeft me ook niet veel informatie. Misschien dat iemand van jullie me te hulp kan schieten...

Mijn smb.conf:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#======================= Global Settings =====================================
# Important: feel free to edit this file, but do not remove the lines beginning
# with #===. Doing so might cause ZFSguru to not properly parse this file.

[global]
workgroup = SCHUTRUP
server string = data
load printers = no
printing = bsd
printcap name = /dev/null
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#password server = 192.168.1.2
netbios name = data
dns proxy = no
smb ports = 139
security = ads
realm = SCHUTRUP.LAN

#idmap uid = 10000 - 20000
#idmap gid = 10000 - 20000

winbind uid = 10000 - 20000
winbind gid = 10000 - 20000
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
winbind refresh tickets = Yes
winbind nested groups = No

template homedir = /home/%D/%U
template shell = /usr/local/bin/bash
client ntlmv2 auth = yes
restrict anonymous = 2
domain master = no
local master = no
preferred master = no
disable netbios = no
dos charset = ASCII
unix charset = UTF8
display charset = UTF8

netbios name = data
log file = /var/log/samba/log.%m
max log size = 50

nt acl support = yes
inherit acls = yes
map acl inherit = yes

# regular user account used to store Samba files
guest account = share

# default permissions (can be set in share for share-specific configuration)
create mask = 0666
directory mask = 0777

# do not use sendfile
use sendfile = no

# asynchronous I/O (improves performance on multiqueue I/O)
aio read size = 1
aio write size = 1
aio write behind = true

# socket options
# try enabling and adapting if you encounter performance problems
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536

# other options
;   hosts allow = 192.168.1. 192.168.2. 127.
;   socket options = SO_RCVBUF=8192 SO_SNDBUF=8192
;   interfaces = 192.168.12.2/24 192.168.13.2/24
;   display charset = koi8-r
;   unix charset = koi8-r
;   dos charset = cp866

# Use extended attributes to store file modes
;    store dos attributes = yes
;    map hidden = no
;    map system = no
;    map archive = no

# Use inherited ACLs for directories
;   nt acl support = yes
;   inherit acls = yes
;   map acl inherit = yes

#============================ Share Definitions ==============================

[tmpfs]
path = /tmpfs
comment = Memory Filesystem share
browseable = yes
writeable = yes
public = yes

[music]
path = /discovery/shares/music
valid users = @shareadmins
admin users = jschutrup_admin
writeable = yes
browseable = yes
nt acl support = yes

  • Megalith
  • Registratie: Juni 2009
  • Nu online
Als ik trouwens dmv het commando zfs set sharesmb=on /discovery/shares/music een filesystem probeer te sharen geeft hij de melding:


Unsupported share protocol: 1.