The Samba-Bugzilla – Attachment 490 Details for
Bug 483
SWAT password creation seems to be seriously broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
It seems that some useful flags were not set in swat
swat.diff (text/plain), 903 bytes, created by
Michel Gravey
on 2004-05-05 01:55:54 UTC
(
hide
)
Description:
It seems that some useful flags were not set in swat
Filename:
MIME Type:
Creator:
Michel Gravey
Created:
2004-05-05 01:55:54 UTC
Size:
903 bytes
patch
obsolete
>--- swat.c.orig Wed May 5 10:27:48 2004 >+++ swat.c Wed May 5 10:51:02 2004 >@@ -1041,16 +1041,19 @@ > */ > > local_flags |= (cgi_variable(ADD_USER_FLAG) ? LOCAL_ADD_USER : 0); >+ local_flags |= (cgi_variable(ADD_USER_FLAG) ? LOCAL_SET_PASSWORD : 0); >+ local_flags |= (cgi_variable(CHG_S_PASSWD_FLAG) ? LOCAL_SET_PASSWORD : 0); > local_flags |= (cgi_variable(DELETE_USER_FLAG) ? LOCAL_DELETE_USER : 0); > local_flags |= (cgi_variable(ENABLE_USER_FLAG) ? LOCAL_ENABLE_USER : 0); > local_flags |= (cgi_variable(DISABLE_USER_FLAG) ? LOCAL_DISABLE_USER : 0); >+ > > rslt = change_password(host, > cgi_variable(SWAT_USER), > cgi_variable(OLD_PSWD), cgi_variable(NEW_PSWD), > local_flags); > >- if(local_flags == 0) { >+ if(cgi_variable(CHG_S_PASSWD_FLAG)) { > d_printf("<p>"); > if (rslt == True) { > d_printf(_(" The passwd for '%s' has been changed."), cgi_variable(SWAT_USER));
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 483
: 490