- Samba users must first have a general system account on the Samba server in addition to a Samba account. In Red Hat you can (as root) use the User Manager utility to do this. The utility should be available under your Programs menu; it can also be started with the following command:
redhat-config-users
- To add a Samba account, log in as root and run the "smbpasswd" command. Using your example username of "win98", the command would be:
smbpasswd -a win98
The -a indicates that you are adding a user. Once you issue the above command you'll be promted to type the user's password (and asked to verify it). The new user account should then be sucessfully created.
You can use the "valid users=" directive in your smb.conf file as one way of granting certain users access to certain Samba shares. Read some of the online Samba documentation for more on that and other options in the smb.conf file.
Reputation Points: 221
Solved Threads: 369
Wombat At Large
Offline 6,439 posts
since Dec 2003