Changeset 232 for branches/samba-3.2.x/source/nsswitch
- Timestamp:
- May 27, 2009, 9:09:42 AM (16 years ago)
- Location:
- branches/samba-3.2.x/source/nsswitch
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/nsswitch/pam_winbind.c
r228 r232 2363 2363 * if it was set by winbind. 2364 2364 */ 2365 if ( ctx->ctrl & WINBIND_KRB5_AUTH) {2365 if ((ctx->ctrl & WINBIND_KRB5_AUTH) && pam_getenv(pamh, "KRB5CCNAME")) { 2366 2366 pam_putenv(pamh, "KRB5CCNAME"); 2367 2367 } -
branches/samba-3.2.x/source/nsswitch/pam_winbind.h
r133 r232 21 21 #include <iniparser.h> 22 22 23 #ifndef LINUX 23 #if defined(LINUX) 24 25 /* newer versions of PAM have this in _pam_compat.h */ 26 #ifndef PAM_AUTHTOK_RECOVERY_ERR 27 #define PAM_AUTHTOK_RECOVERY_ERR PAM_AUTHTOK_RECOVER_ERR 28 #endif 29 30 #else /* !LINUX */ 24 31 25 32 /* Solaris always uses dynamic pam modules */ -
branches/samba-3.2.x/source/nsswitch/winbind_nss_solaris.c
r204 r232 282 282 int errnop; 283 283 struct nss_groupsbymem *gmem = (struct nss_groupsbymem *)args; 284 long int numgids = gmem->numgids; 285 long int maxgids = gmem->maxgids; 284 286 285 287 NSS_DEBUG("_nss_winbind_getgroupsbymember"); … … 287 289 _nss_winbind_initgroups_dyn(gmem->username, 288 290 gmem->gid_array[0], /* Primary Group */ 289 & gmem->numgids,290 & gmem->maxgids,291 &numgids, 292 &maxgids, 291 293 &gmem->gid_array, 292 294 gmem->maxgids, 293 295 &errnop); 296 297 gmem->numgids = numgids; 298 gmem->maxgids = maxgids; 294 299 295 300 /* -
branches/samba-3.2.x/source/nsswitch/winbind_nss_solaris.h
r133 r232 82 82 struct group *result, char *buffer, 83 83 size_t buflen, int *errnop); 84 NSS_STATUS _nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start, 85 long int *size, gid_t **groups, 86 long int limit, int *errnop); 84 87 85 88 #endif /* _WINBIND_NSS_SOLARIS_H */
Note:
See TracChangeset
for help on using the changeset viewer.