search for: min_pwd_ag

Displaying 17 results from an estimated 17 matches for "min_pwd_ag".

Did you mean: min_pwd_age
2019 May 07
1
samba-tool max-pwd-age error
...days, then later wanted to change the > account-lockout-duration to 60 minutes, you don't want running the 2nd > command to reset the min-pwd-age back to the default. > Sorry Tim, but I do not agree ;-) If you do not supply the minimum password age, then the 'def' sets 'min_pwd_age' to 'None', the code then goes to this: if min_pwd_age is not None: if min_pwd_age == "default": min_pwd_age = 1 else: min_pwd_age = int(min_pwd_age) It checks if 'min_pwd_age' is supplied (not None) an...
2019 May 06
2
samba-tool max-pwd-age error
...mum password age changed! > All changes applied successfully! > > If some people here can verify it, then we can put it in bugzilla. > Morning Louis, It does appear to be a bug ;-) If you run: samba-tool domain passwordsettings --help Amongst the output is this: --min-pwd-age=MIN_PWD_AGE The minimum password age (<integer in days> | default). Default is 1. Which seems to say, if you don't supply the minimum password age, '1' will be used, BUT: The code runs like this: def run(self, H=None, min_pwd_age=None,....
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 05
2
samba-tool max-pwd-age error
...types: NoneType() >= int() File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 185, in _run return self.run(*args, **kwargs) File "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 1513, in run if max_pwd_age and max_pwd_age > 0 and min_pwd_age >= max_pwd_age: root at lnxdc1:/home/service# dpkg -S /usr/lib/python3/dist-packages/samba/netcmd/domain.py python3-samba: /usr/lib/python3/dist-packages/samba/netcmd/domain.py root at lnxdc1:/home/service# dpkg -l python3-samba Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-...
2014 Jun 26
1
samba-tool issue
...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 "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 1151, in run min_pwd_age = int(min_pwd_age) So, yes, I can always retype it. But I was thinking it would be better to put a check on the parsed value to assure that its an integer. Is this python code? I may be able to make this change. -- David Bear mobile: (602) 903-6476
2019 Mar 29
3
Attempts to Set Max Password Age in Samba Tool Fails
...types: NoneType() >= int()   File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 184, in _run     return self.run(*args, **kwargs)   File "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 1513, in run     if max_pwd_age and max_pwd_age > 0 and min_pwd_age >= max_pwd_age: I tried several numbers for max-pwd-age, they all sent the same error. I tried setting the min-pwd-age to 0 again, even though it was already 0. That command was successful, but it didn't help at all. Am I doing something wrong? Any advice? Thanks, Matthew © 2019 KNOCK...
2019 Mar 30
3
Attempts to Set Max Password Age in Samba Tool Fails
...types: NoneType() >= int()   File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 184, in _run     return self.run(*args, **kwargs)   File "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 1513, in run     if max_pwd_age and max_pwd_age > 0 and min_pwd_age >= max_pwd_age: From: Rowland Penny via samba <samba at lists.samba.org> To: "samba at lists.samba.org" <samba at lists.samba.org> Sent: 3/30/2019 11:27 AM Subject: Re: [Samba] Attempts to Set Max Password Age in Samba Tool Fails On Sat, 30 Mar 2019 11:0...
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.
2019 May 06
0
samba-tool max-pwd-age error
...> "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 185, > in _run > return self.run(*args, **kwargs) > File > "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 1513, > in run > if max_pwd_age and max_pwd_age > 0 and min_pwd_age >= max_pwd_age: > > root at lnxdc1:/home/service# dpkg -S > /usr/lib/python3/dist-packages/samba/netcmd/domain.py > python3-samba: /usr/lib/python3/dist-packages/samba/netcmd/domain.py > root at lnxdc1:/home/service# dpkg -l python3-samba > Desired=Unknown/Install/Remove/Purg...
2019 Mar 29
0
Attempts to Set Max Password Age in Samba Tool Fails
...File > > "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line > > 184, in _run return self.run(*args, **kwargs) File > > "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 1513, > > in run if max_pwd_age and max_pwd_age > 0 and min_pwd_age >= > > max_pwd_age: > > What Python 3 packages are installed ? > > > > # dpkg --list | grep python3 | awk '{ print $1 "\t" $2 "\t" $3 }' > ii libpython3-dev:amd64 3.5.1-3 > ii libpython3-stdlib:amd64 3.5.1-3 > ii libpython3....
2019 Mar 31
0
Attempts to Set Max Password Age in Samba Tool Fails
...gt;= int() >   File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 184, in _run >     return self.run(*args, **kwargs) >   File "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 1513, in run >     if max_pwd_age and max_pwd_age > 0 and min_pwd_age >= max_pwd_age: > > > From: Rowland Penny via samba <samba at lists.samba.org> > To: "samba at lists.samba.org" <samba at lists.samba.org> > Sent: 3/30/2019 11:27 AM > Subject: Re: [Samba] Attempts to Set Max Password Age in Samba Tool Fail...
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
2019 Mar 30
1
Attempts to Set Max Password Age in Samba Tool Fails
...> > "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line > > 184, in _run return self.run(*args, **kwargs) File > > "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 1513, > > in run if max_pwd_age and max_pwd_age > 0 and min_pwd_age >= > > max_pwd_age:   >   > What Python 3 packages are installed ? > > > > # dpkg --list | grep python3 | awk '{ print $1 "\t" $2 "\t" $3 }' > ii libpython3-dev:amd64 3.5.1-3 > ii libpython3-stdlib:amd64 3.5.1-3 > ii l...
2011 Jan 24
2
The RPC server is unavailable
I have used the Samba4 Howto as a guide. I am using OpenSuse 11.3 and the Samba version is: 4.0.0alpha15-GIT-61f7d7c. Everything was working as intended after installation. I did a fresh install on another computer of Windows 7. Joined my freshly made domain. Installed the remote administration tools. Created three users for testing with the remote admin tool - "Active Directory Users and
2010 Aug 16
1
WG: HOWTO samba4 centos5.5 named dnsupdate drbd simple failover
...ORY_LENGTH The password history length (<integer> | default). Default is 24. --min-pwd-length=MIN_PWD_LENGTH The minimum password length (<integer> | default). Default is 7. --min-pwd-age=MIN_PWD_AGE The minimum password age (<integer in days> | default). Default is 1. --max-pwd-age=MAX_PWD_AGE The maximum password age (<integer in days> | default). Default is 43. Samba Common Opt...
2010 Oct 05
0
WG: HOWTO samba4 centos5.5 named dnsupdate drbd simple failover
...ORY_LENGTH The password history length (<integer> | default). Default is 24. --min-pwd-length=MIN_PWD_LENGTH The minimum password length (<integer> | default). Default is 7. --min-pwd-age=MIN_PWD_AGE The minimum password age (<integer in days> | default). Default is 1. --max-pwd-age=MAX_PWD_AGE The maximum password age (<integer in days> | default). Default is 43. Samba Common Opt...
2010 Aug 09
2
HOWTO samba4 centos5.5 named dnsupdate drbd simple failover
centOs5.5/samba4/named here is a short guide setting it up to work. First of all do not install the bind package coming with centos 5.5!! Install needs for samba yum install libacl* gnutls* readline* python* gdb* autoconf* Named installation: Here is a description on what to do: http://jason.roysdon.net/2009/10/16/building-bind-9-6-on-rhel5-centos5-for-d nssec-nsec3-support/ The steps, yum