The Samba-Bugzilla – Attachment 2914 Details for
Bug 4824
User Manager for Domains - Account Expires
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Here the proposed patch
samr.patch (text/plain), 1.55 KB, created by
Matthias Dieter Wallnöfer
on 2007-09-03 17:14:05 UTC
(
hide
)
Description:
Here the proposed patch
Filename:
MIME Type:
Creator:
Matthias Dieter Wallnöfer
Created:
2007-09-03 17:14:05 UTC
Size:
1.55 KB
patch
obsolete
>Index: dcesrv_samr.c >=================================================================== >--- dcesrv_samr.c (revision 24919) >+++ dcesrv_samr.c (working copy) >@@ -3363,7 +3363,9 @@ > break; > > case 21: >-#define IFSET(bit) if (bit & r->in.info->info21.fields_present) >+#define IFSET(bit) if (bit & r->in.info->info21.fields_present) >+ IFSET(SAMR_FIELD_ACCT_EXPIRY) >+ SET_UINT64(msg, info21.acct_expiry, "accountExpires"); > IFSET(SAMR_FIELD_ACCOUNT_NAME) > SET_STRING(msg, info21.account_name, "samAccountName"); > IFSET(SAMR_FIELD_FULL_NAME) >@@ -3391,15 +3393,14 @@ > IFSET(SAMR_FIELD_COUNTRY_CODE) > SET_UINT (msg, info21.country_code, "countryCode"); > IFSET(SAMR_FIELD_CODE_PAGE) >- SET_UINT (msg, info21.code_page, "codePage"); >- >- >- /* Any reason the rest of these can't be set? */ >+ SET_UINT (msg, info21.code_page, "codePage"); > #undef IFSET > break; > > case 23: > #define IFSET(bit) if (bit & r->in.info->info23.info.fields_present) >+ IFSET(SAMR_FIELD_ACCT_EXPIRY) >+ SET_UINT64(msg, info23.info.acct_expiry, "accountExpires"); > IFSET(SAMR_FIELD_ACCOUNT_NAME) > SET_STRING(msg, info23.info.account_name, "samAccountName"); > IFSET(SAMR_FIELD_FULL_NAME) >@@ -3454,6 +3455,8 @@ > > case 25: > #define IFSET(bit) if (bit & r->in.info->info25.info.fields_present) >+ IFSET(SAMR_FIELD_ACCT_EXPIRY) >+ SET_UINT64(msg, info25.info.acct_expiry, "accountExpires"); > IFSET(SAMR_FIELD_ACCOUNT_NAME) > SET_STRING(msg, info25.info.account_name, "samAccountName"); > IFSET(SAMR_FIELD_FULL_NAME)
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 4824
: 2914