Hello guys,
I have just installed SAMBA in a Debian box. The only thing I have done has been edit /etc/samba/smb.conf and changed the workgroup so that it matched witch my Windows box.
Then I restarted the smbd service and tried to browse "Other locations" with the gnome File Explorer. It doesn't even show the windows machine.
¿What's wrong?
Thanks!
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED] SAMBA problems with Windows
-
- Posts: 111
- Joined: 2016-11-10 15:30
[SOLVED] SAMBA problems with Windows
Last edited by banderas20 on 2018-08-04 10:01, edited 1 time in total.
Re: SAMBA problems with Windows
I've never needed samba, lost my nerves to win95, formatted disk, and installed linux, and never looked backbanderas20 wrote:Hello guys,
I have just installed SAMBA in a Debian box. The only thing I have done has been edit /etc/samba/smb.conf and changed the workgroup so that it matched witch my Windows box.
Then I restarted the smbd service and tried to browse "Other locations" with the gnome File Explorer. It doesn't even show the windows machine.
¿What's wrong?
Thanks!
But anyways, Debian Wiki is worth searching, and there is this:
https://wiki.debian.org/SambaServerSimple
Re: SAMBA problems with Windows
Samba server is not needed to browse windows shares. Your problem is elsewhere.
-
- Posts: 111
- Joined: 2016-11-10 15:30
Re: SAMBA problems with Windows
Yesterday I browsed windows shares with SAMBA. Today I tried uninstalling and installing and it doesn't work.4D696B65 wrote:Samba server is not needed to browse windows shares. Your problem is elsewhere.
¿Where might the problem be?
Thanks!
-
- Posts: 111
- Joined: 2016-11-10 15:30
Re: SAMBA problems with Windows
Yesterday I could without that package....4D696B65 wrote:gnome uses gvfs-backends to browse shares. Is it installed?
-
- Global Moderator
- Posts: 2715
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 41 times
- Been thanked: 201 times
Re: SAMBA problems with Windows
This got me when I first built up a debian. Thunar worked every so often on whatever default install, that's no samba, no backends. I never did figure that out.banderas20 wrote:Yesterday I could without that package....4D696B65 wrote:gnome uses gvfs-backends to browse shares. Is it installed?
I did settle for gigolo +gvfs-backends +gvfs-fuse. Then when I added that seemingly redundant gigolo step it works every time.
Later on I found gigolo respects entries in /etc/samba/smb.conf without samba installed.
Who knows? It always works now.
-
- Posts: 111
- Joined: 2016-11-10 15:30
Re: SAMBA problems with Windows
Hello.
I have been able to do it both ways. In the way Linux -> Windows I tried with smbmount, as several webs explain. However, I don't have that command neither can download it via the repositories.
The I tried with mount -t smbfs, but it didn't recognize the filetype.
If I issued apt-get install smbfs, the result was:
I wanted to do it via samba packages, but it gave me no choice. Once I installed cifs-utils, the proper command worked like this:
Thanks for your help! And I hope this solution helps other people with similar issues.
I have been able to do it both ways. In the way Linux -> Windows I tried with smbmount, as several webs explain. However, I don't have that command neither can download it via the repositories.
The I tried with mount -t smbfs, but it didn't recognize the filetype.
If I issued apt-get install smbfs, the result was:
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package smbfs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
cifs-utils
Code: Select all
mount -t cifs //windows_host/folder /mount/point/ -o username=uname,uid=uname,gid=uname