summaryrefslogtreecommitdiff
path: root/source4/nsswitch/winbind_nss_config.h
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2008-12-16 10:06:04 +0100
committerKai Blin <kai@samba.org>2008-12-16 13:03:05 +0100
commit5ee0392a55d3a35692c026f1b88909d7fd2d2666 (patch)
tree083cd9a18e5a73d8374ce7d5c7679e5761f73b99 /source4/nsswitch/winbind_nss_config.h
parent6821d898d7ecf10c6a9359560c5cf1c50a812b62 (diff)
downloadsamba-5ee0392a55d3a35692c026f1b88909d7fd2d2666.tar.gz
samba-5ee0392a55d3a35692c026f1b88909d7fd2d2666.tar.bz2
samba-5ee0392a55d3a35692c026f1b88909d7fd2d2666.zip
nsswitch: Move nsswitch files from source4 to top level nsswitch dir
Diffstat (limited to 'source4/nsswitch/winbind_nss_config.h')
-rw-r--r--source4/nsswitch/winbind_nss_config.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/source4/nsswitch/winbind_nss_config.h b/source4/nsswitch/winbind_nss_config.h
deleted file mode 100644
index c5bc853770..0000000000
--- a/source4/nsswitch/winbind_nss_config.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- Unix SMB/CIFS implementation.
-
- Winbind daemon for ntdom nss module
-
- Copyright (C) Tim Potter 2000
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 3 of the License, or (at your option) any later version.
-
- This library 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
- Library General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#ifndef _WINBIND_NSS_CONFIG_H
-#define _WINBIND_NSS_CONFIG_H
-
-/* shutup the compiler warnings due to krb5.h on 64-bit sles9 */
-#ifdef SIZEOF_LONG
-#undef SIZEOF_LONG
-#endif
-
-
-/* Include header files from data in config.h file */
-
-#ifndef NO_CONFIG_H
-#include "../replace/replace.h"
-#endif
-
-#include "system/passwd.h"
-#include "system/filesys.h"
-#include "system/network.h"
-
-#include "nsswitch/winbind_nss.h"
-
-/* Some systems (SCO) treat UNIX domain sockets as FIFOs */
-
-#ifndef S_IFSOCK
-#define S_IFSOCK S_IFIFO
-#endif
-
-#ifndef S_ISSOCK
-#define S_ISSOCK(mode) ((mode & S_IFSOCK) == S_IFSOCK)
-#endif
-
-#endif