Click to See Complete Forum and Search --> : Samba to NT wont connect


Gates1026
09-09-2003, 06:43 PM
I am trying to mount a RedHat 9.0 machine to an NT machine. I can connect from other machines just fine (Linux and windows). This machine however will not connect, here is the command that I use......

$ sudo mount -t smbfs -o username=<username>,password=<passwd> //my/share/ /mnt/smb/my/share/

I want to be able to sudo so I can mount the NT share as a user other than root (there are many users that will be accessing this share on a daily basis). Here is the error that I get........

4779: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed

Does anyone know of any setting that would block my access to the NT share, either on the RedHat box or the NT box? I tried the exact same command on a different machine and it worked just fine.

Any help would be greatly appreciated :)
Thanks all

stratfan
09-14-2003, 08:17 PM
Just a thought but do you have any shares already created on your NT machine. If so what are your Share permissions and NTFS permissions set at on the NT machine. Check to see what groups are allowed access to the shares you have created on NT and what permissions they have. With NT you can assign the Full Control Share permission, but still allow only write permissions through the NTFS permissions. Hope this helps.

deanrantala
09-15-2003, 07:44 PM
Just to add to what stratfan said, you can easily configure all this in NT by goind to the control pasnel and selecting "administration". From there, select computer administration. That will let you change almost *everything* in NT - including permissions on shares (wich seems to be the problem)