I had Samba shares working perfectly, both ways using CentOS 5. (Not sure how I did it!) When I upgraded to CentOS 6, I had a lot of problems but I managed to get it workimng so that I could access samba shares from Windows 7, bit not the other way round.
Now I'm on CentOS 7.5 and I can't get anything working at all.
If I try to see Windows computers from CentOS, I get an Empty Page
If I try to connect to Samba shares from Windows, I can 'see' the share, but when it asks me for a username and password, it just keeps refusing it.
Here is my "sanitized" smb.conf :
[global]
log file = /var/log/samba/log.%m
load printers = no
domain master = no
hosts allow = 127. 192.168.0.0/24
encrypt passwords = yes
realm = xxx.mydomain.com
passdb backend = tdbsam
netbios name = CentOS-73
cups options = raw
server string = Samba Server Version %v
password server = My-DC.xxx.mydomain.com
workgroup = MYOB
os level = 20
printcap name = /dev/null
security = ads
max log size = 5
; domain logons = yes
# log files split per-machine:
# enable the following line to debug:
# log level =3
# maximum size of 50KB per log file, then rotate:
; id map config * : backend -tdb
# Not interested in printers
[homes]
comment = Home Directories
browseable = yes
writable = yes
# valid users = %S
valid users = MYOB\%S
[Web]
comment = Web Servers
browseable = yes
writable = yes
path = /var/www/
guest ok = no
# valid users = %S
valid users = MYOB\%S
# Un-comment the following and create the netlogon directory for Domain Logons:
#[netlogon]
# comment = Network Logon Service
# path = /var/lib/samba/netlogon
# guest ok = no
# writable = no
# Un-comment the following to provide a specific roaming profile share.
# The default is to use the user's home directory:
[Profiles]
# path = /var/lib/samba/profiles
# browseable = no
# guest ok = yes
Before you say it - I really DON'T know what I'm doing). I still have big 'L' Plates. I work mainly with Windows. I WANT to get rid of windows, but I still don't have all the skills I need to be comfortable with it. I find Samba difficult, non-intuitive and unforgiving. The other Linux stuff, I think I'm doing OK.
A bit of SIMPLE hand-holding would be nice. PLEASE!
Help needed with Samba
Issues related to configuring your network
-
- Posts: 16
- Joined: 2010/03/13 03:46:04
- Location: Belgium
Return to “CentOS 7 - Networking Support”
Jump to
- CentOS General Purpose
- ↳ CentOS - FAQ & Readme First
- ↳ Announcements
- ↳ CentOS Social
- ↳ User Comments
- ↳ Website Problems
- CentOS 8 / 8-Stream / 9-Stream
- ↳ 8 /8-Stream / 9-Stream - General Support
- ↳ 8 /8-Stream / 9-Stream - Hardware Support
- ↳ 8 /8-Stream / 9-Stream - Networking Support
- ↳ 8 /8-Stream / 9-Stream - Security Support
- CentOS 7
- ↳ CentOS 7 - General Support
- ↳ CentOS 7 - Software Support
- ↳ CentOS 7 - Hardware Support
- ↳ CentOS 7 - Networking Support
- ↳ CentOS 7 - Security Support
- CentOS Legacy Versions
- ↳ CentOS 5
- ↳ CentOS 5 - General Support
- ↳ CentOS 5 - Software Support
- ↳ CentOS 5 - Hardware Support
- ↳ CentOS 5 - Networking Support
- ↳ CentOS 5 - Server Support
- ↳ CentOS 5 - Security Support
- ↳ CentOS 5 - Oracle Installation and Support
- ↳ CentOS 5 - Miscellaneous Questions
- ↳ CentOS 6
- ↳ CentOS 6 - General Support
- ↳ CentOS 6 - Software Support
- ↳ CentOS 6 - Hardware Support
- ↳ CentOS 6 - Networking Support
- ↳ CentOS 6 - Security Support