General :: Create A Samba Share For Lost + Found
Jun 6, 2010
If i create a samba share to one of my lost+found folders so i can copy stuff to somewhere else, will that cause a problem? I'm thinking not, but since its a special folder wanted to make sure.
View 6 Replies
ADVERTISEMENT
Feb 3, 2011
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.
View 4 Replies
View Related
May 31, 2011
I am trying to compile a LaTeX document using pdflatex on a CIFS/SAMBA network share.
The file compiles fine on the local drive.
Then if I copy it on to the network share and run pdflatex foo.tex I get:
Code:
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
! I can't find file `foo.tex'.
<*> foo.tex
I can view the file with less, so it's not permissions.
My fstab mounts the drive as:
Code:
//someserver/dir /mnt/mountpoint cifs user,username=****,rw 0 0
View 2 Replies
View Related
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.
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
[code]...
View 8 Replies
View Related
Jan 12, 2011
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:
drwxr-x--- 3 nobody users 0 2010-12-26 20:42 Misc Pics
View 14 Replies
View Related
Apr 28, 2010
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.
View 1 Replies
View Related
Aug 23, 2010
I was wondering wether the 'Lost+Found' folder in the root directory of my usb harddrive is absolutely necessary?
View 3 Replies
View Related
Mar 18, 2011
I am attempting to share a folder from an existing drive that has been formatted in NTFS. I simply right click on the folder, goto share, and I can see the option to share to UNIX and that works with no problems. My question is; why is the SAMBA sharing dialog grayed out?
View 1 Replies
View Related
Mar 19, 2010
Ok, this is a complicated one, and possibly not entirely a linux question, but here goes-
I have a Synology server, set to backup to an external USB disk. As I understand it this disk is formatted as ext3.
The server recently crashed, so I need to get the data off the USB disk.
Weird thing 1: if I used an ext3 reader for Windows, then I can only see directories on the USB disk, no files. Yet if I mount it back on the (now crashed, but still just about bootable) Synology, then I can see all the files just fine.
Since I can see the files on Synology I figure the Windows ext3 reader is faulty. So I copy all the files to a spanky new QNAP NAS. Telnetting into the NAS I can see everything is present and correct and all the data is there. Great!
Weird thing 2: If I try to access the data via a Samba share, I can't see any of the files. Only directories!
Weird thing 3: I tried to make it all completely open by chown to my user and the "everyone" group, and then chmod uga+rxw *. This made no difference.
Weird thing 4: If I select "show hidden operating system files" in Windows then all the files appear.
Are there some weird "extra" permissions that Synology are using? If so how can I get rid of them? Anybody have an idea what is going on?
My worst case is I'll have to boot the Synology back up and copy the files via that, but I'd like to know whats going on. Oh and black mark to Synology here for making a backup that is hard to use on anything but the original system.
Thanks!
View 5 Replies
View Related
Mar 9, 2011
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
Code:
[global]
netbios name = KISKA
cups options = raw
load printers = yes
server string =
[code]...
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
View 5 Replies
View Related
Jun 13, 2011
I would like to know how can I get permission to subdirectories of a share other than what main share has. I do not want them to have same share I mean for example I share "sharetest" and it has full access for A and B and C groups but "sharetest/foo1" has read only access for A group and "sharetest/foo2" has read only access for B group and "sharetest/foo3" has read only access for all of them.
View 1 Replies
View Related
Feb 16, 2010
I have a Debian 5.0 system, fresh install, updated with aptitude. Now i'm using vmware to test my system, but the 'real' system, is a small network with around 30 workstations connected in a cisco switch + router. So i test the configuration at home, and when it's working and done, i will copy it to the real network, because i don't want to mess it up
So i installed the newest samba to act as a PDC. You can read my configuration in the following lines:
Global Settings
Share Definitions
I added root with 'smbpasswd -a root' command. When I try to connect to the domain with a Windows XP, it says: ' The username cannot be found '
View 5 Replies
View Related
May 12, 2011
I installed samba server on fedora13 last week and share some files from samba server GUI. I also created samba user and password for shared folders but I can't get access samba share folder from neither fedora machine nor Windows XP. When I open samba share from other fedora such as smb://192.168.10.2. I can see share file and when I browse folder, password required box is appeared but after I put samba username and password. The Error message is Unable to mount location Failed to mount Windows share. Even when I browsed samba share from windows xp.
Error message is \192.168.10.2smbshare is not accessible. You might not persioon to use this network resource. Contact the administrator. The network path was not found. How can I get access samba share from both fedora and XP that is what I installed on server:
[root@fedora2 mnt]# rpm -qa samba*
samba-winbind-clients-3.5.2-60.fc13.i686
samba-swat-3.5.8-74.fc13.i686
samba-client-3.5.8-74.fc13.i686
samba-3.5.8-74.fc13.i686
samba-common-3.5.8-74.fc13.i686
and here is my smb.conf file
# Samba config file created using SWAT
# from UNKNOWN (127.0.0.1)
# Date: 2011/04/29 22:05:08
[global]
workgroup = workgroup
server string = Samba Server Version %v
security = user
guest account = youth
log file = /var/log/samba/log.%m
max log size = 50
guest ok = yes
cups options = raw
smb passwd file = /etc/samba/smbpasswd
;encrypt passwords = yes
[homes]
comment = for all users
read only = No
;browseable = yes
path = /home/aung/smbshare
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[Public]
path = /home/aung/Public
read only = no
;browseable = yes
valid users = abrt, ftp, operator, youth, yu
[smbshare]
comment = personal share
path = /home/aung/smbshare
write list = yu
read only = no
;browseable = yes
valid users = youth
View 2 Replies
View Related
May 31, 2011
I am trying to mount a shared folder from windows xp to my ubuntu vm. It is running in vm player.
I installed samba with sudo apt-get smbclient smbfs
Next, I run smbclient -L computer_name_here and get the error NT_STATUS_LOGON_FAILURE. What am I doing wrong? How can I solve this?
View 1 Replies
View Related
May 19, 2011
I've setup a samba share with RecycleBin option. However, there is no cleanup and soon will saturate free space.
I'm trying to plan a command that each week clean the content of those dir or the directory itself.
The dir tree is like /home/ :user1
Dir1
Dir2
RecycleBin
[Code].....
To be careful to all possible situations I'm testing this line in directory with spaces in names. I know is ugly and ... and ... but users are just used to and they don't care about me And, having this line working for spaces I can use it for other situations other than shares.
File o directory non esistente = File or directory does not exist
View 3 Replies
View Related
Nov 19, 2009
Server: Ubuntu Server Edition 8.04
/currently firewalled to only allow client ip
Client: Ubuntu Desktop 8.04
/currently firewalled to only allow server ip
Same userid and groups set up on on both. I have taken two linux courses and can maneuver around fairly well, but am still pretty newbie at all this. We have loaded Samba on a server and created a Samba share. I AM able to access that share via Windows Vista, but have not been able to successfully mount the share on the Ubuntu desktop via the fstab file. I have tried the following ways: serverip:/path/shareddirectory /net ext3 user,sync 0 0 and the samba way..
//serverip/sharename /net smbfs username=x,password=x
After modifying fstab, I reboot. No luck since that either way.Only ONCE after modifying it samba way, I was prompted to enter credentials, but after login I was unable to view the files on the server. From this point on either way, if I run commmand 'mount -a' the response is "Special device serverip:/path/sharedirectory does not exist" Also! I am able to ping client-to-server, but not server-to-client.
View 3 Replies
View Related
Nov 21, 2010
I used Samba to share some files. But when I try to share /home/username/download, it is not accessible by WindowsXP. But when I modified the dir to /opt/*. It is OK.
View 2 Replies
View Related
Jun 12, 2011
I have a samba shared folder in my flash disk. Yesterday I installed ubuntu 11.04 and now sharing is not working any more. I do the usual procedure (that worked so far), I right click my folder > sharing options and tick "share this folder" as well as "Allow others to create and delete files in this folder" but I dont get the usual messages asking to add permissions automatically.When I try to mount my folder in another pc with linux, I get permission denied and that the folder is only readable and in another, windows cannot find the network path to my folder.My folder has about 10.000 files. asking to add permissions automaticallyI created another folder on the same flash and when I create share I get the message asking to add permissions automatically but it is not visible either. I even cant see my folder in "my places" > network, so it is not a matter of the mounting command
View 1 Replies
View Related
Jan 9, 2011
want to made 2 users in samba by which windows machine we access share, say user1 has read,execute permission, user2 has read write delete update full permission. we have done user1 configuration as premia user. we need your guideline for user2
we change the smb.conf file
# less /etc/samba/smb.conf
[global]
[code]...
View 2 Replies
View Related
Jan 15, 2010
I've just installed Ubuntu 9.10 and Samba 3.4. I've shared a folder and have accessed the share from a Windows 7 client. However, I've struggled to configure the share and folder so that the Win7 client can create files and/or folders in the share. Kept getting Permission Denied errors. Finally, (using Webmin) I set the permissions on the file folder so that "Other" had write access. I don't understand why this was necessary (and how unsecure this is). I already had the write access checkbox ticked for "User" but it wasn't enough.
View 1 Replies
View Related
Apr 26, 2011
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:
setsebool -P samba_domain_controller on
Trying to connect to samba locally gives me this:
Code:
[tedward@hp-firegate ~]$ smbclient //192.168.0.1/storage -Utedafur
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
[code]....
View 6 Replies
View Related
May 30, 2010
I have a samba share that I mount locally at boot through fstab. The share is writable and if I access the share directly, say with konqueror and smb (smb://hostname/sharename) then I can do anything I want (create, write, delete, edit, files/directories). I have a mount point on my local machine
Code:
/shares/mp3
and I (username dtest) was unable to do anything except read files and create directories trying to do them to the local mountpoint except as root. I figured it would be a matter of
Code:
chown -R dtest /shares/mp3
but I was unable to do that even as root, I kept getting permission denied. When I did
Code:
ls -alt /shares/ it told me the owner was 1000 and the group was root. Dtest was already a member of the root group and I was able to
Code:
chmod -R 774
as root but I still couldn't do anything except read and create directories directly via the mountpoint. Ultimately I solved this by changing the uid of user dtest via kuser and then just chowning my home directory back to dtest. It seems like as root I should be able to change the owner of the directory. I know it's because this is a samba share, but it doesn't make any sense why root couldn't just chown it. Is there another way to change the owner of a directory, or is this set by the machine hosting the samba share?
View 3 Replies
View Related
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
[code]....
View 12 Replies
View Related
Sep 10, 2010
Everything works fine in doing this, however every time a user logs into the Windows Citrix Session the roaming profile created on the linux samba share creates their Windows Profile with a 755 perms. I understand that the default umask is (globally on my RHEL host is 022 ??) but in my smb.conf file the definition that is defined for the directory is set to a create mask of 0700. What is going on?
View 3 Replies
View Related
Apr 27, 2010
I know on Windows boxes you can defrag and run disk checks on large file shares to find and fix errors. What would be the equivolent to those for an ext3 800GB samba share containing pictures, documents, and videos? Is their online vs. offline (during a reboot) things that should be done?
View 4 Replies
View Related
Jun 21, 2011
we have a sambe share from our window pc, we cant delete or cut/paste file however creation of new file r possible, where we give full permission.
the samba username is premiaadmin, where all permission given like root see below
[root@tmsrvr2 ~]# service smb start
Starting SMB services: [ OK ]
Starting NMB services: [ OK ]
[root@tmsrvr2 ~]# setfacl -m uremiaadmin:rwx /premia
[Code].....
View 3 Replies
View Related
Feb 21, 2011
Is there any way to share folders in linux machine to windows machine except samba and ftp..
samba is blocking by the hosting company.
View 3 Replies
View Related
Apr 14, 2010
Today when I try to mount a samba drive on my Ubuntu 10.04 server, which worked before, I now get the error message below:
DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
Any ideas is much appreciate.
View 1 Replies
View Related
Feb 8, 2010
I have set up RHEL 5 file server with Winbind and samba services running.I am able to assign and authenticate windows XP users against my RHEL 5 server.No issues.But one or two of my users are using Windows 7 Ultimate edition and they are not able to access my network samba shares.I can view the shares in windows 7 box but trying to access gives me "network access denied error".But i can access the same share in Windows xp machine for the above tested users.Working great but not in windows 7 box.I haven't tested with Vista OS yet.
View 2 Replies
View Related
Mar 15, 2011
I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox. I read in these two links: here and here that it's possible to do this using Samba, but I am a little bit lost and need more information on how to proceed.
So far, I managed to set up two network adapters (one NAT and one host-only) and to install Samba on the Linux guest, but I have the following questions now: What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories) Are there any Samba commands that I need to run on the guest to enable sharing? How do I make sure that these folders are only available to the host OS and not on the Internet? Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?
View 1 Replies
View Related