On Wed, 2001-12-12 at 10:37, Robert Boggs wrote:
> I finally got the windows machine to see the samba server, however it is
> fussing about a password. I did not make one. Also when I use the gnome samba
> server and mount "robert", it does not bring anything into my drives.
Robert,
Here's a brief step-by-step to set up Samba users:
1. Create individual users and passwords on your Windows machines. Make
sure to use valid Unix user names and passwords (in other words, don't
have a user name of "Robert Boggs" -- use "rboggs" or something
similar). To create separate user profiles in Windows (for multiple
users to be able to personalize their desktop & shortcuts), open the
Control Panel and double-click the Users applet. It will walk you
through setting up your users.
2. On the Samba/Linux machine, as root, run
smbpasswd -a username
where "username" is the Windows user ID you created in step 1. You will
need to run this command for every Windows user you created. The
smbpasswd program will create a user id and password (it will prompt you
-- and if it asks for an "existing" or "old" password, just hit Enter
since you haven't created one yet) in the /etc/samba/smbpasswd file.
3. You will also need to manually edit the /etc/samba/smbusers file, and
add each user. The format is simple:
linux_user_id = windows_user_id
For convenience, use the same user names on both machines, and then you
just have things like the following:
carrie = carrie
dave = dave
When a user is logged into Windows, then their user name and password
are sent to the Samba server when they try to access shared resources.
This is why you need to make sure that there are valid users on all
machines, and that everything (user names and passwords) matches.
Dave
--
You can't have your cake and let your neighbor eat it too.
-- Ayn Rand
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com