Jeanderson Soares
2017-Mar-29 04:02 UTC
[Samba] Provision new domain keeping users and passwords
I was able to do this by exporting and importing users (including passwords) with the pdbedit samba utility. Look at this: Http://serverfault.com/questions/675938/migrate-samba-users-to-new-server Maybe you need to change the passdb backend 2017-03-28 2:49 GMT-03:00 Mike Lykov via samba <samba at lists.samba.org>:> 27.03.2017 22:48, Santiago Londoño Mejía via samba пишет: > >> Hello, >> >> I try to add a new dc to my domain, but the sysadmin installed the >> main dc left misconfigured dns zones that I can not remove. >> >> ¿Is it possible to provision the domain again using new samba as main >> dc Keeping users and passwords Of the previous dc? >> The current main dc runs samba 4.4. >> > > I am also interested in this task, I have 4.1 old (two) DC with errors in > dns zones (undeletable items) and planning upgrade to 4.5 or 4.6 . > > > -- > Mike Lykov, system administrator > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Santiago Londoño Mejía
2017-Mar-29 12:52 UTC
[Samba] Provision new domain keeping users and passwords
Hello, Is this procedure for samba as DC? Best regards, Santiago. 2017-03-28 23:02 GMT-05:00, Jeanderson Soares via samba <samba at lists.samba.org>:> I was able to do this by exporting and importing users (including > passwords) with the pdbedit samba utility. > > Look at this: > Http://serverfault.com/questions/675938/migrate-samba-users-to-new-server > Maybe you need to change the passdb backend > > 2017-03-28 2:49 GMT-03:00 Mike Lykov via samba <samba at lists.samba.org>: > >> 27.03.2017 22:48, Santiago Londoño Mejía via samba пишет: >> >>> Hello, >>> >>> I try to add a new dc to my domain, but the sysadmin installed the >>> main dc left misconfigured dns zones that I can not remove. >>> >>> ¿Is it possible to provision the domain again using new samba as main >>> dc Keeping users and passwords Of the previous dc? >>> The current main dc runs samba 4.4. >>> >> >> I am also interested in this task, I have 4.1 old (two) DC with errors in >> dns zones (undeletable items) and planning upgrade to 4.5 or 4.6 . >> >> >> -- >> Mike Lykov, system administrator >> >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Santiago Londoño Mejía Analista de Infraestructura t. (574) 605 25 23 ext. 1232 m. (57) 3148332567 Medellín | Carrera 50 C #10 Sur 80 Bogotá | Medellín | Cali www.pragma.com.co -- Este mensaje es confidencial. Puede contener información privilegiada que pertenece a PRAGMA S.A. y/o a sus clientes, contratistas, directores, empleados y asesores, por tanto no debe ser usado ni divulgado por personas distintas a su destinatario. Si obtiene este mensaje por error, equivocación u omisión, por favor bórrelo y avise al remitente. Está prohibida su retención, grabación, utilización o divulgación con cualquier propósito. Este mensaje ha sido sometido a programas antivirus. No obstante, PRAGMA S.A. no asume ninguna responsabilidad por eventuales daños generados por el recibo y uso de este material, siendo responsabilidad del destinatario verificar con sus propios medios la existencia de virus u otros defectos. Las opiniones, conclusiones y otra información contenida en este correo no relacionadas con el negocio oficial de PRAGMA S.A., deben entenderse como personales y de ninguna manera son avaladas por la Compañía.
29.03.2017 16:52, Santiago Londoño Mejía via samba пишет:> Hello, > Is this procedure for samba as DC?I'm in doubt about it, it looks like it for old-style NT Domain... Maybe more skiiled people comment it.> 2017-03-28 23:02 GMT-05:00, Jeanderson Soares via samba <samba at lists.samba.org>: >> I was able to do this by exporting and importing users (including >> passwords) with the pdbedit samba utility. >> >> Look at this: >> Http://serverfault.com/questions/675938/migrate-samba-users-to-new-server >> Maybe you need to change the passdb backend >> >> 2017-03-28 2:49 GMT-03:00 Mike Lykov via samba <samba at lists.samba.org>: >> >>> 27.03.2017 22:48, Santiago Londoño Mejía via samba пишет: >>> >>>> Hello, >>>> >>>> I try to add a new dc to my domain, but the sysadmin installed the >>>> main dc left misconfigured dns zones that I can not remove. >>>> >>>> ¿Is it possible to provision the domain again using new samba as main >>>> dc Keeping users and passwords Of the previous dc? >>>> The current main dc runs samba 4.4. >>>> >>> >>> I am also interested in this task, I have 4.1 old (two) DC with errors in >>> dns zones (undeletable items) and planning upgrade to 4.5 or 4.6 . >>> >>> >>> -- >>> Mike Lykov, system administrator >>> >>> >>> -- >>> To unsubscribe from this list go to the following URL and read the >>> instructions: https://lists.samba.org/mailman/options/samba >>> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> > >-- Mike Lykov, system administrator
Jeanderson Soares
2017-Mar-29 13:50 UTC
[Samba] Provision new domain keeping users and passwords
Yes, but for DC you should use tdbsam instead of smbpasswd in the "-e" and' "-i" parameters. After that, I had some problems with the RIDs when creating new users, and had to manually change the ridnextrid attribute. Em 29 de mar de 2017 9:52 AM, "Santiago Londoño Mejía" < santiago.londono at pragma.com.co> escreveu:> Hello, > Is this procedure for samba as DC? > Best regards, > Santiago. > > > > > 2017-03-28 23:02 GMT-05:00, Jeanderson Soares via samba < > samba at lists.samba.org>: > > I was able to do this by exporting and importing users (including > > passwords) with the pdbedit samba utility. > > > > Look at this: > > Http://serverfault.com/questions/675938/migrate- > samba-users-to-new-server > > Maybe you need to change the passdb backend > > > > 2017-03-28 2:49 GMT-03:00 Mike Lykov via samba <samba at lists.samba.org>: > > > >> 27.03.2017 22:48, Santiago Londoño Mejía via samba пишет: > >> > >>> Hello, > >>> > >>> I try to add a new dc to my domain, but the sysadmin installed the > >>> main dc left misconfigured dns zones that I can not remove. > >>> > >>> ¿Is it possible to provision the domain again using new samba as main > >>> dc Keeping users and passwords Of the previous dc? > >>> The current main dc runs samba 4.4. > >>> > >> > >> I am also interested in this task, I have 4.1 old (two) DC with errors > in > >> dns zones (undeletable items) and planning upgrade to 4.5 or 4.6 . > >> > >> > >> -- > >> Mike Lykov, system administrator > >> > >> > >> -- > >> To unsubscribe from this list go to the following URL and read the > >> instructions: https://lists.samba.org/mailman/options/samba > >> > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/options/samba > > > > > -- > Santiago Londoño Mejía > Analista de Infraestructura > t. (574) 605 25 23 ext. 1232 > m. (57) 3148332567 > Medellín | Carrera 50 C #10 Sur 80 > Bogotá | Medellín | Cali > www.pragma.com.co > > -- > > > Este mensaje es confidencial. Puede contener información privilegiada que > pertenece a PRAGMA S.A. y/o a sus clientes, contratistas, directores, > empleados y asesores, por tanto no debe ser usado ni divulgado por personas > distintas a su destinatario. Si obtiene este mensaje por error, > equivocación u omisión, por favor bórrelo y avise al remitente. > > Está prohibida su retención, grabación, utilización o divulgación con > cualquier propósito. > > Este mensaje ha sido sometido a programas antivirus. No obstante, PRAGMA > S.A. no asume ninguna responsabilidad por eventuales daños generados por el > recibo y uso de este material, siendo responsabilidad del destinatario > verificar con sus propios medios la existencia de virus u otros defectos. > > Las opiniones, conclusiones y otra información contenida en este correo no > relacionadas con el negocio oficial de PRAGMA S.A., deben entenderse como > personales y de ninguna manera son avaladas por la Compañía. > >