1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

r13384: Adding in some more SuSE patches

* uninitialized-variables.diff
* samba-smbadduser.diff
* samba-implicit_decl.patch
This commit is contained in:
Gerald Carter 2006-02-08 04:11:08 +00:00 committed by Gerald (Jerry) Carter
parent 1b955bbf59
commit 064338c6f5
4 changed files with 6 additions and 4 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -67,7 +67,7 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags,
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. */

View File

@ -10,15 +10,15 @@ PRIVATEDIR=@privatedir@
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"