Re: samba password config

From: Michael Thomas (mtNOSPAMMING_at_armory.com)
Date: 06/22/05


Date: Tue, 21 Jun 2005 17:18:38 -0700

On Tue, 21 Jun 2005 14:06:59 -0700, "Akimeu" <akimeu@yahoo.comAAA>
wrote:

>My mistake... however, that's only part of the question. How can I prompt
>for a password when a user wants to connect to the shared drive, from a Win
>machine.
>
>Thanks again...
>

in smb.conf you should have the option under each share to set the
valid users. Only those users you add will be able to log into the
share. Those shares must also have the permissions set correctly so
the users/groups can access them (chmod, chown, chgrp).

valid users = <username here> <username here>

for group rights

valid users = @<groupname here> @<groupname here>

You also need to remove guest ok = yes if you want to prompt for
passwords. This option makes it possible for users to log in to a
share without a password.

As Ivan has pointed out, users currently logged into windows clients
who have the same user/pass on the samba server will connect without
having to enter any user/pass info.

>
>"Ivan Marsh" <annoyed@you.now> wrote in message
>news:pan.2005.06.21.19.28.54.890587@you.now...
>> On Tue, 21 Jun 2005 09:57:16 -0700, Akimeu wrote:
>>
>>> Hi group. I currently have a shared folder (below). I would like to
>>> enable a non-clear text, password protect on this shared drive. How can
>>> I accomplish that?
>>>
>>> Thanks in advance...
>>
>> Correct me if I'm wrong but I'm pretty sure that samba hasn't passed clear
>> text passwords since the NT4.0/Win95 days. Passwords are encrypted by
>> default.
>>
>> --
>> "Blessed is he who expects nothing, for he shall never be disappointed."
>> Benjamin Franklin (I didn't know he was a Buddhist)
>>
>