git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dca8bc
)
Revert "libwbclient: remove two unused defines"
author
Michael Adam
<obnox@samba.org>
Thu, 10 Feb 2011 10:04:35 +0000
(11:04 +0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 10 Feb 2011 12:57:32 +0000
(13:57 +0100)
This reverts commit
58bf6f9ff0b29df14eee2900fb847b96ef28411f
.
Undo the library version bump.
nsswitch/libwbclient/wbc_idmap.c
patch
|
blob
|
history
diff --git
a/nsswitch/libwbclient/wbc_idmap.c
b/nsswitch/libwbclient/wbc_idmap.c
index 3c806d1a93e798cad7dbd1928a37931862f2daa5..ab8de9f973a3c5c422eca579631c83718fe9fdf5 100644
(file)
--- 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)
{