diff options
author | Volker Lendecke <vl@samba.org> | 2016-02-09 09:42:28 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2016-02-22 20:29:16 +0100 |
commit | 07b134407c611f5e26be79c53b02cb97aa02002c (patch) | |
tree | 477ff314267549d1d0ddc1272239cd5177c23071 /nsswitch | |
parent | f387124a0441a2e1dfe1a029dacc06792262a43b (diff) | |
download | samba-07b134407c611f5e26be79c53b02cb97aa02002c.tar.gz |
nss_aix: Hack away WINBINDD_UID_TO_SID
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>
Diffstat (limited to 'nsswitch')
-rw-r--r-- | nsswitch/winbind_nss_aix.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nsswitch/winbind_nss_aix.c b/nsswitch/winbind_nss_aix.c index 7a847b2344b..c5c223f4758 100644 --- a/nsswitch/winbind_nss_aix.c +++ b/nsswitch/winbind_nss_aix.c @@ -609,6 +609,14 @@ static attrval_t pwd_to_sid(struct passwd *pwd) 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) { @@ -617,6 +625,9 @@ static attrval_t pwd_to_sid(struct passwd *pwd) r.attr_flag = 0; r.attr_un.au_char = strdup(response.data.sid.sid); } +#else + r.attr_flag = ENOENT; +#endif return r; } |