Re: Ceph + SAMBA (vfs_ceph)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 8/29/19 1:32 AM, Salsa wrote:
This is the result:

# testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[cephfs]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE

# Global parameters
[global]
load printers = No
netbios name = SAMBA-CEPH
printcap name = cups
security = USER
workgroup = CEPH
smbd: backgroundqueue = no
idmap config * : backend = tdb
cups options = raw
valid users = samba
...
[cephfs]
create mask = 0777
directory mask = 0777
guest ok = Yes
guest _only_ = Yes
kernel share modes = No
path = /
read _only_ = No
vfs objects = ceph
ceph: user_id = samba
ceph:config_file = /etc/ceph/ceph.conf


I cut off some parts I thought were not relevant.


`map to guest = Bad User`, instead `valid users = samba`.

```

[cephfs]                                 
  path = /                              
  vfs objects = acl_xattr ceph          
  ceph: config_file = /etc/ceph/ceph.conf
  ceph: user_id = samba             
  oplocks = no                          
  kernel share modes = no               
  browseable = yes                      
  public = yes                          
  writable = yes                        
  guest ok = yes                        
  force user = root                     
  force group = root                    
  create mask = 0644                    
  directory mode = 0755                 
```

Reload and try `smbclient -U guest -N //10.17.6.68/cephfs`



k

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux