Skip to content

Commit

Permalink
r13384: Adding in some more SuSE patches
Browse files Browse the repository at this point in the history
* uninitialized-variables.diff
* samba-smbadduser.diff
* samba-implicit_decl.patch
(This used to be commit 064338c)
  • Loading branch information
Gerald Carter committed Oct 10, 2007
1 parent 4379662 commit a988be7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions source3/modules/getdate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 1 addition & 0 deletions source3/modules/getdate.y
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion source3/pam_smbpass/pam_smb_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
6 changes: 3 additions & 3 deletions source3/smbadduser.in
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit a988be7

Please sign in to comment.