Fedora Servers :: Setting Up A Samba File Server With DynDNS?
Oct 14, 2010
I have recently developed the need for having a file server and am interested in setting up my desktop as a Samba File Server. The problem is that I need to be able to access it from outside networks (physically I'm about 10 miles away from my home network),o I need to also set up some sort of DynDNS service so that I can access the server from anywhere.With this, with setting up a DynDNS, setting up Samba, and setting up my machine to be secure enough for these types of actions. (I just want to make sure it is secure enough since it will need to be detectable from the internet.)
I'm trying to load a HP Proliant w/ Fedora 11 and setting up as a WFS using Samba. However, I'm a bit confused on how to do it. Right now I have 2 36.4GB drives in RAID 1+0 and 4 146.8GB drives in a RAID 5 config. I wanna use the smaller drive for the OS and the bigger drive for the storage. I've managed to load the OS fine, the problem is I can't figure out how to mount the 4 146.8GB drives as a single logical volume and set Samba to use it. Right now all the RAIDs are setup using the built-in Compaq Smart Array utility (or whatever it's called) that's built into the SCSI hardware or BIOS.
I can't seem to connect to it when using windows 7. Both are in the same workgroup (W0RKGR0UP) and I have set DHCP address for the ubuntu box. Is there any other thing that I would still need to edit ? My router address is 192.168.0.1 and the fixed ip for ubuntu box is 192.168.0.103.
I have an Ubuntu Server, a dyndns account and an account with [URL]. My DynDns stuff is all working just great - novo.dyndns.tv is the address. Now I need a domain which I have already bought, to be linked to that machine at [URL] I signed up with freedns.afraid.org and now I am a bit confused at what records to add where. I added a domain - [URL] then setup a webforward as follows: redirect from [URL] and redirect from[URL] to [URL] , however if you go and visit:[URL] you will see my problem! It takes you back to [URL] server and says there is not a webforward setup for [URL]This tells us that the nameservers are all setup fine - and its something in my freedns config which is failing.
I'm trying to set up an old computer that was donated to my by an aunt to hold my external hard drives and use it as a file server so i can use them from anywhere within my house. However I can not seem to get the samba server to broadcast/be seen by my ubuntu installation, nor my windows installation.
I've read the manual, to an extent, but I feel as if I am missing something. All I want is to have it to where I can just type in \server and bring up my files to access without having to worry about passwords.
Im having trouble setting my SAMBA server correctly. I have two Win machines, one with WIN7 and one with XP. I have one Ubuntu machine and Ubuntu Server 10.04. My problem is that I can only acess files from the Win 7 Machine. When I try to map out the shared dirs on my serverI get asked for user and password, when I enter my creditensials it dosent help.. What to do? I used the sample smb.conf file and open for no restrictions..
I've got a situation where I would normally use NFS, but cannot. So in it's place I need to use a samba share (even though it's linux -> linux). I need it completely open and world writeable as if I had done an rw in an NFS export. I thought I had it as when logged in as a user I can edit delete etc. however the apache user seems to be struggling with creating files.
Here's my smb.conf as it stands. Code: [global] workgroup = WGRP server string = Samba Server Version %v security = user passdb backend = tdbsam unix extensions = no
[sites] comment = Sites Directory path = /var/www/sites public = yes guest ok = no write list = siteusr writeable = yes create mask = 0777 browseable = no security mask = 0777 directory security mask = 0777 note that the drive is mapped as user siteusr
I have setup a web server, ftp, ssh with ubuntu server which is working with phpmyadmin and webmin installed with it as well. (I am considering upgrading to 10.04LTS when it comes out)
However I cant get to my website with the domain name that I am using from dyndns. From on my LAN I can get to my server but using it ip address (10.10.0.200) and it work fine with ssh and ftp as well. But when I try my public address or my name it does not work. I am using IE8 as I am using a windows machine. Out side the network the domain name wont work at all, but I tried my public address and everything worked perfectly.
I have recently installed ddclient to see if had made any difference but no luck. But I am keeping it there as it is working and updating my ip address.
How should I set up my webserver when using dyndns?My server lives behind a private router, and I opened a nonstandard port for it (xxx.dyndns.org:6789)I need to be able to access the webserver both from behind the router, and from outside. But espescially wordpress needs to have a defined specific site-url for each site, which I can not get working both inside and outside the router. Inside I now just just the local ip-number, which works ok. To access the server from outside, I have to redefine the site-url to "xxx.dyndns.org:6789", but then it is not accessible from behind the router.
So I finally managed to get my Samba file server working () but now I have a question. On the server I have 4 folders, each being used for a certain topic. How would I set the folders as read only but not the contents, so that way remote users can read/write to the folder but can't delete or rename the folder itself? Also, if I restart the Linux box it will cease to show on the Windows Network unless I delete the Samba share and remake.
I'm planning to add 1tb sata disk to my lovely file-server under ubuntu 10.10,what i want is use this disk as additional storage for network user,indows and ubuntu?I mean when my ubuntu server down (worse case) I can easily take out the disk from ubuntu machine and plug in on windows machine
A week ago or so neither ssh nor scp were working when attempting to connect to my on-campus computer from home. ssh was complainig about the key not matching and I figured out I could just delete the config file it was reading the (now old) key from and let it create a new one with the updated key upon prompting me whether or not to trust the remote host.
However, even though ssh is now working, I can no longer use scp. I issued scp -v and discovered a bunch of errors. scp prompts me for the remote password and even prints the message of the day on the remote computer but then just hangs and doesn't seem to be copying any files. I'm sure the issue is with the whole key change issue but I can't quite figure out why ssh would be working just fine and scp would be failing.
I've played with ubuntu for quite a while now and i picked up a atom core mini pc for cheap so i thought i'd make a hobby in setting up a simple server to store files on, access files on my xbmc enabled xbox and download torrents whilst i'm at work though the torrents can wait for future projects though i installed ubuntu server 9.10, i'm aware it's CL only, anyway thus far i've managed to set up the ipaddress of it and make it fixed i'm not sure of what to do with hosts at the moment, reading on it isn't making much sense of it's purpose or layout so i've left it as is i permenently mounted a fat32 partition to /media/stuff and changed permissions to 0777 only have one user on it, myself installed samba smbfs smbclient and an openssh server, and can do all the terminal stuff from my normal pc my current issue lies with samba, with gnome desktop i've never had TOO many problems with sharing folders, however i'm stuck where to proceed in regards to editing smb.conf as there's a lot of options, some of which i'm not sure i need
- I've changed the workgroup to home - under authentication i have security = share - i added the following section
Anyway on my windows xp pro machine, i can access \thork which is the machine and i see 'media-stuff' which is a start i guess, but im refuesed access automatically.
I currently have to connect to my new samba fileserver using servernameusername instead of just username, if that makes sense(!) I need this to be simplified, as I've had it before on a previous machine, as one of the devices I connect with has a virtual keyboard without a backslash!
We have a couple of Windows file servers that just share files. It is all they do. We'd like to use Ubuntu on two replacement servers allowing Windows XP and Windows 7 clients to access the files. Our network is active directory based due to Exchange and homegrown .NET apps, so it is important that active directory is used to authenticate the clients. Samba doesn't need to be a pdc or bdc, but provide pass through authentication.I understand that Samba can communicate with active directory through security-ads and security-domain.
Here are my questions to see if I should proceed:1) Folder permissions:If we move all our files to the Ubuntu server how do we set folder permissions and will we see the active directory accounts when we do this?2) Skipping ubuntu accounts: I know the domain and ads allow you to skip creating ubuntu accounts, right? If not, how do you keep the passwords synchronized?3) Easiest way? Is there a very easy way to pull this off that I've missed? My goal is to eliminate the Windows based file servers while ensuring the admin part of it is as easy as possible.To date I've been able to get the sharing to work with an ubuntu account mirroring the active directory account. I've been able to get Samba to talk to the pdc, but not successfully through domain security. ADS security was a complete cluster with winbindd
I have a computer running Fedora 11. I wanted to use samba in my office. So I configured the /etc/samba/smb.conf ,but it did not work well : Windows can find samba,but when I tap in username and password,samba request them again , and the same thing continues in a loop. So I copied another computer's smb.conf (which is also a Fedora 11,samba runs well in this one).I copied this file to /etc/samba/ ,then samba can't satart up . I read from /var/log/samba/log.smbd.log : Unable to open configuration file "/etc/samba/smb.conf": Permission denied Even if I use: chmod 777 /etc/samba/smb.conf
why I can't login samba from Windows:
[global] workgroup = MYGROUP server string = Samba Server Version %v ; netbios name = MYSERVER ; interfaces = lo eth0 192.168.1.99/24
I will be getting an old and decrepit laptop (the PS2 channel went out). I have decided that I would like to set it up to be an email and minor data server. The only problem exists that I have never setup a server, yet alone a linux server before.
I want the server to allow user authenticated access to a certain folder on the machine where other clients can go and copy and paste files for the data server portions and I want it to download emails from multiple domains (Gmail, a Microsoft Exchange Server, and from a private domain) and then allow other clients to log in and download those messages (I would like to keep each domain's emails separate so the client has to specify which domain's emails to download).
I am trying to set up a windows file server using fedora 14 with samba. when I go to the a windows machine I can log in the the samba server. When I try to go to the folder I need access to I get and error saying "you might not have permission to use this network resource" I am trying to access my home directory. Directory /home/mike, username mike. As far as I can tell it is not a permission of the directory. I have a user set up in samba that uses the mike user account.
I had a Samba server that worked as expected, but after four years of operation, I had to upgraded for a different reason. After much pain and agony, Samba *almost* works.The Big Problem: On XP, the Samba server "Scully" appears in "My Network Places". On the Vista and Win7, the server is not seen in "Network". The shares can be accessed and mapped if the name \Scully or IP address is provided \192.168.X.Y, but it can not be browsed.
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:
Problem I have is the Samba server, it does not seem to start up the shares at boot.When I boot the system, nothing is available on the network, I have to run the Samba Server Configuration Tool everytime I want to access a share, edit a share, save and quit, then my network shares become available.I see Starting SMB services during boot up, it says OK.It worked good on Fedora13.
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.
I'm attempting to set up a Samba share on my lab's small server (Ubuntu Server Edition, 10.04). It looked easy enough, but the share that I set up didn't allow anyone to actually put anything on it: no uploading stuff, etc. (You can still upload files via the command line, so I implemented the unix extensions = no fix). The share is writeable and visible, and anyone can access it (according to the Samba GUI). According to the smb.conf:
The other Windows machines in the lab see the new server and its share automatically, although they can't make changes to it, like create a new folder in the share. Most of my lab uses Snow Leopard (OS X 10.6), and a few others use Windows. I can connect to the server using my MacBook either through the terminal or Finder -> Go -> Connect to server -> smb://blah.someplace.edu without problems.
I can do pretty much anything via the command line, but not through the Finder! If I want to create a new folder, it gives me an old-school error message (stupid blue face): "The operation can't be competed because you don't have the necessary permission." If I want to drag-and-drop a file from my desktop to the Share folder, I get a pop-up window (lock + blue face): "Type your password to allow Finder to make changes." If I do, then I get another pop-up: "One or more items can't be copied to "Share" because you don't have permission to read them. Do you want to copy the items you are allowed to read?"
The company I work for, as usual, is Microsoft-centric. I'm attempting to integrate my Ubuntu server into the domain to allow domain users to authenticate to the server and access file shares using Samba. Here's my current configuration:
I've got a situation where I would normally use NFS, but cannot. So in it's place I need to use a samba share (even though it's linux -> linux). I need it completely open and world writeable as if I had done an rw in an NFS export. I thought I had it as when logged in as a user I can edit delete etc. however the apache user seems to be struggling with creating files. Here's my smb.conf as it stands.
[global] workgroup = WGRP server string = Samba Server Version %v security = user passdb backend = tdbsam unix extensions = no
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.
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: 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: This response was from IP xx.yy.z.zz, reporting an IP address of xx.yy.z.zz.
I do not know a lot about Ubuntu Servers, but I made one. I wanted to set up a web server using Apache and DynDNS. So far, I have created an account on dyndns.com and installed apache. I also installed another program (i dont remember the name) that had something to do with DynDNS. Right now, I can access the page on my server by using eLinks (text based web browser) and going to the address (myaddress.dyndns.org). If I try to access it from any other computer, I get a page that says 'Unable to Connect'.