[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Just can't understand what is happening...
Hi,
IIRC, trailing or leading blanks are preserved also when coming from an
LDIF file. Could it be that you have a blank behind "root" in the root's
entry? Otherwise, it would definitely be very strange.
Hth.
Dejan
Please respond to "Jens Rosenthal" <info@edv-rosenthal.de>
Sent by: owner-openldap-software@OpenLDAP.org
To: <openldap-software@OpenLDAP.org>
cc:
Subject: Just can't understand what is happening...
Hi everyone,
I'm just new to OpenLDAP and trying to install a Linux-PDC-Samba-OpenLDAP.
I just can't get the authentification working...
Set up a OpenLDAP-Server 2.0.23 (compiled from scratch) configured for my
needs and filled with data.
Then installed the pam_ldap and nss_ldap from padl.com. Compiled a new
samba
server (2.2.3a).
O.k. So far so good.
I'm getting stuck with the same problem try each way...
I looked through the logfiles and found a thing, I just can't
understand...
Perhaps anyone can explain why the search doesn't work...
>newgw:~ # ldapsearch "(&(objectClass=shadowAccount)(uid=root))"
>version: 2
>
>#
># filter: (&(objectClass=shadowAccount)(uid=root))
># requesting: ALL
>#
>
># search result
>search: 2
>result: 0 Success
>
># numResponses: 1
Search is identical to the search the samba-server did (pam_ldap is nearly
the same...)
>newgw:~ # ldapsearch "(&(objectClass=shadowAccount)(uid=root*))"
>version: 2
>
>#
># filter: (&(objectClass=shadowAccount)(uid=root*))
># requesting: ALL
>#
>
># root, People, homezone, jason, de
>dn: uid=root,ou=People,dc=homezone,dc=jason,dc=de
>userPassword:: e2NyeXB0fU5DSHp6ejRLc3FqL1U=
>loginShell: /bin/bash
>gidNumber: 0
>uidNumber: 0
>shadowMax: 10000
>objectClass: account
>objectClass: posixAccount
>objectClass: top
>objectClass: shadowAccount
>uid: root
>gecos: root
>shadowLastChange: 11807
>cn: root
>homeDirectory: /root
>
># search result
>search: 2
>result: 0 Success
>
># numResponses: 2
># numEntries: 1
So what is the difference between these to queris (the star, i know ;-))
Why does the first fail (and with this query all authetifications)
thanx for help,
Jens