Displaying 20 results from an estimated 1000 matches similar to: "samba-tool max-pwd-age error"
2019 May 06
0
samba-tool max-pwd-age error
Hai,
Well, i think you found a bug here, i get exact the same.
But i found a workaround ;-)
We need to verify it. Can someone test this on a source build also for this.
Try this for the error.
samba-tool domain passwordsettings show
samba-tool domain passwordsettings set --max-pwd-age=90
That errors.
And if you try this and set Min + Max age, then it works:
kinit Administrator
2019 Mar 29
3
Attempts to Set Max Password Age in Samba Tool Fails
Hello!
I am on Samba 4.10.0, Ubuntu 16.04.2 LTS. I recently reset a password and found that my password expiration had somehow gotten set to 400 days.
I went to one of my DCs and ran the following command:
# samba-tool domain passwordsettings show
Password informations for domain 'DC=samdom,DC=mydomain,DC=com'
Password complexity: on
Store plaintext passwords: off
Password history
2019 Mar 30
3
Attempts to Set Max Password Age in Samba Tool Fails
Hey Rowland,
Thanks for getting back to me. I just finished my recompile. I even ran a "samba-tool dbcheck --fix". I still I get this error:
samba-tool domain passwordsettings set --max-pwd-age=270
ERROR(<class 'TypeError'>): uncaught exception - unorderable types: NoneType() >= int()
File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line
2019 May 07
1
samba-tool max-pwd-age error
On Tue, 7 May 2019 17:06:24 +1200
Tim Beale <timbeale at catalyst.net.nz> wrote:
> Apologies, this bug fell through the cracks and the fix never got
> backported to 4.10. I've uploaded the backport to the bug now, it just
> needs a review signoff.
>
> To recap, it was introduced as a side-effect of switching to Python 3.
> The old code never worked as intended on
2019 May 06
2
samba-tool max-pwd-age error
On Mon, 6 May 2019 08:21:15 +0000 (UTC)
Billy Bob via samba <samba at lists.samba.org> wrote:
> See:
>
>
>
>
> https://bugzilla.samba.org/show_bug.cgi?id=13873
>
>
> and
>
>
> https://lists.samba.org/archive/samba/2019-March/222141.html
>
>
> These seem related, if not the same.
They are, a bit more investigation, reveals why this has
2019 May 06
2
samba-tool max-pwd-age error
On Mon, 6 May 2019 08:57:35 +0200
"L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:
> Hai,
>
> Well, i think you found a bug here, i get exact the same.
> But i found a workaround ;-)
>
> We need to verify it. Can someone test this on a source build also
> for this.
>
> Try this for the error.
> samba-tool domain passwordsettings
2019 Mar 29
0
Attempts to Set Max Password Age in Samba Tool Fails
On Fri, 29 Mar 2019 16:46:13 -0500
Matthew Delfino <mdelfino.list.samba at knockinc.com> wrote:
> Hey Rowland, thank you for getting back to me so quickly. Answers in
> line below...
>
> From: Rowland Penny via samba <samba at lists.samba.org>
>
> To: <samba at lists.samba.org>
> Sent: 3/29/2019 4:33 PM
> Subject: Re: [Samba] Attempts to
2019 Mar 30
1
Attempts to Set Max Password Age in Samba Tool Fails
From: Rowland Penny via samba <samba at lists.samba.org>
To: "samba at lists.samba.org" <samba at lists.samba.org>
Sent: 3/29/2019 5:35 PM
Subject: Re: [Samba] Attempts to Set Max Password Age in Samba Tool Fails
On Fri, 29 Mar 2019 16:46:13 -0500
Matthew Delfino <mdelfino.list.samba at knockinc.com> wrote:
> Hey Rowland, thank you for getting
2019 Mar 31
0
Attempts to Set Max Password Age in Samba Tool Fails
Hi,
I've raised a bug for this:
https://bugzilla.samba.org/show_bug.cgi?id=13873
The problem is the command just doesn't work under Python 3.
In the meantime, a work-around is to specify the --min-pwd-age on the
command as well. E.g.
samba-tool domain passwordsettings set --max-pwd-age=270
--min-pwd-age=default
WARNING: The "server schannel" option is deprecated
Minimum
2011 Apr 18
3
Domain Controller GPO
Hi All,
I am using Samba4 Alpha12, and i am trying to edit the password policy
(which I believe is derived from the PDC's policy), but I am trying to
figure out whether Samba4 can respond to GPOs. If It cannot, how would I
define the password policy for the domain? Thanks.
2014 Jun 26
1
samba-tool issue
I mis-typed a value using samba tool and had an error:
bin/samba-tool domain passwordsettings set --min-pwd-age=-
ERROR(<type 'exceptions.ValueError'>): uncaught exception - invalid literal
for int() with base 10: '-'
File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
return self.run(*args, **kwargs)
File
2018 Oct 02
2
Passwordsettings
Hi!
I have one question about passwordsettings in Samba 4:
My configuration:
S.O. : Ubuntu 16.04
Samba Version: 4.7.7
--
samba-tool domain passwordsettings show
Password complexity: on
Store plaintext passwords: off
Password history length: 24
Minimum password length: 7
Minimum password age (days): 0
Maximum password age (days): 180
Account lockout duration (mins): 30
Account lockout
2010 Nov 17
3
Need help changing user password
Hi!
I am currently using Samba4 Alpha13 but I have not been
able to change a users password. I curently can add a
user using ldbadd and a ldif file but I would like to
know the recommended way of changing a users password.
It would be nice if it could be done from the
adminstrator account so that you do not need to know
the original password. Thanks for the help!
MS
2018 Oct 04
1
Passwordsettings
As Rowland points out, that password already meets the complexity
criteria, so I don't think Password Settings Objects (PSOs) will help
here. PSOs allow you to tailor different passwordsettings for different
users, i.e. turn complexity on or off for specific users. PSOs don't let
you customize the criteria that determines whether a password is complex
or not.
So you could use PSOs to
2018 Jan 18
5
Changing expired Samba AD password during Windows login
I'm running a Samba AD 4.7.4 and cannot set a new password for a user
with an expired password during login from a Windows PC. Changing a
password from inside a login with cntl-alt-del "change password" works ok.
I've already decreased the minimum password age to 0
samba-tool domain passwordsettings show
Password complexity: on
Store plaintext passwords: off
Password history
2017 Aug 30
4
Force password complexity on NT4 style domain (Samba 4.6.4)
Hi,
is there a way to force password complexity on NT4 style domains?
the "samba-tool domain passwordsettings" seems to only work on DC
mode, right?
Boris
2013 Jan 12
3
Samba4 Domain Account Lockout
First off, I apologize if this is a duplicate - I had some issues with the first email I tried to join this list with!
I'm currently using samba4 as an AD DC (domain and forest are both configured with the samba-tool command to be at the 2008_R2 functional level) for both Windows and Linux systems. I've got the default password settings set using the "samba-tool domain
2016 Apr 28
3
Password must change
Hello!
Own Samba 4.4 as ADDC with this cnfiguração passwords:
root @ Upsilon: ~ # samba-domain tool PasswordSettings show
Password informations for domain 'DC = XXXXXXXX "
Password complexity: on
Store plaintext passwords: off
Password history length: 24
Minimum password length: 7
Minimum password age (days): 1
Maximum password age (days): 400
Account lockout duration (mins): 30
2019 May 07
0
samba-tool max-pwd-age error
Apologies, this bug fell through the cracks and the fix never got
backported to 4.10. I've uploaded the backport to the bug now, it just
needs a review signoff.
To recap, it was introduced as a side-effect of switching to Python 3.
The old code never worked as intended on Python 2, but on Python 3 it
now throws an exception.
Rowland, the code in master is correct, as far as I can tell.
2018 Aug 25
4
How to set account lockout policy
Hi All,
I have setup samba 4.3.9-Ubuntu AD DC, I want to setup password policy and
account lockout policy to all my domain users. How I can do that. Please
somebody give me the steps.
--
Vivek Patil
Assistant Manager - IT
Forgeahead Solutions
vivek.patil at forgeahead.io
*O* +91 (0) 20 66 44 5900 | *M *+91 9579 216 049
601 Zero One, Level 6, Mundhwa, Pune 411036, Maharashtra, India
*W*