Ubuntu Networking :: Access To Samba Shared Folder With Password
May 31, 2010
I have created a shared folder via nautilus. I can not access it, because it asks me for user name and password again and again. I'm sure both username and password are exactly right. But I can not access the folder. Only when I check "Allow guest user access" it will allow me to access my data, Which is not secure enough for me.
I have a Linux Box running Fedora 13, it has Samba installed, and I have configured it, I also have a Windoze 7 PC, I want to be able to access the Windoze PC's files from my Linux Box, and vice versa, but when I try to open the Windoze PC in the network on my Linux Box, it asks for my Username and Password, I enter them, the box goes away then pops back up asking for them again... and on the Windoze PC, I find my Linux on the network, open it, it asks for my username and password, I enter them, and it lets me in, but then when I try opening my shared folder, it gives me: "You do not have permission to access \LINUX Shared Folder. Contact your network administrator to request access".
I successfully installed Samba, but have problem with access to any shared folder on my secondary drive. If I try access secondary drive with admin user, everything is fine. If with another account try to access via samba to shared folder on partition with Ubuntu, everything is fine again. Every folder has set privileges to read&write to everyone, so shouldn't be problem here.
I have been having off and on issues with my samba file shares. I am sharing a NTFS formated hard drive where the mount point is in my home directory, as well as a printer connected via USB. I am to the point where printing works (using it as an ipp print share, samba is configured for it, but I don't know if it works or not), and I can access the shared folder from Windows, but I can't access the shared folder from any Ubuntu machine. I get the error:
I installed ubuntu in a desktop pc and without configuring anything i had my network working: 1 windows 7 pc which is sharing a folder with other 3 windows pc and with my ubuntu pc. Yesterday as every day before i entered into win7 shared folder from ubuntu but it asked me for a password which was not set up in win7 pc.
I'm setting up a network between 2 pc's where the one should act like "file server" and a normal pc to surf on internet.called ORLA-DESKTOP and the other pc is called OLGA-DESKTOP a pc connecting to the server and automounting the shared folder to the desktop Both pc's run ubuntu 10.04 Lucid Lynx The shared folder is located on the server in /home/orla/svenson
ORLA-DESKTOP have 2 users "olga" and "orla" in a group called "svenson" OLGA-DESKTOP have 1 registered user "olga" also in group called "svenson"
users on ORLA-DESKTOP can read/write/append and so on and fully manage everything in the shared folder.But on OLGA-DESKTOP the user can make a file on the pc and then drag'n'drop the file the the shared folder, and can also delete files in the shared folder. but cannot create a file directly into the folder like on ORLA-DESKTOP I have 3 configuration files made. 2 for automounting, Located on OLGA-DESKTOP 1 for samba server configurations located on the server ORLA-DESKTOP
The first one is /etc/fstab
# /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name # devices that works even if disks are added and removed. See fstab(5).
To sum it all up the real problem is that OLGA-DESKTOP can't append to files in the shared folder. but users on the server have no troubles doing it..
Been using Ubuntu now almost 1 year and love it but I'm still mostly lost so I need someone to explain in great detail how to be able to access the My Documents folder on my LAN XP machine. I've been up and working fine for 6 or 8 months but all of the sudden (maybe it was an update package?) I get the following error message, after a long delay, when trying to access the shared folder:
Could not open location 'smb://office/my%20documents/'Failed to mount Windows share.I have set an icon on the top panel mapped to the XP machine and launched by launcher.
I've set up a laptop with Ubuntu 10.04 32bit and shared specific folders on my Win7 PC. Everything should work okay as they both can see each other, but when I try on Ubuntu to access the Win7 shared folder it asks me for username and password. In Win7 I'm always logged in as Administrator with no password set and Ubuntu won't let me connect to it leaving the password blank. It just keeps asking for my username/password over and over again without any kind of error message. It doesn't come up with 'access denied' or anything, it just keeps refreshing the username/password login/connect gui so I can't say which side of the fence the problem is occurring on though I suspect it's on the Ubuntu side.
Installed Fedora 10 on my Downloader (just a name for the pc as its mainly used for torrent downloading) computer. But I cant access the fedora shared folder from my windows XP. Accessing XP shared folders from F10 is fine. I have another 2 computer where I have installed Ubuntu 8.10. I have no problem accessing either of the Ubuntu system from my XP computer. The F10 computer comes up fine on my Workgroup list of xp. I double click to go into the F10, a login window pops up and askes for username and password. I used the normal username and root / password to log in. But it keeps popping up for password again and again. BTW, Recently I Installed Win7 Beta on the Windows computer and Surprisingly I can access the Fedora 10 computer shared folder just fine from Win7. But I need to get it working under windows XP.
Here is my smb.conf file Code: # Global Settings [global] # Network Related Options # workgroup = NT-Domain-Name or Workgroup-Name, e.g.: MIDEARTH # server string is the equivalent of the NT Description field netbios name can be used to specify a server name not tied to the hostname. Interfaces lets you configure Samba to use multiple interfaces. If you have multiple network interfaces then you can list the ones. You want to listen on (never omit localhost). Hosts Allow/Hosts Deny lets you restrict who can connect, and you can specify it as a per share option as well
workgroup = THEMATRIX server string = Samba Server Version %v netbios name = MYSERVER ;interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24 ;hosts allow = 127. 192.168.12. 192.168.13 .....
I've a question about a connection to a shared folder on a pc behind an ubuntu 10.04 server. The Ubuntu machine itself is behind a Cisco router. Cisco router has a nat 1-to-1 to Ubuntu machine with the static public ip x.y.x.z The Ubuntu machine has one only interfaces eth0 bridged with a virtual tap0 in the virtual br0 interface. This because on the Ubuntu machine is running OpenVPN in bridged mode. I want to reach a private share on the host 192.168.100.2 using the x.y.w.z static IP. Is that possibile? Ubuntu machine has no firewall running (I was not able to run shorewall firewall for now).
I installed samba and set one of the folders on my desktop to share with my win7pc. However, I'm having some difficulty getting it to work. If anyone can provide some insight, I would be very grateful.
Both my ubuntu-pc and my win7-pc belong to the same workgroup. Each pc can ping the other. The ubuntu-pc can "see" that the win7 pc is part of the network; but it cannot communicate with the win7 pc. The Win7-pc does not show that the ubuntu-pc is part of the network.
The problem I am facing is, with the Samba server configuration.I have configured Samba server with a folder shared between server and client machines. I have tried downloading data from the shared folder on the server to the client machine which is successfully downloaded, however I am not able to upload any data to the shared folder in the samba server.
We want to fix our data folders structre in Samba, for example our folders would be like as Data/Group A/2010 /A.We want all our users can work only in folder A and no one can create any files in data, GroupA, 2010 folders. Similarly no one can delete these basic folders. However users can create further folders in A as required.
I'm using ubuntu server 9.10 for a home build NAS. Everything is working great just have one more thing to figure out. I have Samba set up to access my files and I set up a recycle feature so anything deleted will get moved to a Recycled folder. (I learned this the hard way after hitting delete key by accident while browsing the shares in windows. Lost 100 GB of data)
Now it is for the most part working but the permissions on folders isn't getting set right. If I delete a file in a share I can go to Recycle bin folder and delete the file for good. But if I delete a folder I can not access that folder to delete or restore from the Recycle bin folder. I have to chmod the folder before I can do anything with it. Anything I can change to get folders deleted via windows to have the right permissions when it is moved to the Recycle bin folder?
I have everything networked properly, as far as I can tell, both computers see each other... I can use putty to port in and use my Linux machine (Debian 4). When I go to map network drive on my XP machine, I can see the computer, but not the shared folder. After some googling I found that i have to create my Windows user name ont he Linux machine as a user as well. Unforunately, that user is 'Administrator'. So I told Linux to force user, and it created it, and did smbpasswd command and added the user to the samba list. Still nothing.
Linux OS : Fedora 10 (No graphical mode)Windows OS : XP and Windows Server NT...I am able to access from my windows to linux using following step//fedora10 ip username of admin and password...I am able to view the admin and shared printer of fedora 10.When i try to enter in the admin folder i am not able to access it. It is giving error "Access is denied".
I'm using Ubuntu 9.04 and i've installed my HP Printer and SAMBA successfully. Windows XP clients on my network can successfully print through this shared printer. My problem is, is there a way to put a security password or some sort of authentication before they can print? its because this printer is only dedicated to one department only.
i have created an folder inside my redhat server. and i shared it via samba and mapped that shared folders inside 5 windows machine. now the problem i am facing is, if any one create a file in that mapped drive the other user cant edit that same file. but he can read it. only for files not folders.
i gave full permission to that folders and subfolders and in smb file i gave readable writable browsable permissions. and i disabled se linux and firewall
I have two computers running for daily use. One is called 'server' and it is powered by Ubuntu 10.04. The other one is called 'workstation' and it runs on Windows 7 professional. On workstation I have created a folder 'Share', which I made shared for 'everybody'. Also I have installed smbclient and smbfs. With the Google I found this link: [URL] But there are errors on that page that have undermined my confidence. How do I access this shared folder?
I have installed samba server one month ago and it was working fine till yesterday but today morning when any network client is trying to access samba shared files by giving smb://<serveripaddress> it is asking for password...that is ok but when he is giving the password it is again opening the same password window to enter password again.The clients are giving correct password that is confirm. At the server side i have run smbclient -L localhost -U% and that is giving proper response so that also means that samba server is working fine so i dont know what could be the problem and what its solution.