Fedora Servers :: Samba PDC / Wins Proxy To Allow Share Across Networks
Mar 23, 2011
My Fedora router has three nic's, one for the internet, one for lan and one for the wireless network, which uses hostapd. I have set up samba in order to enable windows file sharing from wireless lan to wired lan. Using the samba documentation I have enabled the wins server and wins proxy which should allow met to browse the shares across the networks, which theoretically should do the trick but it doesn't work as expected. I can see the pc's from the other network using windows neighbourhood, but as soon as I access one of them it fails saying that "network path could not be found" or something like this. Tried using windows 7, windows xp and linux for browsing but the result is the same. As firewall I have shorewall and the samba specific ports are enabled for both networks. How to setup samba for inter-network browsing?
I have attached the global config section from smb.conf file:
Code:
[global]
server string = Samba Server
interfaces = eth1, lo, wlan0
bind interfaces only = Yes
security = SHARE
log file = /var/log/samba/%m.log
max log size = 50 .....
View 9 Replies
ADVERTISEMENT
Jan 26, 2011
I wan't whatever file/folder that ends up in the public folder to automaticly be open to whosoever access that folder. Right know I have to "chmod -R 777 file/folder.* "
View 4 Replies
View Related
May 29, 2009
I have a server which currently has a samba share for a printer and my home directory. Both have been working fine for a while now. I have a drobo (which is like a little USB RAID machine) connect via USB to the linux box. While trying to share it via samba I get weird messages from my windows machine (see screenshot). I have tried to share multiple folders on this drobo and no luck, all the same result.
I also tried a symbolic link, no good.
Here is a screen shot
http://aivila.com/temp/screen.jpg
Here is my smb.conf file:
Code:
[home]
path = /home/savona
read only = no
[Code]...
View 12 Replies
View Related
Sep 3, 2010
How can I set permissions for users within the share?
Example: I have a share called Programming and some user can create folders within it most others can not, can read the documents.
How do I set permissions?
View 2 Replies
View Related
Mar 31, 2009
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:
Quote:
[root@********* samba]# rpm -qa |grep samba
samba-common-3.2.8-0.27.fc10.i386
samba-3.2.8-0.27.fc10.i386
samba-winbind-3.2.8-0.27.fc10.i386
after that, i've configured the smb.conf file, as follows:
Quote:
[root@*********** samba]# cat /etc/samba/smb.conf
#======================= Global Settings =====================================
[global]
# ----------------------- Netwrok Related Options -------------------------
workgroup = GROUP
[code]....
there is no iptables definition, or any other firewall installed, neither on the server nor the client. i've read through alot of howtos an manuals, but was not able to find the problem.
View 14 Replies
View Related
May 13, 2009
I don't think it has anything to do with the config file. More to do with SElinux. I need to know how to configure SElinux so I can see my samba share when SELinux is on. When I setenforce 0 I can seen all the files and folders set it to setenforce 1 cannot see anything.
Here is the output when I ran [root@fileserver /]# getsebool -a | grep smb
allow_smbd_anon_write --> on
smbd_disable_trans --> on
These two options were off I tried turning them on.
This is another one of the commands I tried running. I did change a few options but I am not sure which I do need to change. I am running a stand alone server so I don't need the DC option.
[root@fileserver /]# getsebool -a | grep samba
samba_domain_controller --> off
samba_enable_home_dirs --> off
samba_export_all_ro --> on
samba_export_all_rw --> off
samba_share_nfs --> off
use_samba_home_dirs --> on
I can also post a copy of my smb.conf file too.
View 1 Replies
View Related
Mar 13, 2011
Running samba-3.5.6-71.fc14.x86_64. Why cant I access samba share by short-hostname from win7. When I ping short-hostname, the answer is the actual ip and short-hostname.mydomain.com
sa pinging short-hostname does work, but accessing it from start-run does not! Accessing by ip or short-hostname.mydomain.com works fine. ssh by short-hostname from win7 works fine too.
View 14 Replies
View Related
Jan 3, 2010
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:
Global Settings
workgroup = WORKGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
[code].....
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
View 5 Replies
View Related
Feb 24, 2009
I've got my Samba shares up and running. I can stream files from the server, I can create files on the server, and I can copy files from the server.
Running a Windows program (from a Windows box) directly from the Samba server, however, is turning into a nightmare. I'm getting Access is Denied errors from the Windows box, yet I can copy/create/etc from the entire directory with no problems.
Are there any special permissions I need to run EXE files from a Windows box, located on a Samba share? I've already chmod'd everything to 777, and I show full access when ls -Z is used.
View 2 Replies
View Related
Feb 24, 2009
I'm trying to setup a Samba network share with a Fedora Directory Server backend. This will be used primarily for Windows users to authenticate before accessing the share. I am using Fedora Core 10 and have all of the latest updates installed. When I try to connect from a Windows machine, I am prompted for a username and password. I enter the username and password of the account I created in Fedora Directory Server in OU=People. The credentials are rejected. At the same time in the log file I see this:
[2009/02/24 16:50:16, 3] auth/auth_sam.c:check_sam_security(282)
check_sam_security: Couldn't find user 'Administrator' in passdb.
[2009/02/24 16:50:16, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [Administrator] -> [Administrator] FAILED with error NT_STATUS_NO_SUCH_USER
Administrator is the user I created in Fedora Directory Server. If I perform an ldapsearch it will find the user as uid: Administrator so I know it is able to be looked up in FDS. But I'm guessing that's not the problem.
[Code]...
View 4 Replies
View Related
Aug 18, 2010
I have been using samba with WINS enabled for a few years now. I know all setting in my smb,conf were and still are fine. For some unknown reason my samba shares got wacked. I have no idea what cause it but I could not fix it. So I decided to take the plunge and install a smb client. I remember thinking, I'm going to regret this... After the install of system-config-samba It would not run, I saw a few forums talking about missing dependencies
Code: sudo aptitude install samba samba-common-bin system-config-samba smbfs smbclient After words my permissions got fixed. So I was quite happy. and Wins was working great with all shares set up correctly. Than after a reboot WINS was not working. So I tried to clear out the WINS data files and restart smbd, but now it wont create my WINS.dat file. I dont see anything in the logs that helps me here, any ideas?
Currently my shares are good, samba is working fine, but WINS will not works. From a windows box I get "There are no entries in the list." from a net view.
View 1 Replies
View Related
Mar 8, 2010
I have a CentOS 5.3 box running Samba and OpenVPN. I have the Samba server setup as a WINS server and OpenVPN pushes the WINS server to clients when they connect. Everything is working great except for one problem. When I connect to the VPN using a Windows machine at a remote location, I can ping all the host names of computers on the VPN network no problem at all. However, when I ping the host name of the OpenVPN server it resolves to 192.168.122.1. All my machines are on a 10.x subnet and I have no idea where this ip is coming from. I've checked the hosts file, lmhosts, etc. and can find no reference to this 192.168.122 subnet.
I think I recall seeing this 192.168.122.1 ip when I had installed the Virtualization group and it created a virtbr0 network bridge with that ip. I've since removed the Virtualization software and deleted that bridge.
View 9 Replies
View Related
Jun 20, 2010
My first post, and I'm an Ubuntu n00b. But I've done a lot of reading and still can't seem to get anywhere with this. First of all. I know that I've set Samba up correctly because I can create a share in /home/documents which is mounted on my primary hard drive /dev/sda1, Windows 7 can access it no problem. But, when I try to set up a Samba share on my second hard drive /dev/sdb1, Windows 7 cannot access it. I've mounted the share in /media/Share The error I get in Window 7 is: " Windows cannot access \HOMESERVERData Check the spelling of the name. Otherwise, there might be a problem with your network."
My first thought is I must have the hard drive mounted or formatted incorrectly, but I can't find anything on this forum to tell me otherwise. I feel like I need to restart the process of this Samba set up. Can someone please guide me through: reformatting sdb1, mounting sdb1, setting up my smb.conf, fstab, and any other config files required to use my second hard drive as a Samba share?
View 6 Replies
View Related
Jan 14, 2010
I have a Windows 2k8 server acting as my domain controller. My goal is to have my Ubuntu 9.10 Server box share some folders via Samba, which should be authenticated via the PDC. So far, it seems to be mostly working. The Ubuntu machine has joined the domain, and is browse-able to domain users. The only problem at this point, is that the shares are not writable.
Code:
[global]
workgroup = smatech
netbios name = smalinux001
security = domain
idmap uid = 15000-20000
idmap gid = 15000-20000
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
password server = 10.10.10.2
domain master = no
local master = yes
[www]
path = /var/www
writable=yes
View 5 Replies
View Related
Jun 25, 2010
Code:
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
[code]...
View 5 Replies
View Related
Oct 13, 2010
I'm trying to set up my samba server so that all the shares are visible to everybody but that some shares can only be accessed by certain users. I have a folder Video that everybody can access without a username or password. I now want to create a share that only I can access called webserver.
This is my samba.conf
Code:
[global]
dns proxy = No
netbios name = DATABOX
guest account = nobody
restrict anonymous = no
browseable = yes
server string = server
workgroup = WORKGROUP
public = yes
security = share
[Video]
Writeable = yes
Path = /media/data/Video
Public = yes
[webserver]
Writeable = yes
Public = no
User = malteser
Path = /media/data/Webserver
Windows does not let me enter a username or password. I'm pretty sure this used to work.
View 1 Replies
View Related
Jan 12, 2010
I recently set up a Samba server (Ubuntu 8.10 desktop) in a Social Businness Office. in there have different laptops and OS.
Here is how my smb.conf file look in the share section.
[private folder]
path = /path/to/private
comment = private
valid users = user1 user2
directory mask = 0777
[Code]....
It work fine for Win and Ubuntu, but access this folder with Mac OsX gives this error:
smb_mount: open session failed!: syserr = Broken pipe
It seems that authentication is ok, but for some reason it cannot mount the device.
I know this is not the right place to talk about OsX issues.
I would like to exclude if there are some options I miss in the smb.conf.
View 4 Replies
View Related
Mar 23, 2010
i have setup a samba server and created samba shares on it, i have configured the samba server to authenticates users from a windows server 2003 DC,
i have 2 shares call IT and MYSHARE, I want to give read and write permissions to sevaral users to those two shares and read only permisson to all the other users.
i tried editing the smb.conf file with the following settings , but no one can write or modify the files in the shares including the users specified in the
write list = cweerasinghe,njayarathna.
[IT]
writeable = Yes
browseable = yes
public = no
comment = IT share
[Code]....
how can i give access to the write list = cweerasinghe,njayarathna users to
read, write and modify the files in the shares ??
View 4 Replies
View Related
Aug 9, 2010
I am a php devloper and recently my company purchased an IBM X3400 M2 Server and i was told to set up the server.I installed the Ubuntu 10.04 LTS Server i386 version. Everything went up smoothly and i have some queries to be asked.
1.)Our scenario is like this,--> we have an a production LAMP Server and we need the to backup all the contents of www folder and all Mysql files.I plan to do this with a shell script and use the rsync for syncing and backup.
Again i have a mysql backup shell script that i want to activate on system shut down Like when i shut down my server,the backup script should run taking all the backups, just before the Shutdown.The script should run take the backups, one, on the server itself and other on a remote machine sync with rsync and system should then go for Final shut down.How can we achieve this.I know of cron jobs but i prefer the above way.Suggestion requested here.
2.)To Set up a Special Samba share. I need to set up a samba share that will allow only files to be copied and not be deleted.For eg i will create a folder "WEBSITE-BACKUPS"(will contain the list of all finished website works plus mysql dump)
The user on the network will have only permission to paste into this folder.Like a user just paste his work say 'abcwebsite',he will have only this privilege and no DELETE privilege or right.Can this be done?
3.)I have a LAN, in this the IBM Machine is acting as Production LAMP server with around 20 machines connecting and working with files on this server.All other machines are Windows.Can i get a log based on the ip like who has accessed with files at what times or last modification time from an IP address. I usually get complaints from my fellow developers that somebody has deleted or modified their work which is in this IBM Server.So is there any way to monitor this.I also know about subversion,the versioning system but most people here are uncomfortable with check in / check out commands.
View 3 Replies
View Related
Oct 18, 2010
I've been running Samba for a couple of years now. Bumped up from 9.04 to 10.10 server (64 bit), and nothing wants to work. I have a really simple share that I want to be accessible by all Windows clients without a login (guest access). Here is my config:
Code:
[global]
security = share
[code]....
View 3 Replies
View Related
Feb 15, 2011
I have a couple of user accounts where each member belongs to a group i have created: Each user access the share using their own user account credentials.
How can I configure Samba in a way so that each modification done on the share gets the owner of the user and my group instead of the user and the users own group? I would also like the access rights to be 770 to each modification.
In other words, today each modification by "userA" get the owner "userA.userA" and I would like it to be "userA.MyGroup" with "rwxrwx---" permissions.
View 3 Replies
View Related
Feb 19, 2010
I've installed Ubuntu Server 7.10 Gutsy and Webmin 1.500 on it. The thing that I want to do is: I want to share a folder an sub folders for windows users ( guest user) I should modify those folders from my ubuntu desktop 9.10 karmic they are all same folders. Is it possible? if yes how can i make it. you can tell from webmin or samba configuration file.
View 8 Replies
View Related
May 5, 2010
My samba-shares are mounted in fstab. Everything works fine except for one small issue: when copying files from the local PC to the share the files are copied but the timestamps and permissions of the files are not. Instead a message "operation not permitted" appears. 'root' on the client can copy files WITH timestamp etc, a normal user cannot.
Below the line in fstab on the client and smb.conf on the server.
View 3 Replies
View Related
Jun 22, 2010
I'm trying to set up the following "server" system. (I say "server" because I'm really running ubuntu-desktop 10.04 LTS):
I have set up Samba and allowed guest access to my /media/Share/data using Windows 7. Everything works great, I can create folders, add files, etc. However I noticed that when I add files or folders via my mapped drive in Windows 7, it defaults to permissions that do not allow Deluge to access them. I realized that if I go back to the server and give it
Code:
sudo chmod 0777 /media/Share/data/(folder or file)
Deluge can now access the files. I don't want to have to modify permissions every time I add a new torrent to Deluge's watch folder which is /media/Share/data/Torrents.
How do I configure Samba (or linux, or windows) to give rwx permissions when I add a file or torrent via windows? And vice versa, if deluge downloads a file and moves it to completed downloads (which I haven't been able to get this far yet) will I be able to access it via Windows 7?
View 3 Replies
View Related
Jul 7, 2010
I cannot browse the samba printers from windows xp professional clients.
I get the following message when trying to access the workgroup:
Code: Example is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.
The list of servers for this workgroup is not currently available
Another strange thing is that if I set the workgroup to EXAMPLE in smb.conf, the workgroup shows up as Example on my windows clients.
View 4 Replies
View Related
Oct 14, 2010
i manged to get a samba server up and running to share with my windows machines. But i still want more. My main goal is to be able to share my movies. I have a laptop hooked to my flat screen with 3TB's of external drives, thats whats acting as my server. I have ubuntu desktop installed because i use it to play movies also.
I'm looking to set up something that is a little faster than samba (yes i no trying to share through USB 2.0 external drives and a wifi connection isn't going to be real fast no matter what) but i want to be able to access my server remotely. like maybe FTP? but what i'm asking here is what protocol should i use and what programs? i was thinking gadmin-proftpd and then filezilla to access?
View 9 Replies
View Related
Feb 5, 2011
We have 10.x ubuntu server with XP clients. We have samba share folders at LAN. Is there any possibility that we can disable copy and paste option for some specific folders, while other data folders remain as usual in our shared data?
View 4 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
May 20, 2010
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
View 2 Replies
View Related
Mar 18, 2010
I wish to prevent the samba messages (mainly nmbd and winbindd) from appearing in the system log (/var/log/messages). I want to allow samba logging to the standard samba logfiles, but prevent the syslog getting clogged up by samba. I added syslog = 0 to smb.conf and reloaded the config but the messages were still appearing. I also tried the following (and restarted the syslog via /sbin/service syslog restart) # Suppress messages from samba.
nmbd.* /dev/null
smbd.* /dev/null
winbindd.* /dev/null
For interests sake the messages I'm getting are below (I'm not concerned about the messages themselves, I can chase them up at my leisure via the samba logs) Mar 18 09:58:29 SERVER nmbd[3808]: query_name_response: Multiple (2) responses received for a query on subnet xx.yy.z.zz for name DOMAIN<1d>. Mar 18 09:58:29 SERVER nmbd[3808]: This response was from IP xx.yy.z.zz, reporting an IP address of xx.yy.z.zz.
View 1 Replies
View Related