From 6441450e9306b1b09ca2a085d47992867acdd4ec Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 27 Jan 2005 15:13:16 +0000 Subject: r5046: mark 'winbind enable local accounts' and testprns as depcrecated (This used to be commit 17bc42b4c2e21004adaeac78db6231a384fda16c) --- source3/param/loadparm.c | 2 +- source3/utils/testprns.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'source3') 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 -- cgit