Samba
-
- Posts: 1
- Joined: 2014/07/17 01:08:21
Re: Samba
try the below maybe?
Code: Select all
firewall-cmd --permanent --add-service=samba
Re: Samba
I'm haveing similar problems....
firewalld disabled
minimual centos 7 install
(tested on 3 machines)
ran
smbpasswd -a
and
chmod -R 777
windows can login and see shares but not access anything
firewalld disabled
minimual centos 7 install
(tested on 3 machines)
ran
smbpasswd -a
and
chmod -R 777
windows can login and see shares but not access anything
Code: Select all
[root@boxA8 samba]# testparm
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 "[glusterfs]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
netbios name = MYSERVER
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
idmap config * : backend = tdb
[homes]
comment = Home Directories
read only = No
[glusterfs]
comment = testing 123
path = /mnt/glusterfs
read only = No
guest ok = Yes
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Samba
ran
smbpasswd -a
and
chmod -R 777
Neither of which will do anything.
smbpasswd -a
and
chmod -R 777
Neither of which will do anything.
Re: Samba
ubuntu dosen't like to samba share unless you 755 or 777 the directory.
smbpasswd -a <username>
got it so that i could atleast login and see the folder shares
I did just figure out that when my glusterfs isn't mounted i can see in the folder, and once it's mounted can't get in agian.
I can see and play in the folder when i ssh in tho.
smbpasswd -a <username>
got it so that i could atleast login and see the folder shares
I did just figure out that when my glusterfs isn't mounted i can see in the folder, and once it's mounted can't get in agian.
I can see and play in the folder when i ssh in tho.
Re: Samba
It's hard to figure out what is the root cause with fragment info.
Assume iptables off,selinux disabled,smbuser1 is a valid user in local system and samba user.
part of smb.conf
And /mnt/share still needs the right permission for smbuser1.
Or you can just attach permission for one user,see below
Then start smb and nmb service.
enjoy~
Assume iptables off,selinux disabled,smbuser1 is a valid user in local system and samba user.
part of smb.conf
Code: Select all
[global]
security = user
[share]
comment = test
path = /mnt/share
browsable = yes
writable = yes
writelist = smbuser1 #Account have write permission
Or you can just attach permission for one user,see below
Code: Select all
setfacl -m u:smbuser1:rwx /mnt/share
enjoy~