[Tech] Samba gruppi NT

Marco Ermini markoer@firenze.linux.it
Mer 10 Ott 2001 11:21:52 CEST


Il Tue, 02 Oct 2001 16:47:41 +0100, Dinogen <dinogen@supereva.it> scrisse:

> Ciao,
> 
> C'e' modo con samba di associare gruppi NT con utenti linux in samba?
> 
> Per adesso ho usato "username map" per associare utenti NT a utenti linux, 
> ma non è molto versatile.

e' una stra-faq ;-)

certo che c'e' il modo.

man smb.conf ;-)

cerca "unix password sync"

addirittura, nel tuo smb.conf dovresti gia' avere una cosa del genere:


# The following are needed to allow password changing from Windows to
# update the Linux sytsem password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#        the encrypted SMB passwords. They allow the Unix password
#        to be kept in sync with the SMB password.
  unix password sync = yes
  passwd program = /usr/bin/passwd %u
  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n \
*passwd:*all*authentication*tokens*updated*successfully*

Praticamente, usi "security = domain" oppure "security = server" a specifichi
qual e' il server NT con gli utenti (leggi le man page). Quando un utente NT
cerca di sfogliare il tuo Linux, viene automaticamente creato un utente UNIX
con lo stesso nome dell'utente NT (questo e' si' versatile).


ciao

-- 
Marco Ermini
http://www.markoer.org - ICQ # 50825709 - AOL AIM enabled
There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence.      -- Jeremy S. Anderson




Maggiori informazioni sulla lista flug-tech