Revert "libwbclient: remove two unused defines"
authorMichael Adam <obnox@samba.org>
Thu, 10 Feb 2011 10:04:35 +0000 (11:04 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 10 Feb 2011 13:50:41 +0000 (14:50 +0100)
This reverts commit 58bf6f9ff0b29df14eee2900fb847b96ef28411f.

Undo the library version bump.

nsswitch/libwbclient/wbc_idmap.c

index 3c806d1a93e798cad7dbd1928a37931862f2daa5..ab8de9f973a3c5c422eca579631c83718fe9fdf5 100644 (file)
@@ -267,6 +267,10 @@ wbcErr wbcAllocateGid(gid_t *pgid)
        return wbc_status;
 }
 
+/* we can't include smb.h here... */
+#define _ID_TYPE_UID 1
+#define _ID_TYPE_GID 2
+
 /* Set an user id mapping - not implemented any more */
 wbcErr wbcSetUidMapping(uid_t uid, const struct wbcDomainSid *sid)
 {