search for: beforescript

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

Did you mean: before_script
2017 Sep 08
2
retrieve machine password in current Samba?
...ng to get that back into the form that I saw in the past, not realizing I didn't have to. But using your script and plugging that into wicd's wireless password works very well. Essentially it boils down to: Editing wicd's wireless-settings.conf: identity = host/HOSTNAME.local.domain beforescript = /usr/local/sbin/machine-passwd.sh And then machine-passwd.sh is similar to: password=`/usr/local/sbin/machineaccountpw` wicd-cli -y -n (network-id) --network-property password -s "${password}" (I have a little logic in there to grab the network ID since it changes from time to time....
2017 Sep 07
3
retrieve machine password in current Samba?
> -----Original Message----- > From: Andrew Bartlett [mailto:abartlet at samba.org] > Sent: Saturday, August 26, 2017 12:38 PM > To: James Zuelow; samba at lists.samba.org > Subject: Re: [Samba] retrieve machine password in current Samba? -- >8 -- snip -- 8< -- > > The recent secrets changes to store the krb5 hashes changed some things to > use a IDL defined NDR