It should be defined in your /etc/hosts like this:
127.0.0.1 localhost.my.domain localhost
127.0.0.1 yourhostname.my.domain yourhostname
so on, so forth
With this you can just ping your remote windows machines via its hostname instead of their IPs.
In your /etc/samba/smb.conf, it is already defined by default under the [global] settings:
server string = Samba Server %v
and make sure that security = share
is there to allow your windows machines to have full access to the share you will define under Share Definitions such as this:
comment = Central Data Folder
path = /usr/data
public = yes
read only = no
create mode = 0777
directory mode = 0777
Then put the appropriate directory permissions:
#mkdir -m 1777 /usr/data
#chmod 1777 /usr/data
The "1" will add sticky bit so that the owner (the one that created) the files and directory has only the capacity to delete.
to test for errors in your smb.conf.
To test your samba server:
#smbclient -L localhost
This should list the share you defined and what host is the master browser and including your workgroup such as this:
obsd c:\># smbclient -L localhost
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.10]
Sharename Type Comment
--------- ---- -------
tmp Disk Temporary file space
IPC$ IPC IPC Service (Samba Server)
ADMIN$ Disk IPC Service (Samba Server)
OBSD Samba Server
Always restart your samba server whenever changes are made in smb.conf.
#kill -1 `cat /var/run/smbd.pid`
If you have lmhosts file in your windows boxes with a format like /etc/hosts, you can ping the mandrake box by using its hostname but without this, ping only using its IP address.
You should be able now to access your mandrake share through My Network Places or Network Neighborhood.
Hope that this helps.