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:
parent
1b955bbf59
commit
064338c6f5
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -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. */
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user