{"action":"created","issue":{"url":"https://api.github.com/repos/macmule/ADPassMon/issues/44","labels_url":"https://api.github.com/repos/macmule/ADPassMon/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/macmule/ADPassMon/issues/44/comments","events_url":"https://api.github.com/repos/macmule/ADPassMon/issues/44/events","html_url":"https://github.com/macmule/ADPassMon/issues/44","id":127767436,"number":44,"title":"Not working when at home connected to VPN","user":{"login":"amusser","id":16640465,"avatar_url":"https://avatars.githubusercontent.com/u/16640465?v=3","gravatar_id":"","url":"https://api.github.com/users/amusser","html_url":"https://github.com/amusser","followers_url":"https://api.github.com/users/amusser/followers","following_url":"https://api.github.com/users/amusser/following{/other_user}","gists_url":"https://api.github.com/users/amusser/gists{/gist_id}","starred_url":"https://api.github.com/users/amusser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amusser/subscriptions","organizations_url":"https://api.github.com/users/amusser/orgs","repos_url":"https://api.github.com/users/amusser/repos","events_url":"https://api.github.com/users/amusser/events{/privacy}","received_events_url":"https://api.github.com/users/amusser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-20T19:42:04Z","updated_at":"2016-01-23T07:54:23Z","closed_at":null,"body":"We are looking to deploy ADPassMon to our users, however we have many who work from home at times and while testing, I've found that it does not work when connected to VPN.\r\n\r\nWe run a Cisco VPN and use the built-in Mac client to connect.  When connected to VPN the Refresh Ticket and Change Password options are greyed out.  A look at the log shows \"Domain not reachable\".  Our domain is reachable as logins are permitted for users not cached on the machine.\r\n\r\nI ran your script ad_pass_exp.sh and got the following:\r\n\r\nldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)\r\nNo such key: userAccountControl\r\nldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)\r\n(standard_in) 1: parse error\r\nNo such key: pwdLastSet\r\nmyLDAP:           192.168.x.x\r\nmySearchBase:     \r\nuAC:              512\r\npassExpires:      yes\r\nexpireAgeUnix:    \r\nexpireAge:        \r\npwdSetDateRaw:    130977844049510960\r\npwdSetDateUnix:   1453310804.95109600000000000000\r\npwdSetDate:       16820.72690915620370370370\r\ntodayUnix:        1453318462\r\ntoday:            16820.81553240740740740740\r\ndaysUntilExp:     -.08862325120370370370\r\ndaysUntilExpNice: -\r\n\r\nThe value for myLDAP is being set to my home router instead of the DC. \r\n\r\nscutil --dns  shows the first resolver as my home router and then the DCs as the second resolver.\r\n\r\nIs there not a way to have this program work on a VPN connection?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/macmule/ADPassMon/issues/comments/174157698","html_url":"https://github.com/macmule/ADPassMon/issues/44#issuecomment-174157698","issue_url":"https://api.github.com/repos/macmule/ADPassMon/issues/44","id":174157698,"user":{"login":"macmule","id":2464974,"avatar_url":"https://avatars.githubusercontent.com/u/2464974?v=3","gravatar_id":"","url":"https://api.github.com/users/macmule","html_url":"https://github.com/macmule","followers_url":"https://api.github.com/users/macmule/followers","following_url":"https://api.github.com/users/macmule/following{/other_user}","gists_url":"https://api.github.com/users/macmule/gists{/gist_id}","starred_url":"https://api.github.com/users/macmule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macmule/subscriptions","organizations_url":"https://api.github.com/users/macmule/orgs","repos_url":"https://api.github.com/users/macmule/repos","events_url":"https://api.github.com/users/macmule/events{/privacy}","received_events_url":"https://api.github.com/users/macmule/received_events","type":"User","site_admin":false},"created_at":"2016-01-23T07:54:23Z","updated_at":"2016-01-23T07:54:23Z","body":"\"The value for myLDAP is being set to my home router instead of the DC\"\r\n\r\nThat really strikes me as odd. "}}