I've successfully followed the great zimbra+samba howto, and can add new users, provision old users, and they can now successfully map samba shares to their windows machines no problem. It even auto-creates their home directories!
However am unable to join any machines to the domain...
I get the error "the user name could not be found" (I use user name mikey, who is a member of the Domain Admins group.)
Note: if I try using a username that is not in the "domain admins" group, I get the error -"login failure unknown user name or bad password"
Zimbra admin shows domain admins group is the special windows group domain admins, type 2, and net rpc rights list "MY-DOMAIN\Domain Admins" shows:
SeMachineAccountPrivilege
SePrintOperatorPrivilege
SeAddUsersPrivilege
The other error I got during the installation process was when I enter "smbpasswd -a root", I get this error: "ldapsam_modify_entry: LDAP Password could not be changed for user root: Insufficient access" -- I only mention this in case it's related to the above problem...
I have watched the logs on both machines and don't see any messages when I try to join the machine to the domain - (maybe I just don't know where to look....!)
thanks in advance for any help!!
I'm running zm6.03 on centos5.4 x86_64
here are my configs (comments stripped out)
ldap.conf:
base dc=myowndomain,dc=org
binddn uid=zmposix,cn=appaccts,cn=zimbra
bindpw mysecretpw
rootbinddn uid=zmposixroot,cn=appaccts,cn=zimbra
bind_policy soft
timelimit 120
idle_timelimit 3600
uri ldap://10.224.0.100/
ssl no
tls_cacertdir /etc/openldap/cacerts
pam_password md5
_____________________________
smb.conf:
[global]
workgroup = MY-DOMAIN
netbios name = MYSERVER
os level = 33
preferred master = yes
enable privileges = yes
server string = %h server (Samba)
wins support =yes
dns proxy = no
name resolve order = wins bcast hosts
log file = /var/log/samba/log.%m
log level = 3
max log size = 1000
syslog only = no
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
encrypt passwords = true
ldap passwd sync = yes
passdb backend = ldapsam:ldap://10.224.0.100/
ldap admin dn = "uid=zmposixroot,cn=appaccts,cn=zimbra"
ldap suffix = dc=myrealdomain,dc=org
ldap group suffix = ou=groups
ldap user suffix = ou=people
ldap machine suffix = ou=machines
obey pam restrictions = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
domain logons = yes
logon path = \\10.224.0.111\%U\profile
logon home = \\10.224.0.111\%U
logon script = logon.cmd
add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
add machine script = /usr/sbin/adduser --shell /bin/false --disabled-password --quiet --gecos "machine account" --force-badname %u
socket options = TCP_NODELAY
domain master = yes
local master = yes
_______________________
system-auth:
auth required pam_env.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >= 500 quiet
auth sufficient pam_ldap.so use_first_pass
auth required pam_deny.so
account required pam_unix.so broken_shadow
account sufficient pam_succeed_if.so uid < 500 quiet
account [default=bad success=ok user_unknown=ignore] pam_ldap.so
account required pam_permit.so
password requisite pam_cracklib.so try_first_pass retry=3
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok
password sufficient pam_ldap.so use_authtok
password required pam_deny.so
session required pam_oddjob_mkhomedir.so skel=/etc/skel umask=0077
session optional pam_keyinit.so revoke
session required pam_limits.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so
session optional pam_ldap.so


LinkBack URL
About LinkBacks


