Displaying 5 results from an estimated 5 matches for "mailtest_rowland".
2017 Feb 09
5
Users list and the date the password will expire
On Thu, 9 Feb 2017 12:49:12 +0100
Ole Traupe via samba <samba at lists.samba.org> wrote:
> Never mind. However, with your update I get the following error right
> on the first found "user":
>
> ./mailtest_rowland.sh: line 27: (""/10000000)-11644473600: syntax
> error: operand expected (error token is """/10000000)-11644473600")
>
I initially got that, so I added:
user=$(echo "${user}" | awk -F '\\' '{print $2}')
because, 'wbinfo -u' gi...
2017 Feb 09
0
Users list and the date the password will expire
...(${UNIXTimeStamp} - ${date_now}) / 3600 / 24))
With the 'awk' the user is empty. Querying $user before the awk shows
the correct user name without "DOMAIN\". This line seems not to be
necessary for me.
I also had to remove the quotes in the 3rd and last of these lines:
e.g.
./mailtest_rowland.sh: line 29:
("131479598790000000"/10000000)-11644473600: syntax error: operand
expected (error token is ""131479598790000000"/10000000)-11644473600")
Ole
On 09.02.2017 13:14, Rowland Penny wrote:
> On Thu, 9 Feb 2017 12:49:12 +0100
> Ole Traupe via samba &l...
2017 Feb 09
2
Users list and the date the password will expire
...24))
>
> With the 'awk' the user is empty. Querying $user before the awk shows
> the correct user name without "DOMAIN\". This line seems not to be
> necessary for me.
>
> I also had to remove the quotes in the 3rd and last of these lines:
>
> e.g.
> ./mailtest_rowland.sh: line 29:
> ("131479598790000000"/10000000)-11644473600: syntax error: operand
> expected (error token is ""131479598790000000"/10000000)-11644473600")
>
> Ole
>
>
> On 09.02.2017 13:14, Rowland Penny wrote:
>> On Thu, 9 Feb 2017 12:49:1...
2017 Feb 09
3
Users list and the date the password will expire
NOBODY updates my scripts! Except whoever wants, of course. ;)
Would you mind going into details regarding you changes?
Ole
On 09.02.2017 12:02, Rowland Penny via samba wrote:
> On Thu, 9 Feb 2017 11:26:55 +0100
> Ole Traupe <ole.traupe at tu-berlin.de> wrote:
>
>> But I got the timestamp subtraction constant right from the beginning!
>
> Hope you don't mind but
2017 Feb 09
0
Users list and the date the password will expire
Never mind. However, with your update I get the following error right on
the first found "user":
./mailtest_rowland.sh: line 27: (""/10000000)-11644473600: syntax error:
operand expected (error token is """/10000000)-11644473600")
Ole
On 09.02.2017 12:21, Ole Traupe via samba wrote:
> NOBODY updates my scripts! Except whoever wants, of course. ;)
>
> Would you mind goin...