Ubuntu Networking :: Create A Samba Share To See It On Windows Computer But Have Had Nothing?
Aug 6, 2010
I am trying to create a Samba share on Ubuntu so that I can see it on my Windows computer but have had nothing but trouble. I've tried everything that I could find in Google but the best I can get is that my Ubuntu computer shows up as Unknown device on my Windows computer. Unfortunately, my Windows computer belongs to my company or I would just switch to Ubuntu altogether. I have posted a couple of screenshots of what I see in Windows, my GParted partitions, and the options that I have enabled for the folder I am trying to share. Below are my fstab and my samba files from Ubuntu. I am sure that this is just some rookie mistake as I am new to Ubuntu. It certainly seems that this should be easy, but I just can't get it.
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'm able to connect to a networked Windows machine and its shares using the Places -> Network -> Windows network interface, but unable to do so using smbclient at terminal command line. I can see the shares using:
smbclient -L //server -U username
But when issuing the command:
smbclient //server/service -U username
domain=[server] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2] tree connect failed: NT_STATUS_BAD_NETWORK_NAME
The share name has spaces, like
lab raid root share
I use 40 to fill in the spaces. This problem must be something fairly simple if I can connect via the Places GUI but not through the command line.
I am trying to see share files on my windows machine to my linux machine. I would like an answer to how to fix the problem. This is where i am at i am using my own network to learn who to use nmap properly. I ping my whole network with nmap -sS -O. Then i used nmblookup -a which gave me the infromation i needed. Then i run smbclient -L computername -I ip address -N
This will not show me the windows os this only show me my laptop. What can i change for this to show me the other computer on this network. The port i am wanting is open. I want to be able to mount the share files and move them to my computer i am going to use the commands put and get to move the files when i am able to get to the smb: >
I'm trying to make my music directory, located on my Ubuntu box, available to all the windows clients (Windows 7, to be specific) located around the apartment. It seems to work fine, I can see and read from the shares from my windows box, but deleting files doesn't work, I just get a permission denied.I've tried being as lenient as I can in the smb.conf, as well as setting 777 on the affected files, nothing changes. I've read, from my various googling, that the octal file permissions aren't as important as the samba permissions. Okay fine, but how do I tell samba to ignore permissions and let everyone delete files? I've read that samba works with samba users, but again, I don't care about users, I just want a global share that anyone can connect to and read (and delete) files.
Here's my smb.conf file: http:[url]...As you can see, I've played around a bit with options, but I just can't seem to get anything to work.
I have just installed Ubuntu 10.4 LTS and would like to share this computer on my windows network. I understand that Samba is the way to go, but how do I configure linux with Samba so I can share files and printers? I am able to see my windows computers (vista and xp) but I am not able to see the linux computer with those machines plus I would like to change the network name of the linux machine if possible. Please any help and information will be much appreciated. Eventually I would like to server a printer from this linux machine to the other windows machines.
I'm giving up in ever hoping that I'll get printing working with windows 7 with the strange comments I've found on the net. Basically I have a samsung ML2240 printer shared on the network, everything can print to it fine except for my windows 7 laptop. It's shared via Samba.
Once you have extracted the driver files, copy the 32-bit drivers to the /usr/share/cups/drivers directory and the 64-bit drivers to the /usr/share/cups/drivers/x64 directory exactly as named below:
[Windows 2000 and higher] ps5ui.dll pscript.hlp pscript.ntf pscript5.dll
However after checking this, I dont have the files named within int he correct folder on my windows system :
%WINDIR%SYSTEM32SPOOLDRIVERSX643 folder for 64-bit drivers.I've tried installing the printer via the windows installer, however this adds the driver then tells me its not working and fails to print. I really dont know where to turn with this one. I've tried installing the samsung supplied drivers from the website. However they still fail to connect.
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 a linux box that I'm using to mount a windows 7 share with samba or cifs. The mounting itself goes fine, but directories with more subdirs or files do not seem to have all the content they actually have.
For example, viewing my music folder shows only first 37 subdirs. The ls says "total 49", which is the correct amount, but the listing itself shows only 37 first in alphapetical order.
On the other hand, my wallpaper folder contains 122 files. Ls claims there is 41872 and displays only 70.
Adding the mount option noserverino increases the listed files or dirs, but it still does not show them all.
I've tried to enable debug printk level, but dmesg doesn't show anything interesting.
I've tried to change values in /proc/fs/cifs, but it does not seem to have any effect.
I've tried changing samba package. So far I've tested with 3.5.7, 3.5.2, 3.5.4 and now 3.5.8.
My distribution was yesterday slackware 13.1. Today I upgraded to 13.37 (with samba 3.5.8) but the problem persists.
I've tried with kernel versions 184.108.40.206, 220.127.116.11 and 18.104.22.168.
I have set up a Samba share via my CentOS 5 server (the samba share is actually a mounted filesystem, not local machine space). I have been successful in adding permissions for my windows users within the smb.conf, but have an additional need that I cannot figure out. I would like for my Windows administrators to be able to create folders and assign permissions from their machines (and their Windows GUI). Ultimately I need the folders on the Samba share to behave correctly when Windows group permissions are applied by these administrators.
When the folders are created, the "Everyone" identity cannot be deleted and sometimes "Creator Owner" or "Creater Group" show up. I have seen several threads start down this path, but haven't seen a definite answer (I may have just missed it!).
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.
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.
I have Linux installed on one machine with samba running and a second machine running XP. They are going through my router and I am using the same username/passwords for both machines and I have even gone to the point of allowing access to everyone for the share I created and the worgroup in samba is MSHOME just like my XP machine. When I view (or search) my workgroup computers my Linux machine shows up and so do the shares I created but when I try to open them I just get a message that permission is denied and I may not have permission to use this resource. I even tried setting access to the shared folder to 777 but still I can't open this share. Has anyone got any idea of why this is?
which in the past has mounted the windows share without any problems.For some reason this doesn't work anymore. The .smbcredentials file is in the same place it has been since it was created. I have verified that .smbcredentils is in the correct place.In order to find out what the problem might be, I tried
dmesg | tail
and got the following response
[ 18.428245] type=1503 audit(1272697118.037:15): operation="capable" pid=1249 parent=1245 profile="/usr/sbin/cupsd" name="sys_admin" [ 18.432914] usb 1-1: usbfs: interface 0 claimed by usblp while 'usb' sets config #1 [ 19.516273] CIFS VFS: No username specified
I can't pretend that I understand the full message, but it seems to say that it can't find/read the .smbcredentials file and as a result can't mount the share. When I change the code to
where xxxx is my username and password, the share mounts without any problems.I can't work out what I am doing wrong. Has the code changed? For obvious security reasons I don't want to place the username and password in the fstab file where everyone can see it.
I have ubunto desktop 10.04 LTS I installed samba and able to access the share on windows machines. However i want to access the share on 300 windows machine(for example) systems at a time Is it possible.
I am not able to configure nfs mounted disk for shareing samba. i have a server X. which configure samba for windows XP client this is done. now i have export X server samba share disk to mount Y server using nfs. this is mount and ok. but i don't share this disk using Y server samba configure.
Was trying out Fedora 15 but could figure out something: How do I share a folder?
When doing some Googling all I could find were forum posts on how to manually configure samba with smb.conf (a place I refuse to go, its 2011 people), and gnome-user-share which only shares ~/Public and doesn't show up on my Windows computer.
I do know that at least in Ubuntu 10.10 with Gnome 2 all I had to do was right click on a folder at click Sharing. I'm looking for similar ease of use in Fedora.
How to create a smb share without prompting win users for a password?
Following is my smb.conf.
I have added a user called ux_share in the system and created the /home/ux_share/share with the right permission. And created the smbuser ux_share too.
Now when I try to access the share from a winbox it prompts for the passw.This share is likely to access by several winusers and i have no idea about thier workgroup names whatsoever. This is just a simple share im trying to publish just like an annonymous vsftpd account.
My network comprises three PC's .... Windows XP, Windows 98SE and Ubuntu 9.04 running SAMBA. All PC's are configured WORKGROUP=WORKGROUP. The network connection To/From XP/UBUNTU via SAMBA Shares works perfectly OK. However, despite scouring all forum information regarding changes to Win98 ENCRYPTION, (Registry change re: DWORD "EnablePlainTextPasswords"), the Win98 PC refuses to connect to UBUNTU. The UBUNTU PC can conect to all the Win98 shared folders OK. I have disabled my Linux Firewall (Firestarter), I have run SMBCLIENT to check the user password for Win98 and it is validated OK. The Win98 error message is ....
"\Inspiron 510m is not accessible. The computer or sharename could not be found. Make Sure you typed it correctly and try again."
My samba.conf file is as follows ..... Any help or assistance PLEASE !
#======================= Global Settings =======================
## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of workgroup = workgroup # server string is the equivalent of the NT Description field code....
I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop ame of folder"
My smb.conf file looks like this:
That folders I cannot access are Music and Videos.
Have an issue with my CentOS server. I have a fully updated Centos 5.5 server and I have samba set up to serve shares to a couple of groups in my home office. I have it set up to force user/group and force directory create mode 770 and force file mode of 770. This set up works perfectly well for normal connections to the server; no matter who connects, all files and directories are owned by the specified users/group and create modes I specify. The problem is when I try to rsync some files to the same shares. When I do this, rsync ignores the directory/file forced create mode. It will honor the user/group, however. As an example, if I create a directory on one machine connected to the samba share, I get the following:
Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:
I have an Ubuntu server with some shares and a Windows XP client in an active directory, i've created all the right accounts but can't seem to connect my linux box from the XP machine wouldn't the user name box popping up with ACTIVEDIRETORYNAMEusername like that? hope that makes sense, the account to access the share is locally created on the linux box?
I had a connection to my other Windows computer the other day automatically in the Places-->Network-->Windows Network folder but it now seems to have disappeared. I tried going to Place connect to server and typing in the WIndows computer name but it won;t connect and errors out. I also tried the IP: Cannot display location "smb://%5C%5C192.168.1.36/"
running a Ubuntu 8.10 Desktop in the living room with a LOT of files. I've tried all week to get this working, and can't tell where the problem is. I want to make a music share that will: Allow guests, but as read-only Allow me to mount in Windows 7 with the user 'thecheeks' Give user thecheeks read/write access to that share
I swear Samba ends up working but maybe the problem is with Windows 7. I looked at the SAMBAWiki Win 7 page and made sure my registry values were what they should have been (and they were).
In the Windows network, there are 2 or more shares as follows:
I can access both shares in nautilus e.g. "smb://bla.bla.company.com/share $". The shares are mounted then in "home/user/.gvfs/". ok.
In one of shares, is a file-based repo, which I can access easily with svn.
Unfortunately when I try to checkout any normal folder from a share (as in MS$ with Tortoise), I fail...
What's more in the file-based repo, external references exist to other shares in the network, the name is as "file:///X:/folder/file.txt". SVN gives error messages about such references and does not access files (where "X:/" is also mounted, but as a "test$ to smb://bla.bla.company.com/test$" in "home/user/.gvfs/ ").
My questions: - what is the best solution to mount shares, so I can access all the SVN repos? - How can I access normal files and folders from a share with svn? - How can the problem with external file references in a file-based SVN repo can be solved? without to checkout/commit files "manually"... - Some checkouted scripts (Perl, etc.) use libs from shares: "Use lib qw(r:/tools/perl/lib/). how to get around this as well? - How can I change mount-names: "test$ on smb://bla.bla.company.com/test$" to something like "share-test$? - How can I change the mount location? in "home/user/SAMBA/" instead of "/home/user/.gvfs/"..
I had tried to use "fuse-smb": installed, created config, but when I run "fusesmb /home/user/SHARES/", i get an error message: smb.conf is missing.. Where can I get this config?
And one last question: Can someone recommend me a svn-gui? i have tried tried rabbitcvs, esvn and some others .. but all either do not work or crash.
I'm not sure, but maybe I can use svn and tortoise in wine, and checkout/commit the necessary files from/to "home/user/project/"? there raises the questions whether it is possible to install tortoise in wine and how to mount the shares on the wine? How to manage the hard-coded lib-names in some scripts...