Ubuntu Networking :: Setting Up A File Server That Authenticates Using Windows AD
Feb 24, 2010
I know this is possible, the problem is all the guides seem to be out of date A combination of missing packages and obsolete packages are giving me a headache.
i am new to debian. I need to know after booting sequence login shell appears to get username and password. so what happens when user puts username and password ?? how this given username and password are matched with /etc/shadow file ??
my another question is what is role of /etc/pam.d/ authenticating username and password ?? does it work with shadow file or not ?
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'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'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.
I'm trying to give some windows users a permanent connection to a samba share behind a firewall over the public Internet. I know I can give them access with something like winscp (which they have done) but really I'd like to do it with a VPN so it seems seamless to the user. However I have no idea how to set up the server to support this and am finding the documentation a bit confusing. The samba share is on a Debian box and the firwewall is a Linksys WRT54GL.
I am fairly new to Linux, dabbled with it over the years but am a experienced windows user so not a complete noob. I am setting up Ubuntu 10.04 as a file server following a tutorial in Linux User and Developer mag which is great but having a bit of a problem getting it to work correctly.I have two folders in the OPT directory and they can only be accessed by using the main username and password for the linux machine when logging on through my Win 7 machine, if I try and access the directory called 'alex' using the Alex username/password I can log into the folder but only have read only access.
I think (but am not sure) it has something to do with setting the ownership permissions of the folders ..
part of the step after creating the directory was
# sudo chown -R root:users /opt/alex
and that didn't seem to work, it wouldn't allow me access as either user so I did
# sudo chown -R root:grae /opt/alex
grae is the main user and so that user has access but the user called alex doesn't .Can anyone advise? I am sure you need more info so please let me know what would help you see what the problem is
My Pug Server has worked faithfully for many years just sitting in a closet. It is designed wo that you never need to add a monitor or keyboard as it is administered through a web interface. Recently it had a problem with the motherboard and I had to replace it, but the machine is now working. However, it no longer is visible as a network drive on my Windows machine.Unfortunately I have no idea where to start looking to see what the problem is. I did attach a keyboard and monitor and logged on, but everything looks okay (I can see my files, etc.).
This is an old machine (c. 2003), so has an old version of Linux (I have no idea what version, or even how to find out). Since it is never meant to be used directly it doesn't have any GUI installed, so I have to do everything using command line.Does anyone have any suggestions as to how I can even start to determine what the problem is or how I can go about trying to fix it? At this point I would be happy just to get the files out and replace it with a newer NAS.
I installled it 2 weeks ago. How do I access the windows sharing from the fedora box. My windows network is on AD that runs on Win 2003 Server.? I can ping to the server, but how to access the sharing? I had look at the forum and some are very technical.
I got this laptop that's 3 years old. Previously, I installed Ubuntu 10.04 (32-bit) using a bootable CD. Occasionally, Ubuntu would freeze and I did not know of a way to safe-shutdown. Everytime it froze, I simply did a hard-shutdown. And there we go. This hard-shutdown damaged the OS. Anyway, I downloaded Ubuntu 10.04 (64-bit) and burned a CD. Magic! Laptop won't read the CD. Boot is far ahead, it's just not reading it at all! Looked around, found that setting up a PXE server is my last hope. The guides? They weren't nice to read. What I'm looking for is to set up a PXE server on the PC (running Windows 7 / Ubuntu 10.04 dual-boot) and boot from the PC through the PXE server. I have downloaded Ubuntu 10.04 Desktop AMD64
I have been messing around with freenx to see if I can support my customer via remote desktop... I have installed the server on Ubuntu Karmic and the client on Windows 7. I love linux but need the windows computer for customer work and that is why I chose to install the client on windows. I setup the server the best I could and created custom keys which I then copied to windows and imported them to the freenx client. I am looking for security for my customer and that is why I chose custom keys... There are several issues to deal with but I want to just get started to see where it takes me. I added the test server computers ip address to the freenx client configuration and tried to connect to Ubuntu... I have left the port as 22 at the moment
Desktop setting on the client...I chose vnc which seems to be a good choice according to all the material I have been reading....Other settings I have left alone at the moment to see how things work.... All that said - I have the login window asking for information... I have the password asking for information....and I have the session wanting information....? Obviously I understand that login info can be set on the server and the password...but I haven't seen how to set up that? Of course I am testing the server from a client on my home network at the moment - but the customer has his own router as do I so those settings will need to be looked at as well.
I am somewhat of a newbie at *nix. I've asked some questions about Debian in the past, but I decided to just go ahead and start simple, with Ubuntu, then moving up once I've got the hang of things. So, I want to use Ubuntu 9.10 as a fileserver for my network, which consists of 3 Windows PCs and 1 Mac. I have a few ideas on where to go, Samba being my first package install, but I'm not too sure where to go from there. Could someone help me out? I love to RTFM, so if you'd point me kindly in those directions, I'll be glad to jump right on that too.
I need to grant windows client an access to fileserver. The easiest way to do it is how? Setting up VPN server on Windows server, what rules are going into iptables in linux machine then. Or setting up VPN server on Linux machine (which is the best option) and how the user gets to fileserver?
The office network has a machine we're using as a fileserver, which is running Windows Server 2003. There are several issues with this, but the main one is that the "Terminal Server License Server" was never installed or activated. I managed to do these things, but to continue requires retail keys which are long since lost. So the boss says we're going to make it into a linux server instead. And by we, he means me. A friend recommended Debian so my research starts here. i have a little experience running an ubuntu desktop at home, using the console quite a lot. And a little bit of experience messing with my own server. however, most of this is new territory for me.
The needs of the organisation:
1. We need a shared directory on the server which all valid accounts can access 2. We need a per-user directory on the server for each user, which only that user or root can access. 3. We need a per-user windows desktop, which only that user or root can access.
I'm trying to learn Linux and have created a VMWare guest operating system using CentOS 4.8. I expect the next step is to install ssh in order to transfer files to the server but as of yet I haven't figured out how to assign it a host name or how to effect a transfer.
Can anyone point me in the direction of setting up shares for windows machines on centos. I have found a few document but never managed to get it up and running correctly. I need to be able to get access to subfolder etc for different users. Is there any way of doing it with some sort of gui?
I am currently attempting to setup Samba 3 (installed) for a basic home-network file-sharing server via Ubuntu 10.04. It seems like (based on my extensive googling and research) nobody wants or has a configuration like I do, but surely SOMEBODY knows how to do this.
The following is my goal for a basic setup.
Folder 1 (share is called "Read-Write"):
-Users from Windows 7 can see, read, write, execute, create, or delete any files and folders in Folder 1 as they so desire.
-Users can accomplish all of this from as "guest."
Folder 2 (share is called "Read-Only"):
-I can log in as my user to see, read, write, execute, create, or delete any files and folders in Folder 2 as I so desire.
-People other than me can log in as "guest."
-"Guest" users from Windows 7 can see, read, and execute programs as desired.
Things I have accomplished:
-Directories exist
-Directories are browseable via Windows 7
-My user has a password for Samba (assigned via "sudo smbpasswd -a matthew)
Things I have not yet been able to accomplish:
-Configure Folder 2 so that Samba asks for login credentials when someone tries to access it SO THAT I an use my Samba user to log in.
-Configure Folder 2 so that, when I log in as my Samba user, I can see, read, write, execute, create, or delete any files and folders in Folder 1 as I so desire.
-Configure Folder 2 so that Windows 7 users can easily access it as guest to browse, read, and execute files and folders in it.
-Configure Folder 1 so that any Windows 7 user can easily access it as guest to see, read, write, execute, create, or delete any files and folders in Folder 1 as they so desire.
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
Code:
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 have 2 windows pc's in my home and an office computer that have my files strewn about. I wanted to have them all in one central location that keeps a backup copy, so i used an old machine to start building a file server. I installed debian 5.0 on the machine, command line interface only. I have gotten ssh working so that i can do all my work on the box from one of my windows pc's by logging in with putty.my current problem is how to easily use the box hard drive for storing my files in an easily accessible way. i'm still working on getting samba to work so that i could map the /home directory to a drive letter on my two home pc's, but i'd also like to access files from my work pc. Before i do that, though, i wanted to know if this is safe and secure to map a drive on a remote machine through the internet? Are there any other security concerns I need to be addressing by having this file server set up?
I have two NFS mounted dirs that the users want specific permissions set upon creation of dirs/files, independent from any other machine on the network.
I'm trying to set my openSUSE desktop up to use the printers on my office network via Samba. I managed to get it working in 11.2 but 11.3 is giving me some trouble.I am able to access the printers and use them but I have to enter my network credentials each time I print. In 11.2 I was able to "save" my username/password and was not required to do this. Are there any Samba packages I need to add in addition to the basic ones? There seems to be a lack of documentation on this particular subject, most is concerning Windows clients printing on Linux print servers.
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 would like to build a server to act as a file/print server for my home. My wife, sister in law, and myself would use it. I would like it to be friendly to both windows and linux. My sister and I are both dual boot and for now my wife is windows only. Pretty soon though I plan on setting her up on linux as well. What would I need? And are there any "good" guides to setting something like this up?
I would like to use the system to:
- Store media / files - Maybe have KMyMoney on it and share with the wife - Hook a printer to and use as common printer
have a home network with two desktops and I also have a netbook. The netbook and nettop (desktop) both run UNR 9.10 and my other desktop runs Ubuntu 9.10 with all updates in place. So all 3 machines are hooked up to my home network via wireless router (secure and password protect). I want to set up file shares between machines in order to move files between machines and also to have all machines connected to and accessing one shared printer. Fair enough. According to Ubuntu help I click on a folder, then properties then the share tab and click all checkboxes and give the share a name. Then I do likewise on my two other machines. So in theory once every machine has a share setup then you should be able to access via the other machines by simply going into Network, finding the machine, opening it and mounting the shared folder. In some cases I see the other machines but when I click to open them it says "unable to mount location". So now I would like to ask... where should I look to resolve this? The wireless router settings? Some type of network or security settings on each of my machines?
I'm having issues setting up file sharing between two Linux machines. I've tried the forum cookie cutter answer of "right click folder, sharing options, share, allow others to write and edit, allow guest accounts", but I simply cannot get my two Ubuntu 10.10 machines to see each others shared files. I HAVE been able to download and use the program "Personal File Sharing", and with it I CAN share the "Shared" folder between both machines. I'd prefer to learn the correct way to link these two boxes up though, and be able to share more than 1 directory. Am I missing any programs to complete this link? Do I need to use Samba? I've tinkered with it, and I can get both computers to see a workgroup name I set up, but cannot get them to view each other in it.
I've been trying to set up a music server and running into some difficulty.
I want to be able to stream music and video to my network and over the internet.
From what I've read so far ampache is what I would like to use but I've yet to find a user friendly guide on how to set it up. I've never set up a server before so all of the guides and documentation have just confused the heck out of me.
Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?
I'm setting up a loopback server for work related testing. I have a small program that needs to be executed through telnet from about 200 IP's on the same network. On the server, I have to set a static ip, enable telnet login, and place my 2 program files in the appropriate folders so it will run. I have been on this for 2-3 days and haven't got far.
My /etc/Network/interfaces file is this... Auto lo iface lo inet loopback
The rest of terminal is filled up with these, and it states that the file only has 32 characters. I don't know if this is a privilege issue or not. I've read several threads on telnet, and lots of arguments about ssh, but I can't run ssh, so I need to enable telnet. There is not a security issue. I run a private network where the only valuable resource would probably be the text file with my IP address on it. Its also accessed by people that have very limited networking knowledge and no linux knowledge...
So, Set static IP Setup telnet server... Any takers?