Make LDAP auto-reconnect and properly determine the next month in November

(11+1)%12 is 0, not 12
Merge pull request #12 from mkuron/master

Make LDAP auto-reconnect and properly determine the next month in November