Changeset 5146:716400712348 in roaraudio for roard/roard.c
- Timestamp:
- 10/15/11 12:48:07 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/roard.c
r5103 r5146 217 217 printf("\nAuth Options:\n\n"); 218 218 printf( 219 " --guest-acclev ACCLEV - Sets the access level for guest access to ACCLEV\n" 219 " --guest-acclev ACCLEV - Sets the access level for guest access to ACCLEV,\n" 220 " Use \"none\" to disable guest access.\n" 220 221 " --trust-acclev ACCLEV - Sets the access level for trust-authed\n" 221 " connections to ACCLEV \n"222 " connections to ACCLEV. Use \"none\" to disable trust auth.\n" 222 223 " --trust-root - Trust root user\n" 223 224 " --no-trust-root - Don't trust root user\n" … … 1679 1680 _CKHAVEARGS(1); 1680 1681 none_acclev = clients_str2acclev(argv[++i]); 1682 if ( none_acclev == -1 ) { 1683 ROAR_ERR("Invalid access level: %s", argv[i]); 1684 return 1; 1685 } 1681 1686 } else if ( strcmp(k, "--trust-acclev") == 0 ) { 1682 1687 _CKHAVEARGS(1); 1683 1688 trust_acclev = clients_str2acclev(argv[++i]); 1689 if ( trust_acclev == -1 ) { 1690 ROAR_ERR("Invalid access level: %s", argv[i]); 1691 return 1; 1692 } 1684 1693 } else if ( strcmp(k, "--trust-root") == 0 ) { 1685 1694 trust_root = 1;
Note: See TracChangeset
for help on using the changeset viewer.