Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I run a small college network with approximately 150 user accounts both in my Active Directory and in Google Apps. I'm looking to link AD with G-Apps. Currently my users are required to maintain separate passwords for each. Obviously this is not really the ideal situation. I know Google provides APIs for this type of thing, but not the actual software. I've looked at a few commercial products and seem to be leaning toward Crowd ( I'm also interested in the ability for users to reset there own passwords or receive randomly generated passwords via TXT message. Single Sign On would be nice, but not really necessary if I simply had a way for the passwords to be synchronized.

Optimally, when I create a user in AD, it will automatically show up in Google Apps, and when a user changes there password via Windows (or a web page if necessary) that change will be reflected in both AD and G-Apps.

I also use Moodle, Joomla and a few other products that have the ability to authenticate against LDAP.

I have Win2k3 DCs, and one Ubuntu webserver. I can add a server if necessary.

Has anyone else done this, or something similar? Are there any other products or technologies I should be looking at. I tend to gravitate towards something Windows based with a GUI due to my lack of experience with Linux/CLI. I'm not a programmer, so I need something that will work out of the box (or as close as possible).

share|improve this question
I answered this question with a detailed description of my final solution – Corey Apr 7 '11 at 16:05
up vote 4 down vote accepted

Check out " Google Apps Directory Sync" from Google it is included in the educational version at no charge. This will only sync the acutual accounts and groups:

You will need to work on something like google SSO to provided access to you LDAP server for authentication.

Google Apps Marketplace has several products available that snap into place and will provide what you are looking for. Here are some examples.

Intient GConnect -

SecureAuth -

Hope that helps!

share|improve this answer
Yes, I've already looked at that, and unfortunately it does not have the ability to read the passwords held in AD, and therefore can not be used to sync passwords. – Corey May 30 '09 at 22:42
Google has released a password sync product called "Google Apps Password Sync (GAPS)" I put a link in my answer below. – Corey Jun 1 '12 at 17:49

Microsoft Active Directory (MAD) supports a function called password filters. Basically these are a DLL that runs on every domain controller, when a user/admin requests a password change the filter can capture the password before MAD encrypts and stores the password in the MAD database. Lucky for you someone has already written a filter for you that works perfectly (I use it on a Windows 2003 SP1 MAD domain controller). Have a look at

It captures the users new password whiles its plain text, creates a sha1 hash of the password and stores that in the "division" attribute in MAD. Google Apps Directory Sync (GADS) can then sync the password to Google Apps. Works for user creation and every password change post.

Good luck

share|improve this answer

Google just released a new password sync product called "Google Apps Password Sync (GAPS)"

share|improve this answer

Here is a password filter that solves the synch problem.

share|improve this answer

We have been using simpleSAML to enable single sign on. The problem is that SSO only works for web-based access. If you want to all pop3, imap, or instant messaging from a client you have to synchronize accounts. Getting simpleSAML working does take a moderate amount of tweaking.

share|improve this answer

You can use Google Apps Directory Sync and Sun's OpenSSO. This will give your users a portal to login to using their AD credentials. There is a way to pass the credentials automatically, but I haven't gotten there yet. You can run OpenSSO on Glassfish, which will run on either windows or linux. I have an example of my setup on my site.

share|improve this answer

My final solution was two part…

Part one, Use "Google Apps Directory Sync" to sync users from AD to Google Apps

Part two, Use "NetWrix Password Manager" with some custom development they provided to create a web based portal for my users to change there passwords with.

The portal resets their AD password as well as their Google password at the same time.

share|improve this answer
They have now added the Google Apps feature to the stock product. – Corey Aug 31 '11 at 0:22

This is an old question that now has easier solutions.

Products like OneLogin and Okta can sync to your AD and allow your users to log into Google (via SAML) with their AD passwords. These products are increasing their provisioning capabilities, so that when you add a user to AD they are automatically given a Google Apps account (and accounts on other cloud-based services they need).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.