Re: [Samba] retrieve machine password in current Samba?
- Date: Fri, 24 Nov 2017 17:43:16 +0000
- From: IT Support via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] retrieve machine password in current Samba?
Many thanks Andrew, that's perfect! Will try it out next week.
From: Andrew Bartlett [mailto:abartlet@xxxxxxxxx]
Sent: 24 November 2017 02:04
To: IT Support <itsupport@xxxxxxxxxxxxxxxxx>; samba@xxxxxxxxxxxxxxx
Cc: Gary Lockyer <gary@xxxxxxxxxxxxxxx>
Subject: Re: [Samba] retrieve machine password in current Samba?
On Tue, 2017-11-21 at 15:59 +0000, IT Support via samba wrote:
> On Thu Sep 7 23:41:01 UTC 2017, Andrew Bartlett via samba wrote:
> > I've looked into this, and I don't think we have changed the format,
> > it is just that we stopped keeping to ascii and small lengths for
> > the passwords. That flood of binary stuff is really the password!
> > So, the tdbdump output is still correct, but do you have to
> > un-escape it.
> > Otherwise, the attached script will print it on stdout, if you like
> > it and it works for you I can drop it in source4/scripting/bin for
> > posterity.
> Sorry to jump on an old thread, but have just stumbled across this and
> would also find such a script useful. AFAICT, the attachment mentioned
> above isn't available to download from the mailing list archive.
> Please could you direct me to where I can find a copy please? Have
> checked source4/scripting/bin, but not sure the file name and doesn't
> appear to be in master, would it be in a specific branch?
Here is is. I need to write a test before it can get into master (or co-opt Gary into doing it ;-)
There is also a mymachinepw script there, but that would only work on the AD DC, not on a member server.
Authentication Developer, Samba Team https://samba.org
Samba Development and Support, Catalyst IT
Information in this email and any attachments is confidential and intended solely for the use of the individual(s) to whom it is addressed. Please note that any views or opinions presented in this email are solely those of the sender and do not necessarily represent those of BioPharmaSpec. BioPharmaSpec Group services are carried out under the respective company’s Standard Terms and Conditions, which are available on request.
To unsubscribe from this list go to the following URL and read the