Created attachment 7973 [details] patch for master, fixes solaris. Applies clean against 4.0. On many non-linux platforms, libnss-winbind.so is broken. (I do not have a full list, but I'd expect everything non-GNU.) Debugging the issues this causes is confusing and painful to say the least, because the breakage causes an incorrect library to be built, and then the user is stuck scratching their head wondering why things like "id" don't work, and truss is really no help. In master the included patch disabled building the library on platforms we haven't fixed it on. That patch is included here, for your review, for 4.0. If others would please help by fixing the platforms they have access to and verifying that the library works, I'd appreciate it. Thanks,
Comment on attachment 7973 [details] patch for master, fixes solaris. Applies clean against 4.0. Patch breaks non-Linux GNU platforms, as it does not match the autoconf build info in source3/configure.in:5775
Ira, Can you grab the code from master, confirm it for Solaris and post a patch here? it might/should be as simple as grabbing all these: commit 1f267ca10e174ec3661631df2169e381136c2540 Author: Andrew Bartlett <abartlet@samba.org> Date: Tue Oct 2 08:12:16 2012 +1000 nsswitch: Build nss_winbind on all supported platforms This matches what the autoconf build can do. Andrew Bartlett commit 0e037bfc60162aa094df3e3cda59f7b9c2327ca9 Author: Andrew Bartlett <abartlet@samba.org> Date: Wed Oct 3 16:36:34 2012 +1000 selftest: Always build a linux-style nss_winbind for nss_wrapper commit 6dbe0aad260d1f6e46e58871a7ce613ca27d0bf6 Author: Ira Cooper <ira@samba.org> Date: Sun Sep 30 19:02:13 2012 +0000 s3: Fix libnss_winbind.so's build on Illumos/Solaris Due to not building and linking in the winbind_nss_solaris bits in addition to the linux bits, nss was broken on Solaris. Autobuild-User(master): Ira Cooper <ira@samba.org> Autobuild-Date(master): Sun Sep 30 22:56:30 CEST 2012 on sn-devel-104
Correct fix for this in in 9339 (build and quota fixes)
Fixed as part of bug #9339. Hence marking fixed as duplicate. *** This bug has been marked as a duplicate of bug 9339 ***