The Samba-Bugzilla – Attachment 1346 Details for
Bug 2934
auth_sam.c and winbindd_ads.c type mismatches
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
types fixes
types-fixes (text/plain), 1.53 KB, created by
Luke Mewburn
on 2005-08-01 04:02:37 UTC
(
hide
)
Description:
types fixes
Filename:
MIME Type:
Creator:
Luke Mewburn
Created:
2005-08-01 04:02:37 UTC
Size:
1.53 KB
patch
obsolete
>Index: source/auth/auth_sam.c >=================================================================== >RCS file: /cvsroot/wasabisrc/dist/samba/source/auth/auth_sam.c,v >retrieving revision 1.1.1.5 >retrieving revision 1.3 >diff -p -p -u -r1.1.1.5 -r1.3 >--- source/auth/auth_sam.c 18 Apr 2005 16:38:17 -0000 1.1.1.5 >+++ source/auth/auth_sam.c 1 Aug 2005 08:44:40 -0000 1.3 >@@ -78,6 +78,7 @@ static BOOL logon_hours_ok(SAM_ACCOUNT * > /* In logon hours first bit is Sunday from 12AM to 1AM */ > const uint8 *hours; > struct tm *utctime; >+ time_t lasttime; > uint8 bitmask, bitpos; > > hours = pdb_get_hours(sampass); >@@ -86,7 +87,8 @@ static BOOL logon_hours_ok(SAM_ACCOUNT * > return True; > } > >- utctime = localtime(&smb_last_time.tv_sec); >+ lasttime = smb_last_time.tv_sec; >+ utctime = localtime(&lasttime); > > /* find the corresponding byte and bit */ > bitpos = (utctime->tm_wday * 24 + utctime->tm_hour) % 168; >Index: source/nsswitch/winbindd_ads.c >=================================================================== >RCS file: /cvsroot/wasabisrc/dist/samba/source/nsswitch/winbindd_ads.c,v >retrieving revision 1.1.1.4 >retrieving revision 1.3 >diff -p -p -u -r1.1.1.4 -r1.3 >--- source/nsswitch/winbindd_ads.c 28 Jul 2005 13:19:44 -0000 1.1.1.4 >+++ source/nsswitch/winbindd_ads.c 1 Aug 2005 08:44:40 -0000 1.3 >@@ -640,7 +640,8 @@ static NTSTATUS lookup_groupmem(struct w > NTSTATUS status = NT_STATUS_UNSUCCESSFUL; > char *sidstr; > char **members; >- int i, num_members; >+ int i; >+ size_t num_members; > fstring sid_string; > BOOL more_values; > const char **attrs;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2934
: 1346