$Log$
+ Revision 621.17 2004/06/19 02:33:54 ajc
+ * Removed the configuration option "Allow Aides access to all mailboxes."
+ This functionality *must* always be enabled for administrative create/edit
+ of vCards, which live in the user's My Citadel Config> room.
+
Revision 621.16 2004/06/16 04:17:43 ajc
* More scheduler changes. Removed the rescan pipe again, and also
removed the mutex wrapper around select(). In my initial testing I am
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
int c_imap_port; /* IMAP listener port (usually 143) */
time_t c_net_freq; /* how often to run the networker */
char c_disable_newu; /* disable NEWU command */
- char c_aide_mailboxes; /* give Aides access to mailboxes */
+ char c_niu_4; /* (not in use) */
char c_baseroom[ROOMNAMELEN]; /* Name of baseroom (Lobby) */
char c_aideroom[ROOMNAMELEN]; /* Name of aideroom (Aide) */
int c_purge_hour; /* Hour during which db purges run */
cprintf("%d\n", config.c_imap_port);
cprintf("%ld\n", config.c_net_freq);
cprintf("%d\n", config.c_disable_newu);
- cprintf("%d\n", config.c_aide_mailboxes);
+ cprintf("1\n"); /* no longer in use */
cprintf("%d\n", config.c_purge_hour);
#ifdef HAVE_LDAP
cprintf("%s\n", config.c_ldap_host);
config.c_disable_newu = 1;
break;
case 30:
- config.c_aide_mailboxes = atoi(buf);
- if (config.c_aide_mailboxes != 0)
- config.c_aide_mailboxes = 1;
+ /* no longer in use */
break;
case 31:
if ((config.c_purge_hour >= 0)
}
}
- /* On some systems, Aides can gain access to mailboxes as well */
- if ( (config.c_aide_mailboxes)
- && (userbuf->axlevel >= 6)
+ /* Aides can gain access to mailboxes as well, but they don't show
+ * by default.
+ */
+ if ( (userbuf->axlevel >= 6)
&& (roombuf->QRflags & QR_MAILBOX) ) {
retval = retval | UA_GOTOALLOWED;
}
}
if (new_room_type == 5) {
- if ((config.c_aide_mailboxes == 0)
- || (CC->user.axlevel < 6)) {
+ if (CC->user.axlevel < 6) {
cprintf("%d Higher access required\n",
ERROR + HIGHER_ACCESS_REQUIRED);
return;
snprintf(sc[26], sizeof sc[26], "%d", (boolprompt(
"Allow Aides to Zap (forget) rooms",
atoi(&sc[26][0]))));
- snprintf(sc[30], sizeof sc[30], "%d", (boolprompt(
- "Allow system Aides access to user mailboxes",
- atoi(&sc[30][0]))));
if (strlen(&sc[18][0]) > 0) logpages = 1;
else logpages = 0;
28. Port number for IMAP service
29. How often (in seconds) to run the networker
30. Flag (0 or 1) - disable self-service new user registration
- 31. Flag (0 or 1) - Aides are allowed access to all mailboxes
+ 31. (placeholder -- this field is no longer in use)
32. Hour (0 through 23) during which database auto-purge jobs are run
33. Name of host where an LDAP service may be found
34. Port number of LDAP service on above host
35. LDAP Base DN
36. LDAP Bind DN
- 37. PAssword for LDAP Bind DN
+ 37. Password for LDAP Bind DN
CONF also accepts two additional commands: GETSYS and PUTSYS followed by an
arbitrary MIME type (such as application/x-citadel-internet-config) which