To do a proper xids2sids conversion I need a build environment.
Everyone who needs this and can build AIX please speak up!
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
request.data.uid = pwd->pw_uid;
+#if 0
+ /*
+ * Removed because WINBINDD_UID_TO_SID is replaced by
+ * WINBINDD_XIDS_TO_SIDS. I don't have an AIX build
+ * environment around, so I did not convert this call. If
+ * someone stumbles over this, please contact me:
+ * vl@samba.org, I'll convert this.
+ */
if (winbindd_request_response(NULL, WINBINDD_UID_TO_SID,
&request, &response) !=
NSS_STATUS_SUCCESS) {
r.attr_flag = 0;
r.attr_un.au_char = strdup(response.data.sid.sid);
}
+#else
+ r.attr_flag = ENOENT;
+#endif
return r;
}