There’s a HOWTO at
How To: Video on setting up SSO/AD with Openfire - Openfire / Openfire Support - Ignite Realtime Community Forums