Another step, which may prove to be necessary is, after step (1) below,
to find and read the document:
/usr/share/doc/samba/diagnosis.html (Debian Sarge)
or
/usr/share/doc/samba-2.2.5/docs/textdocs/DIAGNOSIS.txt (RedHat 8.0)

and follow instructions to bring up and test the Samba connection.

                                                --- Omer

On Thu, 2006-07-13 at 12:46 +0300, Geoffrey S. Mendelson wrote:
> On Thu, Jul 13, 2006 at 10:07:18AM +0300, Aharon Schkolnik wrote:
> > Please tell me what I need to learn to get started with a minimum setup 
> > which 
> > will allow me to share files between my Linux box and my XP box. I am not 
> > sure if this is crucial, but the XP machine is part of a (LDAP) domain.
> 
> 
> 1. Install Samba RPM, debs, whatever.
> 
> 2. Modify the default SMB.CONF (usually in /etc or /etc/samba) to
>    restrict access to the machines you want to have access.
> 
> 3. If you don't have one create an /etc/printcap it can be a one line
>       "# dummy file".
> 
> 4. If you want to use your unix user id for file access, then skip this.
>    Create a userid for file access. It should have the correct user number
>    and groups. 
> 
> 5.   "smbpasswd -a username" to set a password for the username.
> 
>     This is a samba only password, so you can set it one thing and
>     your login password to something else if you want to use your
>     login. (not recommended except in private networks).
> 
> 6. Remove all the default shares and set one up explicitly for the data
>    you want. DO NOT call it "homes".
> 
> 
> On XP, open a cmd prompt and type
> 
>       "net use <driveletter>: \\system\share /p:y /savecred /u:<userid>"
> 
>       for example: net use z: \\sambabox\files /p:y /savecred /u:elmerfudd
> 
> This will set up your files as drive Z: every time you boot.
> 
> Geoff.
-- 
You haven't made an impact on the world before you caused a Debian
release to be named after Snufkin.
My own blog is at http://tddpirate.livejournal.com/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to