Displaying 13 results from an estimated 13 matches for "pwdmustchangenow".
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 can use that will show when a user's password must
change? The OS is Debian 9, running samba 4.5.12-Debian (yes, I know...
2016 Sep 12
2
(file server) force users to change own password
hello all :)
what's "hack" to force users to change own password from samba file server?
is there a GUI to change the password?
any idea?
thanks
Pol
2016 Sep 13
2
(file server) force users to change own password
> net sam set pwdmustchangenow (username) yes
what does you mean?
I need a GUI that allow users change own password
thanks
Pol
2019 Jan 23
0
Get PasswordMustChangeNow parameter from command line
...-0800
Luke Barone via samba <samba at lists.samba.org> wrote:
> 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).
It wouldn't, mainly because 'PwdMustChangeNow' isn't one of the listed
attributes and I don't know where you got it fr...
2019 Jan 23
1
Get PasswordMustChangeNow parameter from command line
...<samba at lists.samba.org> wrote:
>
> > 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).
>
> It wouldn't, mainly because 'PwdMustChangeNow' isn't one of the listed
> attributes and I don't...
2008 Oct 09
2
sambaPwdLastSet=0 vs sambaPwdMustChange=0
...the documentation setting sambaPwdMustChange=0 should work.
However, on my setup, it does NOT work. The user can log on, but is NOT
asked to change his or her password.
(docs:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/passdb.html#id2586078)
Then I tried using "net sam set pwdmustchangenow USERNAME yes" (which is
I guess the native samba way of archiving this) and it DOES work, but by
setting: sambaPwdLastSet=0 !
So the question: are the samba docs wrong, or is my samba wrong?
I'm running samba 3.0.26a on suse linux enterprise server 9, sp3, maybe
the docs are for more...
2008 Aug 03
1
user must change password, works in ursmgr.exe but not with pdbedit
Hello
After spending quite a few hours building a completely new domain with
samba as a pdc for a local school I now have everything working(shares,
printers, multiuser addscripts, etc). The only problem I have is that it
is impossible to force user to change password on next logon from
pdbedit. It is possible to set this trough usrmgr.exe but its not really
convenient when adding multiple users
2010 Aug 27
1
Set password expiration date
...When I was on Debian Etch I could use this:
pdbedit -r -u user --time-format=%d-%m-%Y --pwd-must-change-time=<date>
But it seems this option for pdbedit is not available anymore in the
Samba version included in Lenny.
I've read elsewhere about using this as a replacement:
net sam set pwdmustchangenow <user> yes
...but this sets the expiration date to NOW, which is not what I want.
How can I achieve what I need?
Using a cron job for planning a "net sam" command would give a different
result, because the user would not be warned in advance about her
password going to expire....
2011 Jul 01
1
pdbedit "password must change" not following policy
Hey everyone,
I've got a file server (named success) running Samba version 3.0.10-1.4E.
I've also got another file server (named happiness) running Samba version
3.3.15 and LDAP.
I've got success pointed to happiness for LDAP in the smb.conf, and running
a "pdbedit -v user" works, it shows the proper information...except for the
password must expire, it seemingly ignores
2007 May 30
1
pdbedit and password expiration
I have been working to get pdbedit to expire passwords. I have seen several bugs related to pdbedit (bugzilla bug 4630 for
example) on 3.0.25 so I upgraded to 3.0.25a, the latest Samba version as of this writing. What I am trying to do is set a
particular user's password to expire on a certain date. If that can't be done, the ability to set it to expire "now" would
be my
2011 Jul 11
1
Password Resets as root
I've got a cluster of Samba servers with security=user and a ctdb passdb
backend. I need to keep the passwords for the users in sync with another
system, which will pass me userid and password for each change and reset.
My question is what is the simplest way to do the password reset for a
user as root on one of the Samba servers. I need to allow the user to
change their password
2015 Jul 06
0
Can't force Windows users to change password at next login since upgrade to Samba4
...offer a tip or
hint!
I upgraded an Ubuntu LTS server (running Samba 3.X) to the latest
version (running Samba 4.1.6) a few months ago and a bothersome issue
persists with forcing Windows users to change their password at the next
login.
This command used to do the trick
net sam set pwdmustchangenow <username> yes
and indeed the user is prompted to change their password now, but
they are always given an "Access is denied" message upon entering a new
password selection twice. The error recorded by Samba at the client log
appears to be related to PAM:
[2015/07/06 16:10:...
2007 Jul 17
2
[Urgent] Cannot make changes via pdbedit
I have been having some problems since I updated from Samba 3.0.23 to
3.0.25b. I have installed the latest version of smbldap-tools but I am
still not able to make certain changes to a user's account. I have
created a new user named JROLFE.
After I set up a new user, I will set it so they are required to change
their password when they first login. I usually do this through LDAP
Account