Hi all. Bear with me because this is going to be painful...
I'm totally new to Linux here, as in REAL-noob-new, and I've gotten all excited and dove into half-written tutorials here and there in the hopes of getting a samba server at least working.
My objective is to have one folder shared on the server for Linux and Windows clients on the domain, with a password required to get onto the share by users.
I've tried and failed to set up winbind for password authentication (and had to knock out all sorts of things in different .conf files to turn it off again after!) so everything might be in such a mess that I'll need to reinstall, like, everything. I was hoping before embarking on the winbind thing that there just might be a way to set up a simple username/password prompt somehow (doesn't even need to be domain-related) but I tried and couldn't do it.
On a marginally related note how the £*$# do you restart the samba service anyway? Nothing I've googled works and I just bounce the server every time I change smb.conf.
Smelly smelly thing...
But yes if anyone's got any clue how to steer me right it'd be great. Spent a few days on and off looking into it but I'm just making more mess than progress now. If you're reading this and you're feeling me and can help I'd be mega grateful!
Last edited by Miscbrah; 23rd January 2012 at 11:35 AM. Reason: spelling
Thanks for the help!
Urgh, but I got bash: /etc/init.d/samba: No such file or directory I'm using Ubuntu server if that's any good...
On Ubuntu it's
sudo service smbd restart
smdb is 'sambda daemon' I suppose.
The Ubuntu documentation is usually pretty good; this might be a good starting point.
You might want to look at something called SWAT, which is a GUI configuration manager for Samba, operated from a web browser pointing to the server. It's OK, and good if you need to get something up and running quickly. It's best to get to grips with the smb.conf files though, that's the proper way to do it.
I prefer to use something like CentOS for Samba... it's what I would recommend anyway... although on a different note if you are hosting samba on a clean Linux server..... setup and install webmin it's got an nice easy web interface for managing samba, works on all versions of Linux!
I can't say I understand much from having a GUI but that in itself is a huge leap forward from "conf? What? What domain?"
OMG a GUI!
webmin doesnt work well on ubuntu IIRC.
New version works splendidly on Ubuntu 11 - or at least it seems to on the test machine I have it installed on
Which I've updated a few times with bits and pieces I've come accross as I set up various Samba systems.
What other services are you going to run on the Linux server? If it is purely for file shares I wouldn't bother with any of the Ubuntu/fedora/Debian etc. and just use freeNAS (FreeNAS 8 | Storage For Open Source). It has NFS, CIFS, TFTP protocols and AD integration. I recently built one and had it up and running in less than an hour.
There are currently 1 users browsing this thread. (0 members and 1 guests)