Imported Upstream version 4.0.0+dfsg1
[abartlet/samba-debian.git] / lib / replace / system / passwd.h
index ee9354bb4c79652f02d1c5f8c98ba0f32e98f377..223324c4b4670cd2b9f2ef85fd9afb8d9b07ec24 100644 (file)
@@ -76,7 +76,7 @@
 char *rep_getpass(const char *prompt);
 #endif
 #endif
-#endif
+#endif 
 
 #ifndef NGROUPS_MAX
 #define NGROUPS_MAX 32 /* Guess... */
@@ -111,4 +111,15 @@ char *rep_getpass(const char *prompt);
 #endif /* NSS_WRAPPER_DISABLE */
 #endif /* NSS_WRAPPER */
 
+#ifdef UID_WRAPPER
+# ifndef UID_WRAPPER_DISABLE
+#  ifndef UID_WRAPPER_NOT_REPLACE
+#   define UID_WRAPPER_REPLACE
+#  endif /* UID_WRAPPER_NOT_REPLACE */
+#  include "../uid_wrapper/uid_wrapper.h"
+# endif /* UID_WRAPPER_DISABLE */
+#else /* UID_WRAPPER */
+# define uwrap_enabled() 0
+#endif /* UID_WRAPPER */
+
 #endif