summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-09 20:56:57 +0100
committerGünther Deschner <gd@samba.org>2011-02-09 22:51:23 +0100
commit65bb6b35241a29a514fef3be547398c9cd3c2e09 (patch)
treeaf484116f08131438365404504e38299e0fc1b58 /source3/libsmb
parent4303d34da9c0da048348c63468c25381d8d0084c (diff)
downloadsamba-65bb6b35241a29a514fef3be547398c9cd3c2e09.tar.gz
samba-65bb6b35241a29a514fef3be547398c9cd3c2e09.tar.bz2
samba-65bb6b35241a29a514fef3be547398c9cd3c2e09.zip
s3: move some stuff out of smb.h to better locations.
Guenther
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clirap.c2
-rw-r--r--source3/libsmb/namequery.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index 8541af4c7d..781dbe64af 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/libsmb/clirap.c
@@ -25,6 +25,8 @@
#include "../lib/crypto/arcfour.h"
#include "async_smb.h"
+#define PIPE_LANMAN "\\PIPE\\LANMAN"
+
/****************************************************************************
Call a remote api
****************************************************************************/
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index 64452d53a2..0da495dbb9 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -1815,6 +1815,9 @@ static NTSTATUS resolve_hosts(const char *name, int name_type,
Resolve via "ADS" method.
*********************************************************/
+/* Special name type used to cause a _kerberos DNS lookup. */
+#define KDC_NAME_TYPE 0xDCDC
+
static NTSTATUS resolve_ads(const char *name,
int name_type,
const char *sitename,