Displaying 8 results from an estimated 8 matches for "w28".
Did you mean:
28
2017 Nov 04
2
ntfs user mappings?
...t but I'll try ldb-tools
>>
>> I was off on a bash mission here is what I had so far it isn't correct
>> so I'll keep working on it
>>
>> #!/bin/bash
>> if [ "$(echo $1|wc -c)" = "41" ];then
>> hex=$(echo $1|base64 -d| od -x -w28 --endian=big|head -n1|sed
>> 's/^0000000 //'|sed 's/ //g')
>> echo ${hex}
>> hex_chunk=$(echo ${hex}|cut -c1-2);
>> echo ${hex_chunk}
>> rev=$(echo "ibase=16; ${hex_chunk}" | bc)
>> hex_chunk=$(echo ${hex}|cut -c3-4)
>> echo ${hex_...
2017 Nov 05
3
ntfs user mappings?
...ut -c$2-$3)
> little=$(echo ${hex_chunk}|awk '{print
> substr($0,7,2)substr($0,5,2)substr($0,3,2)substr($0,1,2)}')
> echo "ibase=16; ${little}" | bc
> }
>
> base64_to_sid()
> {
> OBJECTSID="$1"
> hex=$(echo ${OBJECTSID}|base64 -d|od -A n -x -w28 --endian=big|sed 's/
> //g'|awk '{print toupper($1)}')
> hex_chunk=$(echo ${hex}|cut -c1-2);
> rev=$(echo "ibase=16; ${hex_chunk}" | bc)
> hex_chunk=$(echo ${hex}|cut -c3-4)
> dashes=$(echo "ibase=16; ${hex_chunk}" | bc)
> hex_chunk=$(echo ${hex...
2017 Nov 03
2
ntfs user mappings?
That looks easier
I was working on ldap to convert but I'll try ldb-tools
I was off on a bash mission here is what I had so far it isn't correct
so I'll keep working on it
#!/bin/bash
if [ "$(echo $1|wc -c)" = "41" ];then
hex=$(echo $1|base64 -d| od -x -w28 --endian=big|head -n1|sed
's/^0000000 //'|sed 's/ //g')
echo ${hex}
hex_chunk=$(echo ${hex}|cut -c1-2);
echo ${hex_chunk}
rev=$(echo "ibase=16; ${hex_chunk}" | bc)
hex_chunk=$(echo ${hex}|cut -c3-4)
echo ${hex_chunk}
dashes=$(echo "ibase=16; ${hex_chunk}" | bc)
h...
2017 Nov 05
0
ntfs user mappings?
...ex2int()
{
hex=$1
hex_chunk=$(echo ${hex}|cut -c$2-$3)
little=$(echo ${hex_chunk}|awk '{print
substr($0,7,2)substr($0,5,2)substr($0,3,2)substr($0,1,2)}')
echo "ibase=16; ${little}" | bc
}
base64_to_sid()
{
OBJECTSID="$1"
hex=$(echo ${OBJECTSID}|base64 -d|od -A n -x -w28 --endian=big|sed 's/
//g'|awk '{print toupper($1)}')
hex_chunk=$(echo ${hex}|cut -c1-2);
rev=$(echo "ibase=16; ${hex_chunk}" | bc)
hex_chunk=$(echo ${hex}|cut -c3-4)
dashes=$(echo "ibase=16; ${hex_chunk}" | bc)
hex_chunk=$(echo ${hex}|cut -c5-16)
notsure=$(echo &...
2017 Nov 05
0
ntfs user mappings?
...${hex_chunk}|awk '{print
>> substr($0,7,2)substr($0,5,2)substr($0,3,2)substr($0,1,2)}')
>> echo "ibase=16; ${little}" | bc
>> }
>>
>> base64_to_sid()
>> {
>> OBJECTSID="$1"
>> hex=$(echo ${OBJECTSID}|base64 -d|od -A n -x -w28 --endian=big|sed 's/
>> //g'|awk '{print toupper($1)}')
>> hex_chunk=$(echo ${hex}|cut -c1-2);
>> rev=$(echo "ibase=16; ${hex_chunk}" | bc)
>> hex_chunk=$(echo ${hex}|cut -c3-4)
>> dashes=$(echo "ibase=16; ${hex_chunk}" | bc)
>>...
2017 Nov 04
0
ntfs user mappings?
...working on ldap to convert but I'll try ldb-tools
>
> I was off on a bash mission here is what I had so far it isn't correct
> so I'll keep working on it
>
> #!/bin/bash
> if [ "$(echo $1|wc -c)" = "41" ];then
> hex=$(echo $1|base64 -d| od -x -w28 --endian=big|head -n1|sed
> 's/^0000000 //'|sed 's/ //g')
> echo ${hex}
> hex_chunk=$(echo ${hex}|cut -c1-2);
> echo ${hex_chunk}
> rev=$(echo "ibase=16; ${hex_chunk}" | bc)
> hex_chunk=$(echo ${hex}|cut -c3-4)
> echo ${hex_chunk}
> dashes=$(echo &q...
2017 Nov 03
2
ntfs user mappings?
On Fri, Nov 3, 2017 at 2:43 PM, Rowland Penny <rpenny at samba.org> wrote:
> On Fri, 3 Nov 2017 13:53:22 -0600
> Jeff Sadowski via samba <samba at lists.samba.org> wrote:
>
>> just get objectsid and use this
>>
>> https://blogs.msdn.microsoft.com/oldnewthing/20040315-00/?p=40253
>
> Why ???
>
So that when someone on a linux machine writes to disk
2020 Feb 27
2
[PATCH] Update the 5 year logo to 10 year logo
...{{VzBF6)Nsb^@A`0UY?5%m%ksDP$VqD
zJf%4i@hx@E?2JvM?n-E_f=+qkH}bs0cLDh|C*w26ChSXB_e%EPJI*@n)loqp$1JwA
zf2SS?%(?#w2E@i4ucQoyg#NWZmF8)*lb`#6w5Cr7G<(IG6UN*6>R$pynSnykyWSuc
zykEW8IxoIN(V=3}O&=Am$(vZ^D-jFu5p?sT1ymN{1PfD_4+-b!Y)}MBKVOJI-Fq9<
zw772BU)uaQZ@{nFrZHO}OWrvazNrlepN~&XY2pj|cC4S+r=p^w28!fTYf9`{?mXY@
zfv_P|Zx{rX?H<{@<(VFFD?T3BOQ`xT`{034=pe;3IQZlnyIhY8hWhESd|F5Y<<i;+
z7o8X#Gbq(DQERdQ3h#GMgIxKh-_Pbw9)(+2a_@F53Be3RGgjCdRL;3$VfdWRJ1x0z
z-FK)uRsuGTi_<O-j%}YFSe{mx=tuR{Yfp$%h87*M?M=<(U*okbyY6lNN)qGC(sM6F
zvu+<7Qru=J{2%5X|3n+w_8{Bw!{}wL-?jyG9;izlufUi0+52o=*4;Cj?gaDj>...