On Thursday 13 July 2006 12:46, 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

Well, I tried this, but with no success. The thing is, that I don't know what 
to use in place of "sambabox". I tried  using by box's IP address, and the 
name that comes back from dig -x, but all I get is:

The network path was not found.

I'm wondering if I don't have to do something with the lines:


# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = MYGROUP

But, my XP is part of a LDAP domain, so I'm  not sure what I need to put in 
for workgroup.




>
> This will set up your files as drive Z: every time you boot.
>
> Geoff.

-- 
  The day is short, and the work is great,    |  Aharon Schkolnik
  and the laborers are lazy, and the reward   |  
  is great, and the Master of the house is    |  [EMAIL PROTECTED]
  impatient. - Ethics Of The Fathers Ch. 2    |  050-8724844

=================================================================
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