Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
d1288c2f
Commit
d1288c2f
authored
Sep 17, 1998
by
Kurt Zeilenga
Browse files
Use ldapconfig.h instead of hardcoded paths.
parent
c2462059
Changes
3
Hide whitespace changes
Inline
Side-by-side
servers/slapd/tools/ldif2id2children.c
View file @
d1288c2f
...
...
@@ -5,7 +5,8 @@
#include
"../slap.h"
#include
"../back-ldbm/back-ldbm.h"
#define DEFAULT_CONFIGFILE "/usr/local/etc/slapd.conf"
#include
"ldapconfig.h"
#define MAXARGS 100
extern
struct
dbcache
*
ldbm_cache_open
();
...
...
@@ -69,7 +70,7 @@ main( int argc, char **argv )
Avlnode
*
avltypes
=
NULL
;
extern
char
*
optarg
;
tailorfile
=
DEFAULT_CONFIGFILE
;
tailorfile
=
SLAPD_
DEFAULT_CONFIGFILE
;
dbnum
=
-
1
;
while
(
(
i
=
getopt
(
argc
,
argv
,
"d:f:i:n:"
))
!=
EOF
)
{
switch
(
i
)
{
...
...
servers/slapd/tools/ldif2id2entry.c
View file @
d1288c2f
...
...
@@ -5,7 +5,8 @@
#include
"../slap.h"
#include
"../back-ldbm/back-ldbm.h"
#define DEFAULT_CONFIGFILE "/usr/local/etc/slapd.conf"
#include
"ldapconfig.h"
#define MAXARGS 100
extern
struct
dbcache
*
ldbm_cache_open
();
...
...
@@ -65,7 +66,7 @@ main( int argc, char **argv )
FILE
*
fp
;
extern
char
*
optarg
;
tailorfile
=
DEFAULT_CONFIGFILE
;
tailorfile
=
SLAPD_
DEFAULT_CONFIGFILE
;
dbnum
=
-
1
;
while
(
(
i
=
getopt
(
argc
,
argv
,
"d:f:i:n:"
))
!=
EOF
)
{
switch
(
i
)
{
...
...
servers/slapd/tools/ldif2index.c
View file @
d1288c2f
...
...
@@ -4,7 +4,8 @@
#include
<sys/socket.h>
#include
"../slap.h"
#define DEFAULT_CONFIGFILE "/usr/local/etc/slapd.conf"
#include
"ldapconfig.h"
#define MAXARGS 100
extern
void
attr_index_config
();
...
...
@@ -59,7 +60,7 @@ main( int argc, char **argv )
extern
char
*
optarg
;
inputfile
=
NULL
;
tailorfile
=
DEFAULT_CONFIGFILE
;
tailorfile
=
SLAPD_
DEFAULT_CONFIGFILE
;
dbnum
=
-
1
;
while
(
(
i
=
getopt
(
argc
,
argv
,
"d:f:i:n:"
))
!=
EOF
)
{
switch
(
i
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment