[PATCH] samba-2.2.6pre2 glitch

Paul_GreenVOS at vos.stratus.com Paul_GreenVOS at vos.stratus.com
Mon Sep 2 23:11:59 GMT 2002


The symbol for "false" in Samba is named False, not FALSE...
this shows up on my system because FALSE is not defined in any
POSIX header. (Exists on Unix systems).

### START OF PATCH ###

diff -urp source>utils>smbpasswd.c.orig source>utils>smbpasswd.c
--- source>utils>smbpasswd.c.orig  Thu Aug 29 07:05:33 2002
+++ source>utils>smbpasswd.c  Mon Sep  2 22:52:15 2002
@@ -34,7 +34,7 @@ extern int optind;

 /* forced running in root-mode */
 static BOOL local_mode;
-static BOOL joining_domain = False, got_pass = False, got_username = False, changing_trust_pw = FALSE;
+static BOOL joining_domain = False, got_pass = False, got_username = False, changing_trust_pw = False;
 static int local_flags = 0;
 static BOOL stdin_passwd_get = False;
 static fstring user_name, user_password;

### END OF PATCH ###

Thanks
PG
--
Paul Green                  | Mail: Paul.Green at stratus.com
Senior Technical Consultant | Voice: +1 978-461-7557   FAX: +1 978-461-3610
Stratus Technologies        | Video: PictureTel/AT&T by request.
Maynard, MA  01754          | Disclaimer: I speak for myself, not Stratus.




More information about the samba-technical mailing list