Click on the OK button to complete the configuration; you will need to reboot in order for your changes to take effect.
Now for the big moment. Your Samba server is running, and you have set up your Windows 95/98 client to communicate with it. After rebooting, log in and double-click the Network Neighborhood icon on the desktop. You should see your Samba server listed as a member of the workgroup, as shown in
Figure 3.14.
Double-clicking the server name will show the resources that the server is offering to the network, as shown in
Figure 3.15 (in this case a printer and the
test directory).
WARNING: If you are presented with a dialog requesting the password for a user
IPC$
, then Samba did not accept the password that was sent from the client. In this case, the username and the password that were created on the client side
must match the username/password combination on the Samba server. If you are using Windows 98 or Windows NT Service Pack 3 or above, this is probably because the client is sending encrypted passwords instead of plaintext passwords. You can remedy this situation by performing two steps on the Samba server. First, add the following entry to the
[global]
section of your Samba configuration file:
encrypt password=yes
. Second, find the
smbpasswd program on the samba server (it is located in
/usr/local/samba/bin by default) and use it to add an entry to Samba's encrypted password database. For example, to add user
steve
to Samba's encrypted password database, type
smbpasswd -a steve
. The first time you enter this password, the program will output an error message indicating that the password database does not exist; it will then create the database, which is typically stored in
/usr/local/samba/private/smbpasswd.
If you don't see the server listed, start Windows Explorer (not Internet Explorer!) and select Map Network Drive from the Tools menu. This will give you a dialog box into which you can type the name of your server and the share
test
in the Windows UNC format:
\\
server
\test, like we did in the first chapter. This should attempt to contact the Samba server and its temporary share. If things still aren't right, go to Chapter 9,
Troubleshooting Samba, for troubleshooting assistance.