Unable to set up Samba client
I am trying to set up Samba using the instructions at https://wiki.alienbase.nl/doku.php?id=slackware:samba
I think that I have the server set up ok but I am having difficulty with the client side The mount command Quote:
Quote:
Quote:
Quote:
|
are you calling mount as root?
Normally only root can mount file systems unless you declare them in fstab or do it via some daemon like udisks. However seeing basic mount command when run as root work before trying to solve other problems is likely the best place to begin. |
Yes. Calling it as root
|
Maybe you can find some clues in the logs from samba on the samba server. Depending on your smb.conf you might need to specify some user or domain to connect as when you mount.
However, Samba is kind of a server intended for crappy Windows clients. A posix OS like Linux usually prefer a network file system which understands posix features like chmod, users, groups and symbolic links. NFS might be a better choice to share files between Slackware systems. regards Henrik |
I'd try mount.cifs
Code:
mount.cifs //192.168.0.1/public /mnt/samba/bob/public -o rw,uid=0,gid=10,username=<some_special_user> |
Quote:
|
Another problem though.
I run a firewall on my desktop generated at http://www.slackware.com/~alien/efg/index.php This blocks samba. How to I get my laptop to connect to my desktop through the firewall? I don't seen an option on the Easy Firewall Generator to allow samba. |
Samba (smb) uses tcp port 445. You may need to configure your firewall to allow traffic that uses that port.
I looked at your link: http://www.slackware.com/~alien/efg/index.php and it looks like there is an option to allow inbound services. Try enabling that option and regenerate your firewall. |
You might also need to allow port 139.
https://wiki.samba.org/index.php/Sam...ber_Port_Usage |
The link at http://www.slackware.com/~alien/efg/index.php has an option to allow inbound services which then gives a list of options but samba is not one of them.
I found that this worked Quote:
|
All times are GMT -5. The time now is 02:55 AM. |