xref: /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/rbac/rbacacl.c (revision 549b59ed3ccf0d36d3097190a0db27b770f3a839)
1 /*	$NetBSD: rbacacl.c,v 1.2 2021/08/14 16:14:53 christos Exp $	*/
2 
3 /* rbacacl.c - RBAC ACL */
4 /* $OpenLDAP$ */
5 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
6  *
7  *
8  * All rights reserved.
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted only as authorized by the OpenLDAP
12  * Public License.
13  *
14  * A copy of this license is available in the file LICENSE in the
15  * top-level directory of the distribution or, alternatively, at
16  * <http://www.OpenLDAP.org/license.html>.
17  */
18 /* ACKNOWLEDGEMENTS:
19  */
20 
21 #include <sys/cdefs.h>
22 __RCSID("$NetBSD: rbacacl.c,v 1.2 2021/08/14 16:14:53 christos Exp $");
23 
24 #include "portable.h"
25 
26 #include <stdio.h>
27 
28 #include <ac/string.h>
29 
30 #include "slap.h"
31 #include "slap-config.h"
32 #include "lutil.h"
33 
34 #include "rbac.h"
35 
36 int
rbac_create_session_acl_check(struct berval * sessid,rbac_user_t * userp)37 rbac_create_session_acl_check( struct berval *sessid, rbac_user_t *userp )
38 {
39 	int rc = LDAP_SUCCESS;
40 
41 	return rc;
42 }
43