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 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 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 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 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 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 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,
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 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?
`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 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'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?
At first I installed debian 5 and I want enter on my workgroup using windows XP PCs, in same time I want use firewall now when I stop firewall I can access on the pcs but when I start iptables and open port for samba such as 137,138,138 and 445 I can't access on any PC on work group this is the output of iptables - L command:
Code: Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT udp -- anywhere anywhere udp dpt:netbios-ns state NEW ACCEPT udp -- anywhere anywhere udp dpt:netbios-dgm state NEW ACCEPT tcp -- anywhere anywhere tcp dpt:netbios-ssn state NEW ACCEPT tcp -- anywhere anywhere tcp dpt:microsoft-ds state NEW
I have two types of OS in my network windows (XP,7) and linux (debian 5.03, ubuntu 9.10 8.04, fedora 8) all of linux can see an reach the windows shared folders but windows can not reach linux shared folders what can I do fo fixing this problem what should I follow. I have to say I disabled all of windows firewalls; and all linuxs can reach each other shared folders. (My network is Workgroup not domain).
So everything seams to be fine on my F10 boxes networking. I can ping computers on the network with both LAN IP addresses, and their hostnames. However, I can only access my F10 box with a LAN IP. In windows, I go to view workgroup computers... only the windows systems. If I go to the F10 system with samba via the IP address it works fine, just can't get to it with a hostname.
I'm wanting a static IP of 192.168.1.22. And on the windows workgroup "workgroup".
I'm new to doing things with linux that are remotely difficult... and well, this has proven to be. I can't work out if this is a SMB problem, general networking...
smb.conf (I've ommited the top info segment due to forum character limit, as well as the SELINUX notes)
Code: #======================= Global Settings ===================================== [global] # ----------------------- Netwrok Related Options ------------------------- #
I want to share certain files/folders with other computers in the network. Now I know how to do this in two ways: using the GUI and modifying the smb.conf file, but the GUI may not be available (e.g. connecting to the server using SSH) and the smb.conf file takes a little bit of time to modify (and from what I have noticed by using the GUI, the smf.conf file does not get modified). Is there a way to share files/folders using only the CLI and without the need of modifying files?
Have been using Ubuntu for 18 months now - its great.Just added a second PC - both hard wired to a wireless router.Have been trying to use NFS to share files with no result.I want to share all files in "home" on PC called "Dimension".
Recently, I've again been trying to get file sharing working on my home network. I made some progress last night, getting so far as having all the shares on my Windows XP desktop visible to a netbook running Ubuntu 10.04 & connected wirelessly. But I ran into some snags.
Here's what I'm working with:
-a desktop running Windows 7 Ultimate -a desktop which dual boots Ubuntu 9.10 64-bit and Windows XP Pro SP3 -a netbook which dual boots Ubuntu Netbook Remix 9.10 and Ubuntu 10.04.
Everything connects wired except the netbook, which connects wirelessly. The router assigns each a specific internal IP address, so in effect all have static internal IP addresses, tied to the MAC addresses of their network adapters.
I have Samba Server Configuration Tool installed on both the desktop (Ubuntu 9.10) and netbook (Ubuntu 10.04). Versions are 1.2.63 in both Ubuntu 9.10 and 10.04.
Here's as far as I got last night:
-Shares on the Windows XP machine were accessible from both the Windows 7 machine and Ubuntu 10.04 on the netbook, with no password required.
-I configured Samba on both machines to be part of the same workgroup (named PENGUIN) as the Windows 7 machine and the desktop when it's running Windows XP.
-I set up a share in Samba on the netbook while running Ubuntu 10.04. The share is visible on the network from the Windows 7 machine, but I couldn't access it. I was asked for a username and login. I had no idea which one to use, but no combination I tried worked. Windows kept saying it couldn't find a "path" to the share.
-In the Nautilus "network" item on the netbook, I can see the shares on my Ubuntu 9.10 desktop. But I can't access them. Again, I get asked for a username and password, and I have no idea what to enter, or where the username and password can be set.
-I set up a share on the Windows 7 machine, allowing read-only access to everyone. But it doesn't show up on either of the Ubuntu machines, at all, in the "Penguin" workgroup. So I'm not sure how to proceed.
Do I need to explicitly configure the IPv4 settings on each machine to a static internal IP? As I stated, each machine gets a predictable address assigned by the router, so in effect the machines do have static IP addresses. However, I'm not sure that's all the same to Samba.
I have a centos server (5.6) and trying to share files to a mac osx. When the mac is mounting the share the first time in a while it goes really slow to browse the folders. Once it has been done the first time, the browsing goes much faster the second time you browse. If the mac unmount or shutdown for a while and then remount, it is really slow again to browse the shares.
I just set up an ubuntu 9.10 server (no desktop environment, command line only) and I'm unable to see my samba share. I followed these instructions. Here are the relevant parts of my smb.conf file: Quote:
workgroup = JASONGROUP # I un-commented this security = user