Greetings!

Quick Active Direction auth HOWTO for Midgard 1.5.0:

1) Get Alexander's patch from http://samba.org/~ab/pam-support.patch

2) Get Midgard 1.5.0 (midgard-lib and mod_midgard-preparse)
   tar jxvf midgard-lib-1.5.0.tar.bz2
   tar jxvf mod_midgard-preparse-1.5.0.tar.bz2

3) Apply patch
   patch -p0 < pam-support.patch

4) Regenerate midgard-lib configure script
   cd midgard-lib-1.5.0
   autoconf

5) Configure and install midgard-lib

6) Configure and install mod_midgard-preparse

7) Create Midgard pam config file /etc/pam.d/midgard:
   auth   required /lib/security/pam_winbind.so

8) Check your smb.conf, should have stuff like:
   workgroup = HELIA
   realm = HELIA.AMK
   security = ads

9) Tell Midgard VirtualHosts to use PAM auth by adding line
   MidgardAuthType PAM

10) Enjoy!

Troubleshooting: 
* Server should be added AD domain
* winbindd needs to run on the server
* To check potential winbindd issues, run it in debug mode:
  winbindd -d3 -i
* To check PAM issues, add "debug" to the line in /etc/pam.d/midgard

/Bergie

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to