General :: Can't Connect To Samba Share From Computers Not Joined To Domain
Feb 26, 2010
I have a samba share setup as the following. When I browse to it from PC's added to my AD domain, they connect instantly. When i browse to it from a laptop that's not part of the domain, i get prompted for login credentials. what credentials should I be putting in? I can't seem to figure it out. or is it because i have the workgroup set to what my AD domain name is, and the laptops aren't part of that domain.
path = /data/photos
browseable = yes
force user = pictures
force group = picturesgroup
I just recently constructed a computer to create a nice Fedora Linux server to replace a Mac Mini server that I have been using for a few years. I'm attempting to create a Samba share for my machines, a Windoze 7 machine as well as a couple MacOS 10.6 machines. I've set up Samba, started the service, allowed Samba in the firewall, and used system-config-samba to set up a share with a user. I created a User called "space", and a share /media/peliculas/Movies (a mounted hard drive). When I type in \IP_ADDRESS in the address bar in windows 7, I get the option to log in. I log in correctly and I see two directories "space" and "Movies." Unfortunately when I click on one of them I get the following error message:
Windows cannot access \IP_ADDRESSMovies Check the spelling of the name. Otherwize, there might be a problem with your network. To try and identify and resolve network problems, click Diagnose. I also get something similar when I attempt to connect with my mac machine. Using "Connect to Server" I type in: smb:\IP_ADDRESS, and login, I have the option to mount "Movies" or "space." If I select any of these, I get the following error message: There was an error connecting to the server "IP_ADDRESS." Check the server name or IP addres, and then try again. If you are unable to resolve the problem contact your system administrator.
Also, if I type 'smbclient -U space -L IP_ADDRESS' I can see the "Movies" in the "Sharename." At this point I'm not sure what else to do, and have been trying to figure this out for the last few days (losing sleep due to being baffled). The only thing that I can think of is that I have something wrong with the smb.conf file. Here is what it currently displays:
workgroup = WORKGROUP server string = Samba Server Version %v log file = /var/log/samba/log.%m max log size = 50
One last thing, when I check the log files, there are error messages that state: smbd/service.c:1009(make_connection_snum) '/home/space' does not exist or permission denied when connecting to [peliculas] Error was Permission denied --Windoze 7 and MacOS 10.6 log files
I am in a multi domain environment where I took one Samba file server from one domain to another and I need to make sure it is actually connected to the new server. I have all the correct info in the smb.conf but I need some reassurance that I am actually connected. This is a Microsoft environment. The Samba file server is the only Linux box on the network. What's the best command to view my domain membership?
I have two Ubuntu 10.10 computers and two Windows XP computers connected to my network. I cannot share files between the Ubuntu computers using samba. I keep getting the "Unable to Mount Location Failed to mount Windows share" error. I've tried the solutions posted by dmizer here and nothing works.Random true facts:I can successfully connect to folders shared on my Windows XP computers from either windows computer.I can successfully connect to folders shared on my Windows XP computers from either ubuntu computers.Neither of my windows computers cannot connect to folders shared on either ubuntu computer.Neither ubuntu computer can connect to folders shared by the other ubuntu computer.I REALLY need to get samba to work since I have other Windows computers on my network.
i'm trying to automount a samba share on computers startup, everything works just fine when the network adapter is controled by traditional way ifup but when i'm switching to NetworkManager doesn't work anyway. i'm hiding the share information from the common user by using the /etc/samba/cifstab as i read on intrernet, in the cifstab i put //server/share /home/user/share cifs sername=user,password=pass,uid=1000,_netdev .could anybody give me a hint or tell me where to look?
After upgrading my ubuntu server from 9.04 to 10.04, the window computers couldn't resolve samba shared names anymore, the error code displayed by Windows was 0x80070035.
I was using the ubuntu server as a samba server, using 'share' as the security authentication method, it has been working very well under previous ubuntu versions but, after upgrading to 10.04, the windows computers can't access the server shares anymore; the linux computers don't have any problems (I can access the shares from linux).
As a workaround, I've added the name of the server in c:windowssystem32driversetchosts; but I'd like to know how to fix the problem without modifying every windows computer.
I already join the domain but I have the map drive is based on the user name in windows server 2003. I map the drive on the user by batch file like map_file.bat and its on the group policy as log in scripts. So how can the user when he use PC1 see his own map drives and when he go to PC2 he see the same map drives and when other user sit on his computer will see other map drives. Its already working on Winxp as client but I want it to be the same on ubuntu.
In other word, more description Mike using PC1 can see map drive MAPDrive1 and MAPDrive2 and when Mike want to use PC2 and automatically can see MAPDrive1 and MAPDrive2 or any other PC he use .. he can see the same MAP1 and MAP2 ins same time jack if he use PC1 can see map drive MAPDrive3 and MAPDrive4 and when jack use PC2 he again can see MAPDrive3 and MAPDrive4.
I am setting up samba on my CentOS server for the first time. I am using webmin to configure samba. Here is the smb.conf
[global] netbios name = KISKA cups options = raw load printers = yes server string =
I can see the domain name "KISKA" in the "network" tab of windows explorer, however when I click on it I get this error: Windows cannot access \KISKA check the spelling of the name. otherwise there might be a problem with your network. Under the details of this error I get this: "The network path was not found" Also I have stopped iptables so it cant be firewalled
I feel ashamed for even asking this, since it seems like there's about 3 samba questions here every day. However after an hour of searching, I keep finding strange variants that aren't what I need.
My Goal: Create a single file share on an Ubuntu Server - share it via samba to Windows clients that are on a domain with active directory. It sure would be nice if AD authentication would work - so users don't have to type in a linux user/passsword each time they want to access the share.
In my adventures, I've found the following items (which may overlap)
1. Joining the server to a Windows Domain
2. Turning the server into a Windows Domain Controller
3. Authentication with LDAP (still not quite sure how/what this would do)
4. Stuff with Kerberos
5. Lots of people bickering about Samba 3/4 & how it's impossible to make Samba a PDC.
I'm not sure if I need to make the ubuntu server a domain controller or not...all I want to do is create a file share and share it on the domain...I don't need to make the ubuntu server a domain controller for that, right? Maybe just a member? Maybe nothing at all?
I guess if I want to authenticate stuff correctly (or forward authentication requests? Not sure), I probably need to join the ubuntu server to the domain...I think.
But let's say I do join it to the domain...then how to I create a file share that is authenticated via active directory rather than a local ubuntu server account? I see a dozen guides on joining the server to the domain, but nobody ever mentions sharing the folder over the domain.
The lines are also blurred between joining Ubuntu to the domain and making it a domain controller. What should I keep an eye out to avoid in these tutorials?
I get lost between the Kerberos/LDAP/Samba/WinBind etc...and I have a feeling I don't need all of these for something this simple.
I have Ubuntu server 10.04 joined to a domain using Likewise Open. I can login using my domain credentials and have added my domain account to the sudoers file. Now that I've got it joined to the domain I want to add some samba shares and have domain members use their accounts to access them. However, no matter what combination of my domain name and the domain user or group I use in the valid users field it won't let me in. What's the proper way of inputting a domain user or group in the valid user field?
This is the entry I'm using for the share:
Code: [testshare] path = /srv/testshare valid users = @"Domain Name+Domain Group" (Have tried many things here) public = no writable = yes printable = no create mask = 0765
I have a LAN of about 70 computers that I would like to share media files between. I have gotten to the point with Samba that I can view the files without a username/password from client PC's. I would like to make all the folders read only except for one which will be writable for everyone. The thing that I am having a hard time with is allowing a couple of administrators (on Windows 7 machines) read/write access for all files/folders. I am completely new to Ubuntu and Samba so please make explanations thorough. Here is /etc/samba/smb.conf file:
I just installed UNE v10.10 on a new netbook and I guess I've become too spoiled using the Desktop's PLACES->Connect to Server because I can't find where this is in UNE. I'd also like to "bookmark" it so I can single click to connect to "crunch20/netshare2" (I have added ip for crunch20 in /etc/hosts).
I've setup a samba server on a centos 5 machine and am trying to connect to it via a windows 7. The problem I'm encountering is that the only share I am able to connect to is the tmp share. It doesn't matter if it is a protected share or not, I always get a "network path could not be found error" when trying to open the share from windows.
Fairly new Linux user, running Fedora 12, attempting to set up a simple Samba share to share files with a Windows box. I've gotten to the point where I can connect from the Windows box, and see a home directory and the directory I'm trying to share. The home directory is accessible and works as expected, but when I try to access the other directory I get "The network path could not be found."
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 an Ubuntu server that's part of a Windows domain and requires Kerberos authentication when connecting to its Samba shares.I have an Ubuntu desktop machine that is capable of obtaining Kerberos tickets via kinit and can successfully connect to the Samba share on my Ubuntu server using Kerberos authentication via smbclient.
We have Ubuntu Server for samba share. We have windows xp clients working perfectly as client station.However, we are facing problem in connecting ubuntu client. Can anyone guide me, how to connect ubuntu client to samba share. (Not as root user)
Yesterday I reinstalled my ubuntu 11.04 and now I cant get samba to work. I allso installed Firestarter to get internet connection to my media center pc. In firestarter I have unchecked in the "advanced options" "block broadcast from external network".In my media center pc when I go network connection and view workgroup computer, I cant see my computer at all. If I try to ping my computer then everything is ok.
I'm running 10.10 on a pretty fresh install with a brand new system I built especially for Ubuntu.For some reason, I'm beginning to have trouble with accessing my Samba shares from this computer. I have a Windows Home Server also running on my network and I have to be able to access the files on it.At first Nautilus showed "SERVER" in the folder tree when I clicked on "Network" and everything was working great. A couple of days ago my WHS "SERVER" suddenly no longer showed up in Nautilus and I had to mount the WHS server manually (via "Connect to Server...").
Now, today, even that doesn't work. When I try to mount manually I get the error "Failed to Retrieve Share List from Server". I can now no longer access the WHS from Ubuntu at all.Why has my ability to access the Samba shares on my WHS deteriorated over time to the point where I can't access them at all?? Any ideas?I have other systems on this network (Mac and Windows) and none of the others have any problems at all with the WHS. Re-booting WHS and router has no effect. I've changed nothing in my set-up. Is this update related?
if i try to connect to my samba server ( share ) from my windows xp ( or vista, i've tried both ) it says, that the network share cannot be found. i've installed all necessary rpms on my fedora 10, necessary for running a samba server:
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.
When trying to connect to a Samba share, it requires to send the servernetbiosname. Let me try to describe it.At my university anyone has a personal web directory, which is hosted at another university. It's on a SuSE server, shared via Samba. There are several universities on this server, using the same Samba with different NetBIOS names.There is an open Cisco WiFi, anyone can connect. But to use it, you have to use VPN (Anyconnect for example or in my case the module Ubuntu provides).Now my problem is, I can't easily connect to any share on the server (tried several shares from several machine to be sure it's not just me). After trying several variants on bash, I finally figured out, that I have to supply the servernetbiosname to get it to work.Not working:
When I try to connect to the share from my XP machine, I get a "network path cannot be found" error message.
Below is the entry in /var/log/samba/samba.log
[2008/11/19 11:57:51, 0] smbd/service.c:make_connection_snum(1003) '/server2/test' does not exist or permission denied when connecting to [server2] Error was Permission denied
Here is my smb.conf file:
[global] # Server name server string = Intranet Server (Primary)
# These are the default password settings. ; encrypt passwords = yes ; smb passwd file = /etc/samba/smbpasswd
# Define NT domain/workgroup name. workgroup = intranet
# Security mode. (See SAMBA documentation for details.) ; security = user
# Restrict conections to specific IP addresses. hosts allow = all
# The %m variable sets a separate log file for each # connecting machine. # log file = /var/log/samba-log.%m # Keep it basic - one file! log file = /var/log/samba/samba.log
# The number of minutes inactivity before a connection is # disconnected. (This disconnection should be transparent to most # clients, which an have auto-reconnect feature. Removing inactive # connections is to preserve the server's resources.) deadtime = 10
# These socket options are suggested in the default smb.conf file. # Who am I to disagree? socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# Define both Ethernet interfaces. (Otherwise, I suspect only one # will be configured??) interfaces = eth0 eth1 username map = /etc/samba/smbusers ; guest ok = no ; guest account = nobody
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?
Networking Problem Fedora 14 22.214.171.124-90.fc14.i686. I am trying to share files between 2 Fedora 14 computers , a desktop and a laptop, both located on my local DSL server. The laptop sees its public files and the public files folder on the desktop computer - looks fine. The desktop computer acts differently. Both systems show an entry of "unknown type" in the directory listing, for the public files directory. But whereas a right click on the directory entry on the laptop offers "open" the same operation on the desktop computer offers "open gedit". When I double click the entries on the laptop, entries appear on the main screen. If I double click the entries on the main screen, the directory contents are displayed. But, if I doubleclick the directory entries on the desktop computer 1- I get a black box that says there has been a crash in gvfs-1.6.6-1.fc14 and an error message box tells me Dbus error org.freedesktop.DBus.ERROR.NoReply: Message did not received a reply.
I have a networked raid drive. Thecus 2100. Its running linux, and includes samba sharing. On that I have a folder shared. I can connect to and read and write from nautilus. No problems. However, I can't use other apps through that method. Its not really "mounting" that drive in the sense you'd normally think of (afaik).
If I try to mount the folder, no matter how I have tried so far (-t cifs, smbmount, etc), I can navigate the folders, but if I try to read any file I get a permission error. Looking at the permissions with 'ls -l', everything looks OK. The weird thing is, I can write a file, then read that file back as long as its the same session.
Just now I tried 'smbclient' with no special arguments. Just the server and path url. It asked for my password. Once I was in, I had no trouble getting files. I had a thread about this a while back and there were several links and all sorts of command line options to try, which I did, with no different outcome. I think its got to be something much simpler and more obvious. smbclient and nautilus seem to have no trouble. Anybody know what they're doing differently?