Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.