Operating System - Linux
1827854 Members
1463 Online
109969 Solutions
New Discussion

samba:linux to win not working

 
SOLVED
Go to solution
linuxtolinux
Frequent Advisor

samba:linux to win not working

hello,

i am facing a problem when trying to connect to my shared folder located on the win server from my linux server.(the reverse connection work properly and i can access the home directories of user x from my win server).
ns is te name of my win server: when i tried from my linux server to list the shared folder on user x on ns using 'smbclient -L ns -U x ' i received in the share name field the comment"error on browsing query list:WIN_NT_ACCESS_DINIED"

is the pb in the win side? or else?
thanks in advance
linuxtolinux
8 REPLIES 8
Gopi Sekar
Honored Contributor
Solution

Re: samba:linux to win not working


The problem is more likely on the windows server side.

check whether the user x is having permission in the windows server. user x should be a user which is existing in the windows system or in the domain controller(incase your windows connects to a domain controller). create user x in the windows and grant permissions for him to the directories you want to share.

Regards,
Gopi
Never Never Never Giveup
Rajesh SB
Esteemed Contributor

Re: samba:linux to win not working

Hi,

This is absolutely problem with Windows share. Verify the permissions and shared resource on the Windows side.


Regards,
Rajesh
Roderik Hamers
Frequent Advisor

Re: samba:linux to win not working

You do not had to enter an username and password to reach the Windows share?

With Linux to Windows NT based systems (Win2k,XP,NT,2003) its likely that you need an username and password to access the public shares. As far as i know.

Are you trying to only list the shares or do you want to modify files on the Windows share. If so you can use the 'smbmount' command instead.

I hoped it worked,

Roderik.
Rajesh SB
Esteemed Contributor

Re: samba:linux to win not working

Hi,

Have you used mounting option is like below
Example:
mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test

or How are you accessing the Windows share?

Regards,
Rajesh
linuxtolinux
Frequent Advisor

Re: samba:linux to win not working

hello,

The problem was in the win sides as all of you told me:there was a problem in the network sharing and security,all what i have done is runnig the wizard for network sharing and security to repair the settings related to this topicand evrething has gone well from linux to win via samba.

thanks for your replies
Regards:
linuxtolinux
linuxtolinux
Frequent Advisor

Re: samba:linux to win not working

hello,

The problem was in the win side as all of you told me:there was a problem in the network sharing and security,all what i have done is runnig the wizard for network sharing and security to repair the settings related to this topic and evrething has gone well from linux to win via samba.

thanks for your replies
Regards:
linuxtolinux
linuxtolinux
Frequent Advisor

Re: samba:linux to win not working

10x
Gopi Sekar
Honored Contributor

Re: samba:linux to win not working

how about assigning points?
Never Never Never Giveup