On Wed, Oct 31, 2012 at 9:46 AM, Dan White dwhite@olp.net wrote:
On 10/31/12 06:16 -0700, rodrigo tavares wrote:
Hello,
I try to create a computer in LDAP, come this message: Error in OpenLDAP recording computer.*
What is wrong ?
Rodrigo,
I am unfamiliar with the error message you are seeing. However, your post lacks some important information. See:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
Provide a better mental image of what command or action you are performing that is causing your error, and what output you are expecting to see; what software are using that is causing this error? What version of OpenLDAP are you using?
On 10/31/12 08:49 -0700, rodrigo tavares wrote:
In Brazil in state Parana, exists on sofwtare called Expresso Mail Free. It have a easy interface, and you can create mail users, users samba and machine, all integrate in LDAP. It have cyrus-imap, openldap, posfix and postgresql.
http://rodrigofariat.files.wordpress.com/2012/10/ldap-error.png
Some logs:
Oct 31 13:59:08 defensoria slapd[1688]: conn=1542 op=1 SRCH base="dc=defensoria,dc=mg,dc=gov,dc=br" scope=2 deref=0 filter="(uid=computer2$)" Oct 31 13:59:08 defensoria slapd[1688]: conn=1542 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Oct 31 13:59:08 defensoria slapd[1688]: conn=1542 op=2 UNBIND Oct 31 13:59:08 defensoria slapd[1688]: conn=1542 fd=38 closed Oct 31 13:59:08 defensoria slapd[1688]: conn=1543 fd=38 ACCEPT from IP=127.0.0.1:50679 (IP=0.0.0.0:389) Oct 31 13:59:08 defensoria slapd[1688]: conn=1543 op=0 BIND dn="cn=admin,dc=defensoria,dc=mg,dc=gov,dc=br" method=128 Oct 31 13:59:08 defensoria slapd[1688]: conn=1543 op=0 BIND dn="cn=admin,dc=defensoria,dc=mg,dc=gov,dc=br" mech=SIMPLE ssf=0 Oct 31 13:59:08 defensoria slapd[1688]: conn=1543 op=0 RESULT tag=97 err=0 text= Oct 31 13:59:08 defensoria slapd[1688]: conn=1543 op=1 ADD dn="uid=computer2$,ou=defensoria,dc=defensoria,dc=mg,dc=gov,dc=br" Oct 31 13:59:08 defensoria slapd[1688]: conn=1543 op=1 RESULT tag=105 err=21 text=gidNumber: value #0 invalid per syntax
While attempting to add a new LDAP entry, the gidNumber attribute submitted contains data which is not valid. It should be an integer. It cannot be empty.
Verify what scheme Expresso Mail uses to calculate the value.
Oct 31 13:59:08 defensoria slapd[1688]: conn=1543 op=2 UNBIND Oct 31 13:59:08 defensoria slapd[1688]: conn=1543 fd=38 closed Oct 31 13:59:08 defensoria slapd[1688]: conn=1544 fd=38 ACCEPT from IP=127.0.0.1:50680 (IP=0.0.0.0:389) Oct 31 13:59:08 defensoria slapd[1688]: conn=1544 op=0 BIND dn="cn=admin,dc=defensoria,dc=mg,dc=gov,dc=br" method=128 Oct 31 13:59:08 defensoria slapd[1688]: conn=1544 op=0 BIND dn="cn=admin,dc=defensoria,dc=mg,dc=gov,dc=br" mech=SIMPLE ssf=0 Oct 31 13:59:08 defensoria slapd[1688]: conn=1544 op=0 RESULT tag=97 err=0 text= Oct 31 13:59:08 defensoria slapd[1688]: conn=1545 fd=39 ACCEPT from IP=127.0.0.1:50681 (IP=0.0.0.0:389) Oct 31 13:59:08 defensoria slapd[1688]: conn=1545 op=0 BIND dn="cn=admin,dc=defensoria,dc=mg,dc=gov,dc=br" method=128 Oct 31 13:59:08 defensoria slapd[1688]: conn=1545 op=0 BIND dn="cn=admin,dc=defensoria,dc=mg,dc=gov,dc=br" mech=SIMPLE ssf=0 Oct 31 13:59:08 defensoria slapd[1688]: conn=1545 op=0 RESULT tag=97 err=0 text= Oct 31 13:59:08 defensoria slapd[1688]: conn=1545 op=1 SRCH base="dc=defensoria,dc=mg,dc=gov,dc=br" scope=2 deref=0 filter="(objectClass=organizationalUnit)" Oct 31 13:59:08 defensoria slapd[1688]: conn=1545 op=1 SRCH attr=dn Oct 31 13:59:08 defensoria slapd[1688]: conn=1545 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= Oct 31 13:59:08 defensoria slapd[1688]: conn=1545 op=2 UNBIND Oct 31 13:59:08 defensoria slapd[1688]: conn=1545 fd=39 closed Oct 31 13:59:08 defensoria slapd[1688]: conn=1544 op=1 UNBIND Oct 31 13:59:08 defensoria slapd[1688]: conn=1544 fd=38 closed Oct 31 13:59:08 defensoria slapd[1688]: conn=1541 op=1 UNBIND Oct 31 13:59:08 defensoria slapd[1688]: conn=1541 fd=17 closed Oct 31 13:59:10 defensoria slapd[1688]: conn=1546 fd=17 ACCEPT from IP=127.0.0.1:50682 (IP=0.0.0.0:389) Oct 31 13:59:10 defensoria slapd[1688]: conn=1546 op=0 do_search: invalid dn: "LDAP_DN" Oct 31 13:59:10 defensoria slapd[1688]: conn=1546 op=0 SEARCH RESULT tag=101 err=34 nentries=0 text=invalid DN Oct 31 13:59:10 defensoria slapd[1688]: conn=1546 op=1 UNBIND Oct 31 13:59:10 defensoria slapd[1688]: conn=1546 fd=17 closed