diff options
-rw-r--r-- | source3/param/loadparm.c | 2 | ||||
-rw-r--r-- | source3/utils/testprns.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 8531b2fdd1..97d9389aa6 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1184,7 +1184,7 @@ static struct parm_struct parm_table[] = { {"template shell", P_STRING, P_GLOBAL, &Globals.szTemplateShell, NULL, NULL, FLAG_ADVANCED}, {"winbind separator", P_STRING, P_GLOBAL, &Globals.szWinbindSeparator, NULL, NULL, FLAG_ADVANCED}, {"winbind cache time", P_INTEGER, P_GLOBAL, &Globals.winbind_cache_time, NULL, NULL, FLAG_ADVANCED}, - {"winbind enable local accounts", P_BOOL, P_GLOBAL, &Globals.bWinbindEnableLocalAccounts, NULL, NULL, FLAG_ADVANCED}, + {"winbind enable local accounts", P_BOOL, P_GLOBAL, &Globals.bWinbindEnableLocalAccounts, NULL, NULL, FLAG_ADVANCED|FLAG_DEPRECATED}, {"winbind enum users", P_BOOL, P_GLOBAL, &Globals.bWinbindEnumUsers, NULL, NULL, FLAG_ADVANCED}, {"winbind enum groups", P_BOOL, P_GLOBAL, &Globals.bWinbindEnumGroups, NULL, NULL, FLAG_ADVANCED}, {"winbind use default domain", P_BOOL, P_GLOBAL, &Globals.bWinbindUseDefaultDomain, NULL, NULL, FLAG_ADVANCED}, diff --git a/source3/utils/testprns.c b/source3/utils/testprns.c index 1525ab11d0..5af40b06d1 100644 --- a/source3/utils/testprns.c +++ b/source3/utils/testprns.c @@ -41,6 +41,9 @@ int main(int argc, char *argv[]) { setup_logging(argv[0],True); + printf("NOTICE: This program is now deprecated and will be removed \n"); + printf("in a future Samba release.\n\n"); + if (argc != 2) printf("Usage: testprns printername\n"); else |