summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-11-12 02:49:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:25:29 -0500
commitc81f2930a2df7cbd72a28e167ac522d2638661ea (patch)
treef97c61ea9bad4deb9904ac4266563f60f3242a4d /source4/libcli
parentfff74b4bca6f050713a7558f2dcbd3b1821d3d6b (diff)
downloadsamba-c81f2930a2df7cbd72a28e167ac522d2638661ea.tar.gz
samba-c81f2930a2df7cbd72a28e167ac522d2638661ea.tar.bz2
samba-c81f2930a2df7cbd72a28e167ac522d2638661ea.zip
r19676: Fix some more dependencies.
(This used to be commit 8768bec81f57131a0c9754e8121b345c0be4a5d0)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/auth/smbencrypt.c4
-rw-r--r--source4/libcli/config.mk5
2 files changed, 5 insertions, 4 deletions
diff --git a/source4/libcli/auth/smbencrypt.c b/source4/libcli/auth/smbencrypt.c
index 296d44f5d4..461665d670 100644
--- a/source4/libcli/auth/smbencrypt.c
+++ b/source4/libcli/auth/smbencrypt.c
@@ -63,7 +63,7 @@ BOOL SMBencrypt(const char *passwd, const uint8_t *c8, uint8_t p24[24])
* @param p16 return password hashed with md4, caller allocated 16 byte buffer
*/
-BOOL E_md4hash(const char *passwd, uint8_t p16[16])
+_PUBLIC_ BOOL E_md4hash(const char *passwd, uint8_t p16[16])
{
int len;
void *wpwd;
@@ -91,7 +91,7 @@ BOOL E_md4hash(const char *passwd, uint8_t p16[16])
* @note p16 is filled in regardless
*/
-BOOL E_deshash(const char *passwd, uint8_t p16[16])
+_PUBLIC_ BOOL E_deshash(const char *passwd, uint8_t p16[16])
{
BOOL ret = True;
fstring dospwd;
diff --git a/source4/libcli/config.mk b/source4/libcli/config.mk
index a64f41dbf4..6aba69c2af 100644
--- a/source4/libcli/config.mk
+++ b/source4/libcli/config.mk
@@ -54,7 +54,7 @@ OBJ_FILES = \
nbt/namerefresh.o \
nbt/namerelease.o
PUBLIC_DEPENDENCIES = LIBNDR NDR_NBT LIBCLI_COMPOSITE LIBEVENTS \
- NDR_SECURITY samba-socket
+ NDR_SECURITY samba-socket LIBSAMBA-UTIL
[LIBRARY::swig_libcli_nbt]
LIBRARY_REALNAME = swig/_libcli_nbt.$(SHLIBEXT)
@@ -77,6 +77,7 @@ DESCRIPTION = CLDAP client library
OBJ_FILES = cldap/cldap.o
PUBLIC_HEADERS = cldap/cldap.h
PUBLIC_DEPENDENCIES = LIBCLI_LDAP
+PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL ldb
[LIBRARY::LIBCLI_WREPL]
PRIVATE_PROTO_HEADER = wrepl/winsrepl_proto.h
@@ -85,7 +86,7 @@ SO_VERSION = 0
DESCRIPTION = WINS Replication client library
OBJ_FILES = \
wrepl/winsrepl.o
-PUBLIC_DEPENDENCIES = NDR_WINSREPL samba-socket LIBCLI_RESOLVE LIBEVENTS
+PUBLIC_DEPENDENCIES = NDR_WINSREPL samba-socket LIBCLI_RESOLVE LIBEVENTS LIBPACKET
[SUBSYSTEM::LIBCLI_RESOLVE]
PRIVATE_PROTO_HEADER = resolve/proto.h