smbd: use fdos_mode() in smbd_dirptr_lanman2_mode_fn()
[Samba.git] / nsswitch / winbind_nss_solaris.h
blob8e26d0da163192735c8c14ac9e2558ccd7f1efb0
1 /*
2 Unix SMB/CIFS implementation.
4 Winbind daemon for ntdom nss module
6 Copyright (C) Tim Potter 2000
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public
10 License as published by the Free Software Foundation; either
11 version 3 of the License, or (at your option) any later version.
13 This library 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 GNU
16 Library General Public License for more details.
18 You should have received a copy of the GNU Lesser General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef _WINBIND_NSS_SOLARIS_H
23 #define _WINBIND_NSS_SOLARIS_H
25 #include <nss_common.h>
26 #include <nss_dbdefs.h>
27 #include <nsswitch.h>
28 #include "system/passwd.h"
30 typedef nss_status_t NSS_STATUS;
32 #define NSS_STATUS_SUCCESS NSS_SUCCESS
33 #define NSS_STATUS_NOTFOUND NSS_NOTFOUND
34 #define NSS_STATUS_UNAVAIL NSS_UNAVAIL
35 #define NSS_STATUS_TRYAGAIN NSS_TRYAGAIN
37 #endif /* _WINBIND_NSS_SOLARIS_H */