2024-04-24 12:34:36 +12:00
/*
2009-07-27 22:04:26 +10:00
Unix SMB / CIFS implementation .
Copyright ( C ) Andrew Bartlett < abartlet @ samba . org > 2009
2024-04-24 12:34:36 +12:00
2009-07-27 22:04:26 +10: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 12:34:36 +12:00
2009-07-27 22:04:26 +10: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 12:34:36 +12:00
2009-07-27 22:04:26 +10: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 12:09:20 +03:00
# include "includes.h"
# include "libnet/libnet.h"
2009-07-27 22:04:26 +10:00
struct libnet_export_keytab {
struct {
const char * keytab_name ;
2011-11-29 12:47:40 +11:00
const char * principal ;
2023-12-19 15:58:49 +13:00
struct ldb_context * samdb ;
2024-03-07 11:59:21 +13:00
bool keep_stale_entries ;
2024-03-15 16:11:10 +01:00
bool only_current_keys ;
2024-04-26 13:54:42 +12:00
bool as_for_AS_REQ ;
2009-07-27 22:04:26 +10:00
} in ;
struct {
const char * error_string ;
} out ;
} ;
2012-04-10 12:09:20 +03:00
NTSTATUS libnet_export_keytab ( struct libnet_context * ctx , TALLOC_CTX * mem_ctx , struct libnet_export_keytab * r ) ;