summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-02-10 11:04:35 +0100
committerMichael Adam <obnox@samba.org>2011-02-10 13:57:32 +0100
commit0def826ec5851b88f8adbddd66993d7219a0d74c (patch)
treef93eb1f0749366cfc42e754000a40e96cfc5fbb5 /nsswitch/libwbclient
parent7dca8bcbb9f1d95a8eeae066e944d5ea4a17aabb (diff)
downloadsamba-0def826ec5851b88f8adbddd66993d7219a0d74c.tar.gz
samba-0def826ec5851b88f8adbddd66993d7219a0d74c.tar.bz2
samba-0def826ec5851b88f8adbddd66993d7219a0d74c.zip
Revert "libwbclient: remove two unused defines"
This reverts commit 58bf6f9ff0b29df14eee2900fb847b96ef28411f. Undo the library version bump.
Diffstat (limited to 'nsswitch/libwbclient')
-rw-r--r--nsswitch/libwbclient/wbc_idmap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbc_idmap.c b/nsswitch/libwbclient/wbc_idmap.c
index 3c806d1a93..ab8de9f973 100644
--- a/nsswitch/libwbclient/wbc_idmap.c
+++ b/nsswitch/libwbclient/wbc_idmap.c
@@ -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)
{