2024-04-24 03:34:36 +03:00
/*
2009-07-27 16:04:26 +04:00
Unix SMB / CIFS implementation .
Copyright ( C ) Andrew Bartlett < abartlet @ samba . org > 2009
2024-04-24 03:34:36 +03:00
2009-07-27 16:04:26 +04:00
This program is free software ; you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation ; either version 3 of the License , or
( at your option ) any later version .
2024-04-24 03:34:36 +03:00
2009-07-27 16:04:26 +04:00
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
2024-04-24 03:34:36 +03:00
2009-07-27 16:04:26 +04:00
You should have received a copy of the GNU General Public License
along with this program . If not , see < http : //www.gnu.org/licenses/>.
*/
2012-04-10 13:09:20 +04:00
# include "includes.h"
# include "libnet/libnet.h"
2009-07-27 16:04:26 +04:00
struct libnet_export_keytab {
struct {
const char * keytab_name ;
2011-11-29 05:47:40 +04:00
const char * principal ;
2023-12-19 05:58:49 +03:00
struct ldb_context * samdb ;
2024-03-07 01:59:21 +03:00
bool keep_stale_entries ;
2024-03-15 18:11:10 +03:00
bool only_current_keys ;
2024-04-26 04:54:42 +03:00
bool as_for_AS_REQ ;
2009-07-27 16:04:26 +04:00
} in ;
struct {
const char * error_string ;
} out ;
} ;
2012-04-10 13:09:20 +04:00
NTSTATUS libnet_export_keytab ( struct libnet_context * ctx , TALLOC_CTX * mem_ctx , struct libnet_export_keytab * r ) ;