Hello guys, i'm trying to implement the Zimbra 6 with Samba, but i having some issues in the way ... samba can't access the ldap base.
I have two virtual machines, one with Zimbra installed, and other with samba. I can make the Samba machine authenticate users via PAM, but when i use the command smbpasswd -a root, then its says :
My ldap.conf its like this :root@ubuntu:~# smbpasswd -a root
Failed to issue the StartTLS instruction: Can't contact LDAP server
New SMB password:
Retype new SMB password:
Failed to issue the StartTLS instruction: Can't contact LDAP server
Failed to issue the StartTLS instruction: Can't contact LDAP server
Failed to add entry for user root.
In Zimbra Server i can't use the ldapsearch :host 192.168.10.2
base dc=marechal,dc=saude,dc=al,dc=gov,dc=br
binddn uid=zimbra,cn=admins,cn=zimbra
bindpw MYPASSWD
rootbinddn uid=zimbra,cn=admins,cn=zimbra
port 389
bind_policy soft
nss_reconnect_tries 2
uri ldap://192.168.10.2/
ssl start_tls
tls_cacertdir /opt/zimbra
tls_checkpeer no
pam_password md5
nss_base_passwd ou=people,dc=marechal,dc=saude,dc=al,dc=gov,dc=br
nss_base_shadow ou=people,dc=marechal,dc=saude,dc=al,dc=gov,dc=br? one
nss_base_group ou=Grupos,dc=marechal,dc=saude,dc=al,dc=gov,dc=br? one
nss_base_hosts ou=Computadores,dc=marechal,dc=saude,dc=al,dc=gov, dc=br?one
nss_initgroups_ignoreusers backup,bin,daemon,games,gnats,irc,libuuid,list,lp, mail,man,news,ntop,openldap,proxy,root,sshd,sync,s ys,syslog,uucp,www-data
nss_initgroups_ignoreusers backup,bin,daemon,games,gnats,irc,libuuid,list,lp, mail,man,news,ntop,openldap,proxy,root,sshd,sync,s ys,syslog,uucp,www-data
or[zimbra@marechal ~]$ ldapsearch -x
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
But when i use a client like Apache Directory Studio, i can see all base ok.[zimbra@marechal ~]$ ldapsearch -ZZ -h marechal.saude.al.gov.br
SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Local error (-2)
additional info: SASL(-1): generic failure: GSSAPI Error: Miscellaneous failure (see text) (open(/tmp/krb5cc_500): )
I can create users and groups. The only problem it's with samba by now ...
And one little other question ... Its possible to revert the cn=config style of config file to the old slapd.conf ? It's far more easy to handle i think ...
If anyone can help me, please do ...
Thanks


LinkBack URL
About LinkBacks


