Ubuntu :: Samba Guest Shares - Win7 And Android OK But Other Fails?
Apr 18, 2011
I have Samba guest shares working - win7 and android tablet see the shares. However, a media player just reports No Folders Found. The media player can see Win7 and Android samba shares. Here's the testparm -s
finding / mapping network shares on Win 7 guest in vmware. I am running 10.10 64 bit ubuntu and installed vmware workstation 7 (64 bit version). I created and installed win 7 (ultimate) vm. everything is good so far. The issue is I have a second desktop with ubuntu and I have shared 4 drives on that desktop. I want those shared available to the win 7 guest. And even after enabling the shared folders I do not see them.
Note: I have a shared folder on the same machine where I have vmware installed and win7 has assess to that drive.. its just that the shares on network are not available. Note2: i had virtualbox installed and it worked fine.
I have some samba shares working where all I did was right click on the folder, enable sharing and enable guest access. These work fine.
However, when I tried to use the manual way:
to create samba shares, so that they would be password protected, I cant access them. In windows 7, the shares are visible so I click them, click "use another account" and type in my samba name and password I created, but I can't access them.
Here is smb.conf
Code: # # Sample configuration file for the Samba suite for Debian GNU/Linux. # #
I just installed a F12 server at home, replacing a FC9 server that ran samba to share media files. I had no problems connecting to samba on FC9 (the version escapes me, sorry) however Win7 seems to be fighting the F12 samba (v3.4.7) trying to do the same thing. I create a directory share, it shows up in windows explorer, but when I try and open it win7 tells me I dont have rights to it.
I created a printer share via samba, and successfully connected to it from win7 and use it as my default printer, and that works OK. I know win7 uses smb2 as its samba protocol, and that might be some of the problem (or all of it), but I'm not sure. I also have googled and saw that people have had had issues with samba as their domain controller while trying to join win7 into the domain, however I do not use win7 as a pdc at all. The solution for this seems to be registry hacks, but I am not sure they apply to me as I haven't seen anyone correlate it. Tailing the logs, this is what I see when I try and explore the file share from win7:
Code: [2010/04/26 13:09:56, 1] smbd/notify_inotify.c:421(inotify_watch) inotify_add_watch returned Permission denied
Now I have edited smb.conf manually in the past but to try anything I've even played with webmin to see all the options I might be missing, still my conf is fairly simple:
I see the movies share in win7, but it doesn't let me in. I tried disabling requiring 128bit encryption for NTLM as one suggestion but that didn't work. Also changing local security policies to send LM & NTLM responses, and that didn't work.
Since "upgrading" (ha!) to lucid I have had a number of problems that I am working my way through. The latest is accessing samba shares from a Win7 PC. It takes minutes to open the requested share from the Windows 7 PC. File transfers, once the directory is accessed, can be measured in bytes. It is an absolute trickle.
AFAIK the smb.conf is unchanged and, in any case, there is no problem accessing the shares from another linux PC.
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 ?
I have a local file server running Samba on Fedora 9. It's already configured and serves a few people without any problems. I am now trying to set up a new read-only share with the username 'guest' and the password 'guest'. However, with no success so far! If I log on as 'guest' with the password 'guest' like so:
su - guest No problem. Once logged in, if I try:
I'm prompted for a password. If I enter 'guest' I get:
I just upgraded to the newest VirtualBox, version3.2.4.r62467 and installed Ubuntu 10.4/64 guest on an Ubuntu 9.10/64 host. I installed the guest additions and set 3 shared drives. I can see them in the "machine folders" names, paths and access modes in the "shared folders" dialog. But, when I try to write to them, I always get Permission Denied!
I mounted it as root: mount -t vboxsf tera /vb/tera It shows up in mtab: root@ubu-10:/vb# grep tera /etc/mtab tera /vb/tera vboxsf rw 0
I can see the listing: root@ubu-10:/vb# ls /vb/tera bak Recycled <snip>
But, the permissions are wrong and can not be corrected. Chmod and chown are ignored?! root@ubu-10:/vb# ll /vb | grep tera drwxr-xr-x 1 root root 12288 2010-05-04 09:42 tera/ root@ubu-10:/vb# chown brianp /vb/tera root@ubu-10:/vb# chmod 775 /vb/tera root@ubu-10:/vb# ll /vb | grep tera drwxr-xr-x 1 root root 12288 2010-05-04 09:42 tera/
I am running as root: root@ubu-10:/vb# whoami root The VB shared folders dialog, machine folders shows /tera with access Full. /etc/mtab confirms that it is rw
I own it on the host: brianp@trex:~$ ll / | grep tera drwxr-xr-x. 16 brianp root 12K 2010-05-04 09:42 tera Why can't I write to it?
Home network with 3 Win7 boxes and one elderly Fedora 11 box (heloise) which has been running Samba well for several years. I've just built and started configuring a new Fedora 14 box (abelard) to replace heloise, but can't get the Win7 boxes to see shares on it.
Windows Explorer on the Win7 boxes can see abelard, and they can see the two shares I've created on it, but if I double-click on a share I get the "Windows cannot access" dialog.
I've set a Samba password for one user (ralph), the same as that user's login password, and set the "smb password file" entry to point to the resulting .tdb file.
All IP addresses are static (via Static DHCP), everybody can ping everybody, I can ssh from a Win7 box to abelard via Putty, and the network operates cleanly in all other respects. Here's my smb.conf:
# Samba config file created using SWAT # from UNKNOWN (127.0.0.1) # Date: 2011/05/07 11:25:27 [global] workgroup = MSHOME
I'm trying to get my Ubuntu computer to connect my Windows 7 shares. I do have Samba installed and it can "see" my Windows 7 computer...however, I cannot connect to the machine. I think I've heard some issues with the way how Windows 7 deals with networking now and Samba doesn't work with Windows 7 now or something? If possible, I can always use an NFS server and client for my Windows 7 computer.
1. Microsoft Windows 7 64-bit Professional HOST Operating System 2. Oracle VirtualBox 4.0.6r71416 on top of Windows 7 3. Ubuntu 10.04 Lucid Lynx 32-bit GUEST Operating System in VirtualBox
I successfully installed the above configuration on May 15, 2011. I had some difficulty getting the Host-Only VirtualBox Adapter to work. I was forced to make a subtle change to the Windows Registry in order to get the Adapter to work correctly. I was successful. I used the Debian Update Manager to update my installation of Ubuntu. Nothing changed on the Windows 7 side. Now, Windows 7 says that the Host-only adapter is enabled, but I don't have a connection to the Ubuntu OS. I can't use PuTTY or WinSCP. When I invoke ipconfig on the Windows side, 192.168.56.101 is the IPv4 address. When I invoke ifconfig on the Ubuntu side, there isn't anything.
Just d/led Fedora 11, installed in Sun Virtual box 3.04. New to Fedora and can't figure out how to install guest additions to get my resolution up to par. I have the iso mounted and can get to it via "file management" no problem.
I have a Win7 laptop with the latest version of VirtualBox installed. It's a dual core proc with ram to spare. So, I installed Slack64-13.1 and it rocks! I'm really impressed that Slack is running at what appears to be native speed, but in virtual machine. Hardware response is normal, WIFI and LAN are both working great for my normal tasks.So, I downloaded a few much needed patches, and new ISO image for one of my old desktop PCs. Now, my problem is I can't connect my USB cdwriter to my virtual slackware or share folders in the Win7 install with the virtual slackware. I read a few of tutorials on the Oracle VBox website, and several of the ones here on LQ, and none of them seem to solve my problems.
We just set up a vpn & samba server and are running into this problem.
we can log into the vpn and can ssh, http, ftp in the various servers on the internal network. however when trying to view Samba/Windows shares over any windows machine, they fail to connect. BUT we can vpn in on any android device and using a samba app view the Samba & Windows shares on any server we try.
If im logged in the network internally, there does not seem to be a problem. Only if we VPN in from the outside.
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 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.
This is (I suspect) a Mac OS issue but they've given no help (or replies!) on Mac forums so I'll ask here.I've just got a Mac and I can connect to shares on my Ubuntu (10.04) server, read files and create directories but I cannot write. I get this error:"The operation cannot be completed because you do not have sufficient privileges for some of the items."I can connect from the command line with smbclinet and write fine. I have tried several different users on both the Mac (cannot write) and Ubuntu clients (can write).Is this something to do with the ._filename files that finder creates? Or is there something wrong with the way I've set up my server? This is the first time I've used it with a Mac client.
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
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 have a fresh installation of Ubuntu 10.04 LTS I have installed Boxee on it that is all and I am trying to set it up as a Samba Server. I have followed the instructions on following page:[URL]..On the box that I am trying to setup as a Samba Server using Nautilus I can view the shares no problem. On another Ubuntu box no such luck. I can get too Windows Network and I can see my workgroup. When I try and open the workgroup I get the following dialogue box for some time: Opening "WORKGROUP". You can stop this operation by clicking cancel. And then this error dialogue box:
Unable to mount location Failed to retrieve share list from server I have spent sometime trying to resolve this myself but have had little luck. As far as I know I have no firewalls in place; Ubuntu does not have one by default is that correct? At this time I don't have a Windows computer to try to connect too the server at this time, but plan to in the future that is why I want to use Samba.
I am connecting the two boxes with an D-Link DIR-825 router; both boxes are on the same subnet. Are there settings in the router that could be affecting this?
Basically, the problem is, we have a bunch of computers in a computer lab, that we want to students to access, but not modify in ANY way. That includes backgrounds or whatnot. And after restart, any changes they may have made, change back. Also, they can't have read access to the administrator account on the computer.
This needs to give a permission denied, or something: Code: cd /home/(admin account username) ls
The Guest Session is exactly what we are looking for, but try as I might, I can't get it to work. Because, we don't want to have to login as administrators, then activate guest session, just for our students to use the computers. The idea being, we can leave the computers in there, and not worry about the students breaking anything.
One thread I tried was: [URL]. However, using his method, will log the student into the account, and after about 5 seconds, log them back out. The other method listed lower in the thread, Code: /usr/bin/guest-session Seems to work, but upon logging out, fails to launch the gdm
Fairly new to Karmic - wanting to setup some Windows Shares on an external Hard drive. I understand that I need to install Samba to do this but when I try to install it I get the following message:-
pat@CCBC-13112:~$ sudo apt-get install samba Reading package lists... Done Building dependency tree Reading state information... Done Package samba is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: samba-common-bin smbclient samba-common E: Package samba has no installation candidate
Last night i updated to 9.10, all good except i can no longer access my samba shares!!
here is the info from log.smbd after i stared it this afternoon
Code: smbd version 3.4.0 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/01/12 16:35:57, 1] param/loadparm.c:6355(map_parameter) Unknown parameter encountered: "executable" [2010/01/12 16:35:57, 0] param/loadparm.c:7449(lp_do_parameter)
I'm trying to share some folders over the network, but the shared folders are not visible on another computer. This is through double clicking my computer from the Network list in Nautilus. However, I can access the share by typing the full address(<computer name>/<share name>) in "File > Connect to Server...".Since I can't type the address manually from my blu-ray drive, I need to get the shares to show on the network. What is wrong with my settings?
I setup shares on a fresh install of Ubuntu 9.10 via the shared folders application from here: [URL]. The shares are visible on my vista laptop but when I go to open them I get an error "you might not have permission to use this network resource". I set the smbpswd to nothing via the method in the above article as well and my /etc/samba/smd.conf has the follow lines:
 path = /media/Secondary Storage available = yes browsable = yes public = yes writable = no
 path = /media/New Volume available = yes browsable = yes public = yes writable = no
i have a file server running kubuntu and samba, when i plugged it into a different router, the router assigned it a different IP address (as I expected - its using DHCP) - but the old router was supplying 192.168.1.x type IP's and now the new router is suppliing 10.0.0.x type addresses.I now cannt see the samba shares on the file server.the computers can ping each other and they have working connections to the internet