[Samba-it] Samba e LDAP

Simo Sorce simo.sorce at xsec.it
Tue Mar 11 14:49:01 MST 2003


La cosa migliore è creare gli account attraverso samba che si occupa di
tutti i dettagli, modificare i campi ldap a mano va a proprio rischio e
pericolo.

Simo

On Tue, 2003-03-11 at 13:20, Paolo Ghidini wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Salve a tutti, sto cercando di implementare l'autenticazione centralizzata 
> tramite ldap, quindi per i client windows devo inserire ldap in samba.
> Per fare ciò ho ricompilato samba 2.2.7a con l'opzione --with-ldapsam e ho 
> aggiunto i seguenti parametri nel smb.conf
> 
> ldap server = mioserverldap
> ldap port = mia porta
> ldap suffix = "dc=xxxx,dc=xxxx"
> ldap ssl = no
> 
> poi ho aggiunto lo schema samba.schema in ldap e quindi sono andato a 
> modificare gli utenti nel mio database ldap aggiungendo:
> smbhome: /xxxxx
> sambaAccount:xxxxxxxxxxxxxxx
> ntPassword:xxxxxxxxxxxxxxxxxxxxxxx
> lmPassword:xxxxxxxxxxxxxxxxxxxxxxx
> acctFlags:xxxxxxxxxxxxxxxxxxx
> 
> seguendo un how-to che ho trovato in rete mi si dice poi che devo aggiungere 
> anche il rid (che suppongo sia l'equivalente del uid in windows) ma non so 
> dove reperirlo.
> Qualcuno mi sa dare qualche dritta o qualche link.
> grazie.
> 
> Ghido
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE+bdR/GMZ7BdbLhuURAnOQAJ9pYSYxro0FcQk4e8g5G2f/NIW6PwCfbvON
> z0M+OSCYkdEAwbN5Ovejjps=
> =mDui
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Samba-it mailing list
> Samba-it at xsec.it
> http://lists.xsec.it/mailman/listinfo/samba-it
-- 
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-it/attachments/20030311/d4158d72/attachment.pgp>


More information about the samba-it mailing list