summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-01-27 15:13:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:12 -0500
commit6441450e9306b1b09ca2a085d47992867acdd4ec (patch)
tree1f8f1cccab3d18263cab352cbc8fd692b0db9f66
parent3bb69bc8efa02a2ffdba4b4ee6371312de9eba0d (diff)
downloadsamba-6441450e9306b1b09ca2a085d47992867acdd4ec.tar.gz
samba-6441450e9306b1b09ca2a085d47992867acdd4ec.tar.bz2
samba-6441450e9306b1b09ca2a085d47992867acdd4ec.zip
r5046: mark 'winbind enable local accounts' and testprns as depcrecated
(This used to be commit 17bc42b4c2e21004adaeac78db6231a384fda16c)
-rw-r--r--source3/param/loadparm.c2
-rw-r--r--source3/utils/testprns.c3
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