summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-03-18 23:42:30 +0000
committerAndrew Tridgell <tridge@samba.org>2001-03-18 23:42:30 +0000
commit4c9f7ab7f6e7fecfa6e4bc5f8476251e35b8b363 (patch)
treecb9c23cbdf68bc6cc908ad8853ae7f55d8bd08f6 /source3
parentbc25293f96fb559b875d03e6ddbd9079b4af9dff (diff)
downloadsamba-4c9f7ab7f6e7fecfa6e4bc5f8476251e35b8b363.tar.gz
samba-4c9f7ab7f6e7fecfa6e4bc5f8476251e35b8b363.tar.bz2
samba-4c9f7ab7f6e7fecfa6e4bc5f8476251e35b8b363.zip
fixed unused variable
(This used to be commit af62692e623429ca861905a0ac050b00a3bffdb0)
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c
index f0b3ef68cd..2449eec1f0 100644
--- a/source3/passdb/pdb_smbpasswd.c
+++ b/source3/passdb/pdb_smbpasswd.c
@@ -1269,7 +1269,7 @@ static BOOL build_sam_account (SAM_ACCOUNT *sam_pass,
if (samlogon_user[strlen(samlogon_user)-1] != '$')
{
pstring str;
- gid_t gid;
+ gid_t gid = getegid();
sam_logon_in_ssb = True;