[Samba-it] winbind e gruppi
Andrea Dinale
andrea at dinale.it
Mon Jul 4 10:12:01 MDT 2005
Simo Sorce disse:
>> quel 10020 non esiste da nessuna parte, non so da dove sia saltato fuori
>
> mi puoi dare l'output di pdbedit (-L -v) per l'utente in questione sul
> server? (E anche l'output di getent passwd sempre per lo stesso utente
> sul server.
ok, dato che avevo gia' cancellato l'utente, lo ricreo e riposto tutto,
ut001 e' il client dante e' il server
testzxc at ut001:~$ getent passwd testzxc
testzxc:x:10029:10020:zxc,,,:/home/testzxc:/bin/bash
testzxc at ut001:~$ id
uid=10029(testzxc) gid=10020 gruppi=10020
dante:~# pdbedit -L testzxc
testzxc:1030:,,,
dante:~# pdbedit -v testzxc
Unix username: testzxc
NT username:
Account Flags: [U ]
User SID: S-1-5-21-2247253694-2575199402-4273409211-3060
Primary Group SID: S-1-5-21-2247253694-2575199402-4273409211-3061
Full Name: ,,,
Home Directory: \\dante\testzxc
HomeDir Drive:
Logon Script:
Profile Path: \\dante\testzxc\profile
Domain: TEST
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: Fri, 13 Dec 1901 21:45:51 GMT
Kickoff time: Fri, 13 Dec 1901 21:45:51 GMT
Password last set: Mon, 04 Jul 2005 09:55:51 GMT
Password can change: Mon, 04 Jul 2005 09:55:51 GMT
Password must change: Fri, 13 Dec 1901 21:45:51 GMT
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
dante:~# getent passwd testzxc
testzxc:x:1030:1030:,,,:/home/testzxc:/bin/bash
> Ed ècorrettissimo, quelli sono dei range di mappattura, ma la mappa poi
> è ovviamente statica, se li cambi l'unica cosa che ottieni è sbananarti
> il file delle mappe, ora potresti avere un HWM di 20000 e se torni a
> 10000-20000 non riuscirai più ad allocare un singolo UID.
> Brutta mossa.
e te pareva, ho fatto casino :-(
>> Temo di aver fatto qualche casino nella configurazione, ma non capisco
>> cosa :-((
>
> Ora sei costretto ad usare un range 10000-30000 per non rischiare di non
> poter più allocare UID (in teoria non dovresti avere problemi se non hai
> trust, ma può sempre essee che l'HWM sia stato alzato al nuovo minimo
> che hai settato e l'HWM non può essere mai portato indietro).
TNX
Andrea
More information about the samba-it
mailing list