Samba & XP stupid problem
I am trying to setup a home network based on a canyon router. Both PCs(one XP@1400MHz&256RAM second console only Slackware 10@166MHz&32RAM) can access the internet just fine, both can ping each other and connect to open services(FTP, SSH, Telnet), so the network itself works ok.
I am trying to setup a share on the Slack PC, but XP sees the shares, but tying to enter them give me an access denied error. I have read a lot of posts here about this and tried different configs, but nothing helped. Here is my smb.conf: [global] workgroup = WORKGROUP server string = Panzer security = user encrypt passwords = yes smb passwd file = /etc/samba/private/smbpasswd [homes] [myshare] path = /home/ftp browseable = yes public = yes read only = no ####End of config######### I really don't understand what am I missing. By the way when starting samba in interactive move it displays an api_fd_reply : INVALID PIPE HANDLE: 753f Please tell me how to fix this problem, as I don't know what to do now. Thank you Dennis |
You could try adding 'guest ok = yes' to your share options. Are you entering a username and password to access the share? Have you setup a password on the linux box using smbpasswd? I assume you have but just checking.
|
I have tried adding the guest ok = yes option to the shared directory and added the passwords with smbpasswd, but the strange thing is that the password doen't get requested it just says access denied.
|
Can you mount it using the smbmount command including a username and password?
|
No, I can't. There must be some config error in the smb.conf, but I don't know what is it.
|
This is from my smb.conf:
Code:
[homes] |
OK, I have copied this example as my smb.conf, so now I get a straight access denied message. I can see the capacity of the network drive even, but when I click on it windows can't access it.
There is some other thing : when I try to enter a login for the network drive windows first asks me for a drive and then shows the login box again with a disabled login name field which says 192.168.62.51\Guest I don't know why it shows as guest, maybe that's why access is denied? Hope you have some ideas about this. |
By the way, there is some stopped service winbindd , do I need to start that also?
|
can you change the username to a real account on the linux box and try using its password?
If you can't even do that, I would think that something went wrong with the Samba installation. You don't need winbindd. Just smbd and nmbd. Do you have any type of firewall running that could be blocking it? |
I am already using the real username. My windows accounts are the same as linux ones(except for the built-in windows admin and root).
Why does windows sometimes show only the username when logginng in and sometimes the_host_address/username? And I didn't install any firewall apps, so all ports are opened. I'm beginning to worry about this config problem. |
I'm not on a linux computer right now so I can't really go too deep into this problem for you myself but I think I would suggest removing Samba and reinstalling.
Are you sure that you have SMB support in your kernel? That might be a dumb question since you can see the shares but I'm trying to think of anything I can. |
Also, what are the permissions on the shared folder in linux? If you've set them to 700 or maybe even 770 you could be locked out by linux, not samba. Check that first.
|
Yes, the permissions are ok, they are set to 777 for the directory that I am sharing, but I didn't have smb support, however the kernel compiler menu says that it is needed only for mounting windows shares and not the other way around. Should I compile it in anyway?
|
yes
|
All times are GMT -5. The time now is 08:55 AM. |