[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Samba & LDAP



hi,

On Mon, Jun 02, 2003 at 03:33:50PM +0200, Ghe Rivero wrote:
> Hi!
> 	I need a PDC for a win2k & linux network and i have a couple of
> questions...
> 
> 	1.- Why i need packages to managed samba & ldap passwords at the same
> time? I though that with the ldap directives in the smb.conf file was
> enough.

if you are using samba with "--with-ldapsam", samba is looking for the
lmPassword and ntPassword attributes in ldap. it is no problem to keep
this password in sync with a small script and samba set "unix password
sync = yes" in your smb.conf. if you really want to use the
unix-passwords with samba you must not use encrypted passwords :-( 
read ENCRYPTION.html in the samba-doc package for this problem.

> 
> 	2.- In the linux clients... how i managed to authentificated against
> the smb server and to mount automatically the home directory of the
> user? Or is better to authentificated against the ldap server?

there is a way to authenticate windows-clients against the ldap server,
but this is much client-work. simply use the samba-ldap installation as
PDC and let the workstations join the domain. 
see Samba-LDAP-HOWTO.html in samba-doc
or http://www.unav.es/cti/ldap-smb-howto.html


buz



Reply to: