diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2012-03-14 06:09:03 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-04-24 09:19:43 -0400 |
commit | 29be7d76c949b82350c7603cfd362a1fcb47eb1b (patch) | |
tree | a71b128f43a3a6c3ba6f62ca374710d2b2dde8fb /src/util/sss_nss.h | |
parent | 8ccb0de226ccb9330f5a6865de487d6f0313902d (diff) | |
download | sssd-29be7d76c949b82350c7603cfd362a1fcb47eb1b.tar.gz sssd-29be7d76c949b82350c7603cfd362a1fcb47eb1b.tar.xz sssd-29be7d76c949b82350c7603cfd362a1fcb47eb1b.zip |
Moved expand_homedir_template() from NSS responder to utility code
Diffstat (limited to 'src/util/sss_nss.h')
-rw-r--r-- | src/util/sss_nss.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/util/sss_nss.h b/src/util/sss_nss.h new file mode 100644 index 000000000..55e2b7f6b --- /dev/null +++ b/src/util/sss_nss.h @@ -0,0 +1,31 @@ +/* + SSSD + + Utility functions related to ID information + + Copyright (C) Jan Zeleny <jzeleny@redhat.com> 2012 + + 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 __SSS_NSS_H__ +#define __SSS_NSS_H__ + +#include <sys/types.h> +#include <talloc.h> + +char *expand_homedir_template(TALLOC_CTX *mem_ctx, const char *template, + const char *username, uint32_t uid, + const char *domain); +#endif |