diff options
author | Jeremy Allison <jra@samba.org> | 2001-03-19 07:08:02 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-03-19 07:08:02 +0000 |
commit | c7a953a3188ccb6dfbe49ea66304b3d517b0c628 (patch) | |
tree | f24e442f81ee263e0981155b1ef6fc1c4f887df8 /source3/passdb | |
parent | 62711a9ceb375fef2c0af0f649d8c77eb94483f9 (diff) | |
download | samba-c7a953a3188ccb6dfbe49ea66304b3d517b0c628.tar.gz samba-c7a953a3188ccb6dfbe49ea66304b3d517b0c628.tar.bz2 samba-c7a953a3188ccb6dfbe49ea66304b3d517b0c628.zip |
Added sys_dlopen/sys_dlsym/sys_dlclose.
Jeremy.
(This used to be commit 49f0e7e7143f82bce9dfd8b06e9e515bc0869ab7)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/passdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 404163c67b..2b318eca53 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -51,14 +51,14 @@ BOOL initialize_password_db(BOOL reload) /* load another module? */ if (reload && pdb_handle) { - dlclose (pdb_handle); + sys_dlclose (pdb_handle); pdb_handle = NULL; } /* do we have a module defined or use the default? */ if (strlen (modulename) != 0) { - if ((pdb_handle=dlopen (modulename, RTLD_LAZY)) == NULL) + if ((pdb_handle=sys_dlopen (modulename, RTLD_LAZY)) == NULL) { DEBUG(0,("initialize_password_db: ERROR - Unable to open passdb module \"%s\"!\n%s\n", modulename, dlerror())); @@ -71,7 +71,7 @@ BOOL initialize_password_db(BOOL reload) to open. Let's try the default */ if (pdb_handle == NULL) { - if ((pdb_handle=dlopen ("libpdbfile.so", RTLD_LAZY)) == NULL) + if ((pdb_handle=sys_dlopen ("libpdbfile.so", RTLD_LAZY)) == NULL) { DEBUG(0,("initialize_password_db: ERROR - Unable to open \"libpdbfile.so\" passdb module! No user authentication possible!\n%s\n", dlerror())); |