Second Notice...

Peter Samuelson peter at cadcamlab.org
Wed Mar 1 06:32:54 GMT 2000


[William Jojo]
> Compiling rpc_client/cli_login.c with libtool
> "include/sam.h", line 31.41: 1506-243 (S) Value of enumeration constant must be
> in range of signed integer.

Hmmmm.  The "correct" solution would probably be to convert the enum to 
a string of #defines, but the following hack (untested) should get the
job done.  It's truly evil, though.

Peter

--- source/include/sam.h	Fri Feb  4 12:58:16 2000
+++ source/include/sam.h.hack	Wed Mar  1 00:29:57 2000
@@ -28,7 +28,7 @@
   NTDS_GROUP_TYPE_GLOBAL_GROUP        = 0x00000002,
   NTDS_GROUP_TYPE_DOMAIN_LOCAL_GROUP  = 0x00000004,
   NTDS_GROUP_TYPE_UNIVERSAL_GROUP     = 0x00000008,
-  NTDS_GROUP_TYPE_SECURITY_ENABLED    = 0x80000000
+  NTDS_GROUP_TYPE_SECURITY_ENABLED    =-0x80000000
 } NTDS_GROUP_TYPE_ENUM;
 
 /* userAccountFlags */



More information about the samba mailing list