![]() ![]() In this case: /home/khosro/Samba-Test and then click on Create Share button. In SHARES, enter the path to the directory that you made above. This becomes what other clients see in network browse lists. the user name you set up at the beginning). Create a Samba user (make sure you use a username that is already a unix user, e.g. Install samba and swat: sudo apt-get install samba smbfs swat. In GLOBALS, change netbios name to whatever you want. Now to turn your ubuntu CUPS print server in a windows friendly SAMBA print server. Make a directory that you want to share and put some dummy files in Samba server. Now, I am going to show you how to create a share folder in Samba server to be accessible by all Linux and Windows clients by using SWAT. Iptables -I INPUT -p udp -dport 138 -j ACCEPT Iptables -I INPUT -p udp -dport 137 -j ACCEPT Iptables -I INPUT -p tcp -dport 445 -j ACCEPT Iptables -I INPUT -p tcp -dport 139 -j ACCEPT Note: You must open firewall for samba server. Note: when you change something in options, you must click on Commit Changes button to save your changes. Nevertheless, I will show you how to share a folder in Samba with this tools.Also, there is always a link (Help) beside each option that gives you a lot of information. I assumed that you know the Samba configuration and this topic is just to introduce SWAT. ![]() ![]() I am not going to explain every single line in this tools since it's a lot and beyond of this discussion. Please adjust your ip address accordingly. Iptables -I INPUT -p tcp -dport 901 -j ACCEPT For sure, you can access SWAT from a remote location, but you need to open port 901 in firewall by following command: Then, you can access the SWAT by using the following url in local machine: Service xinetd restart -> if it already started Also, you can use chkconfig command to enable SWAT after rebooting machine: To activate SWAT, you need to start/restart xinetd service. Yum install samba samba-client samba-common samba-doc samba-domainjoin-gui samba-swat In order to install Samba server, Samba client, and SWAT, you need to install the following It's really easy to use and it's fully funcational with sufficient help pages. Instead, they use a web-based administration tools for this purpose. Redhat families no longer use GUI tools for configuring Samba. It's called The Samba Web Administration Tool (SWAT). Today, I would like to talk about a very interesting tools for Samba. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |