summaryrefslogtreecommitdiff
path: root/source3/lib/privileges_basic.c
diff options
context:
space:
mode:
authorGerald (Jerry) Carter <jerry@samba.org>2008-08-20 13:00:40 -0500
committerGerald (Jerry) Carter <jerry@samba.org>2008-08-20 13:00:40 -0500
commitcf710f04644e19add5c954e2a2a9f24ec7148aef (patch)
treec6228cc1b91bd074668dc28b5e81b0ebb08d6a94 /source3/lib/privileges_basic.c
parenteb8dd6a81181c3dab9cbe6b934ceb4f3ba1ba2af (diff)
downloadsamba-cf710f04644e19add5c954e2a2a9f24ec7148aef.tar.gz
samba-cf710f04644e19add5c954e2a2a9f24ec7148aef.tar.bz2
samba-cf710f04644e19add5c954e2a2a9f24ec7148aef.zip
nss_winbind: When returning NSS_UNAVAIL, squash errno to ENOENT
According to the GNU libc nss guide, we should always set errno to ENOENT when returning NSS_UNAVAIL. http://www.gnu.org/software/libtool/manual/libc/NSS-Modules-Interface.html#NSS-Modules-Interface At least the MQ Series message queing service that runs on WebSphere will fail if you return any other errno in this case. (This used to be commit ee26664602445fa7798e2061f6bcbef0756d6528)
Diffstat (limited to 'source3/lib/privileges_basic.c')
0 files changed, 0 insertions, 0 deletions