you are right, I was not exhaustive in my request, sorry: from samba 4.7.x with ldap backend to samba 4.10.x with ldap backend, so I was wondering if it was possible to do a ldbsearch from the old one and import a possible ldif on the new one. thnx. Il giorno mar 29 ott 2019 alle ore 18:49 Emmanuel Florac < eflorac at intellique.com> ha scritto:> Le Tue, 29 Oct 2019 18:26:09 +0100 > banda bassotti via samba <samba at lists.samba.org> ?crivait: > > > hello, I need to extract user passwords from a samba 4.7.x and import > > them into new samba 4.10.x, any suggestions? thanks in advance. > > What is the passdb backend you're using? If it's the standard tdb, > copying the tdb files in /var/lib/samba/private/ should be enough. > > -- > ------------------------------------------------------------------------ > Emmanuel Florac | Direction technique > | Intellique > | <eflorac at intellique.com> > | +33 1 78 94 84 02 > ------------------------------------------------------------------------ >
On 29/10/2019 18:44, banda bassotti via samba wrote:> you are right, I was not exhaustive in my request, sorry: from samba 4.7.x > with ldap backend to samba 4.10.x with ldap backend, so I was wondering if > it was possible to do a ldbsearch from the old one and import a possible > ldif on the new one.I think you actually mean from a 4.7.x Samba AD DC to a new 4.10.x AD DC, you wouldn't use 'ldbsearch' against LDAP. If this is the case, then no, but you might be able to sync passwords with 'samba-tool user syncpasswords', but if you do set this up, you will need to change the passwords anyway. If it isn't a Samba AD DC, then please give us more info. Rowland
:) yes from samba ad dc to a new samba ad dc, using samba-tool should I wait for users to change passwords or can I do it at any time? Il giorno mar 29 ott 2019 alle ore 19:54 Rowland penny via samba < samba at lists.samba.org> ha scritto:> On 29/10/2019 18:44, banda bassotti via samba wrote: > > you are right, I was not exhaustive in my request, sorry: from samba > 4.7.x > > with ldap backend to samba 4.10.x with ldap backend, so I was wondering > if > > it was possible to do a ldbsearch from the old one and import a possible > > ldif on the new one. > > I think you actually mean from a 4.7.x Samba AD DC to a new 4.10.x AD > DC, you wouldn't use 'ldbsearch' against LDAP. > > If this is the case, then no, but you might be able to sync passwords > with 'samba-tool user syncpasswords', but if you do set this up, you > will need to change the passwords anyway. > > If it isn't a Samba AD DC, then please give us more info. > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >