Displaying 20 results from an estimated 5000 matches similar to: "query account expired state"
2023 Oct 28
1
query account expired state
Op 28-10-2023 om 09:37 schreef Rowland Penny via samba:
> On Fri, 27 Oct 2023 23:48:22 +0200
> Kees van Vloten via samba <samba at lists.samba.org> wrote:
>
>> Hi Team,
>>
>> Is it possible to make a LDAP-query that returns whether an account
>> is expired or not?
>>
>> I am aware that it is possible to do the maths against the
>>
2023 Oct 28
1
query account expired state
On Fri, 27 Oct 2023 23:48:22 +0200
Kees van Vloten via samba <samba at lists.samba.org> wrote:
> Hi Team,
>
> Is it possible to make a LDAP-query that returns whether an account
> is expired or not?
>
> I am aware that it is possible to do the maths against the
> "accountExpires" attribute, but that requires some scripting around
> the query.
>
>
2023 Oct 28
1
query account expired state
On Sat, 28 Oct 2023 11:54:34 +0200
Kees van Vloten via samba <samba at lists.samba.org> wrote:
>
> Op 28-10-2023 om 09:37 schreef Rowland Penny via samba:
> > On Fri, 27 Oct 2023 23:48:22 +0200
> > Kees van Vloten via samba <samba at lists.samba.org> wrote:
> >
> >> Hi Team,
> >>
> >> Is it possible to make a LDAP-query that returns
2023 Oct 28
1
query account expired state
Op 28-10-2023 om 13:22 schreef Rowland Penny via samba:
> On Sat, 28 Oct 2023 11:54:34 +0200
> Kees van Vloten via samba <samba at lists.samba.org> wrote:
>
>> Op 28-10-2023 om 09:37 schreef Rowland Penny via samba:
>>> On Fri, 27 Oct 2023 23:48:22 +0200
>>> Kees van Vloten via samba <samba at lists.samba.org> wrote:
>>>
>>>> Hi
2017 Oct 23
3
Some hint reading password expiration data...
On Mon, 23 Oct 2017 16:52:05 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:
>
> Sorry, i came back on this, but:
>
> > In another, more generic, way: how password policies are enforced?
>
> still i need an answer on this question.
>
>
> I've done some tests, using my account, that pdbedit say:
>
> root at vdcsv1:~# LANG=C
2017 Oct 27
2
Some hint reading password expiration data...
Mandi! Andrew Bartlett via samba
In chel di` si favelave...
> It is an operational attribute. simply addÂ
> msDS-UserPasswordExpiryTimeComputed
> to the list of attributes requested when searching for the user.
root at vdcsv1:~# ldbsearch -H /var/lib/samba/private/sam.ldb -b "dc=ad,dc=fvg,dc=lnf,dc=it" -s base "" maxPwdAge
# record 1
dn:
2017 Oct 26
2
Some hint reading password expiration data...
On Fri, 27 Oct 2017 07:17:56 +1300
Andrew Bartlett <abartlet at samba.org> wrote:
> On Thu, 2017-10-26 at 09:26 +0100, Rowland Penny via samba wrote:
> > On Thu, 26 Oct 2017 13:25:00 +1300
> > Andrew Bartlett <abartlet at samba.org> wrote:
> >
> > > On Tue, 2017-10-24 at 18:13 +0100, Rowland Penny via samba wrote:
> > > >
> > > >
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
2015 Nov 26
4
About password expiry
Hi every one:
I'm using samba4 as domain controller and a I want to check every 1 hour in my mail server the password expiration for every user in the domain. I need to kow what is the attribute used in samba4.
Using ldbsearch i see badPasswordTime and accountExpires, but in the microsoft documentation said that accountExpires is used for represent the date when the account expires. Can i use
2023 Oct 28
1
query account expired state
On Sat, 28 Oct 2023 13:50:31 +0200
Kees van Vloten via samba <samba at lists.samba.org> wrote:
> >> I consider this a big security omission: if? Samba is the source of
> >> information but not the the authenticator of the user, that
> >> application cannot block expired users !
> > But, Samba when running as an AD DC is the source of information AND
>
2017 Oct 24
3
Some hint reading password expiration data...
On Tue, 24 Oct 2017 18:37:09 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:
> Mandi! Rowland Penny via samba
> In chel di` si favelave...
>
> > The main problem here is that you are still looking at the problem
> > from the NT perpective,
>
> Seems obvious to me. I came from 10+ years of experience on Samba3 NT
> domains, that indeed had
2019 Jan 23
2
Get PasswordMustChangeNow parameter from command line
I am adapting a script that needs to know whether a user needs to change
their password on the next login from NT to AD with Samba.
I have tried "samba-tool user getpassword <user> --attributes
PwdMustChangeNow", but that's not giving me anything useful - just a DN,
and "Got password OK" (even on users that do need the password to change).
Is there another line I
2017 Oct 20
2
Some hint reading password expiration data...
In my current ''production'' NT-like domain (samba 4.2, OpenLDAP
backend), password policies seems to ''get written'' to user data.
EG, if i set:
pdbedit -P "maximum password age" -C 7776000
and i change my password, 'Password must change' have a meningful value,
eg 90 days more then the last password change:
root at armitage:~# pdbedit -v
2017 Feb 03
7
How to get password expiration?
This seems to work for maxPwdAge
ldapsearch -LLL -Q -s base -h ad.mydomain.tld -b dc=ad,dc=mydomain,dc=tld
maxPwdAge
now I just need to query a users pwdLastSetq
I tried the commands above but am not getting anything. I tried looking at
the ungrepped output but I don't see how to link the pwdLastSet with any
user. I get a long list.
I think I'm looking for dn: and a matching pwdLastSet?
2015 Nov 27
1
About password expiry
That's a very interesting information. Is there, somewhere, a list of these
computed attributes and their meaning?
Best regards,
mathias
2015-11-26 9:34 GMT+01:00 Andrew Bartlett <abartlet at samba.org>:
> On Thu, 2015-11-26 at 00:40 -0500, Amaury Viera Hernández wrote:
> > Hi every one:
> > I'm using samba4 as domain controller and a I want to check every 1
>
2023 Oct 28
1
query account expired state
Op 28-10-2023 om 14:21 schreef Rowland Penny via samba:
> On Sat, 28 Oct 2023 13:50:31 +0200
> Kees van Vloten via samba <samba at lists.samba.org> wrote:
>
>>>> I consider this a big security omission: if? Samba is the source of
>>>> information but not the the authenticator of the user, that
>>>> application cannot block expired users !
2023 Sep 25
1
Samba AD DC: users cannot change expired passwords
Now it becomes really interesting:
I just tested what happens when I set "the user must change the password
on the next login". Then, on my Samba domain controller, I used
kinit <the user name>
and entered the current password. Surprisinlgy, I got the message from
Kerberos
"Password for the user is expired. You must change it now."
And I can change the password!
2023 Oct 29
1
Fwd: query account expired state
Op 28-10-2023 om 17:19 schreef Rowland Penny via samba:
> On Sat, 28 Oct 2023 16:22:23 +0200
> Kees van Vloten via samba <samba at lists.samba.org> wrote:
>
>> Op 28-10-2023 om 14:21 schreef Rowland Penny via samba:
>>> On Sat, 28 Oct 2023 13:50:31 +0200
>>> Kees van Vloten via samba <samba at lists.samba.org> wrote:
>>>
2023 Oct 23
2
Using Linux domain member machine account for WPA-Enterprise authentication
Op 20-10-2023 om 18:35 schreef Luis Peromarta via samba:
> This is very interesting. Could you share your setup ?
Here is a first version of the collected bits and pieces:
https://github.com/kvvloten/samba_integrations/tree/main/authentication/enterprise_wifi
- Kees.
>
> All the best.
> On 20 Oct 2023 at 17:41 +0200, Kees van Vloten <keesvanvloten at gmail.com>, wrote:
2023 Oct 29
1
Fwd: query account expired state
On Sun, 29 Oct 2023 18:10:52 +0100
Kees van Vloten via samba <samba at lists.samba.org> wrote:
>
> Op 28-10-2023 om 17:19 schreef Rowland Penny via samba:
> > On Sat, 28 Oct 2023 16:22:23 +0200
> > Kees van Vloten via samba <samba at lists.samba.org> wrote:
> >
> >> Op 28-10-2023 om 14:21 schreef Rowland Penny via samba:
> >>> On Sat, 28