search for: ldbdir

Displaying 5 results from an estimated 5 matches for "ldbdir".

Did you mean: dbdir
2017 Feb 09
3
Users list and the date the password will expire
...> 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 I updated your script ;-) > > #!/bin/bash > > ### Set system defaults > > # Get path to sam.ldb > LDBDIR=$(samba -b | grep 'PRIVATE_DIR' | awk -F ':' '{print $NF}' | sed 's/^ *//g') > if [ -z "${LDBDIR}" ]; then > echo "This is supposed to be a DC, but cannot obtain the Private dir." > echo "Cannot Continue...Exiting." &g...
2017 Feb 08
4
Users list and the date the password will expire
Hi list, long time no see! :) I was looking for an email reminder script for users whose password will expire. Some of our users are on long travels and will never see the Domain's default notification. I haven't found any complete (and simple) solution online. So I wrote one. In case it helps anyone, you find it below. You should only have to fill in the blanks for the the
2017 Feb 09
0
Users list and the date the password will expire
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 I updated your script ;-) #!/bin/bash ### Set system defaults # Get path to sam.ldb LDBDIR=$(samba -b | grep 'PRIVATE_DIR' | awk -F ':' '{print $NF}' | sed 's/^ *//g') if [ -z "${LDBDIR}" ]; then echo "This is supposed to be a DC, but cannot obtain the Private dir." echo "Cannot Continue...Exiting." exit 1 else...
2017 Feb 09
0
Users list and the date the password will expire
...de> wrote: >> >>> But I got the timestamp subtraction constant right from the beginning! >> >> Hope you don't mind but I updated your script ;-) >> >> #!/bin/bash >> >> ### Set system defaults >> >> # Get path to sam.ldb >> LDBDIR=$(samba -b | grep 'PRIVATE_DIR' | awk -F ':' '{print $NF}' | >> sed 's/^ *//g') >> if [ -z "${LDBDIR}" ]; then >> echo "This is supposed to be a DC, but cannot obtain the Private >> dir." >> echo "Can...
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") >