Displaying 20 results from an estimated 2000 matches similar to: "Import of exported unicodePwd does not update Kerberos password"
2024 Dec 02
1
Import of exported unicodePwd does not update Kerberos password
On Mon, 2 Dec 2024 10:54:38 +0100
"Emil.s via samba" <samba at lists.samba.org> wrote:
> Hello,
>
> I'm troubleshooting an old backup script that exports and imports
> users from a Samba database using `samba-tool`.
>
> It's implemented so that passwords are exported using "samba-tool user
> getpassword {username} --attributes=unicodePwd".
2024 Dec 02
1
Import of exported unicodePwd does not update Kerberos password
> it is supposed to be write-only. You can read the attribute on Samba,
> but what you get back isn't the password, is a 64bit hash of the
> password.
Ah, right. I guess this is somewhat legacy functionality then?
> Why would you backup a user ?
I see many cases where this could be useful:
* Pre-provisioning of users where we get the user list from a 3rd party
source.
* Copying
2017 Apr 09
1
Samba 4 account with a 'ldbmodify-ed' password does not login into domain from a Windows 7 VM
On Sun, 2017-04-09 at 16:12 +0100, Rowland Penny via samba wrote:
> On Sun, 09 Apr 2017 14:47:59 +0000
> Leonardo Bruno Lopes via samba <samba at lists.samba.org> wrote:
>
>
>
> > Is there any chance that this could mean I only need to wipe
> > 'supplementalCredentials' attribute -- I saw that it is possible
> > --
> > after set the
2017 Apr 09
6
Samba 4 account with a 'ldbmodify-ed' password does not login into domain from a Windows 7 VM
Citando Andrew Bartlett <abartlet at samba.org>:
> On Fri, 2017-04-07 at 20:32 +0000, Leonardo Bruno Lopes via samba
> wrote:
>> Hi everyone!
>>
>> I have a LDAP with all my users' accounts, each one with the
>> sambaNTPassaword correctly defined. I also have a freshly installed
>> Samba
>> 4.2 running on a Debian 8.7 box.
>>
>> I
2019 Mar 28
2
Encoding problem with the unicodePwd stored into sam.ldb
hello,
I use Samba 4.9.5 on Linux Debian 9.
I want to extract users' passwords. A lot of passwords are ok, some are not.
Example with a password returning an error :
# ldbsearch -H /var/lib/samba/private/sam.ldb '(primaryGroupID=513)'
userPrincipalName unicodePwd
....
# record 494
dn: CN=XXX,CN=Users,DC=YYY,DC=ZZZ,DC=fr
unicodePwd:: wXQvJaSkn0gvg1POsY9Icw==
uidNumber: 5110
2016 Oct 26
2
samba-tool user getpassword --decrypt-samba-gpg
Hello,
I'm looking to use the new 'samba-tool user getpassword' or 'samba-tool
user syncpasswords' for syncing to an OpenLDAP server. I've configured the
'password hash gpg key ids' in smb.conf. Everything appears to be working
fine, except the plaintext passwords returned from samba-tool user
getpassword --decrypt-samba-gpg are different. Do the returned values
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
Hi,
I'm tying to set user's LDAP passwords using LDAP.
`samba-tool user setpassword` does so by setting the write-only
`unicodePwd` attribute, but turning it into binary and Base64-encoding
it first:
```
if not isinstance(password, str):
pw = password.decode('utf-8')
else:
pw = password
pw = ('"' + pw + '"').encode('utf-16-le')
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
On Sun, 27 Oct 2024 13:58:56 +0100
William David Edwards via samba <samba at lists.samba.org> wrote:
> Hi,
>
> I'm tying to set user's LDAP passwords using LDAP.
>
> `samba-tool user setpassword` does so by setting the write-only
> `unicodePwd` attribute, but turning it into binary and
> Base64-encoding it first:
>
> ```
> if not
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
> Op 27 okt 2024 om 14:50 heeft Rowland Penny via samba <samba at lists.samba.org> het volgende geschreven:
>
> ?On Sun, 27 Oct 2024 13:58:56 +0100
> William David Edwards via samba <samba at lists.samba.org> wrote:
>
>> Hi,
>>
>> I'm tying to set user's LDAP passwords using LDAP.
>>
>> `samba-tool user setpassword` does so by
2024 Oct 27
2
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
On Sun, 27 Oct 2024 15:08:14 +0100
William Edwards <wedwards at cyberfusion.nl> wrote:
>
> > Op 27 okt 2024 om 14:50 heeft Rowland Penny via samba
> > <samba at lists.samba.org> het volgende geschreven:
> >
> > ?On Sun, 27 Oct 2024 13:58:56 +0100
> > William David Edwards via samba <samba at lists.samba.org> wrote:
> >
> >> Hi,
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
On Sun, 27 Oct 2024 19:55:24 +0100
William David Edwards <wedwards at cyberfusion.nl> wrote:
> Rowland Penny via samba schreef op 2024-10-27 15:31:
> > On Sun, 27 Oct 2024 15:08:14 +0100
> > William Edwards <wedwards at cyberfusion.nl> wrote:
> >
> >>
> >> > Op 27 okt 2024 om 14:50 heeft Rowland Penny via samba
> >> > <samba
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
Rowland Penny via samba schreef op 2024-10-27 15:31:
> On Sun, 27 Oct 2024 15:08:14 +0100
> William Edwards <wedwards at cyberfusion.nl> wrote:
>
>>
>> > Op 27 okt 2024 om 14:50 heeft Rowland Penny via samba
>> > <samba at lists.samba.org> het volgende geschreven:
>> >
>> > ?On Sun, 27 Oct 2024 13:58:56 +0100
>> > William
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
Op 27-10-2024 om 15:31 schreef Rowland Penny via samba:
> On Sun, 27 Oct 2024 15:08:14 +0100
> William Edwards <wedwards at cyberfusion.nl> wrote:
>
>>> Op 27 okt 2024 om 14:50 heeft Rowland Penny via samba
>>> <samba at lists.samba.org> het volgende geschreven:
>>>
>>> ?On Sun, 27 Oct 2024 13:58:56 +0100
>>> William David Edwards
2024 Oct 27
2
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
Kees van Vloten via samba schreef op 2024-10-27 15:37:
> Op 27-10-2024 om 15:31 schreef Rowland Penny via samba:
>> On Sun, 27 Oct 2024 15:08:14 +0100
>> William Edwards <wedwards at cyberfusion.nl> wrote:
>>
>>>> Op 27 okt 2024 om 14:50 heeft Rowland Penny via samba
>>>> <samba at lists.samba.org> het volgende geschreven:
>>>>
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
Op 27-10-2024 om 19:58 schreef William David Edwards:
> Kees van Vloten via samba schreef op 2024-10-27 15:37:
>> Op 27-10-2024 om 15:31 schreef Rowland Penny via samba:
>>> On Sun, 27 Oct 2024 15:08:14 +0100
>>> William Edwards <wedwards at cyberfusion.nl> wrote:
>>>
>>>>> Op 27 okt 2024 om 14:50 heeft Rowland Penny via samba
2024 Aug 14
2
a way to migrate pasword from Samba 4.0 AD DC to new AD DC?
Dne 2024.08.14 10:16, Rowland Penny via samba wrote:
> On Wed, 14 Aug 2024 05:56:22 +0200
> Franta Hanzl?k via samba <samba at lists.samba.org> wrote:
>
>> Please, is there any way to migrate passwords from old Samba 4.0 Ad DC
>> to new (Samba 4.20) one?
>
> Yes, add another DC, but you will probably have to do it in stages,
> Samba 4.0.x went EOL 9 years ago.
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
Kees van Vloten schreef op 2024-10-27 20:45:
> Op 27-10-2024 om 19:58 schreef William David Edwards:
>> Kees van Vloten via samba schreef op 2024-10-27 15:37:
>>> Op 27-10-2024 om 15:31 schreef Rowland Penny via samba:
>>>> On Sun, 27 Oct 2024 15:08:14 +0100
>>>> William Edwards <wedwards at cyberfusion.nl> wrote:
>>>>
2024 Aug 14
1
a way to migrate pasword from Samba 4.0 AD DC to new AD DC?
Please, is there any way to migrate passwords from old Samba 4.0 Ad DC
to new (Samba 4.20) one?
On ldbsearch export on old AD only related item I see is 'unicodePwd'
attribute, and it is maybe possible write to new system using ldbmodify
- but it is right and simplest solution?
And one more question - why don't I get any result from the command
(on 4.20 AD DC, provisioned with
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
Op 27-10-2024 om 21:11 schreef William David Edwards:
> Kees van Vloten schreef op 2024-10-27 20:45:
>> Op 27-10-2024 om 19:58 schreef William David Edwards:
>>> Kees van Vloten via samba schreef op 2024-10-27 15:37:
>>>> Op 27-10-2024 om 15:31 schreef Rowland Penny via samba:
>>>>> On Sun, 27 Oct 2024 15:08:14 +0100
>>>>> William Edwards
2024 Aug 14
1
a way to migrate pasword from Samba 4.0 AD DC to new AD DC?
On Wed, 14 Aug 2024 05:56:22 +0200
Franta Hanzl?k via samba <samba at lists.samba.org> wrote:
> Please, is there any way to migrate passwords from old Samba 4.0 Ad DC
> to new (Samba 4.20) one?
Yes, add another DC, but you will probably have to do it in stages,
Samba 4.0.x went EOL 9 years ago. I think you would have to upgrade to
4.5.x then 4.20.x
> On ldbsearch export on old AD