These instruction are for
configuring a “Unix, Linux” operating system with “Webmin” to allow “Windows95,
98, NT, 2000, XP” access to share folders on a “Unix, Linux” computers.
Get a copy of “Webmin” http://www.webmin.com and install it.
Get a copy of Samba http://www.samba.org and install it.
After you've installed
“Samba”, install “Webmin”.
After having installed
“Webmin” type http://localhost:10000 into your browser's address
You'll be prompted for
a “user name” and “password”, use root as the user name and the
corresponding password. If you don't have X windows installed on your Samba
server, you can still run “Webmin” remotely by typing http://IPAddressOfSambaServer:10000
and logging in as you normally would.
After logging into
Click on the Servers
Then the Samba Windows
File Sharing Icon. On the top of the screen you should see two shares created
by default. They're home and printers, and are fine for now. You
can customize this later on if you'd like.
Next click on the “Windows
Networking” Icon and change your Workgroup
name to the same Workgroup name as your windows computer(s). This
is a very important step! Give a server
description...something like samba server and give the server a name.
Change your security
to share level then save the changes.
Next click on the Authentication
Icon next to the Windows Networking Icon. Enable encrypted passwords
then save the changes.
Click on the File
Share Defaults icon and then on the Security and Access icon.
Enable hosts allow
and put the IP addresses of your windows workstation(s).
Save the changes and
return to File Share Defaults.
Click Yes for both Available
and Browseable and save the changes.
Click on the homes share
on the top of the Samba Share Manager
screen and enable Available
and Browseable by highlighting yes.
Save the changes then
go back into the homes share and click on the Authentication icon.
and hosts allow only allow and enter the IP addresses of your windows
Save the changes and
return to your Samba Share Manager screen.
Click on Restart
Samba Server to activate all the changes you've made.
Open up a virtual
terminal if you're running X windows or log into your Samba Server if you're
running Webmin remotely. Type in: “smbpasswd” username where username is a
valid user on your samba server. You'll be prompted for a password and to
re-authenticate the password by retyping it. It's recommended that you use the
same password that you would to log into the server to keep things easier to
manage, but it isn't necessary. Running “smbpasswd” will create an
authentication file for Samba to check when you log in to the server from a
Next make sure you have
different users on your windows computers. If you don't have to log in when you
turn on your Windows computer, you probably don't have any user accounts
created. Go into Control Panel, create a user with a valid user name on the
samba server and give the user a password. Once again, use the same one as you
would use to log into Linux for simplicity's sake.
Reboot and log back in
as a user.
Open up Windows
Explorer and Browser your network. You should see your Samba Server icon
waiting for you.
Double-click on it and,
when prompted enter the password you gave yourself when you ran smbpasswd. You
can choose to save the password on the Windows computer so you won't have to
supply it all the time or you can type it in each time you log onto the Samba
Server from a Windows workstation. I highly recommend Mapping the shares as
drive letters and choosing to reconnect them each time at log on. This
simplifies things and makes it quicker to access the shares. You should be
done! Repeat the process of running smbpasswd on the samba server and creating
a user account on the Windows workstations for each user.