You might try the following instead of smbmount
/sbin/mount -t smbfs -o credentials=/etc/rc.d/mount.server_name \
uid=1000 gid=1000 //server_name/w$ /mnt/smb/server_name/w
where mount.server_name has contents such
user=root
password=roots_password
You most likely would like chmod 600 mount.server_name
to keep root's password hidden.
paulw
At 10:31 AM 6/20/2002 -0400, you wrote:
>Date: Thu, 20 Jun 2002 09:25:54 -0400
>From: Jonathan Gaudette <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Samba unable to connect to Windows Share
>Reply-To: [EMAIL PROTECTED]
>
>Hello,
>
>I have gotten samba to be able to share out files, and have the Windows
>machine connect to it and get the files. However, I cannot get Windows
>to be able to share out a file and have Linux get it. I have shared out
>the folder in Windows giving everybody read/write privledges (only for
>testing purposes, as it's on an isolated network), and yet I still
>cannot. Here is what I get for an error message.
>
>---------------------------------------------
>[root@mail root]# smbmount //IMP/music /home/webmaster/
>Password:
>4780: session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB
>connection failed [root@mail root]# exit
>---------------------------------------------
>
>I guarentee the password is correct. I am thoroughly confused and no
>documention thus far on the web has gotten me any further. Any help
>that anyone can provide would be great, as I am stuck :(
>
>-Jon "GenKiller" Gaudette
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list