Mac OS X El Capitan and Junos Pulse

I had some Apple Keychain issues after upgrading to Mac OS X El Capitan yesterday. Apple provided a reasonable resolution (blow away the login Apple Keychain and re-create it). As it turns out, my issues weren’t limited to just the El Capitan upgrade. The Juniper Networks’ VPN client, Junos Pulse, has some pretty awful issues. The behavior went something like this: Save a password for a VPN connection in Junos Pulse VPN client The first use of the VPN connection will be fine Disconnect VPN connection Close Junos Pulse VPN client Open VPN client Attempt to connect to recently created VPN (with saved password) All hell breaks loose; Apple Keychain issues galore. Literally every Apple Keychain becomes unusable to some extent and a reboot is required to resolve the issue. ...

October 6, 2015 · Chris Short

What's Wrong with Microsoft's Windows 10 Marketing

I was reading through Wired magazine and saw a Windows 10 ad. If you’ve turned on a TV the past month you’ve seen the ad I’m referring to, this is just the print edition of the TV ad. She won’t have to remember passwords. Or obsess about security. To her, every screen is meant to be touched. And so on… (here’s the full ad if you really want to see it). But, there is one big thing wrong with this marketing approach and Microsoft actually says it right on the ad: ...

October 6, 2015 · Chris Short
MySQL logo

An Annoying MySQL Replication Error Code: 1045

I was fixing MySQL replication on a slave this past week. Everything seemed to be ready to go after bringing data over from the master manually. I went to connect the slave to the master and nothing happened. Whaaaaaa? 1 2 Last_IO_Errno: 1045 Last_IO_Error: error connecting to master 'repl@blah.local:3306' - retry-time: 60 retries: 86400 Let me look up MySQL error code 1045: 1 2 Error: 1045 SQLSTATE: 28000 (ER_ACCESS_DENIED_ERROR) Message: Access denied for user '%s'@'%s' (using password: %s) That’s not helpful. After some additional testing I realized the password might be too long. Sure enough, the CHANGE MASTER TO syntax guide states MASTER_PASSWORD has a maximum length of 32 characters (despite the MySQL client having a longer limit). ...

October 5, 2015 · Chris Short

Mac OS X El Capitan: Keychain Issues

I started having some Apple Keychain issues after upgrading to Mac OS X El Capitan. At random, I would be asked to sign back into accounts that I am logged into through Internet Accounts in System Preferences. I thought it a minor issue but it became unavoidable though once El Capitan told me it couldn’t find my login Apple Keychain after logging in: Something related to the ’login’ Apple Keychain happened during the Mac OS X El Capitan upgrade process I’m assuming and after a reboot this morning everything went to hell in a hand basket it would seem. ...

October 5, 2015 · Chris Short
Blue Ansible logo

Grep Multiple Ansible Vault Files

Here’s a handy one-liner to grep multiple Ansible Vault files (like group_vars). All you need is an Ansible Vault password file (outside of your configuration repo, please) and a little bash. 1 ls -1 | while read N ; do echo -n $N: ; ansible-vault --vault-password-file ~/.ansible_vault view $N | grep <STRING> ; done

September 22, 2015 · Chris Short