Ubuntu Networking :: Unable To Open Workgroup And Share Files?
Feb 9, 2011
i am new using ubuntu 10.10 and so far i like it but the only thing i have problems is to be able to connect to the network i am running Windows 7 on the main pc and when i try to connect to the network (Click on Places, Network, Windows Network "icon appears" "right click on it" and get message Unable to mount location, "Failed to retrieve share list from server" i have try many solutions for the last 3 days but no luck can somebody i just want to share some music files and be able to connect to sound system and play the music
I cannot, in any way, share files between my Windows 7 and Ubuntu PCs. I have tried everything out there and nothing seems to work. I don't get why! I have samba installed, I have installed the apache2.2 packages and I have checked the network file sharing.
I can create shares with folders and I can see all the windows computers on the network (but can't access any of them).
I cannot view my Ubuntu computer from the Windows computer either.
I live in an apartment that is shared with others. We all connect to the internet through the same router. I have files I would like to share with others but have been unable to figure out how to make folders public, or how to view public folders of others and get their files.
I can not edit my own .ppt file from samba share. Current desktop OS is windows 7. Samba server having RHEL 5 with following samba packages installed.
Code: libsmbclient0-3.5.6-43.el5 pam_smb-1.1.7-7.2.1 pam_smb-1.1.7-7.2.1 I can able to edit and save the file if I copy this file from samba to local system. But from Samba share it open in read only mode.
I've just recently got my samba confg working with a workgroup. I can view/access/modify windows machines on workgroup just fine. What I can't do is access shares created on ubuntu desktop. My ubuntu machine appears on Windows Workgroup, but denies to Windows users. When I try to create a share using Folder Sharing, I get this returned to me: 'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. Invalid parameter.
Here's by samba config file. [global] workgroup = JANSSEN HOME server string = UServer encrypt passwords = No map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Entersnews*spassword:* %n *Retypesnews*spassword:* %n *passwordsupdatedssuccessfully* . username map = /etc/samba/smbusers unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d
[printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No
My server info: SUSE 11.3 , authenticated against LDAP, I am able to log in using LDAP credentials. I did run smbpasswd -w password
After I configured the smb.conf file, I try to do this on the Terminal to make sure it will work in Windows machines but I got this error:
user@mybox:~> smbclient -L mybox.mydomain.com Enter user's password: (I enter the user password here) Connection to mybox.mydomain.com failed (Error NT_STATUS_CONNECTION_REFUSED)
so I went to /var/log/samba.log to check the error file, I got this :
Connection to LDAP server failed for the 1 try! [2010/12/10 18:08:50.919813, 1] lib/smbldap.c:1330(another_ldap_try) Connection to LDAP server failed for the 2 try! [2010/12/10 18:08:52.133624, 1] lib/smbldap.c:1330(another_ldap_try) Connection to LDAP server failed for the 3 try!
and it kept going on and on until I stop it.
Here is my smb.conf file, please take a look to see what I've done wrong here. I tried to to take out WORKGROUP in GLOBAL but there were error like " Work group name x.x.x.com is too long, so I put in WORKGROUP = etc.
[global] workgroup = mybox passdb backend = ldapsam:ldap://ldap.my domain.com:11389/ ldap suffix = dc=my domain,dc=com name resolve order = wins bcast hosts ldap machine suffix = ou=Computers ldap user suffix = ou=People ldap group suffix = ou=Groups ldap admin dn = "cn=sambaLabs2,ou=roles,dc=domain name,dc=com" ldap ssl = start tls server string = "my File Server" security = user log file = /var/log/samba.log log level = 1 Max log size = 50 wins support = yes wins server = my wins servers here winbind enum users = no winbind enum groups = no unix extensions = no wide links = yes hosts deny = ALL hosts allow = 192.168. interfaces = lo eth0 bind interfaces only = true browseable = No read only = No usershare allow guests = No
load printers = yes printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Bad User
[homes] comment = home directories browseable = No valid users = %S read only = No writable = yes create mask = 0660 directory mask = 0770 inherit acls = Yes inherit permissions = yes
I wouldn't be posting this if I hadn't tried very hard for the past week to do this on my own, but alas, I failed. I have this two configurations:
Desktop: - Ubuntu 9.10 - Connected to the internet though a wireless card - Connected to "Laptop" via wired network with a crossover cable
Laptop: - Dell latitude - Ubuntu 9.10 - Connected to "Dektop" via wired network with a crossover cable
The wired connection is working, both computers are able to ping each other, but I haven't managed to share internet, nor files. I have tried many different ways, from setting the wired network to "Shared to other computers" to this guide in the Ubuntu Wiki. The best I could get was for the connection to work by setting the IPs manually, whatever else I try results in either nothing or in a not-working connection.
right now i have ubuntu installed inside of my windows 7, i gave it a 30 gb allowance. i like ubuntu so much i want to make it my main os, and have windows 7 as my secondary. what my plan was, was to install a fresh version of windows 7, install ubuntu again inside windows 7, and try and use easyBCD to make ubuntu my main os. but now im wondering, ext4 is faster right? so i should actually make a partition, and install the two OS separably, right? or doesnt ext4 make a difference? also will i be able to share files thru the two os? or will i have to add my pictures ect to both os to view them?
Server - Ubuntu 10.04.1 lts Client - Kubuntu 10.10
When I try to open any nfs-mounted file using OpenOffice, I get a pop-up window titled "Document in Use". The text of the message is:
"Document file 'abcde.odt' is locked for editing by:
Open document read-only or open a copy of the document for editing." I then have three options - <Open Read-Only>, <Open Copy>, & <Cancel> If I cp any of these files from the mounted directory to my home dir (not mounted), I can open them without problem.Also, my firefox & thunderbird date are in this mounted directory as well (sym links to ~dan/.mozilla & ~dan/.thunderbird). Both of these apps hang when trying to open, leaving two processes behind that need to be manually killed. Again, cp'ing the data out of the nfs-mounted dir onto a local dir resolves the issue, so I am 100% confident there is nothing missing or corrupted in the firefox &/or thunderbird data...
relevant entry in /etc/fstab: server:/nfs/dan/Documents /home/dan/Documents nfs defaults 0 0 relevant entry in server's /etc/exports: /nfs/dan/Documents client(rw)
I have installed ubuntu 10.10 and the Samba addon to configure my shares to my Windows terminals.This is what I got
Firewall off (utf disabled)
Internal Sata /dev/sda1 (EXT4 FS)
External USB HDD /dev/sdb1 mounted at /media/SG1500GB (EXT4 FS)
I have two shares
1. //home/test - Which I can see and access with no problems (can't write to it though even though I set the share as writable?, but, I can read from it). This is available to everyone. My windows terminal can see this folder and access it. This is on my main 80GB internal drive /dev/sda1.
2. //media/SG1500GB/Music. I set this up for everyone full access and I can see it at all my Windows machines but,I can't get into the folder. Windows keeps giving me an error stating network path not found.I also try to access it via the Nautilus (Places/Network/system/music) and get an error message "unable to mount location, Failed to mount windows share". This drive is mounted per the disk utility.
ubuntu 9.04 and win xppro i've been pounding my head aganst this for hours now. reading anything i can find samba works mostly shares created from nautilus work fine from both ubuntu and windows if i check to allow guest access if not i can not log in it does work in the nautilus browser fine. shouldn't make a difference but am using a virtualbox win xp guest shares work without issue. printers work here is a dump of my service defenitions
[global] workgroup = HOME server string = %h server (Samba, Ubuntu) map to guest = Bad User
I have an existing windows workgroup set up. (for those interested, at the moment we must keep two computers on windows for school reasons...but will change as quickly as the semester is over and run windows in virtual) anyway, the workgroup has an HP F300 printer. our Ubuntu computers can see the network, and access shared files and external hard drives. but, it does not see the printer. we are running 9.04 on one computer, and 9.10 on the other. i know from [url]that if i connect directly, the printer will work. how do i access the printer without connecting directly?
How can i get all these to talk to each other when I get rid of the Windows set up? can someone point me to a guide for resetting things on a Ubuntu network/workgroup?
i was trying to create a share in ubuntu.went to smb.conf and joined a workgroup but the name i gave for it was wrong..i fixed it later on..but the name of the workgroup won't go from the network..How can i delete the workgroup from the network?
I have one PC (morpheus) on which I've chosen to share a couple of folders in the home directory. The folders show the "Shared" icon in them and are chmod 777'd. I can access them by going to Dolphin -> Network -> Samba Shares -> Workgroup -> Morpheus -> Foldername ... but *only* on that same computer (Morheus). All my computers are running Kubuntu with KDE 4.5 and attached by ethernet.
If I try and go to Dolphin -> Network -> Samba Shares on *any* other computer, Dolphin just reports "Unable to find any workgroups in your local network. This might be cause by an enabled firewall." I've never set up a firewall on any of these computers. Do I need to open ports on my router just for this? Morpheus is set to DMZ mode on the router so it should accept *any* port request not assigned to another computer already.
I have a feeling that there's just something obvious I don't know, because in all my years of trying to get this to work on and off, I've never managed to find a decent *simple* CLI or GUI based tutorial or figure it out myself. The web just seems full of long threads of people having very specific problems unique to their situation trying to sort them out. I just want to share folders over a lan via KDE.
I need to reinstall the samba directory, mainly to get the default smb.conf. It appears I have to remove smbclient, which takes ubuntu-desktop with it (which I now know is mostly ok). Hopefully reinstalling those will then replace /etc/samba. There's enough troubleshooting samba threads out there for the rest. I'll flag this solved when I'm done.
I am working on setting up BackupPC on Maverick , for my network. I am unable to view my WinXP machine's shares if I type "sudo smbclient -L //JonDoe/" . However it works if I use the XP machine's IP "sudo smbclient -L //192.168.1.100/". Viewing the workgroup (with the proper name) in Nautilus only shows the Ubuntu machine. I ended up using multiple how-tos which had me install the following packages : Samba, smbfs, system-config-samba.
With all that nothing worked so I decided to uninstall the above with "remove completely" in synaptic, expecting everything to be completely gone. But /etc/samba with smb.conf still existed so I deleted it. OOPS!!! . Installing Samba after the uninstall did not create a new /etc/samba/ directory. Reinstalling smbclient in synaptic didn't create it either. Uninstalling smbclient with pull BackupPC with it. Sweet! I do have a firewall package installed which allows outgoing but blocks inbound traffic from outside my LAN. I will disable it when I get home.
surprisingly come across this file that the ubuntu archive manager is simply unable to unpack.these are some articles that i am trying to download.strangely i have never heard of the format and the page asks me to download "stuffit expander" to allow me to view the pdf files. however when i download the file saving it on the desktop, and try to open it, archive manager is simply unable to do so!this is the title of the downloaded file -
Ok I installed apache2 and php5 but when I go to http://domainname.com, http://localhost, http://locallanip, or http://ipaddress I get a pop up window asking me to download a file named randomstuffhere.phtml.part I have no clue on what's going on, I even tried uninstalling and reinstalling but that didn't seem to fix it,
I am unable to share a folder on my Ubuntu 9.10 desktop machine. Networking is working, I can see and be seen by windows machines and also my Ubuntu 9.10 laptop. The laptop is able to share folders with no problem. The error message I get when I try to set sharing on a folder is "'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. Memory allocation error."
I know there has been a thread relating to this in the past, but the solution there did not work for me, and I have been beating my head against the wall for a couple of weeks on this problem, and have spent a bit of time with smb.conf. I would hate to have to do a new install to fix this, after all this is not MS windows!Can anyone point me in the right direction?
There is a printer connected to my Ubuntu box that I would like to share with XP users on my home network. When I browse for a network printer in XP the Ubuntu box is displayed, but does not display the connected printer.I added the following lines to cupsd.conf:Port 631Listen /var/run/cups/cups.sockand then restarted cups with:sudo /etc/init.d/cups restartI have also set ufw to allow incoming traffic through port 631 from each XP machine.
I am using an Ubuntu 64 bit desktop. I need to create a network (the way you create a workgroup in windoz). I have two other machines running Ubuntu also and all connected to a 3-Com switch through ethernet. I would prefer not to use DHCP, and just have a simple network where I can share resources like drives and printers.
`I'm on 10.04 trying to access shares on a windows machine. The machine does not appear at all in windows network/workgroup. I can see these shares when I'm on my windows partition so I know the problem isn't with the network.
I've setup sharing on ubuntu to my windows 7 PC and it recognizes folders all folders i set to share except on my partitioned 2nd hard drive. I'm thinking its because its password protected, how do i remove this security? it shows the folder but i cannot access it
On my windows 7 it gives me: windows cannot access \usernamemovies check the spelling of the name. otherwise, there might be a problem with your network.
I have a share on my home server with all my music in. When I go to a windows PC (Windows 7) and go to network I can see the share, but when I try to connect in ubuntu by going to places>network>windows network. I get the error: "Unable to connect. Failed to retrieve share list from server". However when I try the connect to server option and specify the IP address its fine. I have tried this with the firewall disabled with the same results. I am trying to get my family to use ubuntu and I don't want them to have tp specify an IP address.
I'm currently using ubuntu on my laptop, and I want to access my windows 7 folders via network and file sharing...but there's this problem...
Everytime I want to connect to my Windows 7 pc, it will just prompt me a "password required for xx pc"...and keep looping on every username/password [afaik from the windows account], and I'm unable to login to it.
Even tho I've set "LmCompatibilityLevel" dword key, 1 or 2 [restarted every set] under LSA..it's still the same thing happens...
Here's what I have working now: one old Dell L933r (Ubuntu 8.04), one old homebuilt (Ubuntu 8.04), one Acer netbook (Ubuntu 9.10), and one HP netbook (Ubuntu 9.10); a Trendnet TEW-631BRP router; the Dell & the homebuilt are wired, and the netbooks are both wireless. The LAN was setup quite awhile ago, when I still had some Windows machines; I have no WIN machines now, and don't plan on any. There are times when I can "see" other machines on the LAN, and there are times when I can't - MSHOME and WORKGROUP are in view. How can I remove the LAN network in place, and start over, creating a LAN that will only be used by Ubuntu machines?