How do I set up Ubuntu Server 10.04 LTS to serve as a samba Primary Domain Controller uses pam modules to authenticate against an LDAP server?

Solution 1:

There are guides like this one which look at this issue thoroughly.

I find this quite difficult to answer, given all the variables. Since samba and openldap need some extra configuration, an answer here might not be complete.

Solution 2:

I found a pretty easy howto here and although it was written for Ubuntu 7.10 it still works i just tested it.. Even though i didn't install webmin, i better like editing the DNS (bind9) config files by hand.