[Gllug] LDAP

Peter Childs blue.dragon at blueyonder.co.uk
Tue Oct 28 17:48:15 UTC 2003



On Tue, 28 Oct 2003, Doug Winter wrote:

> On Tue 28 Oct Peter Childs wrote:
> > 	Oh great strangly I can't get ldapadd to work with my ldap!
>
> My telepathy is failing today - perhaps you could provide some more
> information on your problem?  What ldap server are you using?  What is
> in your LDIF file?  What error messages do you get?
>
	Its openLDAP on a Redhat Box.

hmm

ldapsearch -h macduff -x uid=peter

gives


--
version: 2

#
# filter: uid=peter
# requesting: ALL
#

# peter, People, exp, com
dn: uid=peter,ou=People,dc=exp,dc=com
uid: peter
cn: Peter Childs
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 501
gidNumber: 501
homeDirectory: /home/peter
gecos: Peter Childs
givenName: Peter
initials: Alexander
sn: Childs
shadowLastChange: 12069
ou: DP

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
---

	After which the docs seam so poor I give up.

Peter Childs

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list