Displaying 20 results from an estimated 200 matches similar to: "Users list and the date the password will expire"
2017 Feb 08
3
Users list and the date the password will expire
On Wed, 8 Feb 2017 18:32:15 +0100
Ole Traupe via samba <samba at lists.samba.org> wrote:
> That was weird: didn't see (expect) there to be a discussion right on
> the same topic going on at this very moment.
>
> Ole
>
>
> On 08.02.2017 17:37, Ole Traupe via samba wrote:
> > Hi list,
> >
> > long time no see! :)
> >
> > I was looking
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")
>
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
1
Users list and the date the password will expire
On 02/09/2017 11:25 AM, Ole Traupe via samba wrote:
> Exactly, and got reminded that I don't have to grep anything but can ask
> for specific parameters. Been a while that I used ldbsearch. ;)
>
So there will be an updated version of your script? :-)
Your script is something we could use as well, appreciated!
MJ
2017 Feb 08
0
Users list and the date the password will expire
That was weird: didn't see (expect) there to be a discussion right on
the same topic going on at this very moment.
Ole
On 08.02.2017 17:37, Ole Traupe via samba wrote:
> 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
2017 Feb 09
0
Users list and the date the password will expire
Exactly, and got reminded that I don't have to grep anything but can ask
for specific parameters. Been a while that I used ldbsearch. ;)
Ole
On 08.02.2017 18:46, Rowland Penny via samba wrote:
> On Wed, 8 Feb 2017 18:32:15 +0100
> Ole Traupe via samba <samba at lists.samba.org> wrote:
>
>> That was weird: didn't see (expect) there to be a discussion right on
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
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. ;)
2017 Feb 09
0
Users list and the date the password will expire
Actually, there were 2 problems. These lines work for me:
#user=$(echo "${user}" | awk -F '\\' '{print $2}')
user_expire_date=$(ldbsearch --url="${LDBDB}" -b "${domainDN}" -s
sub "(&(objectCategory=person)(objectClass=user)(sAMAccountName=$user))"
msDS-UserPasswordExpiryTimeComputed | grep
2008 Jul 12
3
calculations on nested resources
Hi,
I can''t seem to find a solution to the folowing problem.
I have 3 resources that are all bound to eachother like this:
class Item < ActiveRecord::Base
belongs_to :item_category
// has a date and amount attr
end
class ItemCategory < ActiveRecord::Base
has_many :items
has_many :item_tops
// groups the items in categories
end
class ItemTop < ActiveRecord::Base
2017 Feb 07
3
How to get password expiration?
figured out how to use ldapsearch also to get what I want.
Also found how to convert AD time to unix time
Another thing I wanted calculated was when an account expires.
ldapsearch -h ad.mydomain.tld -b dc=ad,dc=mydomain,dc=tld
"(sAMAccountName=$user)"
gives all the good information about a user.
here is how I used it to tell me all accounts expiring this next month.
h=ad.mydomain.tld
2010 Sep 23
1
Behavior of R CMD build and library() w.r.t. setGeneric-like functions
Hello developeRs,
Apologies in advance for a rather long email, but to describe the
problem, I need to step through many details. I have been working on a
new dispatching system (futile.paradigm on CRAN) based on functional
programming concepts that is an alternative to S3 and S4 dispatching. I
use a declarative syntax using guard statements to control the
dispatching between function variants. I
2017 Feb 09
2
Users list and the date the password will expire
I am running this on a CentOS 6.7 DC with Samba version 4.2.5.
Ole
On 09.02.2017 13:40, Ole Traupe via samba wrote:
> Actually, there were 2 problems. These lines work for me:
>
> #user=$(echo "${user}" | awk -F '\\' '{print $2}')
> user_expire_date=$(ldbsearch --url="${LDBDB}" -b "${domainDN}" -s
> sub
>
2015 Apr 09
2
samba member logon.. question.
Greetings, Rowland Penny!
>>>>> Ok, good.
>>>>> Now, how can I get RFC2307 attributes populated automatically upon
>>>>> users or
>>>>> groups creation?
>>>> You can't :-(
>>>> I'm experimenting with
>>>> https://github.com/laotse/SambaPosix
>>>> but it's quite buggy (at least
2015 Apr 09
3
samba member logon.. question.
El 09/04/15 a les 16:20, Rowland Penny ha escrit:
> On 09/04/15 14:58, Luca Olivetti wrote:
>> El 09/04/15 a les 14:57, Andrey Repin ha escrit:
>>>> Using the RFC2307 attributes, you will get the same ID number on every
>>>> Unix machine, whereas if you use the 'rid' backend, whilst you should
>>>> get the same ID on each Unix machine, you will
2018 May 29
2
Scripting the next UID/GID number to use
Hello,
I'm developing a script to create a user and pass along all the
necessary unix attributes required. I'm successful except when I go to
increment msSFU30MaxUidNumber or msSFU30MaxGidNumber. I'm not sure how
to use ldbedit to script this process. Any guidance would be great. Thanks.
- James
2010 Mar 04
2
Hi
How Can I write this this matlab code in R:
options=optimset('TolFun',1e-9,'TolX',1e-9,'MaxIter',1e8,'MaxFunEvals',1e8);
c=c/2;
[alpha, delta, epsilon, nofcup] = ustrs(set_date,mat_date);
y = fminsearch('pbond',.15,options,p,c,nofcup,delta/epsilon);
y = 200*y;
Note
pbond is a function in Matlab I already wrote in R
ustrs is a function in Matlab I
2015 Apr 09
3
samba member logon.. question.
Greetings, Rowland Penny!
>>> You are using python, which to me is a very big snake, so I bash it :-D
>>> I just use these two functions in a bash script:
>>> # Finds the next useable user uidNumber or group gidNumber
>>> # Input : $1
>>> # $1 : msSFU30MaxUidNumber or msSFU30MaxGidNumber
>>> # Output : the first free uidNumber or gidNumber
2019 Aug 19
3
winbind on DC : how use gidNumber instead of primaryGroupID as user's primary group
Le lun. 19 ao?t 2019 ? 11:01, L.P.H. van Belle via samba
<samba at lists.samba.org> a ?crit :
>
> Hai,
>
> Fist of all, i must say it not very wise to have you NFS server on the AD-DC.
>
> I do about the same but my NFS server is on a member.
>
> Have you configured /etc/nsswitch.conf ?
> If not do that.
>
> If you run : id username
> I see :
2017 Feb 09
2
Users list and the date the password will expire
On Thu, 9 Feb 2017 14:56:47 +0100
Ole Traupe via samba <samba at lists.samba.org> wrote:
> I only get the usernames:
> Same on member servers, btw. Initially I thought this comes from
> "winbind: use default domain", but this is neither present on my DCs
> nor would it have any effect (afaik).
This is what is confusing me, I know of no way to get the username