Comments (19)
which version?
from adpassmon.
2.20.10
from adpassmon.
Hey @mattretzer, @pmbuko is pushing 2.20.12 later.. can you try after that?
from adpassmon.
Yes, no problem. Thanks for the quick response.
Will update this issue with my results:)
from adpassmon.
2.20.12 is out now.
from adpassmon.
Hi @pmbuko & @macmule,
Unfortunately I am still seeing the same thing with 2.20.12- greyed out ChangePassword option on first run.
from adpassmon.
How are you deploying the defaults values? Also, could you please copy/paste what the Console log shows (filter or ADPassMon) after a first launch?
from adpassmon.
I am deploying those values via defaults write commands (basically
what you see above):
Creating a plist file via defaults write(s) to /tmp, copying the
/tmp/.plist to all user accounts (& user template) and correcting
permissions for the copied .plists.
Am I missing a value?
Here's what the log says:
11/30/15 2:06:04.230 PM ADPassMon[27689]: Running on OS 10.10.x
11/30/15 2:06:04.257 PM ADPassMon[27689]: Running under a network account.
11/30/15 2:06:04.265 PM ADPassMon[27689]: ADPassMon password method selected
11/30/15 2:06:04.517 PM ADPassMon[27689]: Domain reachable.
11/30/15 2:06:04.517 PM ADPassMon[27689]: Testing if password can expire…
11/30/15 2:06:04.544 PM ADPassMon[27689]: Password does expire.
11/30/15 2:06:04.564 PM ADPassMon[27689]: Domain reachable.
11/30/15 2:06:04.564 PM ADPassMon[27689]: Starting manual process…
11/30/15 2:06:04.565 PM ADPassMon[27689]: Found expireDateUnix in plist: 0
11/30/15 2:06:04.619 PM ADPassMon[27689]: Got expireDateUnix: 1453476466
11/30/15 2:06:04.619 PM ADPassMon[27689]: Using alt method
11/30/15 2:06:04.646 PM ADPassMon[27689]: New pwdSetDate (16762.64)
11/30/15 2:06:04.647 PM ADPassMon[27689]: will be saved to plist.
11/30/15 2:06:04.656 PM ADPassMon[27689]: daysUntilExp: 52.84412
11/30/15 2:06:04.658 PM ADPassMon[27689]: expirationDate: Friday,
January 22, 2016 at 10:21:36 AM
11/30/15 2:06:04.660 PM ADPassMon[27689]: ADPassMon password method selected
11/30/15 2:06:04.661 PM ADPassMon[27689]: Testing Keychain Lock state...
11/30/15 2:06:04.683 PM ADPassMon[27689]: Keychain unlocked...
On Mon, Nov 30, 2015 at 2:32 PM, Peter Bukowinski
[email protected] wrote:
How are you deploying the defaults values? Also, could you please copy/paste
what the Console log shows (filter or ADPassMon) after a first launch?—
Reply to this email directly or view it on GitHub.
from adpassmon.
Everything looks good to me. The Change Password menu item should only be greyed out when ADPassMon can't detect the domain. The log clearly shows "Domain reachable", though. Are these log entries from a launch that resulted in a greyed out menu item?
from adpassmon.
yes, they are fro a launch with a greyed out 'Change password' & 'Refresh
Kerberos'; tested on 10.10 & 10.11, same results.
And once I 'Re-check Expiration' it comes in fine, subsequent launches are
fine too.
I think when I was trying different plist settings I had some where this
was not the case. I'll play with it a little more to see if I can help pin
it down.
On Mon, Nov 30, 2015 at 4:13 PM, Peter Bukowinski [email protected]
wrote:
Everything looks good to me. The Change Password menu item should only be
greyed out when ADPassMon can't detect the domain. The log clearly shows
"Domain reachable", though. Are these log entries from a launch that
resulted in a greyed out menu item?—
Reply to this email directly or view it on GitHub
#33 (comment).
from adpassmon.
One more thing to check. Before launching for the first time, but after applying defaults, as the user, run defaults read org.pmbuko.ADPassMon
. Save the output, then launch ADPassMon and do Re-check Expirtation. Run the defaults read
command again and compare the output.
from adpassmon.
@mattretzer have you tried setting things via a profile? Also, I guess ADPassMon is being launched whilst these changes are being made?
from adpassmon.
@mattretzer any updates?
from adpassmon.
@mattretzer the writing out plist & copying will not work with CFPrefsd, so either a profile or a defaults read on the plist afterwards (as @pmbuko) mentions should resolve.
I'm putting this down as "wontfix" for now, as it's more of an OS/deployment issue, please can you advise if anything we've mentioned has worked?
We'll then close the issue off, or I'll close it sometime in March.
from adpassmon.
I'm seeing the exact same issue on a completely fresh install. As a test, the app is not running, there are no existing prefs in the current user Library and I run this script
#!/bin/bash
adpassmonprefs="/Library/Preferences/org.pmbuko.ADPassMon"
defaults write "${adpassmonprefs}" "expireAge" -int 180
defaults write "${adpassmonprefs}" "isBehaviour2Enabled" -int 1
defaults write "${adpassmonprefs}" "selectedBehaviour" -int 2
defaults write "${adpassmonprefs}" "selectedMethod" -int 1
defaults write "${adpassmonprefs}" "warningDays" -int 7
If I then open the app, the Change Password menu item is grayed out until I do a Refresh
This is using 2.20.20
from adpassmon.
I'll see if i can replicate this, & try to fix in 2.21.0
from adpassmon.
Please test: https://github.com/macmule/ADPassMon/releases/tag/154
from adpassmon.
Please test: https://github.com/macmule/ADPassMon/releases/tag/155
from adpassmon.
Closing off as sorted in 2.21.0
from adpassmon.
Related Issues (20)
- Correct offline update function HOT 1
- Quit if not bound & alert
- Quit if fails & advise
- Silently quit if running as a non-AD account & runIfLocal not set
- Moar logging HOT 1
- New Version does not start HOT 14
- Remove KerbMinder support HOT 4
- Correct usage of canPassExpire function
- Doesn't start HOT 11
- Message cut off & duplicated in new builds HOT 1
- Send all errors to ~/L/P/ADPassMon.log & not system.log
- Change changePassword for behaviour 1 on 10.9+ HOT 1
- Update Wiki pre-2.21.0 release HOT 1
- Login with no password expiration time HOT 3
- plist Preferences Settings For All Users HOT 7
- Change Password - Not Working? HOT 13
- Help with installation - Please forgive me HOT 1
- Notification every 10 minutes after the 14 days expiration date HOT 1
- Feature Request - Check alternate account HOT 1
- Updating all Keychains using the same password HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adpassmon.