CentOS 5 Networking :: Smbclient Works Nautilus Doesn't Connect To Share?
Sep 20, 2010
I can use smbclient -U name //ip.adresss/"My Place" to connect with no errors, but nautilus will not open the folder. nautilus discovers the computer but not the folder. maybe I need some debugging info from nautilus...
My Ubuntu Desktop (9.10, 64-bit) VM can't connect to my Windows 7 (64-bit, Ultimate) File Share using Nautilus. I enter "smb://<comuterName>" in the address bar and then it comes up with a password dialog (see screenshot) and then after entering the correct login info, the dialog disappears for a second or two but then reappears again. The dialog always comes back up and the share is never mounted. Connecting from an XP box on the network to the windows 7 share works just fine. Connecting from the Ubuntu machine to the windows 7 share using the appropriate 'smbmount' command works just fine. Connecting from the Ubuntu machine (using the nautilus GUI) to the XP box (password protected) works just fine. Then I turned off password protection in Win7, rebooted the win7 machine, and still all of the above tests turned out the same. And the Ubuntu machine still doesn't connect to the windows share using the nautilus GUI, and still displays the password dialog even though no password is required anymore. I tried using smbclient to view the shares, here is the output (not sure if I should be trying something else using the smbclient program):eddie@eddie-ubuntu:~$ smbclient -L eddie-win7 Enter eddie's password: session setup failed: SUCCESS - 0
I'd like to know how to connect Ubuntu to the windows 7 share using the nautilus GUI. If it's a bug, I'd like to file it (I think it is). But first I would like some direction trouble-shooting to make sure it is in fact a bug. (I think I read elsewhere on this forum that someone connected Karmic to win7 share, so maybe it's not a reproducible bug. But then again, maybe they weren't using 64-bit Karmic...)
I'm running Lucid and and trying to get Samba set up to allow sharing files on my network. My problem is that my Windows laptop (Win7) can't see the Linux PC when I click on Network. It only shows my own laptop and my roommate's Vista laptop. However, if I manually connect to the computer (\serenity) it works just fine.
Right now I'm simply using the smb.conf that comes with the package and adding my share info.
I am trying to allow my mother's Acer Aspire One (OS: Linpus Linnux Lite) to print on the WIFI Canon Pixma MP620 printer. The rest of the computers connected in the house run some variant of Windows. The printer has been set up to print wirelessly from the Windows computer. Having searched the internet for hours, I have determined that there aren't any drivers for that particular printer.
My potential solutions are: 1. Buy a new printer 2. Install Windows on the Aspire One (Last resort!) 3. Use this piece of software (http://www.printeranywhere.com/), which is installed on my Windows 7 computer which is on 90% of the time, and find some way to install it on Linux. (I tried Wine, and it opened up the installation .exe but when it came to actually installing, returned an error saying it needed to be installed on the same drive. :S) 4. Follow this tutorial (http://justin.yackoski.name/winp/) to print via my computer.
I think I will manage to follow the tutorial fine (as a complete Linux novice!), but I am having some problem with simply connecting to my Windows share folder, which I came across on this line of the tutorial: Test that you can access the share from the linux PC via smbclient. I.e., run: smbclient //windows_pc/spool -U print and make sure you can put a file into that shared directory. After I enter the password, as prompted, is returns:
session setup failed: SUCCESS - 0
When I try: "smbclient -L //WILL-PC -U Will", and then enter my password as prompted, it returns the same error. However if I try: "smbclient -L //WILL-PC -N", it returns: Anonymous login successful. Then my correct Domain, OS and server details. Then the titles: Sharename, Type and Comment
And then the following: cli_rpc_pipe_open: cli_nt_create failed on pipe srvsvc to machine WILL-PC. Error was NT_STATUS_ACCESS_DENIED Error returning browse list: NT_STATUS_ACCESS_DENIED Anonymous login successful Then the same correct Domain, OS and server details Then two headings: Server and Comment, each of which have a different entry below them to do with my printer. Then the two headings: Workgroup and Master, below which there are two different workgroups that we have, and my computer and my sisters laptop.
How come I can access samba share, and windows workgroup computer and don't have any samba package installed? Sudo aptitude show smbclient says not installed. Sudo aptitude show samba says not installed.
used to work perfectly with my password being memorised and all, I would click on network, select the desired pc and access my shares on the network perdectly. As far as I can say nothing has changed, same username and password and workgroup, however when I now select the computer I desired to connect in Nautilus it ask for my password and username (which I know), but it doesn't connect, it continually ask for it.
The weirdest part (which make me believe the problem comes from my machine) is I can mount the network drive using "mount -t smbfs", with my usual login details Why has the graphical nautilus interface stopped working?
I have x11 forwarding enabled in /etc/ssh/sshd_config on a suse 11.2 32 bit box running kde I can open x apps on a windows machine using xming and putty just fine, but when I boot the same machine into suse 11.2 64 bit using kde and try using konsole I get: cannot connect to x server
The command I'm using to log in is: ssh -X -l username host I doubt the problem is with the server I'm logging into or it wouldn't work in windows, not really sure what to look for as I've never had a problem using x11 forwarding from a linux client before only windows ones
I am trying to set up an SFTP server. I can log on to it with no problem. But our trading partner for whose benefit we want it cannot. They are unable to make a connection. Here is what happens when they try:
Error: Could not open connection to `firstname.lastname@example.org': Could not connect to `subdomain.domain.com': Unable to connect to server
My computer is connected to the college lan where almost all machines are some variant of Windows OS. If i use Places > Network, while windows network is displayed, mostly it returns unable to mount shares, my workaround for this problem is I use some tool like nbtscan to see which hosts are up and then use network > Connect to Server > windows share and type in the ip address, this mounts the windows share even though Places> network doesn't display such hosts. My question is there some command line way where I can invoke nautilus to mount the windows share, ie the same job connect to server > windows share does? And is there some application like say lan surfer for windows which lists all the folders shared by a windows client.
I'm using CentOS 5.5 with smbclient 3.0.33-3.28-el5 (latest version in repo), and I can't overwrite files in my smb store.The CentOS box is merely a client of the smb share,and I am not the admin for the Windows server that hosts the share, so there isn't anything I can do server side. But I do have write permission to the server. I'm 95% certain that the server runs Windows Server 2003.I can create a new file,but if I need to overwrite it I need to delete the file, and then copy the new version over.My Windows XP machine can overwrite files perfectly fine.
Using the cp command I'll get this error: (/mnt/storage/foo.txt already exists) [jonescb@localhost ~]$ cp foo.txt /mnt/storage/foo.txt cp: cannot create regular file `/mnt/storage/foo.txt': No such file or directory`
equivalent of "force_user" when sharing with nautilus-share? To put this question into context, I have shared out a folder with "Allow others to create ..." and "Guest Access ..." turned on via the GUI (I believe nautilus-share is applicaition behind the GUI). When Guest accounts create files or folders, I want the owner of the files or folders to be a specific user, rather then "nobody". In a Samba Server, I know you can use the parameter "force_user" in the smb.conf (under an individual sharename) which will specify the owner of the files and subfolders created through the share.
I have tried to add this parameter to the files created in /var/lib/samba/usershares but the owner of the files and folders are still "nobody" (NOTE: I rebooted the PC after making the change to the file) I have just done a fresh installation of Ubuntu 10.10 Desktop with nothing else installed (except the current Updates and the necessary components needed when sharing folders) As a follow on question, I also want to set the permissions for files and folders. To replicate what the "create_mask", "force_create_mode", "directory_mask" and "force_directory_mode" parameters do within a Samba Server.
So I have the strange task of trying to make something like I said above work in Lubuntu 10.04. But every time I do, the share is not accessible because none of the important permissions (other) can be set because its, well, NTFS in linux. And I know of no way to fix it.Is there an easy way, preferably with Nautilus since the person I am setting this up for isn't a computer expert, to setup this share so thats its accessible and writable by other computers on the network?
I'm trying to set up a VPN connection between our CentOS 5.3 server at work and my bosses XP computer at home. At this point, we are kinda locked into Quickbooks. I'm testing the connection from my XP boot at home to see if it works. I can log into our servicemanuals easily enough from XP at home however, the windows takes forever to update. I have the Samba server only listening on port 445 because is seems to work more efficiently at work. I connect to the Samba shares via linux from home and everything works well but, when I try to do anything with the shares from Windows client at home, it's very slow!
I'm thinking that it must have something either to do with the Windows OpenVPN client or the client.conf file. Is there anything I should look at in the .conf file for answers?
I need to connect to an FTP server that only accepts active FTP connections. (In Windows, I have to uncheck the "use passive FTP" option in Folder Options in order to connect) Is there a way to do this with Ubuntu's Connect to Server system/Nautilus? I would like to be able to interact with the files as if they were local, as I can on other FTPs and on Windows.
After running updates earlier today, none of my Ubuntu-based computers can connect to any Windows shares in Nautilus.Samba is running and working fine; I can access the shares via web browser using smb://hostname, so I know it's not an issue with Samba not working.Also, the two Windows-based computers can see each others' shares, including printers.
I have a home network consisting of a Desktop running Windows 7 Ultimate and a laptop running Ubuntu 10.10. Nautilus won't allow me to open Windows shared folders from the browser by just clicking on the icons. That is to say, clicking on Network in the bookmark pane and opening Workgroup doesn't do anything. Sometimes I get a "can not mount: failed to retrieve share list from server" error, sometimes my Windows box just isn't visible at all. All my shared folders on the laptop are visible and rw accessible from the Windows desktop.
I should add that if I hit ctrl-L in Nautilus and manually enter "smb://<server-name>/share/" in the address bar, it mounts and opens the specified folder just fine. I have some of the folders already manually mounted to various locations in fstab.
I've found the issue with Games for Windows Live, and uninstalled that from the Windows computer. I'm not using firewalls on either computer for now to eliminate that as a possibility. Since the Ubuntu Laptop seems to be the one with the problem, I'll focus on that for now.
Code: $ nc -zv 192.168.1.100 445 Connection to 192.168.1.100 445 port [tcp/microsoft-ds] succeeded! $ nc -zv 192.168.1.100 139 Connection to 192.168.1.100 139 port [tcp/netbios-ssn] succeeded!
The mount appears to complete cleanly, however when I browse the directory /winfiles it is always empty.The smbclient command works properly using the same credentials.The /root/credentials file looks something like this
I'm trying to use Nautilus's connect to server to connect to an ftp server, but I'm having a problem. The username on the ftp server is "anonymous", but it requires a password. When Nautilus sees "anonymous" as the username it assumes it's dealing with a public ftp server and doesn't prompt for a password, and then, of course, I fail to connect.
I've tried modifying the .gtk-bookmarks file to account for this, but this leads to another problem. The password opens with a / and for whatever reason, this leads to Nautilus popping up an error: "Could not connect to ftp://anonymous:0/[rest of password]@[server]". It's adding a "0" to the beginning of my password for some reason. Is there any way to fix this without changing the password?
I recently got a cable modem from Comcast, and connected a Belkin F5D7230-4 wireless router to it, then connected my computer and an Xbox 360 to the router with ethernet cables.
My computer dual-boots Ubuntu 9.10 and Windows 7. In either operating system, the wireless connection is flawless. In Windows, so is the wired connection. But in Ubuntu, there's a lot of trouble with the wired connection -- specifically, while I can connect to the router and to the Internet, and while I can use ping, dig, traceroute, etc., to verify connections to remote hosts, Web browsing, or anything else that uses http, works only for a few Websites, and then only erratically.
I don't believe it is a DNS problem -- testing with ping, dig, etc., demonstrates that, and I have also tried using alternate nameservers. I also don't believe that it is an issue with IPv6, as I've tried the fixes usually suggested, including editing the grub configuration to disable IPv6 support in the kernel and verifying that IPv6 was inactive. I've also tried using local dns servers such as pdns-recursor. None of these things seemed to help.
Also, perhaps unrelated, but disturbing: my computer has locked up a few times while testing the wired connection, and I had to use a hard reset to restart the computer.
I have a Dell PowerEdge 1650 server with 3 NICs in it. I am trying to use one NIC (eth0) to connect to the internet, the second NIC (eth1) to share the internet connection to a LAN, and the third NIC (eth2) to connect to the LAN.
It is running Ubuntu server 8.10
The problem that I'm having is that NetworkManager (version 0.7.0) keeps setting eth2 as the default connection, and then I don't get any internet at all from the server.
My main goal is to be able to share files from the server to computers on the LAN. The secondary goal is to have a virtual machine hosting a Halo server, connected through eth2, so that it can host LAN games. But that is a secondary goal after I get the connections to work.
I've been looking around and finding other people who have done bits and pieces of this, but not the whole thing. I had been hoping to simply use the NetworkManger, but I don't mind editing config files.
Also I can't seem to find any good instructions on editing the /etc/network/interfaces file. The man file is incomplete, and everything seems to point back to the man file.
But whenever I try to connect from my Mac to my Ubuntu AFP share, I get "invalid username/password". I have the correct username/password entered, so I think there is a configuration step that I can't find.
I have a problem with Samba. I've already configured my SMB.conf file, but I can't connect to my Windows shares by their host name. for example: if I try to connect to GDEA73-PC-1 share = netshare, server connection fails. if I try to connect to 192.168.1.171 then share = netshare, it works. How do I fix this? When I run findsmb, I am on the GDEA73 NETWORK workgroup as I configured, but my local PC is the only one on it...
I've recently installed KDE 4.4.1 just to try on a Dell 1545 laptop with Ubuntu 9.10 previously installed.
My problem is that the wireless connection works just perfectly with nm-applet under Gnome, but when I login on KDE and ask KNetworkManager to connect to the same network as before, it can't finish the connection.
When I choose the connection the program asks for my passphrase, I type it and then it just sticks on "activating network" and nothing happens.
My experience with KDE is zero, so I don't even know where to start looking. I'd even tried to kill KNetworkManager and try to replace it with nm-applet, but I think there's a daemon that restarts it immediately.
I have a script which runs a few other scripts (in subfolders of the first script) in order to mount some unix/linux shares) Anyway, when I run the file from rc.local and try to pipe the output into a file the file is empty and the shares are not mounted. however when I run the file it mounts everything.... Also, the script doesn't work on my wireless clients...
I'm running Fedora 13 on my laptop and am trying to share out a folder from a Win7 computer. Folder on Win7 machine is set to allow access to everyone.In Fedora, I have SELinux disable, I've made sure samba is allowed in the firewall, and that the smb service is running. There's no password on the Win7 computer, so in the Windows Share setting on Fedora I just put the username and left the pass field blank.
I've seen some things say all you have to do is go the the "Network" place...but somehow that seems to have become non-existent and I don't know how to get it back.Also, trying to connect to smb://WinShare/Share results in it saying that the server has timed out.
My laptop has Ubuntu 9.10. It can connect to shares on my XP and Vista computers without issue, but cannot connect to a share on my Windows 7 system. I'm using "Connect to Server" and have tried by both Computer name and IP address. When I click connect, it prompts me for User ID, workgroup and password, however when I enter them, the same prompt comes back a few seconds later and is blank. I don't receive any errors, it just won't connect.My XP and Vista systems can connect to the Windows 7 share, just not the Ubuntu system
I am running Jaunty 9.0.4. I used system-config-samba (gui) to configure Samba. I put myself as a user and tried to map the drive from my local PC. I am unable to map the drive. On windows, I try to connect using a different user and when I select finish, it prompts me again and adds my workgroup before my user name.
I have ubuntu 9.10 installed with 2.6.31-21-generic kernel and have recently bought a LaCie d2 network NAS to which I am connecting via a Conceptronic C54BRS4A router, but am having problems with connecting to the share drives.
The d2 software is version 1.0.8 and I have configured a share drive <4music>, and a user <myuser> assigned to a workgroup <workgroup> and with readwrite permissions for that drive.
The version of LaCie Network Assistant (LNA) for Linux available for download here url is just 1.1.0, but the CD accompanying the NAS actually contains LNA for linux version 1.4.1 (5). I have installed both versions and the version 1.1.0 does not even find the drives, let alone mount them, so I am using the 1.4.1 version which does seem to work.
On launching LNA 1.4.1 I am asked for password to mount the drive:
�Enter your password to perform administrative tasks. The application 'mount -t cifs '//192.168.0.102/Public' '/home/myuser/mount -lacie/192.168.0.102/Public' -0 user=myuser, pass=mypassword' lets you modify essential parts of your system and both the Public and 4music drives are marked in green as Smb (Windows File Sharing) when connecting as registered user <myuser> with password <mypassword>
When I navigate to smb://d2.local/ I can connect fine to Public drive, but the problem comes when I try to connect to Share drive and I get dialogue box saying �Password required for share share on d2.local� and requiring me to input username, domain, password.
The user <myuser> on my linux box is the same as that configured for d2. The domain field autopopulates with the workgroup <workgroup> I have set up for that user on the d2, and I enter the appropriate password <mypassword>, but the connection is not authenticated.
Running /usr/bin/smbclient -L 192.168.0.102 returns: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.1] Sharename Type Comment Share Disk code....