[Date Prev][Date Next] [Chronological] [Thread] [Top]

Coul'd execute ldapsearch only with -x



Hello,

I have installed OpenLDAP 2.0.11 on Helloween V (base on RedHat
7.0). When I try to takeout a query, I have found out, that the
query will only executed, if I put the -x swicht on the
commandline of the ldapsearch command.

I will be happy, if someone can give me a hint, which descript
this behaviour.

A schript log of my tries are attached on this mail.

Best Regards:

Jochen Schmitt
»Script« wurde gestartet: Thu Sep 20 21:15:52 2001
[pclinux@myhome pclinux]$ ldapsearch '(objectClass=*)'
ldap_sasl_interactive_bind_s: No such attribute
[pclinux@myhome pclinux]$ ldapsearch -d 2 '(objectClass=*)'
ber_flush: 64 bytes to sd 3
  0000:  30 3e 02 01 01 63 39 04  00 0a 01 00 0a 01 00 02   0>...c9.........  
  0010:  01 00 02 01 00 01 01 00  87 0b 6f 62 6a 65 63 74   ..........object  
  0020:  63 6c 61 73 73 30 19 04  17 73 75 70 70 6f 72 74   class0...support  
  0030:  65 64 53 41 53 4c 4d 65  63 68 61 6e 69 73 6d 73   edSASLMechanisms  
ldap_write: want=64, written=64
  0000:  30 3e 02 01 01 63 39 04  00 0a 01 00 0a 01 00 02   0>...c9.........  
  0010:  01 00 02 01 00 01 01 00  87 0b 6f 62 6a 65 63 74   ..........object  
  0020:  63 6c 61 73 73 30 19 04  17 73 75 70 70 6f 72 74   class0...support  
  0030:  65 64 53 41 53 4c 4d 65  63 68 61 6e 69 73 6d 73   edSASLMechanisms  
ldap_read: want=1, got=1
  0000:  30                                                 0                 
ldap_read: want=1, got=1
  0000:  09                                                 .                 
ldap_read: want=9, got=9
  0000:  02 01 01 64 04 04 00 30  00                        ...d...0.         
ldap_read: want=1, got=1
  0000:  30                                                 0                 
ldap_read: want=1, got=1
  0000:  0c                                                 .                 
ldap_read: want=12, got=12
  0000:  02 01 01 65 07 0a 01 00  04 00 04 00               ...e........      
request 1 done
ldap_sasl_interactive_bind_s: No such attribute
[pclinux@myhome pclinux]$ ldapsearch -x '(objectClass=*)'
version: 2

#
# filter: (objectClass=*)
# requesting: ALL
#

# herr-schmitt, de
dn: o=herr-schmitt, c=de
objectClass: organization
o: herr-schmitt

# mailer-daemon, herr-schmitt, de
dn: sendmailMTAKey=mailer-daemon, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: mailer-daemon
sendmailMTAAliasValue: postmaster

# postmaster, herr-schmitt, de
dn: sendmailMTAKey=postmaster, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: postmaster
sendmailMTAAliasValue: root

# bin, herr-schmitt, de
dn: sendmailMTAKey=bin, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: bin
sendmailMTAAliasValue: root

# daemon, herr-schmitt, de
dn: sendmailMTAKey=daemon, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: daemon
sendmailMTAAliasValue: root

# adm, herr-schmitt, de
dn: sendmailMTAKey=adm, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: adm
sendmailMTAAliasValue: root

# lp, herr-schmitt, de
dn: sendmailMTAKey=lp, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: lp
sendmailMTAAliasValue: root

# sync, herr-schmitt, de
dn: sendmailMTAKey=sync, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: sync
sendmailMTAAliasValue: root

# shutdown, herr-schmitt, de
dn: sendmailMTAKey=shutdown, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: shutdown
sendmailMTAAliasValue: root

# halt, herr-schmitt, de
dn: sendmailMTAKey=halt, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: halt
sendmailMTAAliasValue: root

# mail, herr-schmitt, de
dn: sendmailMTAKey=mail, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: mail
sendmailMTAAliasValue: root

# news, herr-schmitt, de
dn: sendmailMTAKey=news, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: news
sendmailMTAAliasValue: root

# uucp, herr-schmitt, de
dn: sendmailMTAKey=uucp, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: uucp
sendmailMTAAliasValue: root

# operator, herr-schmitt, de
dn: sendmailMTAKey=operator, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: operator
sendmailMTAAliasValue: root

# games, herr-schmitt, de
dn: sendmailMTAKey=games, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: games
sendmailMTAAliasValue: root

# gopher, herr-schmitt, de
dn: sendmailMTAKey=gopher, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: gopher
sendmailMTAAliasValue: root

# ftp, herr-schmitt, de
dn: sendmailMTAKey=ftp, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: ftp
sendmailMTAAliasValue: root

# nobody, herr-schmitt, de
dn: sendmailMTAKey=nobody, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: nobody
sendmailMTAAliasValue: root

# apache, herr-schmitt, de
dn: sendmailMTAKey=apache, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: apache
sendmailMTAAliasValue: root

# named, herr-schmitt, de
dn: sendmailMTAKey=named, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: named
sendmailMTAAliasValue: root

# xfs, herr-schmitt, de
dn: sendmailMTAKey=xfs, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: xfs
sendmailMTAAliasValue: root

# gdm, herr-schmitt, de
dn: sendmailMTAKey=gdm, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: gdm
sendmailMTAAliasValue: root

# mailnull, herr-schmitt, de
dn: sendmailMTAKey=mailnull, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: mailnull
sendmailMTAAliasValue: root

# postgres, herr-schmitt, de
dn: sendmailMTAKey=postgres, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: postgres
sendmailMTAAliasValue: root

# squid, herr-schmitt, de
dn: sendmailMTAKey=squid, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: squid
sendmailMTAAliasValue: root

# ingres, herr-schmitt, de
dn: sendmailMTAKey=ingres, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: ingres
sendmailMTAAliasValue: root

# system, herr-schmitt, de
dn: sendmailMTAKey=system, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: system
sendmailMTAAliasValue: root

# toor, herr-schmitt, de
dn: sendmailMTAKey=toor, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: toor
sendmailMTAAliasValue: root

# manager, herr-schmitt, de
dn: sendmailMTAKey=manager, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: manager
sendmailMTAAliasValue: root

# dumper, herr-schmitt, de
dn: sendmailMTAKey=dumper, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: dumper
sendmailMTAAliasValue: root

# abuse, herr-schmitt, de
dn: sendmailMTAKey=abuse, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: abuse
sendmailMTAAliasValue: root

# newsadm, herr-schmitt, de
dn: sendmailMTAKey=newsadm, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: newsadm
sendmailMTAAliasValue: news

# newsadmin, herr-schmitt, de
dn: sendmailMTAKey=newsadmin, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: newsadmin
sendmailMTAAliasValue: news

# usenet, herr-schmitt, de
dn: sendmailMTAKey=usenet, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: usenet
sendmailMTAAliasValue: news

# ftpadm, herr-schmitt, de
dn: sendmailMTAKey=ftpadm, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: ftpadm
sendmailMTAAliasValue: ftp

# ftpadmin, herr-schmitt, de
dn: sendmailMTAKey=ftpadmin, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: ftpadmin
sendmailMTAAliasValue: ftp

# ftp-adm, herr-schmitt, de
dn: sendmailMTAKey=ftp-adm, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: ftp-adm
sendmailMTAAliasValue: ftp

# ftp-admin, herr-schmitt, de
dn: sendmailMTAKey=ftp-admin, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: ftp-admin
sendmailMTAAliasValue: ftp

# decode, herr-schmitt, de
dn: sendmailMTAKey=decode, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: decode
sendmailMTAAliasValue: root

# root, herr-schmitt, de
dn: sendmailMTAKey=root, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: root
sendmailMTAAliasValue: pclinux

# FaxMaster, herr-schmitt, de
dn: sendmailMTAKey=FaxMaster, o=herr-schmitt, c=de
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTAHost: myhome.herr-schmitt.de
sendmailMTAKey: FaxMaster
sendmailMTAAliasValue: root

# search result
search: 2
result: 0 Success

# numResponses: 42
# numEntries: 41
[pclinux@myhome pclinux]$ exit

»Script« beendet: Thu Sep 20 21:16:44 2001