Fwd: [SOGo] sogo login issue.

2013-05-08 Thread Deepak Kumar
Hi,

sudo  ldapsearch -h localhost -p 3389 -x -D cn=admin,dc=example,dc=org -b
dc=mail,dc=example,dc=org -W ((objectClass=IntOrgPerson)(uid=%u))
Enter LDAP Password:

I have executed the above command it is showing the below output.

# extended LDIF
#
# LDAPv3
# base dc=mail,dc=example,dc=org with scope subtree
# filter: ((objectClass=IntOrgPerson)(uid=%u))
# requesting: ALL
#

# search result
search: 2
result: 32 No such object
matchedDN: dc=example,dc=org

# numResponses: 1


 And Also I have excuted the *slapcat* command and it is showing the below
mentioned output.

dn: dc=example,dc=org
objectClass: top
objectClass: dcObject
objectClass: organization
o: example.org
dc: example
structuralObjectClass: organization
entryUUID: 299f8202-479d-1032-9aa4-55f12ee94af1
creatorsName: cn=admin,dc=example,dc=org
createTimestamp: 20130502175504Z
entryCSN: 20130502175504.428964Z#00#000#00
modifiersName: cn=admin,dc=example,dc=org
modifyTimestamp: 20130502175504Z

dn: cn=admin,dc=example,dc=org
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword:: e1NTSEF9UGtxYkw3S2VYa014Y3ByRXRnVGREbEdDZWxGMHFqakc=
structuralObjectClass: organizationalRole
entryUUID: 29a3fbd4-479d-1032-9aa5-55f12ee94af1
creatorsName: cn=admin,dc=example,dc=org
createTimestamp: 20130502175504Z
entryCSN: 20130502175504.458301Z#00#000#00
modifiersName: cn=admin,dc=example,dc=org
modifyTimestamp: 20130502175504Z

dn: ou=users,dc=example,dc=org
objectClass: organizationalUnit
ou: users
structuralObjectClass: organizationalUnit
entryUUID: 3a25d868-479f-1032-9177-6bb9c2842c8a
creatorsName: cn=admin,dc=example,dc=org
createTimestamp: 20130502180951Z
entryCSN: 20130502180951.146360Z#00#000#00
modifiersName: cn=admin,dc=example,dc=org
modifyTimestamp: 20130502180951Z

dn: ou=groups,dc=example,dc=org
objectClass: organizationalUnit
ou: groups
structuralObjectClass: organizationalUnit
entryUUID: 3a263902-479f-1032-9178-6bb9c2842c8a
creatorsName: cn=admin,dc=example,dc=org
createTimestamp: 20130502180951Z
entryCSN: 20130502180951.148837Z#00#000#00
modifiersName: cn=admin,dc=example,dc=org
modifyTimestamp: 20130502180951Z

dn: uid=sogo,ou=users,dc=example,dc=org
objectClass: top
objectClass: inetOrgPerson
objectClass: person
objectClass: organizationalPerson
objectClass: posixAccount
uid: sogo
cn: sogo Account
uidNumber: 5000
gidNumber: 5000
mail: s...@example.org
sn: sogo
givenName: sogo
homeDirectory: /var/mail/
structuralObjectClass: inetOrgPerson
entryUUID: 64ffc44a-479f-1032-9179-6bb9c2842c8a
creatorsName: cn=admin,dc=example,dc=org
createTimestamp: 20130502181103Z
userPassword:: e1NTSEF9dmxiOHd1SkJ1MFhYUUk0clM4WGNjTlV6a0FqSmxKWTc=
entryCSN: 20130502181217.355549Z#00#000#00
modifiersName: cn=admin,dc=example,dc=org
modifyTimestamp: 20130502181217Z

dn: uid=staneja,ou=users,dc=example,dc=org
objectClass: top
objectClass: inetOrgPerson
objectClass: person
objectClass: organizationalPerson
objectClass: posixAccount
uid: staneja
cn: staneja Account
uidNumber: 5002
gidNumber: 5002
mail: stan...@example.org
sn: staneja
givenName: staneja
homeDirectory: /var/mail/
structuralObjectClass: inetOrgPerson
entryUUID: 5a9a377a-4b45-1032-9d06-85adced206cc
creatorsName: cn=admin,dc=example,dc=org
createTimestamp: 20130507093635Z
userPassword:: e1NTSEF9WVJLSmtIQnVKeTg0N1h4aExXUDJoTkFZd3RaL2FJUU4=
entryCSN: 20130507094055.141519Z#00#000#00
modifiersName: cn=admin,dc=example,dc=org
modifyTimestamp: 20130507094055Z



Thanks In Advance




On Wed, May 8, 2013 at 3:40 PM, Philipp v. Strobl-Albeg 
phil...@pilarkto.net wrote:

  Hi,

 so there is a problem with LDAP.

 Try slapcat an search for the same info, you are looking for with the
 ldapsearch. Is it really there ?
 Try ldapearch with other filter (at the end)  (objectClass=*).

 Perghaps you didn't use posixAccount objectclass or your DN ist with
 mail= instead of uid=.


 Best
 Philipp



 Philipp v. Strobl.-Albeg
 Dipl.-Ing.

 Zellerstr. 19
 70180 Stuttgart
 Tel.  +49 711 1215 8269
 Fax.  +49 711 6583 089
 Mobil +49 151 27039 710

 Am 08.05.2013 12:00, schrieb Deepak Kumar:

 Hi Philipp,

  Thanks for your quick reply

   I have executed the command as provided by you then entered the
 password of LDAP administrator. It is showing the below details.

   extended LDIF
 #
 # LDAPv3
 # base dc=mail,dc=example,dc=org with scope subtree
 # filter: ((objectClass=posixAccount)(uid=%u))
  # requesting: ALL
 #

  # search result
 search: 2
 result: 32 No such object
 matchedDN: dc=example,dc=org

  # numResponses: 1

  I spent few days to search the solution for this error. I am frustrated
 with this issue. Please help me out to solve this issue.


  Thanks In Advance..







 On Wed, May 8, 2013 at 2:55 PM, Philipp v. Strobl-Albeg 
 phil...@pilarkto.net wrote:

  Hi,

 two questions:
 1. Don't you need a password  for bind to ldap ? (one should know, that
 dovecot only needs login to ldap to check if mail-address 

Re: Fwd: [SOGo] sogo login issue.

2013-05-08 Thread deepak

Hi

i can see a typo. you have mentioned IntOrgPerson, it should be 
InetOrgPerson. e is missing.







Regards
Deepak
DeeprootLinux
--
users@sogo.nu
https://inverse.ca/sogo/lists