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.
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
One number. one voicemail. Seize the lead with Sprint. Learn more
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video
Sprint 4G - The Ultimate Mobile Broadband
Click here
SAP-Business Objects Crystal Reports Server
Complete reporting without hidden costs. Free Trial




print: 

Recent comments
15 hours 23 min ago
16 hours 29 min ago
17 hours 4 min ago
20 hours 57 min ago
21 hours 57 min ago
23 hours 53 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 10 hours ago
1 day 17 hours ago