Enable Active Directory Authentication for GitLab

If you’re having trouble, here are some tips: Query all the users by using the following command: dsquery user -limit 1000 > users.txt Find the bind_dn user from this list and copy and paste the entire line. It will be a format similar to: ‘CN=Name\, Display,OU=Some Organizational Unit,OU=Another Organizational Unit,DC=domain,DC=com’ …

Bitnami Gitorious Appliance Login Issues

Did you download Bitnami’s Gitorious Appliance? Did you convert it to VMware’s OVF format and add it to your infrastructure? Great! However, if you run into an issue where you can’t login using Bitnami’s default username and password (user/bitnami), you’ll need to make sure of a few things: For reference, …

Active Directory: Get Last Logon Time For Users

Ever needed the logon time for users in your Active Directory domain? Use the following command: For /F “Skip=1 Tokens=3” %I in (‘Dsquery * domainroot -filter “(&(objectCategory=Person)(objectClass=User)(samaccountname=))” -attr name lastLogon’) Do @w32tm /ntte %I The above command runs the Dsquery command and pipes the output to the w32tm command to …

How to Increase Disk Space on a VM When Using VMware, Ubuntu, and LVM

You’ll need the GParted ISO before you start. Delete any snapshots (this allows you to increase the disk size). Edit virtual machine settings, then increase the disk size. Create a snapshot in case anything goes wrong. Boot GParted ISO. Resize the partition related to the LVM volume. Save your changes …

Javascript Workers: An Ajax Example With Callback

I was browsing the Internet one day looking for a conference I could possibly attend regarding web technologies. I came across a certain conference that caught my eye which talked about Javascript workers. To be honest, I’ve never used workers or had any experience with multi-threaded web programming, but, after …