diff options
author | Andreas Schneider <asn@samba.org> | 2016-09-07 14:47:31 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-09-11 02:58:22 +0200 |
commit | f9de99ce9b59d9052d9ebe22332f76f66857476f (patch) | |
tree | cf0862a96255466144c1da6659843dda2ad7aafa /source4/kdc/kpasswd-helper.h | |
parent | 2f36e6d3ec1907b32275a769667cc7b791efd7de (diff) | |
download | samba-f9de99ce9b59d9052d9ebe22332f76f66857476f.tar.gz |
s4-kdc: Move kpasswd_make_error_reply() to a helper file
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/kdc/kpasswd-helper.h')
-rw-r--r-- | source4/kdc/kpasswd-helper.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/source4/kdc/kpasswd-helper.h b/source4/kdc/kpasswd-helper.h new file mode 100644 index 00000000000..74a508ca70f --- /dev/null +++ b/source4/kdc/kpasswd-helper.h @@ -0,0 +1,30 @@ +/* + Unix SMB/CIFS implementation. + + Samba kpasswd implementation + + Copyright (c) 2016 Andreas Schneider <asn@samba.org> + + 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. + + 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. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _KPASSWD_HELPER_H +#define _KPASSWD_HELPER_H + +bool kpasswd_make_error_reply(TALLOC_CTX *mem_ctx, + krb5_error_code error_code, + const char *error_string, + DATA_BLOB *error_data); + +#endif /* _KPASSWD_HELPER_H */ |