You are not logged in.

#1 2016-08-20 17:22:38

mxfm
Member
Registered: 2015-10-23
Posts: 163

No computers in workgroup

Hi! I am trying to access computers in windows WORKGROUP network. After reading wiki samba page I have following configuration:

output from tesparm

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 "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
	server string = Samba Server
	log file = /var/log/samba/%m.log
	max log size = 50
	printcap name = /etc/printcap
	security = USER
	dns proxy = No
	idmap config * : backend = tdb


[homes]
	comment = Home Directories
	browseable = No
	read only = No


[printers]
	comment = All Printers
	path = /var/spool/samba
	browseable = No
	printable = Yes

/etc/nsswitch.conf

# Begin /etc/nsswitch.conf

passwd: files
group: files
shadow: files

publickey: files

hosts: files dns myhostname wins
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files

# End /etc/nsswitch.conf

Also

modprobe cifs
systemctl restart smbd
systemctl restart winbindd
systemctl restart nmbd

I have following:
smbclient -L localhost -U%

Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.4.5]

	Sharename       Type      Comment
	---------       ----      -------
	IPC$            IPC       IPC Service (Samba Server)
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.4.5]

	Server               Comment
	---------            -------
	MF19528              Samba Server

	Workgroup            Master
	---------            -------
	WORKGROUP            MF19528

smbtree -b -N

WORKGROUP
	\\MF19528        		Samba Server
		\\MF19528\IPC$           	IPC Service (Samba Server)

I see that server is running, but I am interested in client mode. Also nautilus shows nothing (gvfs-smb is installed).

P.S. OK, now I can see something in the network

Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.4.5]

	Sharename       Type      Comment
	---------       ----      -------
	IPC$            IPC       IPC Service (Samba Server)
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.4.5]

	Server               Comment
	---------            -------
	MF19528              Samba Server
	VALENTINA-ÅÈ       
	ÅÄÏ£ÇÄÉÇÆÀÏ£-ÅÈ     

	Workgroup            Master
	---------            -------
	WORKGROUP            MF19528

Corrupted names refer to cyrrilic windows PC names I guess. Ok, how they can be accessed via GUI or cli?

Last edited by mxfm (2016-08-20 17:52:56)

Offline

#2 2016-09-10 22:51:43

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 617

Re: No computers in workgroup

KDE has the ability to enter samba shares (kdenetwork-filesharing) for an example and KDE has the smb4k package. You did not write what gui you use.

BTW cyrrilic names - i have similar - polish, and when i need to enter something in terminal i just type  something like these:

cd "my polish letters"

and it works, but i am not sure if this is what you ask for.


Also, you can access it via dolphin, click on samba shares and type in bar smb://ip of the machine and it should also enter it (you need to set /etc/hosts)

Offline

#3 2016-09-12 06:13:32

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: No computers in workgroup

Can you access them by typing their IP address into your file manager? network:///123.231.123.123 whatever? Setting up samba shares via gui usually causes more problems down the road for the linux pc. Are you trying to set up Samba for a simple home network with Windows pc's? There are some minor tweaks you have to do to the Windows pc's, read the Samba documentation. Can you access the linux machine from the Windows machines? Can you access or see the Linux pc from other Linux pc's?


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#4 2016-09-20 13:45:28

hendry
Member
From: Singapore
Registered: 2009-09-08
Posts: 157
Website

Re: No computers in workgroup

UPDATE: I rebooted and retested everything last night and the share is restored from Windows 10! Sorry for the noise! https://bugs.archlinux.org/task/50847




Recently after that "tevent" affected bad update Samba browsing / mounts are not working from my Windows 10 machine to my Archlinux NUC.

However mounts from my Archlinux laptops are fine.

//nuc.local/raid1 on /mnt/raid1 type cifs (rw,nosuid,nodev,noexec,relatime,vers=1.0,cache=strict,username=hendry,domain=NUC,uid=1000,forceuid,gid=100,forcegid,addr=192.168.1.7,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=65536,echo_interval=60,actimeo=1,user)

So something has broken speaking from Samba Arch to Windows?!

Btw, I just tried MacOSX and it mounts my nuc.local's raid1 samba share just fine. Just Windows 10 clients seem broken. hmm

Last edited by hendry (2016-09-26 02:42:57)

Offline

Board footer

Powered by FluxBB