-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09-Aug-2002/06:19 -0400, Jerry Human <[EMAIL PROTECTED]> wrote:
> On 08-Aug-2002/06:11 -0400, Jerry Human <[EMAIL PROTECTED]> wrote:
> >Having trouble with Samba passwords on mapped drives. system is setup
> >with *nix-Samba-Windows ME and the drives are mapped but when a drive
> >is
> >accessed the password is not accepted. Does anyone have any insight on
> >getting this to work?
>
>"Anthony E. Greene" wrote:
>>
>> Did you setup encrypted passwords?
>
>Yes, the passwords are encrypted. Its setup the same as you described.
Okay, there are several things that you need to make sure of.
- The username/password on Windows is the same as the username/password
that you added using smbpasswd on Linux.
- Samba global is setup for:
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
- The share includes a list of valid users:
valid users = @groupname (group that user belongs to)
- I like to add the following to most shares:
browseable = yes
guest ok = no
writeable = yes
force group = groupname
force create mode = 0664
force directory mode = 0775
inherit permissions = yes
- The Linux filesystem permissions on the actual directory allows access
by the required users. I like to do it like this:
mkdir shared
chown root.groupname shared
chmod 0775 shared
chmod g+s shared
Then after adding a user with useradd, I have to edit /etc/group to add
them to <groupname> and add their Windows password to Samba with
smbpasswd.
- --
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/>
Linux: the choice of a GNU Generation. <http://www.linux.org/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]>
iD8DBQE9U9AfpCpg3WyUI50RAmJmAJ47nWC0SDbqG6EKgOv3KKQVEII5sACgoJ5n
hojDmbjf7TeYrNF4Ga8Toow=
=OP5g
-----END PGP SIGNATURE-----
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list