[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
How to get slapd tools built on MS Windows?
Hey 
all,
 
I've 
downloaded the 2.1.25 stuff but nothing compiles. First problem was the sasl.h 
missing headers, which I've fixed by downloading the Cyrus stuff. Then the 
regex.h missing header which I fixed by adding c:\openldap\include\ac to 
the project include paths. Now I get all kinds of syntax errors when I build the 
backldbm project. Here's just a really small sampling...
 
--------------------Configuration: setup - Win32 
Debug--------------------
Microsoft (R) Program Maintenance 
Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 
1988-1998. All rights reserved.
 copy setup.mak 
setup.txt
        1 file(s) 
copied.
--------------------Configuration: backldbm - Win32 
Debug--------------------
Compiling...
add.c
..\slap.h(1103) : error 
C2061: syntax error : identifier 'regex_t'
..\slap.h(1111) : error C2059: 
syntax error : '}'
..\slap.h(1121) : error C2061: syntax error : identifier 
'AccessControl'
..\slap.h(1122) : error C2143: syntax error : missing '{' 
before '*'
..\slap.h(1124) : error C2061: syntax error : identifier 
'as_vd_acl_matches'
..\slap.h(1124) : error C2059: syntax error : 
';'
..\slap.h(1124) : error C2059: syntax error : '['
..\slap.h(1132) : 
error C2059: syntax error : '}'
..\slap.h(1198) : error C2061: syntax error : 
identifier 'regex_t'
..\slap.h(1207) : error C2059: syntax error : 
'}'
..\slap.h(1341) : error C2061: syntax error : identifier 
'AccessControl'
..\slap.h(1351) : error C2059: syntax error : 
'}'
..\slap.h(1686) : error C2146: syntax error : missing ';' before 
identifier 'o_abandon'
..\slap.h(1686) : error C2061: syntax error : 
identifier 'o_abandon'
..\slap.h(1687) : error C2061: syntax error : 
identifier 'o_cancel'
..\slap.h(1687) : error C2059: syntax error : 
';'
..\slap.h(1781) : error C2059: syntax error : '}'
..\proto-slap.h(21) 
: error C2143: syntax error : missing ')' before '*'
..\proto-slap.h(21) : 
error C2081: 'Operation' : name in formal parameter list 
illegal
..\proto-slap.h(21) : error C2143: syntax error : missing '{' before 
'*'
..\proto-slap.h(21) : error C2371: 'Entry' : redefinition; different 
basic types
        ..\slap.h(928) : see 
declaration of 'Entry'
..\proto-slap.h(21) : error C2143: syntax error : 
missing ';' before '*'
..\proto-slap.h(21) : error C2371: 
'AttributeDescription' : redefinition; different basic 
types
 
Is 
there anywhere on the net to just download the binaries of all of the slapd 
stuff? Why aren't binaries available from the OpenLDAP.org 
site?
 
All 
I'm looking for is a client that will let me create an actual databse for my 
ldap server. I got the Qcslapd stuff compiled and it's running as an LDAP 
server, but I can't figure out how to create an actual database for it to serve. 
I'm under the impression that slapadd will do this, but I can't get it 
compiled...
 
Any 
help would be greatly appreciated,
 
Matt
 
  
I am running OpenLDAP 
  v. 2.1 in my Linux environment (testing functionality).  I am attempting 
  to execute passwd -e <userid>.  Run passwd --help you will see that 
  this flag should set the force password change on next login for the given 
  user.  However, when I execute this command I get the error: 
  
Error changing login shell 
  
I am able to reset my passwd using passwd 
  <user>, I am able to login via ssh both from ldap client only systems 
  and the ldap server/client system.  So I have some level of confidence 
  that things are set up correctly. 
Any idea what might be going on here? 
Thanks! 
Eric 
  Sammons
(804)697-3925
FRIT - Unix 
Systems