The Samba-Bugzilla – Attachment 1368 Details for
Bug 2968
utils/net_rpc_join.c: 'pwbuf' is wrong type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Change type on pwbuf
rpc.patch (text/plain), 1.15 KB, created by
Jason Mader (mail bounces back)
on 2005-08-12 07:58:44 UTC
(
hide
)
Description:
Change type on pwbuf
Filename:
MIME Type:
Creator:
Jason Mader (mail bounces back)
Created:
2005-08-12 07:58:44 UTC
Size:
1.15 KB
patch
obsolete
>Index: utils/net_rpc.c >=================================================================== >--- utils/net_rpc.c (revision 9260) >+++ utils/net_rpc.c (working copy) >@@ -845,7 +845,7 @@ > POLICY_HND connect_pol, domain_pol, user_pol; > SAM_USERINFO_CTR ctr; > SAM_USER_INFO_24 p24; >- uchar pwbuf[516]; >+ char pwbuf[516]; > const char *user; > const char *new_password; > char *prompt = NULL; >@@ -914,7 +914,7 @@ > > encode_pw_buffer(pwbuf, new_password, STR_UNICODE); > >- init_sam_user_info24(&p24, (char *)pwbuf,24); >+ init_sam_user_info24(&p24, pwbuf,24); > > ctr.switch_value = 24; > ctr.info.id24 = &p24; >Index: utils/net_rpc_join.c >=================================================================== >--- utils/net_rpc_join.c (revision 9260) >+++ utils/net_rpc_join.c (working copy) >@@ -114,7 +114,7 @@ > /* Password stuff */ > > char *clear_trust_password = NULL; >- uchar pwbuf[516]; >+ char pwbuf[516]; > SAM_USERINFO_CTR ctr; > SAM_USER_INFO_24 p24; > SAM_USER_INFO_16 p16; >@@ -268,7 +268,7 @@ > ZERO_STRUCT(ctr); > ZERO_STRUCT(p24); > >- init_sam_user_info24(&p24, (char *)pwbuf,24); >+ init_sam_user_info24(&p24, pwbuf,24); > > ctr.switch_value = 24; > ctr.info.id24 = &p24;
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 2968
:
1359
| 1368