2_2 CVS cli_spoolss_notify.c Compile Error - missing defines from head smb.h
Richard Bollinger
rabollinger at attbi.com
Tue Jun 25 05:35:02 GMT 2002
Compiling rpc_client/cli_spoolss_notify.c
rpc_client/cli_spoolss_notify.c: In function `spoolss_connect_to_client':
rpc_client/cli_spoolss_notify.c:126: `NEGOTIATE_SECURITY_USER_LEVEL' undeclared (first use this
function)
rpc_client/cli_spoolss_notify.c:126: (Each undeclared identifier is reported only once
rpc_client/cli_spoolss_notify.c:126: for each function it appears in.)
make: *** [rpc_client/cli_spoolss_notify.o] Error 1
Fix (missing defines borrowed from head):
--- ../source/include/smb.h Mon Jun 10 07:17:07 2002
+++ ./include/smb.h Tue Jun 25 08:23:40 2002
@@ -1291,6 +1291,12 @@
#define BROWSER_ELECTION_VERSION 0x010f
#define BROWSER_CONSTANT 0xaa55
+/* Security mode bits. */
+#define NEGOTIATE_SECURITY_USER_LEVEL 0x01
+#define NEGOTIATE_SECURITY_CHALLENGE_RESPONSE 0x02
+#define NEGOTIATE_SECURITY_SIGNATURES_ENABLED 0x04
+#define NEGOTIATE_SECURITY_SIGNATURES_REQUIRED 0x08
+
/* NT Flags2 bits - cifs6.txt section 3.1.2 */
#define FLAGS2_LONG_PATH_COMPONENTS 0x0001
Rich Bollinger
More information about the samba-technical
mailing list