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

Re: passwd database



Hi,

Thanks for replying..

Jan-Michael Ong wrote:
> 
> could you try the openldap version of ldapsearch and run a few of the debug
> options?

Doing command below with base "dc=sees,dc=bangor,dc=ac,dc=uk" gives the
entries that were in before (some spoof people etc) but nothing
resembling a password database. Putting
"ou=passwd,dc=sees,dc=bangor,dc=ac,dc=uk" gives: 

No such obect (32)
Matched DN: dc=sees,dc=bangor,dc=ac,dc=uk

slapcat doesn't reveal anything either

I'm guessing the server hasn't loaded the database for some reason but
don't know how to find out.

tried running slpad with -d 64 - relevant (?) bit is:

line 43 (database       passwd)
line 44 (suffix         "ou=passwd,dc=sees,dc=bangor,dc=ac,dc=uk")
line 46 (access to * by * read)

which sounds like it is being loaded (?)

Any further thoughs would be appreciated!
Thanks very much
Rob

> #!/bin/sh
> # assuming your openldap ldapsearch is in /usr/local/bin
> # try "dc=sees,dc=bangor,dc=ac,dc=uk"  first and then
> # try "ou=passwd,dc=sees,dc=bangor,dc=ac,dc=uk"
> /usr/local/bin/ldapsearch \
> -LLL \
> -h <specify FQDN of server here> \
> -D "cn=robh,dc=sees,dc=bangor,dc=ac,dc=uk"
> -W \
> -b "dc=sees,dc=bangor,dc=ac,dc=uk" \
> -s sub \
> "(objectclass=*)"
> 
> try that on mine it generates the whole content (equivalent of doing a slapcat)

-- 
 ______________________________________________________________
|  o   o    ^   |Robert Horton --- robh@informatics.bangor.ac.uk 
|    |     / \  |School of Informatics
|  \___/  / o \ |University of Wales, Bangor 
|        /  o  \|http://www.sees.bangor.ac.uk/~robh
|_______/_______|______________________________________________|