[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
bad credential
- To: openldap-technical@openldap.org
- Subject: bad credential
- From: Friedrich Locke <friedrich.locke@gmail.com>
- Date: Thu, 30 Jun 2011 11:04:11 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=u2DwuW5a2sp4PZq+10/yqBCbGCLTtJ/XdOz6ivhCNbE=; b=EfxvJ8fbHtaU61bPK2LcRMTK6WVv+zPsDKoehM608fxRVllxDvlHT63U6B55w6Cwn8 u7bovi551gXLjvdSsH0KvksCixhg97gGoDjtEhH0esJp+i3CeJE2vQku5HcIzd9dNI0K 15puUIfaail6DKLkRSbojI6VTJsTDqz940x5Q=
I upload the ldif file below into my openldap server:
dn: dc=ufv,dc=br
dc: ufv
objectclass: dcobject
objectclass: organization
o: Universidade Federal de Vicosa
dn: ou=group,dc=ufv,dc=br
ou: group
objectclass: top
objectclass: organizationalunit
dn: cn=its,ou=group,dc=ufv,dc=br
cn: its
objectclass: posixgroup
gidnumber: 1000
dn: cn=asd,ou=group,dc=ufv,dc=br
cn: asd
objectclass: posixgroup
gidnumber: 1001
memberuid: sioux
dn: cn=dba,ou=group,dc=ufv,dc=br
cn: dba
objectclass: posixgroup
gidnumber: 1002
memberuid: sioux
dn: cn=wbx,ou=group,dc=ufv,dc=br
cn: wbx
objectclass: posixgroup
gidnumber: 1003
dn: cn=alg,ou=group,dc=ufv,dc=br
cn: alg
objectclass: posixgroup
gidnumber: 1004
memberuid: sioux
dn: cn=djb,ou=group,dc=ufv,dc=br
cn: djb
objectclass: posixgroup
gidnumber: 1005
dn: cn=nofiles,ou=group,dc=ufv,dc=br
cn: nofiles
objectclass: posixgroup
gidnumber: 1006
dn: cn=qmail,ou=group,dc=ufv,dc=br
cn: qmail
objectclass: posixgroup
gidnumber: 1007
dn: cn=ftp,ou=group,dc=ufv,dc=br
cn: ftp
objectclass: posixgroup
gidnumber: 1008
dn: cn=src,ou=group,dc=ufv,dc=br
cn: src
objectclass: posixgroup
gidnumber: 1009
dn: cn=ord,ou=group,dc=ufv,dc=br
cn: ord
objectclass: posixgroup
gidnumber: 2000
dn: cn=adc,ou=group,dc=ufv,dc=br
cn: adc
objectclass: posixgroup
gidnumber: 2001
dn: cn=bod,ou=group,dc=ufv,dc=br
cn: bod
objectclass: posixgroup
gidnumber: 2002
dn: cn=frn,ou=group,dc=ufv,dc=br
cn: frn
objectclass: posixgroup
gidnumber: 2003
dn: ou=people,dc=ufv,dc=br
ou: people
objectclass: top
objectclass: organizationalunit
dn: uid=sioux,ou=people,dc=ufv,dc=br
uid: sioux
objectclass: organizationalrole
objectclass: posixaccount
cn: Gustavo Rios
uidnumber: 1000
gidnumber: 1000
homedirectory: /home/sioux
userpassword: {SASL}sioux@UFV.BR
loginshell: /bin/sh
Gecos: Gustavo V G Coelho Rios,,,
But when i try the command below, i get invalid credential
sioux@gustav$ ldapsearch -x -W -D 'uid=sioux,ou=people,dc=ufv,dc=br'
-b dc=ufv,dc=br
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
sioux@gustav$
And when i try:
$ ldapsearch -Y GSSAPI -b dc=ufv,dc=br
it works perfectly.
Any ideia about why it does not work ?