Search DominoPower's 11,441 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
LIFE WITH LINUX
Sharing Linux drives with Samba
By Mark Lawson

If you want to be able to see your Linux directories on your PC, then Samba is for you. If you're a Windows person, you can make life easier if you can use Samba to access the disks on the Linux box as if they were on an NT server. Originally developed by Andrew Tridgell at the Australian National University, Samba implements the SMB (Server Message Block) protocol, allowing files and printers on Linux to be shared with clients such as Windows for Workgroups, DOS, OS/2, Windows NT and others.

Simply put, Samba makes a Linux system behave as if it were a Windows NT box. This is very useful if you want to copy IDs or log files on and off your Linux box. It's also useful if you want to configure files using the familiar Notepad from the comfort of your PC or just look around. Here is the five-minute guide to Samba:

Make sure you have TCP/IP and Client for Microsoft Networks configured on your PC.

Make a note of your WorkGroup setting on the Identification tab (in the Windows Network Control Panel). Ours is ELECMEMO.

On your Linux box, login as "root". If you have Domino running don't worry, just press Alt-F2 to get a new terminal (wonderful isn't it? Alt-F1 to Alt-F6 function normally).

Now type "pico /etc/smb.conf" to edit the configuration file. It's quite long and a bit daunting but you only have to change a couple of things.

First, near the top, change the work group setting to match your Windows workgroup (remember, mine was ELECMEMO).

Further down, uncomment the two "encrypt password" and "passwd file" lines.

Towards the bottom modify and uncomment the "fred's private directory example" as shown below. This also shows the other modifications with the rest of the file removed for clarity.

[global]
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = ELECMEMO

encrypt passwords = yes
smb passwd file = /etc/smbpasswd

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
[notesdata]
comment = Domino Data
path = /home/notesdata
valid users = notes
public = no
writable = yes
printable = no

Save the file with Ctrl-O and exit with Ctrl-X.

Now run "smbpasswd -a notes" and when prompted give the Notes user password.

Stop Samba running with the command "/etc/rc.d/init.d/smb stop". Don't worry if you get "FAILED" messages. This only means it wasn't running.

Restart Samba with "/etc/rc.d/init.d/smb start" You should get two "OK" messages.


1  ·  2  ·  Next »
Other articles you might like
Home > Strategies > Linux (11 articles)
   Troubleshooting an OpenSuse Notes install
   Four Linux books that'll get you going
   Conversation on Linux and Notes
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.

Find Unused Groups will check your ACL, mail, multi purpose and server groups to help you determine if they are used, and who uses them.

Learn how to easily clean up your address book.

-- Advertisement --

Struggling with exporting Notes data to spreadsheets? No More!
Try IntelliPRINT, The world's leading Reporting, Dashboards, and Analysis solution for Notes & Domino

  • Don't spend unproductive time maintaining different versions of the same spreadsheet
  • Preserve data integrity and security in multi-user environments
  • Create reports in minutes INSIDE Notes
  • Get freedom from iterative report requests, deliver self-serve capabilities

Experience Reporting, Dashboards, and Analysis INSIDE Notes.

Try IntelliPRINT NOW!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login