Displaying 20 results from an estimated 2000 matches similar to: "samba-tool : how to remove expiry date of an account"
2023 May 24
1
samba-tool : how to remove expiry date of an account
Hi Rowland, and many thanks for fast reply,
When using --noexpiry,
the userAccountControl is set to 66048, which disable expiry for
password as well (in MS console, "password never expires" is now
checked).
This means that the password expiry (let say, every 6 month)
will never popup again to the user, which is in my sense a wrong
behaviour.
Is there a way to change ONLY
2023 May 26
1
samba-tool : how to remove expiry date of an account
Hi Rowland and list,
I allow myself to give a UP to my message in
case someone has an idea.
Thanks,
--Oliver
Le 2023-05-24 15:55,
Olivier BILHAUT via samba a ?crit :
> Hi Rowland, and many thanks for
fast reply,
>
> When using --noexpiry,
> the userAccountControl is set
to 66048, which disable expiry for
> password as well (in MS console,
"password never
2023 May 24
1
samba-tool : how to remove expiry date of an account
Hi list :)
I am looking for the right command to achieve my goal.
I
would like to remove the account expiry date of an ACCOUNT with a
samba-tool command (account never expires)
Options of "samba-tool user
setexpiry" are :
--filter=FILTER LDAP Filter to set password
on
--days=DAYS Days to expiry
--noexpiry
Unfortunately, the "noexpiry"
parameter just set another option
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
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 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
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.
>
>
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
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
2012 Dec 27
1
Samba4: ldapcmp incorrectly reporting some attributes as missing on secondary controller
Hi,
I have a domain with a single Windows 2003 DC running. Today I created
a Samba4 DC (using 4.0.0 release) and asked it to join the existing
domain as an additional controller. Replication of both the objects
and dns entries appears to be working well, and the usual tests of
adding a user to one and confirming it is available in the other is
similarly working.
However, the `ldapcmp` tool
2014 Jun 07
3
Samba 4 / idmap / NIS / winbind
Hi,
how can i get work Samba 4 Sernet 4.1.7 correctly with NIS. Ist provisioned with rfc2307.
When i query a User withi get the following.
getent passwd testswi
SWI\testswi:*:10000:100:testswi:/home/SWI/testswi:/bin/false
I want to change /bin/false to a other value /bin/bash
I tried many things to change the value.
1. ldbedit -e vim -H /var/lib/samba/private/sam.ldb samaccountname=testswi
2018 Mar 12
2
Accentuation in the user's CN
Hi folks,
I manage the AD with rsat and recently we had problems with the CN of some
users that have accentuation. When checking the user configuration via
samba-tool user edit <username> in the location where the CN should be
readable, a hexadecimal or something of that type appears.
E.g: Acentuação da Silva
dn: CN=Acentuação da Silva,OU=TESTE,DC=teste,DC=intra
objectClass: top
2012 Oct 01
1
Samba4 KDC - no such entry found in hdb
Hello.
Samba 4.1.0pre1-GIT-aad669b, joined as a DC to an existing domain. At least 6 accounts behave like this:
Kerberos: AS-REQ techgroup at KLIN.KIFATO-MK.COM from ipv4:192.168.1.31:33822 for krbtgt/KLIN.KIFATO-MK.COM at KLIN.KIFATO-MK.COM
ldb: ldb_trace_request: SEARCH
dn: <rootDSE>
scope: sub
expr: (&(objectClass=user)(userPrincipalName=techgroup at KLIN.KIFATO-MK.COM))
control:
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
>
2015 Apr 23
3
RFC2307 attributes not being read by DC2 in 4.2.1
Hi all
On latest samba 4.2.1 I have provisioned a new domain on DC1 that
successfully reads RFC2307 attributes set on a user account through
ADUC.
wbinfo (correct uid gets resolved from sid)
wbinfo -n fsmith
S-1-5-21-1273750850-484487853-1026460749-1120 SID_USER (1)
wbinfo -S S-1-5-21-1273750850-484487853-1026460749-1120
1000006
ldbsearch
sudo ldbsearch -H
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
2015 Nov 19
3
Problem setting password: : failed to pull old supplementalCredentialsBlob: NT_STATUS_BUFFER_TOO_SMALL
Hello,
I am stuck with a error when setting password for a couple of specific
users. This error makes impossible to set the password for the affected
users.
In Windows I get an operation error but the samba-tool output is more
informative:
samba-tool user setpassword user2 --newpassword=
New Password:
ndr_pull_error(11): Pull bytes 2 (../librpc/ndr/ndr_basic.c:103)
ERROR: Failed to set
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
>
2013 Feb 11
2
S4 Cannot Unlock Account
I have come across a few accounts (out of 300+) that seem to be locked that
will not unlock. These accounts were migrated from S3. Can someone advise -
what am I missing here?
I've reset the password several times via RSAT, checking the "Unlock
Account" checkbox, which has not helped. Resetting the user's password via
smbpasswd gives me:
pdb_try_account_unlock: Account dmscott
2017 Jun 19
2
New AD user cannot access file share from member server
On Mon, 19 Jun 2017 14:46:34 +0200
Viktor Trojanovic <viktor at troja.ch> wrote:
> On 19 June 2017 at 14:20, lingpanda101 via samba
> <samba at lists.samba.org> wrote:
>
> > On 6/19/2017 7:51 AM, Viktor Trojanovic via samba wrote:
> >
> >> That's correct, I don't have "Unix Attributes" but through the
> >> advanced view I have