1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

r5046: mark 'winbind enable local accounts' and testprns as depcrecated

This commit is contained in:
Gerald Carter
2005-01-27 15:13:16 +00:00
committed by Gerald (Jerry) Carter
parent d64fd1116d
commit 17bc42b4c2
2 changed files with 4 additions and 1 deletions

View File

@ -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},

View File

@ -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