New CentOS7 PC can't be discovered on WIN7 LAN network [Solved]

General support questions
Post Reply
jeffw_00
Posts: 60
Joined: 2006/12/17 02:55:29

New CentOS7 PC can't be discovered on WIN7 LAN network [Solved]

Post by jeffw_00 » 2017/12/17 15:31:07

Hi - I built a new CentOS 7.3 machine, and yum updated (so I guess I'm at 7.4). I have a bunch of WIN7 PCs, and an older Centos 5 machine on my network. On the Centos 6 machine I have samba configured so that the machine appears in Windows alongside my other windows 7 machines. I installed Samba on my new CentOS machine, set up the smb.conf the same way as I did on the older Centos5 machine, turned off the Centos firewall (for the moment), but I still can't see, map, nor access my new machine from any windows 7 machine on the same LAN. I can ping the Centos 7 machine, and it (usually) responds. The 2 Linux machines can rsync to each other (although i have to specify the new one by IP address), but I can't map my Centos 7 machine on a windows 7 machine to do drag/drop file transfer. I'm guessing there's some security knob related to Discovery or some such that I need to tweak.

Can anyone point me in the right direction?

Thanks!
/j


my smb.conf is below

[global]
workgroup = kwcpa
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
guest ok = yes
guest account = jwinston

[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = root
create mask = 0664
directory mask = 0775
[jwinston]
path = /home/jwinston
writeable = yes
; browseable = yes
guest ok = yes

testparm says..

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

jeffw_00
Posts: 60
Joined: 2006/12/17 02:55:29

Re: New CentOS7 PC can't be discovered on WIN7 LAN network [Solved]

Post by jeffw_00 » 2017/12/17 18:17:24

Learned how to do it here:

https://www.tecmint.com/install-samba4- ... n-windows/

(but copy the [anonymous] to an active user so you have login credentials)

jeffw_00
Posts: 60
Joined: 2006/12/17 02:55:29

Re: New CentOS7 PC can't be discovered on WIN7 LAN network [Solved]

Post by jeffw_00 » 2017/12/17 20:00:54

I still have to access the new machine by IP address from other lInux boxes - :-(

poky
Posts: 108
Joined: 2013/03/27 12:18:03

Re: New CentOS7 PC can't be discovered on WIN7 LAN network [Solved]

Post by poky » 2017/12/18 21:28:32

[global]
workgroup = kwcpa
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
#guest ok = yes
#guest account = jwinston
map to guest = bad user
local master = yes
os level = 3
preferred master = yes
# NTLMv1 - Windows XP
ntlm auth = Yes

Post Reply