On Thu, 11 Oct 2001, Matthew Nuzum wrote:

> Make sure to get the most up-to-date version of SAMBA and the SAMBA
> clients.
> 
> I was doing this and getting wicked file locking problems until I
> updated to something in the 2.2 (I think) series.
> 
> But once you get samba, make a folder somewhere
> /mnt/NT/
> 
> mount -t smb -o username=USER,password=PASSWORD //SERVER/SHARE  /mnt/NT
> 
> then you can use the standard lredir (umm.. for readability, LREDIR all
> lower case) once you're in DOS
> lredir linux/fs/mnt/NT d:
> 
> You're going to have to fiddle with the 'mount -t smb' command.  It
> seems like every time I go to do it, they've changed the syntax.  Here
> are the places where I've found help using that in the past:
> man mount
> /sbin/mount.smbfs --help
> 

Mounting NT shares under Linux works almost perfectly for me:

mount -t smbfs -o username=myname,password='mypassword'\
,gid=201,fmask=775,workgroup=WORKGROUP,rw //SERVER/SHARE /MOUNTPOINT

(of course I stripped private stuff here). In this case share will be
available R/W for members of group 201. I only remeber problems
if NT server goes down from some short time. If You're getting
trouble after some inactivity time run 'df -t smbfs >/dev/null 2>&1' 
once per some minutes from crontab

After that I don't see any problems to access mounted share from DOSEMU
using LREDIR

Andris

PS. I have samba-2.2.0a

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to