SAMBA (Domaincontroller) Server For Small Workgroups With Ubuntu 5.10 "Breezy Badger" - Page 5
|
Adding Users To Our SAMBA Domain Now we will add a user, e.g. tom, to our Samba domain. You will have to add a user like this for each user account you want to connect to this SAMBA domain server. 1) Add a linux user tom: useradd tom -m -G users 2) Add the linux user tom to the SAMBA password database: smbpasswd -a tom
Adding Shares Now I will add a share that is accessible by all users. mkdir -p /home/shares/allusers At the end of the file /etc/samba/smb.conf add the following lines:
Now we restart Samba: /etc/init.d/samba restart
Installing CUPS If you want your SAMBA server to act as a print server also, you have to install and configure CUPS: apt-get install cupsys cupsys-client cupsys-driver-gimpprint cupsys-driver-gimpprint-data defoma fontconfig foomatic-db foomatic-filters libcupsimage2 libexpat1 libfontconfig1 libfreetype6 libgimpprint1 libjpeg62 libpaper1 libpng12-0 libpoppler0c2 libslp1 libtiff4 patch perl perl-modules ttf-bitstream-vera ucf (1 line!) To get access to the web interface from my workstation, I will change cups
to listen on the Server IP.
Set AuthGroupName to shadow in the section Security Options:
To allow access only from my admin workstation (IP: 192.168.0.70), I add Allow From 192.168.0.70 the security options and set AuthClass to Group:
Add the cupsys user to the shadow group: adduser cupsys shadow and restart the cups daemon: /etc/init.d/cupsys restart The cups webinterface is now accessible with any webbrowser from my workstation: http://192.168.0.100:631/ Now I can login to the cups interface with username root and my root password. Hint: If there is no linux driver available for your printer and you want to use this printer only from your windows workstations trough SAMBA, you can use the printer manufacturer RAW and install the correct driver on your windows workstation. If you created a new printer in cups, you will have to add it to samba with the command: cupsaddsmb -a Have fun!
Links All trademarks belong to their respective owner.
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com
Red Hat Virtual Experience - a free virtual event. Dec. 9th





print: 
Recent comments
6 hours 6 min ago
11 hours 54 min ago
13 hours 46 min ago
15 hours 30 min ago
19 hours 21 min ago
1 day 1 hour ago
1 day 1 hour ago
1 day 5 hours ago
1 day 11 hours ago
1 day 16 hours ago