[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: porting to windows
Hello Majeed.
You've got a few different problems:
- your use of modulepath is incorrect. It's supposed to be a directory
(opposed to a file) where slapd can find your dynamic loadable modules. I
don't know for sure about 2.0.11, but in 2.0.18 and above, the back-ldbm
module is statically linked into the MSVC build by default. I'm pretty sure
it's always been that way. Thus, you have no need for the moduleload line
either. Delete or comment both of these lines out. The libdb32.dll reference
does not need to appear in your slapd.conf at all. If you built correctly,
it should exist as an implicit dependency of the slapd.exe binary. You will
have to make sure that this DLL as well as any others needed by slapd is
accessable in the current directory or your PATH.
- Your rootdn has one too many "o=" components. Fix it be:
"cn=Manager,o=magnaquest,c=IN"
The rest of your slapd.conf file looks good to me.
With a vague description like "getting some troubles", it's impossible to
know the extent of your problems. If you still have problems after you fix
your configuration file, include error messages in your posting.
Jon
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Md Majeedullah
> Khan
> Sent: Tuesday, January 08, 2002 11:25 PM
> To: openldap-software@OpenLDAP.org
> Subject: porting to windows
>
> HI all,
> I have successfully ported the opneldap 2.0.11 to windows,but getting some
> trouble's with the configration and the ldap clients,can any one
> help me in
> this.for convinience I am attaching the slapd.conf.
> I have kept all the exe's and the schema in c:\openldal\*.exe. and
> "libdb32.dll","libsasal.dll","hs_regex.dll".
> regards.
> majeed
> pl see the slapd.conf file....and send me some feedback if it has to be
> corrected.
>
>
> # $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.6
> 2001/04/20 23:32:43
> kurt Exp $
> #
> # See slapd.conf(5) for details on configuration options.
> # This file should NOT be world readable.
> #
> #include %SYSCONFDIR%/schema/core.schema
> include c:\\openldap\\schema\\core.schema
>
> # Define global ACLs to disable default read access.
> access to * by * write
>
> # Do not enable referrals until AFTER you have a working directory
> # service AND an understanding of referrals.
> #referral ldap://root.openldap.org
>
> #pidfile %LOCALSTATEDIR%/slapd.pid
> #argsfile %LOCALSTATEDIR%/slapd.args
> pidfile c:\\openldap\\slapd.pid
> argsfile c:\\openldap\\slapd.args
>
>
> # Load dynamic backend modules:
> # modulepath %MODULEDIR%
> # moduleload back_ldap.la
> # moduleload back_ldbm.la
> # moduleload back_passwd.la
> # moduleload back_shell.la
> modulepath c:\\openldap\\libdb32d.dll
> moduleload back_ldbm.la
> #######################################################################
> # ldbm database definitions
> #######################################################################
>
> database ldbm
> suffix "o=magnaquest,c=IN"
> #suffix "o=My Organization Name,c=US"
> rootdn "cn=Manager,o=o=magnaquest,c=IN"
> #rootdn "cn=Manager,o=My Organization Name,c=US"
> # Cleartext passwords, especially for the rootdn, should
> # be avoid. See slappasswd(8) and slapd.conf(5) for details.
> # Use of strong authentication encouraged.
> rootpw bmitians
> # The database directory MUST exist prior to running slapd AND
> # should only be accessible by the slapd/tools. Mode 700 recommended.
> #directory %LOCALSTATEDIR%/openldap-ldbm
> directory c:\\openldap\\openldap-ldbm
>
> # Indices to maintain
> index objectClass eq
>