Re: [Samba] using standalone unix passwords ?

2007-05-28 Thread Michael Heydon

Yakov Lerner wrote:

On 5/27/07, John H Terpstra <[EMAIL PROTECTED]> wrote:

On Saturday 26 May 2007 16:30, Yakov Lerner wrote:
> Which cmd.conf option let samba use (/etc/passwd,/etc/shadow) 
passwords

> without need to smnpasswd ?
> Thanks
> Yakov

Please explain more clearly. Are you asking how to set up guest access?

No. There is specific Unix user X, and client uses
mount -t smbfs -o username=X,password=... ... ...
Basically, only user X is supposed to access the samba. I defined 
security=user.
But the convenient password setup for me would be the unix password of 
X, not
the separate smbpasswd. Can I tell smb.conf to use /etc/shadow 
password instead

of separate password defined by smbpasswd ?

Yakov
The short answer is "don't". Windows sends passwords in an encrypted 
format that is not compatible with unix crypt. It has been done in the 
past, but there is no good reason to do it now. Use LDAP, once its set 
up properly its near impossible for your passwords to get out of sync.


-- Michael
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] using standalone unix passwords ?

2007-05-26 Thread Yakov Lerner

On 5/27/07, John H Terpstra <[EMAIL PROTECTED]> wrote:

On Saturday 26 May 2007 16:30, Yakov Lerner wrote:
> Which cmd.conf option let samba use (/etc/passwd,/etc/shadow) passwords
> without need to smnpasswd ?
> Thanks
> Yakov

Please explain more clearly. Are you asking how to set up guest access?

No. There is specific Unix user X, and client uses
mount -t smbfs -o username=X,password=... ... ...
Basically, only user X is supposed to access the samba. I defined security=user.
But the convenient password setup for me would be the unix password of X, not
the separate smbpasswd. Can I tell smb.conf to use /etc/shadow password instead
of separate password defined by smbpasswd ?

Yakov
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] using standalone unix passwords ?

2007-05-26 Thread John H Terpstra
On Saturday 26 May 2007 16:30, Yakov Lerner wrote:
> Which cmd.conf option let samba use (/etc/passwd,/etc/shadow) passwords
> without need to smnpasswd ?
> Thanks
> Yakov

Please explain more clearly. Are you asking how to set up guest access?

- John T.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] using standalone unix passwords ?

2007-05-26 Thread Yakov Lerner

Which cmd.conf option let samba use (/etc/passwd,/etc/shadow) passwords
without need to smnpasswd ?
Thanks
Yakov
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba