LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba Sharing (https://www.linuxquestions.org/questions/linux-networking-3/samba-sharing-320640/)

Die Woud 05-06-2005 03:07 AM

Samba Sharing
 
My samba has been activated. But for some reason when I try to access it from my windows machine it displayes a permission error. Can somebody help me with this. Another problem is that when I go to the network folder on linux and I click on the Localhost the linux machine, it sais that it cannot access it and that it might have been deleted recently. But there is no problem when I access windows from the linux machine. Help!

masand 05-06-2005 03:42 AM

have u made a user in samba

smbpasswd -a <username>

regards

Die Woud 05-06-2005 12:49 PM

I have created a account, but it still does not work

masand 05-06-2005 12:52 PM

ok so can u login like this ,as i can do

run this on the samba server

smbclient -L 192.168.0.20 --user=gaurav


this will prompt u for a passwd

and see if u can see the shares

regards

Die Woud 05-06-2005 01:12 PM

It does not work, it sais "tree connect failed: NT_STATUS_DUPLICATE_NAME

masand 05-06-2005 01:24 PM

so u do not have a valid samba user

make a new user say "test"

and make that samba user as

smbpasswd -a test

and set the passwd

regards

Die Woud 05-06-2005 01:34 PM

I created the account but it still does not work, when I type
smbclient -L 192.168.0.6 it displayes the shares, but after that it sais sesion request to 192.168.0.6 failed(Called name not present)

masand 05-06-2005 02:34 PM

then i think u do not have set ur samba conf file correctly

can u send that to me??


regards

Die Woud 05-06-2005 02:45 PM

I don't think it is the config file, I think it is the netbios name. I have not configured one. Where do I do that, because I can't see space for it in the smb.conf file

Die Woud 05-06-2005 02:59 PM

Ok, i have configured the netbios name and now it works, but I now have to linux pc's showing up in the network, the one is Linux (localhost),which i cant access and the other is Linux(Linux) which i can access and appeared afteer i entered the netbios name

masand 05-06-2005 03:05 PM

are those same machines??

if yes then localhost will go by itself from network in some time


regards

Die Woud 05-06-2005 03:28 PM

Are you sure it wil go away, aint ther a line that i can delete somwhere, because it is in the linux pc aswell, when I go to the network on linux then i see window ,linux and localhost and as you know localhost does not work

masand 05-06-2005 03:41 PM

from where in linux do u see that localhost

what do u now get in the server section

smbclient -L <samba server IP>

regards

cowanrl 05-06-2005 03:52 PM

It should take 35-40 minutes for the name to dissapear from the list.

Die Woud 05-06-2005 03:54 PM

Everything is fine, no more errors and no more ghostpc's.Thanks


All times are GMT -5. The time now is 06:28 PM.