s3: libsmbclient: Fix smbc_stat() to return ENOENT on a non-existent file.
[Samba.git] / source4 / kdc / kpasswd-service.h
blob845d68096e8accd667a916f23f4dc895fa893d92
1 /*
2 Unix SMB/CIFS implementation.
4 Samba kpasswd implementation
6 Copyright (c) 2016 Andreas Schneider <asn@samba.org>
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef _KPASSWD_SERVICE_H
23 #define _KPASSWD_SERVICE_H
25 struct gensec_security;
27 krb5_error_code kpasswd_handle_request(struct kdc_server *kdc,
28 TALLOC_CTX *mem_ctx,
29 struct gensec_security *gensec_security,
30 uint16_t verno,
31 DATA_BLOB *decoded_data,
32 DATA_BLOB *kpasswd_reply,
33 const char **error_string);
35 kdc_code kpasswd_process(struct kdc_server *kdc,
36 TALLOC_CTX *mem_ctx,
37 DATA_BLOB *request,
38 DATA_BLOB *reply,
39 struct tsocket_address *remote_addr,
40 struct tsocket_address *local_addr,
41 int datagram);
43 #endif /* _KPASSWD_SERVICE_H */