[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Several problems with ldap server
Hi again,
I've now got everything to compile - thanks to Hallvard B Furuseth. I still
have several problems, but I don't know which is the most fundamental; I'll
list all I've found. The compiled programs seem to run without producing
errors, they just doesn't do what it's supposed to! If you can help me sort
either of these out - and get to the point where I can actually use the
system - I'd be very grateful.
Simon
1. Tests don't run with odd error
Running make in tests directory gives:
Initiating LDAP tests...
>>>>> Executing all LDAP tests...
>>>>> Starting ./scripts/test001-ldif2ldbm ...
Cleaning up in ./test-db...
Running ldif2ldbm to build slapd database...
id2entry ldbm_store: No space left on device
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve all the entries...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
ldapsearch failed!
>>>>> ./scripts/test001-ldif2ldbm failed (exit 1)
gmake: *** [all] Error 1
I don't understand why there's no space on device. From looking around, it
should be writing to test-db, which has been created on /usr. AFAIK, there's
loads of space; df says that there's 13949627K of space on the device
containing test-db.
The test-db directory has 85K of dbm databases in it, but id2entry.ndbm.dir
is an empty file.
When I created a database manually from my own ldif files, I didn't get any
errors from ldif2ldbm.
2. The ldapsearch tool gives a weird error. If you do any search on any
server as a name (including localhost implicitly passed as default) you get
the error
hostname.lse.ac.uk: Permission denied
whatever hostname you use - including publicly available LDAP servers. You
don't get the error if you use a numerical IP address, but you don't get any
results either.