search for: change_username

Displaying 2 results from an estimated 2 matches for "change_username".

2019 Oct 10
2
user password hash
Rowland, Can you test this: echo -n $(ldbsearch -H /var/lib/samba/private/sam.ldb -b 'dc=CHANGE_BASE' -s sub '(&(objectclass=user)(samaccountname=CHANGE_USERNAME))' unicodePwd |grep unicode |awk '{ print $NF }') | base64 -d -w 0 | iconv -t UTF-8 -f UTF-16LE The results are chinees characters. But if i put it in the example you showed, it shows the correct things. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailt...
2019 Oct 10
3
user password hash
Hi Rowland, all, On 10/9/19 9:11 AM, Rowland penny via samba wrote: > You could run something like this on a Samba AD DC: > > ldbsearch -H /var/lib/samba/private/sam.ldb -b > 'dc=samdom,dc=example,dc=com' -s sub > '(&(objectclass=user)(samaccountname=rowland))' unicodePwd > > This will get you a users password, you just need to run it through the >