I found this which solved most of the problems.
http://www.redmondmag.com/columns/ar...itorialsID=858
It doesn't mention the following changes to the smb.conf file
idmap backend = ldap:ldap://ldapserver.domain.com
ldap idmap suffix = dc=domain,dc=com
ldap admin dn = cn=Administrator,cn=Users,dc=domain,dc=com
ldap suffix = dc=domain,dc=com
Save the conf file and run "smbpasswd -w ADMIN_DN_PASSWORD"
Then run: (to get the Windows User's Passwords and Groups)
getent passwd
getent group
Add to /etc/pam.d/system-auth
session optional /lib/security/$ISA/pam_mkhomedir.so
And you're ready to go! You will now beable to login via X with your Windows user name and password