Ubuntu Networking :: Unable To Access SAMBA Shares Hosted On HOMESERVER?
Jan 6, 2011
I am traveling to the UK next week, and whilst I am there, I need to be able to access my SAMBA shares hosted on my HOMESERVER, via my laptop in england.
I have tried Hamachi before, which works fine on windows, but the linux version is awful, and hardly works. So I need an alternative. I did a bit of googling, but I don't know what "bridged" means when I found a OpenVPN tutorial
I was wondering if anyone could give me some information as to what I'll need, and what I'll need to do on both my homeserver and my laptop?
I've been running a Samba server under RedHat 8 for five years without a hiccup. I want to cut over to a F10 box but cannot get shares accessible. smbclient attempts fail over NT password error. SELinux is disabled. Server is visible on the network. Users require no password access to shared data.
# Samba config file created using SWAT # from UNKNOWN (>) # Date: 2009/06/12 14:15:15
First off a little history of me lol. I'm not completely a Linux noobie, but I'm not the most advanced user either. With that said I have a few interesting problems with Samba.First off I can see the NetBios name under Windows Networking (Windows 7), however everytime I try to connect to it I get an Access Denied and/or "Incorrect Password/Username" error. I have gone into secpol.msc and changed the values that other posts have suggested. Both the server and the workstation are located under the same group, and I have used the smbpasswd -a <username>. The server is not configured to be a Primary Domain Controller so.. I'm lost. Infact my brain hurts from 3 days of this. I have posted my SMB.CONF file to see if that helps. Hum.. Maybe I'm just trying to access a file share that isn't there..
I have a few ubuntu servers which have samba shares on the network and for the most part have had little trouble with them. Recently we purchased a few iMac's for one of our deptartments and, while we're able to access the shares, all the files on them are read-only and we are unable to delete/modify files using the iMacs. This is not an issue with any of our windows machines (W2K, WinXP, Vista).
find that i cant access from my ubuntu box (desktop), now running 11.04 (i was able to access yesterday, when i tested the config). I CAN access from my XP and Win7 virtualboxes.and also from another win7 on the house.. So server is working good aparently.This is all i modified from the default config file:
Code: ####### Authentication ####### # "security = user" is always a good idea. This will require a Unix account
I am working as a Linux administrator in a very small data centre with 5 servers with following routine tasks.
1. Managing SAMBA shares and giving user specific access for the shares. 2. Scheduling backup of some mount points with rsycn to store data in remote hard disk 3. User and group administration, with sudo access. 4. Creating and Managing Xen Virtual machines and giving access to other project teams. 5. Automating some tasks with Shell Scripting. 6. Managing FTP server for user uploads.
I have practiced a lot in my home laptop without RHEL training, Cleared RHCE and LPIC1. I want to do some advanced system admin tasks, but do not have option in my current data centre. With Above skills is it possible to get a job ?
on 10.04 I clicked to share my music folder with the network (other computer also having 10.04) and it installed samba for me. I restarted expecting to find sharing working as it had on the other computer by doing the exact same thing. But for some strange reason I can't access the shares on either computer through the network workgroup. It just says "Unable to Mount Location".
i have a ubuntu 10.10 desktop and laptop. i installed samba, and smbfs. i shared a folder on each computer. when i browse the network i can see the laptop from the laptop, and can see the desktop from the laptop, but i cant see the laptop from the desktop. when i try to mount the share it says unable to mount, but mounts it anyway...but, i need to be able to mount it so that rsync will see the shares as a dir on the desktop. i tried manually mounting via smbmount following several threads that i found, and i keep getting error sudo smbmount //192.168.1.78/share /media/laptop Password: Unable to find suitable address
that is as far as i've been able to get. i've looked and have only been able to find threads about windows shares, not between 2 ubuntu machines. and i dont know why laptop can see the desktop but not the other way around. they have identical smb.conf files
clean install of Slackware 13.1 64-bit. From day 1 I have been unable to browse Samba servers and shares on my home network. NFS, FTP, SSH, etc all seem to be working fine. I've been updating it regularly in case this was a bug, but I'm not so sure any more.
Reboot in WinXP sp3, I can browse fine. My wife's Win7 laptop works fine. My old Slack 12.2 system worked fine. I have not made any changes to the network other than adding this computer to the mix.
Pentium Dual Core e6700 @ 3.2GHz Asus P5G41T-M/CSM 4GB DDR3 Ram 1 TB Hitachi SATA Gigabyte ATI Radeon HD 5670 1GB Video PCIe
At, or around, the time of upgrading from Lucid to Maverick, shares on some of my nfs servers have become inaccessible:
Code: peter@Desktop:~$ ls /net/10.2.1.21/ opt peter@Desktop:~$ ls /net/10.2.1.21/opt/ sybhttpd
The share is hosted on a PopcornHour Network Media Tank, running a Linux system. With Lucid, I was able to access the share without any problems, both in Nautilus and from terminal. I can still access the share from other nfs clients - it's just ubuntu/Maverick which exhibits this problem. I have tried reverting to older firmware on the PopcornHour but that doesn't make any improvement.
Was there some significant change in nfs with the Maverick release, or have I misconfigured something?
I've been having terrible trouble with my 64bit Desktop v10.04 ever since I upgraded it. Has been a long battle - but I think I have it down to just one remaining issue which I suspect is more related to the network than to the upgrade. So I'll ask here also... The old system always used grub as the bootloader, and has always worked just fine. I have now had to do a complete fresh install, which incorporated a change to grub2 (first time I have used it).
It would seem now, that grub2 is unable to deal with mounting the samba shares on my lan at boot time. The boot always fails, dumping the user to the cli rather than the gui desktop. The error given indicates that the network is unreachable. Most users of the system have given up on Ubuntu altogether because of this, and fallen back into the clutches of the evil empire (the machine dual boots XP). If I log in, and manually startx to open the desktop, the network is there, and the shares are mounted just fine. Everything seems to be working ok - but for crashing out of the boot process with network errors. The fstab file follows, in case there is some cause there I'm not seeing (I have edited names and passwords prior to posting)...
I marked this solved when I discovered, after much reconfiguring, I had a faulty Netgear router - I just thought I'd save you reading all this to find the answer.I have 3 machines at home all running Lucid. All have Samba and shared folders but I can't access files on any machine from any other. This worked ok when they were running Karmic. I'm also unable to set up printing across the network from the two machines without local printers. The main machine has 2 printers connected via USB, the others are using WiFi. I'm not using firewalls on any machine.
Filesharing On any machine I go to Places, Network and Nautilus opens at network:/// and shows me 'Windows Network' I open that and see the Workgroup folder which I open and see the folder is empty. (I did see the 3 machines before I completely removed Samba and re-installed a few minutes ago)
Printing On one of the remote machines I go to Add Printer, Select Device, Network Printer, Windows Printer via Samba, Browse but I can't see the machine with the printers attached in the Workgroup. Another clue is that when I look at the printer properties, policies on the main machine all 3 boxes are ticked, Enabled, Accepting jobs (but it says Not published) and Shared.
I'm relatively new to linux, but i've learned some stuff and still have some goals. I'm seeking some advice on the best way to proceed. if this question is well answered elsewhere, a link to that would be sufficient.
my goal: use a linux box as a password-protected (read/write) fileshare server on a home network, for compatability with windows 7 machines. Files/drives to be shared are on external hard drives for volume reasons.
What I have accomplished so far: ubuntu 9.10 up and running on old desktop using php5, phpmyadmin, mysql - got http home page set up that is accessible over home network remote desktop is enabled, works successfully external hard drives mount automatically in ubuntu, data is accessible/usable SAMBA is downloaded. Is Samba the best way to proceed? I've tried to read up on the samba's docs, but I still don't exactly understand What it is or How it works, and also whether it will work with Windows 7 Home pcs. do i have to dl software for the windoze pcs, and mess with the registry? is it worth it? Ideally I want other home network users to be able to access the fileshare server without having to mess around on each individual computer....
Are there other options? Is there some way I could mount my external HDs in the folder that my /var/www folder that the server automatically references, and make some kind of http-based directory navigation for file transfer? Would password protecting the home/index page be sufficient to ensure some amount of security? is some kind of FTP a better option? whats a good program or link to check out for ftp?
I can't access some folders on my samba share. For example I set the Video folder to share and to allow creating or moving files. But inside the video folder I cant access some folders. This only happened after I upgraded my samba client.
it's driving me nuts. Done a few things now, including this last: [URL]that didn't work. All the other comps in the house are windows 7, and I want this box to be my file server, with two 1 TB HDD plugged into it via USB, but I can't get the damn samba to allow access to everyone. Here's the path in the config file:
[data] comment = Test sharing path = /media/Shared
I recently upgraded my ubuntu samba fileserver to 10.04 along with increasing the size of my RAID 1 /home directory.I am using the same smb.conf file setup I have used on intrepid ibis setup and hardy heron setup before that.On my new setup, I can see the ubuntu server on my windows 7 machines, but I can't see the shares and can't access them.In checking the logs (/var/log/samba), one log continues to look for a printer share from one Windows machine that I have not set up on samba yet.
I have found a few people who have reported similar problems online, even a few who have filed bugs, but then they say "my computer started working suddenly. I don't know what happened." so they closed the bug. or "my computer started working after I rebooted my machine." I have rebooted all machines on the network. That doesn't fix it.
So I setup the newest Ubuntu on my old desktop on a 30g HD and have 2 200G HDs with a ntfs file system on those two. I got SSH and FTP configured, then went on to setup Samba.I have it (seemingly) set up well. /dev/sb1 gets mounted on /data1 /dev/sc1 gets mounted on /data2.I want anyone connected to my router to be able to see this machine and be able to read and write to both shares.
I configured WINS on my laptop to point to the linux box. and i've seen the pc in question (TECH-PC) in "My Network Places" on both of our laptops.Long story short, I try to connect to my network share and it says i don't have permission and i need to contact my network admin. This computer is the only one with Linux installed, the rest are windows-OS.Let me know if you need more info, pretty stumped here, have searched, read, scrapped my install and started from scratch, maybe i need to sleep on it
I have had server running for over a year and have run into my first major issue. I am no longer able to browse to the server by hostname or IP and view all available Samba shares. I receive a windows popup informing me I do not have permissions However I am still able to browse to the shares themselves \hostnameshare.I am currently assuming this is an issue with the config of the samba share module/
I recently switched from centos to fedora as my server choice. Probably not the best decision but I like trying new things. Now before I switched I had my samba server setup just they way I wanted it. Now I'm having a hard time getting it back to that way. Here is my smb.conf
Code: [global] workgroup = workgroup netbios name = netbios name server string = Linux Server security = user wins support = yes encrypt passwords = Yes domain logons = yes [homes] comment = Home Directories browseable = yes writable = yes valid users = %S
[me] path = /home/me read only = no public = yes create mask = 0777 directory mask = 0777 browseable = yes writable = yes
Now I did throw away my old smb.conf because it wasn't that complicated and I figured I could reproduce it.. aside from that everything is working except for the fact that I can access any share I want to listed without it requesting a password. I have a username and password setup with smbpasswd and I think everything else is setup correctly involving samba shares but I have no idea why it won't request a password.
i have 3 shares on my samba. i have users - user, manager and boss projects is RW to everyone reference is R to everyone RW to manager and boss Proposals is RW only to boss, no access to others However when boss logs in and creates a directory in projects share, the directory can only be renamed bu users and manager, and directory contents are read only for users and managers, even deletion / rename is denied. How can i make sure that when ever boss creates a directory in projects, it retains base folder permissions and is writable to user this is my samba file... i am using red hat 6.1 with samba 3.5.6 (i think)
I have mentioned this in another thread elsewhere but perhaps this is a better location. In Opensuse 11.3 I was able to play files on my NAS drive from within smplayer over samba shares or ftp. I would simply use dolphin to browse to the file on the nas drive (either through samba or ftp protocol), double click the .avi file and it would load smplayer and begin playing immediately.
In 11.4 I have samba set up using the same smb.conf file However, if I double click the .avi file it copies the entire contents to the local computer before launching smplayer. If I use smplayer's file selector and navigate to the file on the samba share I get the message "you can only select local files" This is a different behaviour to that from 11.3 However, using the ftp protocol from within dolphin smplayer launches immediately and begins playing. smplayer is launched using the shortcut command
Code: smplayer %U Does anybody have any suggestions on a workaround or how to correct? Using kaffeine I have no problems. Double click the file on the nas drive and kaffeine launches immediately and begins playing.
I have Ubuntu 10.04 set up on my acer revo, this is connected to a wireless router via ethernet. Next door, is a pc that is running windows XP, and an original XBOX running XBMC. Those are connected via a crossover cable. The XP machine connects to the web wirelessly using my router, and the connections are bridged for XBMC's TV show scrappers. The idea is we use the revo for downloading as it consumes a relatively small amount of electricity. I have two external 1tb drives connected to the revo with Tv shows and movies, I would set up a network share so the XP machine could see them, and the xbox would be able to share the videos present.
I have installed samba, right clicked the drives in question and clicked the sharing options. I have ticked to allow guest access, and write access. This worked! I the shared the /home directory on the revos harddrive using exactly the same method. This worked. However I was no longer able to access the External drives. The UID has remained the same. I then tried unsharing /home, still no joy. Tried resharing /home Home now works, but still the externals don't.
I have an Ubuntu 9.10 Samba file server. I have set up Ubuntu 10.04 netbook remix in a home network which also has Windows XP home and Vista computers already present in the network. The XP and Vista machines have no problem accessing the file shares.
The server is running mhddfs with FlexRaid. The security is set to share level access. I have a hosts allow line in the smb.conf file to permit access to certain IP addresses and have added the 10.04 netbook remix IP address to this hosts allow line.
I cannot access shares from the 10.04netbook remix machine if the hosts allow line is active, but have no problem from the windows machines. If i comment out the hosts allow line, all machines can access the share, including the netbook remix machine. I am fairly new to Linux and would appreciate any help in solving this problem.
I have setup Samba shares on my Ubuntu 10.10 and assigned different different username and password combination for each share.
The sharing works perfectly fine on all the Windows machines but it does not work on OSX. When I try to connect using OSX, it ends up showing waiting icon (screenshot attached) after entering username and password. (It asks for the login details after selecting the share from the list)
Following is my smb file content:
Code: # # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the
I'm running 64 bit Lucid on a HTPC that is networked with a Windows 7 64 bit laptop. Up until this morning, sharing media between these two worked fine. When I attempted to connect through Rhythmbox to play music, the computer couldn't find the files. I attempted to access the network through Nautilus and it was unable to mount the location. So I tried the Create Launcher command and created a link of the network on the desktop. I was prompted to login and it worked perfectly This has happened once before and the only way to fix it was to reinstall Ubuntu.I would very much like to avoid that if possible as the system is setup perfectly.
I wouldn't bother with the issue if it didn't prevent me from adding my music files to Rhythmbox. I have run findsmb as well as smbtree. Smbtree returned nothing and findsmb had a dotted line with nothing underneath. Nothing has been removed. I did install security updates this morning, but since it has happened before, I am more inclined to thing it is a bug or conflict somewhere.