Fedora :: FC11 Cannot Mount Windows Shares Using Netbios Names
Nov 30, 2009
I've had my FC11 x86_64 installation up and running for 6 months. Until a week ago, I was able to mount windows shares through Nautilis using their netbios names. About a week ago, this all broke with no tinkering on my part. Now, I can mount the shares using the IP address, but not using the netbios name.
When I make he attempt either from scratch or by using a previously working bookmark, I get "cannot display location "smb:\..." When I browse the network using Nautilis I can see the workgroup, but when I try to open it, I get "unable to mount location. Failed to retrieve share list from server." When I use nmblookup with the netbios name, the correct ip adress is returned.
The problem seemed to correspond to a software update that occurred on 2009-11-21 that included updates to selinux-policy and selinux-policy-targeted. SE Linux has the System Default Enforcing Mode set to disabled. The system default policy type is set to targeted with no other options available.nsswitch.conf file appears to have been changed on the same date, but reverting back to the backup version of the file failed to solve the problem. Samba is up and running. My linux shares are accessible from my windows boxes. The firewall is open to smb and smbclient.
View 1 Replies
ADVERTISEMENT
Jul 18, 2009
In the last couple of weeks I was trying to work thru some issues regarding access from my FC11 box to my WinXP box over the local network (Have had no problem using Samba to go the other way). I was trying to use smb4k and couldn't seem to make it work. Maybe that's because I use Gnome as my desktop (tho, I would guess that the install of smb4k would include necessary dependencies for KDE).I went back to this problem today and figured out how to access the window shares using Gnome Connect to Server function (Have tried it in the past but must have been doing something wrong). I now get the icon on my desktop and the appropriate listing in the Place menu.
What I notice is when I click on the icon (or select the share listing on the Place menu) to open the "folder" I get a duplicate of the icon on my desktop and duplicate listing on the Place menu. The window opens with access to the folder without any problem. If I close the window, it does so just fine, but I'm left with the duplicate icon and menu listing. To get rid of these "extraneous" items, I need to unmount the volume. Then the extra icon and Place menu listing are gone. If I already have opened the window and incurred a duplicate icon, etal., even if I close and then open it again, no more duplicates are added.Is this normal or is there a setting I need to change to keep this duplicate from happening.
View 2 Replies
View Related
Jul 11, 2010
I'm having trouble getting my debian box to find my windows box. This should be possible using netbios names.
The debian box is a newly installed minimal (nothing but base) release, to which I've added samba (using apt-get).
The windows box can see the debuan box just fine. Attempting to ping it by name results with:
Pinging debbox [192.168.1.100] with 32 bytes of data: ...
But going back the other way, the debian box can't see the windows box.
ping: unknown host winbox
I'm pretty happy that the windows box is behaving itself as there are no problems getting it to interact with other windows machines on the network.
Looking on google, the suggestion is to modify the host line in /etc/nsswitch.conf to include wins: hosts: files dns [b]wins[/b]
This worked on other linux machines in the past but not this time.
So my guess it that I've got SAMBA mis-configured or I'm missing a package.
View 1 Replies
View Related
Mar 2, 2010
I am unable to mount Windows shares on Fedora 12. From Nautilus, I can navigate to the shares, but when I attempt to open one I get a dialog "Password required for share ... on ..." asking for username (prepopulated with my username), domain (prepopulated with MYGROUP) and password. I have the same username on the Windows box, but when I enter the password and click Connect, the dialog just pops up again. I'm not sure what "domain" is, tried with my Windows workgroup name, no good. If I blank out either username or domain, the Connect button is disabled.
I tried using the mount command:mount -t cifs //192.168.0.2/... /tmp/mnt -o username=adrian,password=...,iocharset=utf8,file_m ode=0777,dir_mode=0777
That did work once, but now gives the useful error message:mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I can run Windows instead on the client machine, and that gives me access to the shares, no problem.
I have libsmbclient-3.4.5-55.fc12.i686, but that was installed a month ago. I don't see any more recent changes to anything relating to the samba client. I've never had to enter a password to access Windows shares. Actually, it looks like the problem may be on the Windows side, although as far as I know, nothing has changed there. Using smbclient with debuglevel set high, I see failures with this error:SPNEGO login failed: NT_STATUS_REQUEST_NOT_ACCEPTED
Every now and again, I can connect to one or more shares, but after a few attempts, I can't connect to any more. Tried rebooting the Windows box, but that's had no effect. Oh, and "smbclient -L" shows domain as the host name of the windows box, but anonymous login (smbclient -L -N) shows domain as the workgroup name.
View 5 Replies
View Related
Jan 15, 2009
We are using spare parts (Socket 775 Biostar motherboard, OCZ 500wat PSU) to build a computer that will just be another system in the house. I want this system to be running Folding@Home, and the F@H SMP client for Linux is much less of a headache than its Windows couterpart, so I would like this computer to run Fedora. My dad loves networking, and knows how to do it in XP / Vista, so he has always opposed my frequent use of Linux. There are ways of accessing Windows shared folders from Linux, but that I haven't figured it out yet. I want to access Windows shared folders from my Fedora 10. I don't know how to go about doing this, can anyone point me in the right direction? Do I have to install anything special? I can go to Places, and then Network (in Gnome) and I see "Windows Network", but when I click it, I get "Unable to mount location Failed to retrieve share list from server"
View 8 Replies
View Related
Nov 30, 2010
I have a fileserver that I want to share out samba shares. However, i configured samba to have another netbios (SAN) and my windows box still sees whoopn-SAN which is the name I gave to my server when i installed it. Now I am using 9.10 and I know that i can create a share from the gnome gui in nautilus and that appears to be a windows like share. How can I turn OFF the windows like shares that ubuntu does out of the box and use ONLY samba? I ask because there appears to be a conflict of permissions b/w samba and this stuff.
View 7 Replies
View Related
Apr 4, 2011
I'm mounting a Windows share using the following in Ubuntu: mount -t cifs username=MYUSER,password=1234 //192.168.1.5/myshare /mnt/windows_share
This works fine, but I would like to mount the share using the computer's hostname, not the IP. I can ping the hostname fine, but I mounting using the hostname instead of the IP does not work. The share cannot be found.
In Windows, I can access the share as \COMPUTER\myshare, and using Nautilus in Ubuntu, I can connect to //COMPUTER/myshare, but I can't use the name in the mount command.
View 1 Replies
View Related
Feb 23, 2011
This applies to my 2 opensuse PC's, my Windows PC is fine.I can ping a hostname, say "PC1" but I can not ping PC1.domain.local (even the host PC can not ping it's own FQDN). When I ping just the hostname the ping stats even list the FQDN.Onto the next issue, since all my PC's, have the domain prefix domain.local, my Synology can not. I can ping it's IP and that is it. I can resolve it's name with nmblookup just fine tho and that is what is killing me. How is this not resolving.Even weirder, I can browse to "Synology" in Network Servers under places on the slab.
View 3 Replies
View Related
Jan 11, 2011
Im setting up a Mythbuntu box as a HTPC, and I want to be able to stream my media from my Windows box to the Mythbuntu box. I got the windows shares mounted fine, everything works. But I want them to auto mount so I modded my /etc/fstab file to mount the share. The problem is the Mythbuntu box uses wifi, and during boot the computer can't connect to the Windows box, and it hangs on
Quote:
Error while mounting /blah/blah/ press s to skip or m for manual recovery and I am planning on not having a kbd hooked up to this computer once it is done.
1) Is there a better way to auto mount Windows shares - one that does the mounting after the computer is booted up? Furthermore, the Windows box may be off, so I want it to just skip the mounting on error.
2) Right now when I mount the share, I have to specify the Windows computer by its IP address. If I do it by PC name, it doesn't work, says it can't find the computer. Is there a way to mount using the computer name, so that if my router decides to give the windows box a new IP I wont have to reload everything?
View 1 Replies
View Related
Oct 29, 2009
I have never wrote a script before in linux/unix and I am having trouble doing so. I would like to turn this command: mount -t cifs //ntserver/download -o username=vivek,password=myPassword /mnt/ntserver
View 8 Replies
View Related
Feb 13, 2010
I am trying to share files on my Windows XP Home machine over my P2P network to my Ubuntu netbook. The folder I wish to share is configured in Windows with public permissions. I go to the Files & Folders > Documents and then I click on Network in the Places tab. A Windows Network icon appears, but when I double click it I receive the error message, "Unable to mount location. Failed to retrieve share list from server."
View 2 Replies
View Related
Apr 1, 2010
I am using the mount command to mount Windows shared folders are another machine on my LAN, to have them show up in the Linux filesystem. The command mounts the folders just fine, however the access is read-only.
In the command, I am also using the -o option to specify a username and password that should have full access. Also, I have used this identical command on my other distros and it seems to work fine. I've Googled high and low, trying to find a way to specify a Samba user/password for authentication. I know one of the other distros had a program that I could specify a Samba user/password to simulate a Windows login.
View 6 Replies
View Related
Feb 12, 2011
I am encountering this difficulty. I have no networking onto windows 95 4.0 which in on the linux ubuntu machine. Windows 95 4.0 has no networking..
View 4 Replies
View Related
Jan 30, 2011
I'm running Ubuntu 10.04 on a VM and I'm trying to automatically mount two shares from the Windows Vista SP2 host. Currently this is failing with the message "mount error(112): Host is down".
I recently upgraded VMWare Server. Before the upgrade I was able to mount shares without a problem. I can still mount shares on the host using the builtin "Connect to server" feature in Gnome. The problem I'm running into is mounting shares via the command line or via fstab. The relevant lines from my fstab are below.
Just a couple notes: the IP address of the host is static on the virtual network, so using the IP address as the server name should not be an issue. Also, I am able to ping the host fine (which obviously must be true for me to mount using the Gnome feature).
View 2 Replies
View Related
May 4, 2010
I have beating my brains out trying to get Lucid Lynx connected to an SME Server 7.4 to automatically mount windows shares. The winbind stuff seems to work okay after I installed a restart script in /etc/network/if-up.d (kudos to OsGnuru & bobpaul for that) There is a short wait on network up before winbind can validate but that is not a show stopper. I have looked at (what I think) is the correct log for pam_mount and it seems to be running through to the end process okay. It looks like it is either not reading the pam_mount.conf.xml file or I have not configured it correctly as it just reports "No Volumes to Mount". I have appended the log file, pam_mount auth, password, session & common conf files as well as the pam_mount.conf.xml file for review.
View 1 Replies
View Related
Oct 9, 2010
I'm trying mount nfs shares on f11 to a f14 machine. They are all sub-folders of /media, they all have the same owner (me), same group (ditto) 0x777 protection set. In some cases I can see files in the sub folders but other folders remain hidden. here is a copy of my exports file
[root@mythtv todd]# cat /etc/exports
/media/areca1 192.168.1.0/255.255.255.0(rw)
/media/areca2 192.168.1.0/255.255.255.0(rw)
/media/areca3 192.168.1.0/255.255.255.0(rw)
[Code]...
View 2 Replies
View Related
Nov 8, 2010
I currently mount my smb shares by adding the appropriate line to fstab. Now my son also uses my laptop (F13 by the way) and I would also like to automount the shares for him but as a different user because there are some directories he should not have access to.
View 1 Replies
View Related
Apr 2, 2011
This morning my NFS shares mount but permissions are all NOBODY NOBODY. If I ssh to the server to check the drive(s) permissions are all as they should be! Exports there are fine as is my local fstab. I hope I am just suffering and update glitch because they usually go-away in a subsequent update.
I just spent an hour and a half trying to track it down with no success - time to give up before I do real damage (to which I am prone ).
fc14 on both
View 14 Replies
View Related
Jan 28, 2011
Givens
LAN
CentOS 5.5
Windows 7 machine (hostname/NETBIOS name: AwesomePC, LAN IP: 192.168.1.20)
Workgroup: Cake
No WINS server
No Domain
No AD
Goal
From CentOS 5.5, have
# ping AwesomePC
resolve to a ping on 192.168.1.20
Problem
# ping AwesomePC
resolves to some random public IP that seems to be coming from my WAN DNS (openDNS) servers
ATTEMPTS
Have edited /etc/nsswitch.conf, edited line: hosts: files wins dns Have edited /etc/resolv.conf, added line: search CAKE Have installed samba (# yum install samba) and run (# service smb start), with /etc/samba/smb.conf, workgroup = CAKE, name resolve order = wins host lmhosts bcast
Does # ping even care about samba? How can I get this to work?
View 5 Replies
View Related
Jun 17, 2011
I want to setup a Linux File Server for a small windows network (around 50 users). I do know that I am gona need Smb service/pkg for that. I haven't used Samba for a while now and as per the best of my knowledge, entire communication (including usernames and passwords) between a samba server & windows client machines will be plain text. Is there any way to secure all this communication??
Secondly, if i remember correctly, MS windows wont let me mount more than one samba shares as network disk when all my shares can be accessed by different smb users with different passwords?? is there a solution to this problem? OR may be if there is any other package available for this purpose so that i wont have to use samba?
View 4 Replies
View Related
Oct 4, 2009
It's been awhile since I posted anything which is a good sign my install has been working well and I have been able to handle most everything. However, I'm not able to handle this issue. I recently installed F11 and everything went well. But, when trying to see my other computers on the local network, I cannot. I receive this error message: Unable to mount location Failed to receive shared list from server. I understand the message as it is obvious, but do not know how to fix it.
View 14 Replies
View Related
Jun 13, 2009
I'm just staring with fedora 11 and I want to know how to do the following:
1- Connect to windows shares on another PC.
2- Set these shares to be accessible in the Computer location at all times.
View 2 Replies
View Related
Jan 3, 2010
This is a bit of a shameless cross-forum bump, as I'm really trying to crack samba in the hope of getting some server action going, and this is the closest I've been to actually understanding what I'm playing with.
"Well, I've lasted a lot longer than usual before resorting to asking around, but I've finally gone delightfully mad. I've been trying to access shares based on Windows 7 Ultimate with limited user access on said shares. I've managed to get into my XP machine, another mate's Vista machine and various Linux boxes with no issues, but that's only for shares that are accessible by everyone. The moment I try to get into a share that requires user credentials, I get "Error returning browse list: NT_STATUS_ACCESS_DENIED"
If I try to access restricted shares (be it machine or folder) through Nautilus, I will get a user logon prompt, but it fails. Using smbclient results in just as little success, and now I'm munching through O'Reiley's Samba manual from '99, after realising that I need to basically learn Samba in its entirety to have a hope in hell at getting this to work. The trouble is though, every HOWTO and relevant forum post I get my hands on all seem to concentrate more on the server side of things, and usually servering from a linux box, not the other way around as I'm trying to.
The above Windows 7 machine won't even allow me to view its share contents, whereas the XP machine will allow me to browse, but won't allow me to access folders with restricted access. I'm pretty sure there aren't any major issues with the way the Windows 7 machine is setup, as it can be accessed with logon from my Xbox, Ubuntu machine, XP and Vista, with only Fedora having problems getting in as it constantly fails logon. What I'm trying to establish is, if Ubuntu can get in, is there something in my Fedora samba config I'm missing that's preventing me access? My thanks in advance to those of you who've been able to put up with me rambling"As you'll see in my original fedoraforum post, the workgroup misreport issue mysteriously fixed itself after a few updates, although I'm inclined to blame my mate's Win 7 box...call it force of habit, I've just generally come to mistrust an OS that tries so diligently to shift focus away from its shell.
View 1 Replies
View Related
Nov 23, 2010
I am in the process of migrating my small workplace to a basic spin i've created of f14. Everything is suave but some file browser windows eg: file upload in gmail, hotmail etc, does not show my samba shortcuts i've created nor even the option to browse the network in the "places" section. It shows other locally created shortcuts but no samba ones. Just to test it, even creating an ftp:// shoftcut yeilds no dice. I had a quick search through the forums and I couldn't find anything. I have a feeling this has an easy solution that my inferior brain cannot comprehend! Loving F14 on my macbook pro and so are my employees in my office! Feels much less bloated than Ubuntu IMHO.
View 2 Replies
View Related
Jun 3, 2011
After booting, the sda5 and sda8 mounts work fine, but the Windows shares haven't been mounted. If I enter the command: mount -a everything works fine. I don't know if this a timing issue, or something to do with the new systemd stuff, but it has happened in previous Fedora releases from time to time.
View 1 Replies
View Related
May 22, 2009
I had an older fedora box (I think it was Core 3) that acted as my file server in my small network (4). It worked fine when I had all XP clients connecting to it. Recently we decided to get all new computers. So now I have a fedora 10 box acting as my file/print server and all Vista Home premium computers as the clients. For the life of me I can not get samba to work. When I try to map the network drives on windows it will not let me authenticate. I install swat and try it that way, still no luck. Here is a copy of my smb.conf file:
Code:
# Samba config file created using SWAT
# from UNKNOWN
# Date: 2009/05/19 21:47:31
[global]
workgroup = AIVILANET
server string = Bighat Samba Server
interfaces = eth0
null passwords = Yes
smb passwd file = /etc/samba/smbpasswd
passdb backend = tdbsam
username map = /etc/samba/smbusers
syslog only = Yes
announce version = 5.0
name resolve order = hosts wins bcast
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = CUPS
wins support = Yes
[HP-LaserJet-1200]
comment = HP LaserJet 1200
path = /var/spool/samba
read only = No
printable = Yes
printer name = HP-LaserJet-1200
oplocks = No
share modes = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[home]
path = /home/savona/
username = savona
valid users = @Users
admin users = savona
write list = savona
force user = savona
force group = savona
read only = No
hosts allow = 10.0.0.2
View 8 Replies
View Related
Nov 29, 2009
Does anyone know how to configure Fedora 12 to use netbios over an OpenVPN network
putting
hosts: files wins dns
into the nsswitch.conf file enable netbios over the LAN but not over the VPN.
View 4 Replies
View Related
Apr 29, 2010
I have been beating my brains out the last few days trying to get my linux box to ping my Pc's via the netbios name. (ping pc_name) I have read post after post with no luck at all. What i do know is that my pc's can ping the linux box via netbios name with no problem. Samba works from the pc's but not the other way around. I have added wins to my host in the nsswitch.conf fileMy smb.conf file:Quote:
global]
workgroup = OFFICE
server string = Samba Server Version %v
[code]....
View 10 Replies
View Related
Sep 5, 2010
I have recently set up an ubuntu installation on an old PC. After some fiddling with both it, and the windows 7 machine, I have managed to share all of my drives. However, when attempting to access them from ubuntu, only 2 of the 4 hard disk shares will mount, with the other 2 failing with a Unable to mount location, failed to mount windows share error message.
View 2 Replies
View Related
Feb 25, 2011
From Konqueror/Dolphin is possible to access samba shares. If your computer is joined to a Active Directory domain and you use a domain user, you can access samba shares with smb://server.domain/share and you are not ask for user/pass (you use a kerberos tiquet). Kde programs as Amarok, K3b, ... can access files in samba shares without problem. But other programs, specially gnome programs (including the popular OpenOffice), are unable to use files in a samba share. If instead of using Konqueror/dolphin you use Nautilus, there is no problem because it maps the share to a local folder ($HOME/.gvfs/share in sever/) and the program are able to access files in samba shares without problems as the folder is mounted locally (as if you use cifs.mount). Its a problem to use konqueror/dolphin and have to change to nautilus to access samba shares.
If you use Windows you can mount it in an easy way. That's what I try to do from konqueror, not having to open a konsole and be able to mount the share in an easy way. I've tried with smb4k, but is has not worked for me (tried in 2 OpenSuse 11.3 and 1 opensuse 11.2). What Nautilus does when accessing a samba shares like smb://server.domain.dom/share is to execute the command: [URL]... What I try is to do the same, but just form Konqueror/Dolphin. I'd like to add a button to Konqueror/dolphin that pressing the button and if the URL points to a samba share, the share is mounted in $HOME/LocalNetwork/server/share. As I say, it can be as easy as executing the gvfs-mount, but don't know how.
View 2 Replies
View Related