audit_krb5kdc.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2000 by Sun Microsystems, Inc.
* All rights reserved.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdio.h>
#include <bsm/audit_record.h>
#include <bsm/audit_uevents.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include <unistd.h>
#include <generic.h>
#ifdef C2_DEBUG2
#else
#define dprintf(x)
#endif
#define AUD_NULL_STR(s) ((s) ? (s) : "(null)")
void
{
dprintf(("audit_krb5kdc_setup()\n"));
}
static void
char *cname, /* client principal name */
char *sname, /* requested service name */
int sorf) /* flag for success or failure */
{
char text_buf[512];
dprintf(("common_audit() start\n"));
/* if auditing turned off, then don't do anything */
if (cannot_audit(0))
return;
(void) aug_save_namask();
perror("krb5kdc");
return;
}
(void) aug_audit();
}
void
char *cname, /* client principal name */
char *sname, /* requested service name */
int sorf) /* flag for success or failure */
{
}
void
char *cname, /* client principal name */
char *sname, /* requested service name */
int sorf) /* flag for success or failure */
{
}
void
char *cname, /* client principal name */
char *sname) /* requested service name */
{
}
void
char *cname, /* client principal name */
char *sname, /* requested service name */
int sorf) /* flag for success or failure */
{
}