[Samba-it] cambiare il SID

Giacomo Picciani giacomo.picciani at duet.it
Mon Nov 22 04:31:19 MST 2010


Ciao a tutti,
sto lavorando su un PDC con Samba e OpenLDAP. Il server è andato giu e ho
dovuto installare nuovamente tutto.
Però avevo fatto il backup del SID.

Durante la procedura di installazione, vorrei ripristinare il SID.
Come posso fare?

grazie mille
ciao

2010/11/22 <samba-it-request at lists.xsec.it>

> Send Samba-it mailing list submissions to
>        samba-it at lists.xsec.it
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.xsec.it/mailman/listinfo/samba-it
> or, via email, send a message with subject or body 'help' to
>        samba-it-request at lists.xsec.it
>
> You can reach the person managing the list at
>        samba-it-owner at lists.xsec.it
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Samba-it digest..."
>
>
> Today's Topics:
>
>   1. problemi server membro (Piviul)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 22 Nov 2010 09:55:23 +0100
> From: Piviul <piviul at riminilug.it>
> Subject: [Samba-it] problemi server membro
> To: samba-it at lists.xsec.it
> Message-ID: <4CEA2FFB.8060407 at riminilug.it>
> Content-Type: text/plain; charset=ISO-8859-15
>
> Ciao a tutti, ho un server membro di un dominio samba le cui credenziali
> sono passate tramite winbind.
>
> Venerdì scorso ho avuto qualche problema riguardo il mappaggio sid->uid.
> Come sintomo avevo che gli utenti non avevano più la possibilità di
> scrittura nella loro home. Ho stoppato samba, winbind eliminato
> idmap_cache.tdb, winbindd_cache.tdb, netsamlogon_cache.tdb e riavviato
> samba e winbind ma la cosa non sembrava essersi risistemata. Ho
> riavviato il server e sembra che tutto sia tornato alla normalità... o
> quasi: se eseguo su - nomedominio\\nomeutente da root non succede un bel
> nulla come qui sotto riportato:
>
> > serverdati:~# getent passwd | grep psala
> > DOMINIOCSA\psala:*:21046:10513:Paolo
> > Sala:/home/DOMINIOCSA/psala:/bin/false
> > serverdati:~# su - dominiocsa\\psala
> > serverdati:~# whoami
> > root
>
> Eppure ho anche altri sever membro e questo non accade e hanno le stesse
> versioni di samba, le stesse impostazioni. Cosa può essere successo?
>
> Questo è la sezione [General] di smb.conf di serverdati:
> >     unix charset = ISO8859-15
> >     workgroup = DOMINIOCSA
> >     server string = %h server (Samba %v)
> >     security = DOMAIN
> >     allow trusted domains = No
> >     obey pam restrictions = Yes
> >     passdb backend = tdbsam
> >     passwd program = /usr/bin/passwd %u
> >     passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> > *Retype\snew\sUNIX\spassword:* %n\n .
> >     syslog = 0
> >     log file = /var/log/samba/log.%m
> >     max log size = 1000
> >     dns proxy = No
> >     wins server = eth0:192.168.70.2
> >     panic action = /usr/share/samba/panic-action %d
> >     idmap uid = 10000-25000
> >     idmap gid = 10000-25000
> >     winbind enum users = Yes
> >     winbind enum groups = Yes
> >     idmap config DOMINIOCSA:range = 10000 - 25000
> >     idmap config DOMINIOCSA:base_rid = 1000
> >     idmap config DOMINIOCSA:backend = rid
> >     invalid users = root
> >     inherit acls = Yes
> >     map acl inherit = Yes
> >     map archive = No
> >     include = /etc/samba/dhcp.conf
>
> Se qualcuno avesse qualche suggerimento gliene sarei eternamente grato
>
> Piviul
>
>
> ------------------------------
>
> _______________________________________________
> Samba-it mailing list
> Samba-it at lists.xsec.it
> https://lists.xsec.it/mailman/listinfo/samba-it
>
>
> End of Samba-it Digest, Vol 46, Issue 11
> ****************************************
>



-- 
Giacomo Picciani
2T srl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/samba-it/attachments/20101122/e4e6f6e3/attachment.html>


More information about the samba-it mailing list