svn commit: samba r13384 - branches/SAMBA_3_0/source branches/SAMBA_3_0/source/modules branches/SAMBA_3_0/source/pam_smbpass trunk/source trunk/source/modules trunk/source/pam_smbpass

jerry at samba.org jerry at samba.org
Wed Feb 8 04:11:10 GMT 2006


Author: jerry
Date: 2006-02-08 04:11:08 +0000 (Wed, 08 Feb 2006)
New Revision: 13384

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13384

Log:
Adding in some more SuSE patches

* uninitialized-variables.diff
* samba-smbadduser.diff
* samba-implicit_decl.patch


Modified:
   branches/SAMBA_3_0/source/modules/getdate.c
   branches/SAMBA_3_0/source/modules/getdate.y
   branches/SAMBA_3_0/source/pam_smbpass/pam_smb_auth.c
   branches/SAMBA_3_0/source/smbadduser.in
   trunk/source/modules/getdate.c
   trunk/source/modules/getdate.y
   trunk/source/pam_smbpass/pam_smb_auth.c
   trunk/source/smbadduser.in


Changeset:
Modified: branches/SAMBA_3_0/source/modules/getdate.c
===================================================================
--- branches/SAMBA_3_0/source/modules/getdate.c	2006-02-08 04:05:34 UTC (rev 13383)
+++ branches/SAMBA_3_0/source/modules/getdate.c	2006-02-08 04:11:08 UTC (rev 13384)
@@ -138,6 +138,7 @@
 #endif
 
 #include <ctype.h>
+#include <string.h>
 
 #if HAVE_STDLIB_H
 # include <stdlib.h> /* for `free'; used by Bison 1.27 */

Modified: branches/SAMBA_3_0/source/modules/getdate.y
===================================================================
--- branches/SAMBA_3_0/source/modules/getdate.y	2006-02-08 04:05:34 UTC (rev 13383)
+++ branches/SAMBA_3_0/source/modules/getdate.y	2006-02-08 04:11:08 UTC (rev 13384)
@@ -43,6 +43,7 @@
 #endif
 
 #include <ctype.h>
+#include <string.h>
 
 #if HAVE_STDLIB_H
 # include <stdlib.h> /* for `free'; used by Bison 1.27 */

Modified: branches/SAMBA_3_0/source/pam_smbpass/pam_smb_auth.c
===================================================================
--- branches/SAMBA_3_0/source/pam_smbpass/pam_smb_auth.c	2006-02-08 04:05:34 UTC (rev 13383)
+++ branches/SAMBA_3_0/source/pam_smbpass/pam_smb_auth.c	2006-02-08 04:11:08 UTC (rev 13384)
@@ -67,7 +67,7 @@
     SAM_ACCOUNT *sampass = NULL;
     extern BOOL in_client;
     const char *name;
-    void (*oldsig_handler)(int);
+    void (*oldsig_handler)(int) = NULL;
     BOOL found;
 
     /* Points to memory managed by the PAM library. Do not free. */

Modified: branches/SAMBA_3_0/source/smbadduser.in
===================================================================
--- branches/SAMBA_3_0/source/smbadduser.in	2006-02-08 04:05:34 UTC (rev 13383)
+++ branches/SAMBA_3_0/source/smbadduser.in	2006-02-08 04:11:08 UTC (rev 13384)
@@ -10,15 +10,15 @@
 CONFIGDIR=@configdir@
 
 unalias *
-set path = ($path /usr/local/samba/bin)
+set path = ($path /usr/bin)
 
 set smbpasswd = $PRIVATEDIR/smbpasswd
-set user_map  = $CONFIGDIR/users.map
+set user_map  = $CONFIGDIR/smbusers
 
 #
 # Set to site specific passwd command
 #
-set passwd    = "cat /etc/passwd"
+set passwd    = "getent passwd"
 #set passwd    = "niscat passwd.org_dir"
 #set passwd    = "ypcat passwd"
 

Modified: trunk/source/modules/getdate.c
===================================================================
--- trunk/source/modules/getdate.c	2006-02-08 04:05:34 UTC (rev 13383)
+++ trunk/source/modules/getdate.c	2006-02-08 04:11:08 UTC (rev 13384)
@@ -138,6 +138,7 @@
 #endif
 
 #include <ctype.h>
+#include <string.h>
 
 #if HAVE_STDLIB_H
 # include <stdlib.h> /* for `free'; used by Bison 1.27 */

Modified: trunk/source/modules/getdate.y
===================================================================
--- trunk/source/modules/getdate.y	2006-02-08 04:05:34 UTC (rev 13383)
+++ trunk/source/modules/getdate.y	2006-02-08 04:11:08 UTC (rev 13384)
@@ -43,6 +43,7 @@
 #endif
 
 #include <ctype.h>
+#include <string.h>
 
 #if HAVE_STDLIB_H
 # include <stdlib.h> /* for `free'; used by Bison 1.27 */

Modified: trunk/source/pam_smbpass/pam_smb_auth.c
===================================================================
--- trunk/source/pam_smbpass/pam_smb_auth.c	2006-02-08 04:05:34 UTC (rev 13383)
+++ trunk/source/pam_smbpass/pam_smb_auth.c	2006-02-08 04:11:08 UTC (rev 13384)
@@ -67,7 +67,7 @@
     SAM_ACCOUNT *sampass = NULL;
     extern BOOL in_client;
     const char *name;
-    void (*oldsig_handler)(int);
+    void (*oldsig_handler)(int) = NULL;
     BOOL found;
 
     /* Points to memory managed by the PAM library. Do not free. */

Modified: trunk/source/smbadduser.in
===================================================================
--- trunk/source/smbadduser.in	2006-02-08 04:05:34 UTC (rev 13383)
+++ trunk/source/smbadduser.in	2006-02-08 04:11:08 UTC (rev 13384)
@@ -10,15 +10,15 @@
 CONFIGDIR=@configdir@
 
 unalias *
-set path = ($path /usr/local/samba/bin)
+set path = ($path /usr/bin)
 
 set smbpasswd = $PRIVATEDIR/smbpasswd
-set user_map  = $CONFIGDIR/users.map
+set user_map  = $CONFIGDIR/smbusers
 
 #
 # Set to site specific passwd command
 #
-set passwd    = "cat /etc/passwd"
+set passwd    = "getent passwd"
 #set passwd    = "niscat passwd.org_dir"
 #set passwd    = "ypcat passwd"
 



More information about the samba-cvs mailing list