summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-18 12:13:37 +0100
committerMichael Adam <obnox@samba.org>2008-01-20 02:03:38 +0100
commit139340f570f006032aba2d5d98e13731e373bdfe (patch)
tree88ca4d43c3c607014bc675cf81e23781d9929f45 /source3
parentcb1e0de56f180fa6da82908a73610daecd19b9d7 (diff)
downloadsamba-139340f570f006032aba2d5d98e13731e373bdfe.tar.gz
samba-139340f570f006032aba2d5d98e13731e373bdfe.tar.bz2
samba-139340f570f006032aba2d5d98e13731e373bdfe.zip
Volker is right: why keep commented out migrated dynamic reg overlays around?...
Michael (This used to be commit a73b8d16aa0f7a3bb7417e9839e04380e6a68629)
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_dynamic.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/source3/registry/reg_dynamic.c b/source3/registry/reg_dynamic.c
index 07c9673c28..037bdab0cc 100644
--- a/source3/registry/reg_dynamic.c
+++ b/source3/registry/reg_dynamic.c
@@ -29,24 +29,6 @@ struct reg_dyn_values {
int (*fetch_values) ( REGVAL_CTR *val );
};
-#if 0
-/***********************************************************************
-***********************************************************************/
-
-static int netlogon_params( REGVAL_CTR *regvals )
-{
- uint32 dwValue;
-
- if ( !pdb_get_account_policy(AP_REFUSE_MACHINE_PW_CHANGE, &dwValue) )
- dwValue = 0;
-
- regval_ctr_addvalue( regvals, "RefusePasswordChange", REG_DWORD,
- (char*)&dwValue, sizeof(dwValue) );
-
- return regval_ctr_numvals( regvals );
-}
-#endif
-
/***********************************************************************
***********************************************************************/
@@ -202,9 +184,6 @@ static int current_version( REGVAL_CTR *values )
***********************************************************************/
static struct reg_dyn_values dynamic_values[] = {
-#if 0
- { "HKLM/SYSTEM/CURRENTCONTROLSET/SERVICES/NETLOGON/PARAMETERS", &netlogon_params },
-#endif
{ "HKLM/SYSTEM/CURRENTCONTROLSET/CONTROL/PRODUCTOPTIONS", &prod_options },
{ "HKLM/SYSTEM/CURRENTCONTROLSET/SERVICES/TCPIP/PARAMETERS", &tcpip_params },
{ "HKLM/SOFTWARE/MICROSOFT/WINDOWS NT/CURRENTVERSION/PERFLIB", &perflib_params },