Jump to content

Samba -session setup failed: ERRDOS - ERRnoaccess


Guest KartheeK
 Share

Recommended Posts

Guest KartheeK

Hello All,

 

I am not able to access my home directory on my "samba PDC" via samba client...

 

I am using Mandriva 2006:

 

The following is my "rpm -qa | grep samba" output:

samba-common-3.0.20-3mdk

samba-client-3.0.20-3mdk

 

Problem:

If I issue the following command:

/bin/mount -t smbfs //192.168.100.14/mytest /home/mytest -o username=mytest,uid=mytest

Password: *******

I get:

4706: session setup failed: ERRDOS - ERRnoaccess (Access denied.)

SMB connection failed

 

However, if I issue,

bin/mount -t cifs //192.168.100.14/mytest /home/mytest -o username=mytest,uid=mytest , It Works!!!!

 

Further, I see the following line in /boot/config-2.6.12-12mdk

 

CONFIG_SMB_FS=m

CONFIG_SMB_NLS_DEFAULT=y

CONFIG_SMB_NLS_REMOTE="cp437"

 

Why am I getting errors?

Anybody please help....

 

Thanks

KartheeK

Link to comment
Share on other sites

  • 2 months later...
Guest opentux

I was having the same problem, and solved it by specifying the Windows workgroup in the username argument.

E.g., try:

mount -t smbfs //192.168.100.14/mytest /home/mytest -o username=mytest/<workgroup>%<pwd>,uid=mytest

 

Regards,

opentux.

Link to comment
Share on other sites

I'm wondering if it matters mounting as smbfs or cifs? The end result is, that it works :P

 

Any particular reason why you want it to mount as smbfs and not cifs?

 

At least there's two ways to do the same thing ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...