09-06-2001
1,
0
Join Date: Sep 2001
Last Activity: 6 September 2001, 12:49 AM EDT
Location: Columbus, Ohio
Posts: 1
Thanks Given: 0
Thanked 0 Times in 0 Posts
Samba authentication
The problem is that you have configured your system for USER or DOMAIn security rather than SHARE security.
This is a good idea, especially if you have Windows NT machines to contend with.
If security is not an issue, you may use SHARE level security and simply make certain that the user specified in you config file has permission to access the shared files.
For DOMAIN security, you need to send a user and password with every request. By default, Windows will try to connect by sending the username and password that were used to log in to the network. If this user does not exist on the UNIX machine, access will be denied. You can optionally use the Windows NT account database and or user mapping (via smbusers) to manage the security.
This also means that the username and password need to be specified on the command line for the smbclient and smbmount commands.