Hello,
I try to create a computer in LDAP, come this message: Error in OpenLDAP recording computer.*
What is wrong ?
Rodrigo Faria
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 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?
-- Dan White
Rodrigo:
How exactly are you adding the computer to ldap? I take it is not using ldapadd. ;)
Does whatever you are using have a log and a debugging/verbose mode?
The version is slapd 2.4.23-7.2 OpenLDAP server (slapd)
I'm use Debian 6 Squezze, openldap is installed by package.
________________________________ De: Dan White dwhite@olp.net Para: rodrigo tavares rodrigofariat@yahoo.com.br Cc: "openldap-technical@openldap.org" openldap-technical@openldap.org Enviadas: Quarta-feira, 31 de Outubro de 2012 11:46 Assunto: Re: Error : when create usermachine in LDAP
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?
Hello,
How exactly are you adding the computer to ldap? I take it is not using ldapadd. ;)
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 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
Thanks !
Rodrigo
________________________________ De: Mauricio Tavares raubvogel@gmail.com Para: "openldap-technical@openldap.org" openldap-technical@openldap.org Cc: rodrigo tavares rodrigofariat@yahoo.com.br Enviadas: Quarta-feira, 31 de Outubro de 2012 12:47 Assunto: Re: Error : when create usermachine in LDAP
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?
-- Dan White
Rodrigo:
How exactly are you adding the computer to ldap? I take it is not using ldapadd. ;)
Does whatever you are using have a log and a debugging/verbose mode?
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
openldap-technical@openldap.org