summaryrefslogtreecommitdiffstats
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-04-28 14:01:02 +0000
committerAndrew Tridgell <tridge@samba.org>2001-04-28 14:01:02 +0000
commit63602d15afe96206e1fdcea4d2b9014582aa41aa (patch)
tree47e1baa898afbf0f8894d0daef768367c942f271 /source3/smbd/reply.c
parent3c71214d47313e96baedf7b9a27507bc21eed01a (diff)
downloadsamba-63602d15afe96206e1fdcea4d2b9014582aa41aa.tar.gz
samba-63602d15afe96206e1fdcea4d2b9014582aa41aa.tar.xz
samba-63602d15afe96206e1fdcea4d2b9014582aa41aa.zip
- fixed some compiler warnings
- fixed slprintf and vsprintf macros (This used to be commit c986a3c51e8cdbc1230edbe0f4a91138c4ada29d)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 15e8e9537e..61b9390d08 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -556,7 +556,7 @@ static BOOL check_server_security(char *orig_user, char *domain, char *unix_user
smb_apasswd, smb_apasslen,
smb_ntpasswd, smb_ntpasslen);
if(ret) {
- struct passwd *pwd;
+ struct passwd *pwd=NULL;
/*
* User validated ok against Domain controller.
@@ -597,7 +597,7 @@ static BOOL check_domain_security(char *orig_user, char *domain, char *unix_user
{
BOOL ret = False;
BOOL user_exists = True;
- struct passwd *pwd;
+ struct passwd *pwd=NULL;
if(lp_security() != SEC_DOMAIN)
return False;