[Samba] ceph vfs can't find specific path

Rowland penny rpenny at samba.org
Mon Sep 21 09:02:00 UTC 2020


On 21/09/2020 08:55, Jonas via samba wrote:
> Hello
>
>
> Using two file server with samba 4.12.6 running as a CTDB cluster and trying to share a specific path on a cephfs. After loading the config the ctdb log shows the following error:
>
>
> ctdb-eventd[248]: 50.samba: ERROR: samba directory "/plm" not available
>
>
> Here is my samba configuration:
>
>
> [global]
> clustering = Yes
> netbios name = FSCLUSTER
> realm = INT.EXAMPLE.COM
> registry shares = Yes
> security = ADS
> workgroup = INT.EXAMPLE.COM
> map acl inherit = Yes
> vfs objects = acl_xattr
>
> [plm]
> guest ok = Yes
> inherit permissions = Yes
> kernel share modes = No
> path = /plm
> read only = No
> vfs objects = ceph
> ceph:config_file = /etc/ceph/ceph.conf
> ceph:user_id = samba

No idea about the cephs part, but your smb.conf isn't correct, your 
workgroup shouldn't be the same as the realm, perhaps use 'INT' instead. 
You have no 'idmap config' lines, how are you going to map your AD users 
to Unix users ? You have 'guest ok = yes' set in [plm] but you do not 
have 'map to guest = bad user' set in [global], so guest access will not 
work. Finally, by setting 'vfs objects = ceph' in [plm], you have turned 
off acl_xattr on the share.

Rowland





More information about the samba mailing list