Difference between revisions of "Omldapsync HowTo - Five"

From Scalix Wiki
Jump to: navigation, search
(Handy LDAP commands)
(Troubleshooting)
Line 3: Line 3:
 
error 1005: Entry must have a valid global unique id
 
error 1005: Entry must have a valid global unique id
 
ldap_bind: No such object
 
ldap_bind: No such object
 +
 +
[OM 16078] An attribute's value contains invalid characters.  Usually this is self-evident but in the case of a PDL with an underscore in the name you may not realize that Scalix does not allow underscores in PDL names.  So change the group name in LDAP or Active Directory and remove the underscore.
  
 
== Handy LDAP commands ==
 
== Handy LDAP commands ==

Revision as of 13:45, 3 April 2009

Troubleshooting

UM 1065 - https://bugzilla.scalix.com/show_bug.cgi?id=16535 error 1005: Entry must have a valid global unique id ldap_bind: No such object

[OM 16078] An attribute's value contains invalid characters. Usually this is self-evident but in the case of a PDL with an underscore in the name you may not realize that Scalix does not allow underscores in PDL names. So change the group name in LDAP or Active Directory and remove the underscore.

Handy LDAP commands

OpenLDAP

# ldapadd -x -D cn=admin,dc=mydomain,dc=net -w secret -f /tmp/addfile
# ldapmodify -D cn=admin,dc=mydomain,dc=net -w secret -f /tmp/modfile
# ldapdelete -x -D cn=admin,dc=mydomain,dc=net -w secret uid=ppig,dc=mydomain,dc=net
# ldapsearch -x -b dc=mydomain,dc=net cn="donald duck"

SunONE

This will not work:

$ ldapdelete -D "directory manager" -w secret "uid=dduck,dc=mydomain,dc=net"    

but this will:

$ cat /tmp/duckdel
dn: uid=DDuck,dc=mydomain,dc=net
changetype: delete

$ ldapmodify -D "cn=directory manager" -w secret -f /tmp/duckdel
$ ldapmodify -r -D "cn=directory manager" -w secret -f /tmp/duckmod             
$ ldapsearch -b dc=mydomain,dc=net "cn=donald duck"

Active Directory

# ldapsearch -x -h exlab.mydomain.net -b dc=mydomain,dc=net -D "cn=administrator,cn=users,dc=mydomain,dc=net" -w <password>

References

Sun ONE Directory Server Administration Guide

Sun ONE Directory Server Deployment Guide

Sun ONE Directory Server 5.2 Reference Manual

Sun Java Enterprise System 2005Q4 Installer tutorial

Scalix Server Setup and Configuration Guide

Scalix HowTo: Using OpenLDAP for password management

ScalixReady Technical Note: OpenLDAP in a Scalix Environment