samba

Ubuntu 10.04 Samba Standalone Server With tdbsam Backend

the installation of a Samba fileserver on Ubuntu 10.04 and how to configure it to share files over the SMB protocol as well as how to add users. Samba is configured as a standalone server, not as a domain controller. In the resulting setup, every user has his own home directory accessible via the SMB protocol and all users have a shared directory with read-/write access.

1 Preliminary Note

I’m using an Ubuntu 10.04 system here with the hostname server1.example.com and the IP address 192.168.0.100.

I’m running all the steps in this tutorial with root privileges, so make sure you’re logged in as root

sudo su

2 Installing Samba

Connect to your server on the shell and install the Samba packages

aptitude install libcups2 samba samba-common

Edit the smb.conf file

vi /etc/samba/smb.conf

Close the file and restart Samba

/etc/init.d/smbd restart

Continue reading “Ubuntu 10.04 Samba Standalone Server With tdbsam Backend” »

Be the first to comment - What do you think?  Posted by Aniruddh - December 16, 2011 at 11:53 am

Categories: samba, Ubuntu   Tags:

Fedora 13 Samba Standalone Server With tdbsam Backend

explains the installation of a Samba fileserver on Fedora 13 and how to configure it to share files over the SMB protocol as well as how to add users. Samba is configured as a standalone server, not as a domain controller. In the resulting setup, every user has his own home directory accessible via the SMB protocol and all users have a shared directory with read-/write access.

1 Preliminary Note

I’m using a Fedora 13 system here with the hostname server1.example.com and the IP address 192.168.0.100.

Please make sure that SELinux is disabled as shown in chapter 5 of this tutorial: The Perfect Server – Fedora 13 x86_64 [ISPConfig 2] – Page 3

2 Installing Samba

yum install cups-libs samba samba-common

Edit the smb.conf file:

vi /etc/samba/smb.conf

create the system startup links for Samba and start it

chkconfig --levels 235 smb on
/etc/init.d/smb start

3 Adding Samba Shares

mkdir -p /home/shares/allusers
chown -R root:users /home/shares/allusers/
chmod -R ug+rwx,o+rx-w /home/shares/allusers/

Continue reading “Fedora 13 Samba Standalone Server With tdbsam Backend” »

Be the first to comment - What do you think?  Posted by Aniruddh - December 14, 2011 at 7:26 am

Categories: Fedora, samba   Tags:

How To Set Up A Web configured Print Server On Ubuntu Server Using SWAT, CUPS, And SAMBA

how-to describes the process of setting up an intranet based print server using Ubuntu server. By using CUPS SAMBA and SWAT the final product is a web based solution to a headless print server.

This How-to has been cobbled together from assorted other how-tos and forums by me after recording as best I could the method I used after googling the various problems I had along the way. It is primarily based on

http://ubuntuforums.org/showthread.php?t=310450

which is excellent but a little dated.

We will use PRINTSERVER for the name of the computer and USERNAME and PASSWORD where appropriate. Please use your own ones as necessary. While installing Ubuntu server select openssh and LAMP server using the space bar when requested (these parts can also be installed into an existing Ubuntu installation but that is outside the scope of this how-to). Ensure that the PRINTSERVER has access to the internet and is not locked out by your firewall or something silly (is it plugged into to your network?).
Once Ubuntu is installed and you have logged in you can determine the local ip address that was issued by your network’s DHCP server to your PRINTSERVER by typing

ifconfig

The PRINTSERVER local ip is the number following the first instance of inet. eg inet addr:192.168.2.8 means that the local ip address is 192.168.2.8 (Note: it’s not 127.0.0.1. That’s your loopback address.) Now go to another computer on your network where you will carry out the remainder of the installation.

Download install and run your favorite tty client on the other computer on your network that you will use to communicate with your print server. I like putty from:

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Open an ssh session (port 22) to the local ip address of your print server and log in. Now install CUPS

Continue reading “How To Set Up A Web configured Print Server On Ubuntu Server Using SWAT, CUPS, And SAMBA” »

Be the first to comment - What do you think?  Posted by Aniruddh - December 11, 2011 at 6:25 am

Categories: samba, Ubuntu   Tags:

Mandriva 2010.1 Spring Samba Standalone Server With tdbsam Backend

The installation of a Samba fileserver on Mandriva 2010.1 Spring and how to configure it to share files over the SMB protocol as well as how to add users. Samba is configured as a standalone server, not as a domain controller. In the resulting setup, every user has his own home directory accessible via the SMB protocol and all users have a shared directory with read-/write access.

1 Preliminary Note

Using a Mandriva 2010.1 Spring system here with the hostname server1.example.com and the IP address 192.168.0.100.

2 Installing Samba

Connect to your server on the shell and install the Samba packages

urpmi samba-server samba-common cups

Edit the smb.conf file

vi /etc/samba/smb.conf

create the system startup links for Samba and start it

chkconfig --levels 235 smb on
/etc/init.d/smb restart

Continue reading “Mandriva 2010.1 Spring Samba Standalone Server With tdbsam Backend” »

Be the first to comment - What do you think?  Posted by Aniruddh - December 10, 2011 at 6:16 am

Categories: samba   Tags: