GithubHelp home page GithubHelp logo

Comments (19)

macmule avatar macmule commented on June 16, 2024

which version?

from adpassmon.

mattretzer avatar mattretzer commented on June 16, 2024

2.20.10

from adpassmon.

macmule avatar macmule commented on June 16, 2024

Hey @mattretzer, @pmbuko is pushing 2.20.12 later.. can you try after that?

from adpassmon.

mattretzer avatar mattretzer commented on June 16, 2024

Yes, no problem. Thanks for the quick response.
Will update this issue with my results:)

from adpassmon.

pmbuko avatar pmbuko commented on June 16, 2024

2.20.12 is out now.

from adpassmon.

mattretzer avatar mattretzer commented on June 16, 2024

Hi @pmbuko & @macmule,
Unfortunately I am still seeing the same thing with 2.20.12- greyed out ChangePassword option on first run.

from adpassmon.

pmbuko avatar pmbuko commented on June 16, 2024

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.

mattretzer avatar mattretzer commented on June 16, 2024

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.

pmbuko avatar pmbuko commented on June 16, 2024

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.

mattretzer avatar mattretzer commented on June 16, 2024

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.

pmbuko avatar pmbuko commented on June 16, 2024

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.

macmule avatar macmule commented on June 16, 2024

@mattretzer have you tried setting things via a profile? Also, I guess ADPassMon is being launched whilst these changes are being made?

from adpassmon.

macmule avatar macmule commented on June 16, 2024

@mattretzer any updates?

from adpassmon.

macmule avatar macmule commented on June 16, 2024

@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.

bryanzak avatar bryanzak commented on June 16, 2024

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.

macmule avatar macmule commented on June 16, 2024

I'll see if i can replicate this, & try to fix in 2.21.0

from adpassmon.

macmule avatar macmule commented on June 16, 2024

Please test: https://github.com/macmule/ADPassMon/releases/tag/154

from adpassmon.

macmule avatar macmule commented on June 16, 2024

Please test: https://github.com/macmule/ADPassMon/releases/tag/155

from adpassmon.

macmule avatar macmule commented on June 16, 2024

Closing off as sorted in 2.21.0

from adpassmon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.