1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-17 15:17:09 +03:00

26 Commits

Author SHA1 Message Date
Volker Lendecke
c274fe7d21 Fix a C++ warning 2008-04-06 12:27:16 +02:00
Volker Lendecke
18bf2b2028 Remove external refs to winbindd_fd 2008-04-06 12:27:08 +02:00
Jeremy Allison
ec003f3936 Remove next_token - all uses must now be next_token_talloc.
No more temptations to use static length strings.
Jeremy.
2007-12-07 17:32:32 -08:00
Jim McDonough
281c619154 r25493: Fix typo in Jeremy's thread-safe winbind patch:
lock->unlock (would have tried to lock a mutex
at the end of a function).  Cut-n-paste error.
2007-10-10 12:31:09 -05:00
Jeremy Allison
cc19c0ace4 r25406: Make the Linux nss client code thread-safe.
Fix originally inspired from code from boyang <yyyeer.bo@gmail.com>.
Jeremy.
2007-10-10 12:31:03 -05:00
Stefan Metzmacher
8a95d7a7ed r25143: rename public functions from winbind_client.h
init_request	=> winbindd_init_request
free_response	=> winbindd_free_response
read_reply	=> winbindd_read_reply

write_sock	=> winbind_write_sock
read_sock	=> winbind_read_sock
close_sock	=> winbind_close_sock(void)

metze
2007-10-10 12:30:45 -05:00
Stefan Metzmacher
2e13e05fa9 r25130: make use only of base types which are provided by libreplace
in winbind client and nss/pam stuff

metze
2007-10-10 12:30:43 -05:00
Günther Deschner
f62292c5a1 r24734: Move nss_err_str() to a more public place.
Guenther
2007-10-10 12:30:16 -05:00
Andrew Tridgell
727a6cf2cb r23800: LGPL is now called GNU Lesser General Public License
not GNU Library General Public License
2007-10-10 12:28:26 -05:00
Andrew Tridgell
f3df6cd87e r23794: convert more code from LGPLv2+ to LGPLv3+ 2007-10-10 12:28:25 -05:00
Günther Deschner
155b9e7c74 r21394: Prevent nscd crash due to potential NULL pointer dereference in
_nss_winbind_initgroups_dyn() on an empty group list.

Guenther
2007-10-10 12:18:01 -05:00
Günther Deschner
639b7989b3 r21358: Some more debugging for _nss_winbind_initgroups_dyn() on Linux.
Guenther
2007-10-10 12:17:58 -05:00
Günther Deschner
53ecd63d94 r21353: In the turn of tracking down nss_winbind related bugs on Linux:
print NSS_STATUS code with DEBUG_NSS when leaving a function.

Guenther
2007-10-10 12:17:58 -05:00
Herb Lewis
41be182f78 r20269: merge -r20264:20267 from SAMBA_3_0_24
more no previous prototype warnings
2007-10-10 12:16:38 -05:00
Herb Lewis
c60687db11 r20261: merge 20260 from samba_3_0_24
clean up a bunch of no previous prototype warnings
2007-10-10 12:16:37 -05:00
Volker Lendecke
fd82f185a2 r17363: Some C++ warnings 2007-10-10 11:38:28 -05:00
Gerald Carter
a95d11345e r15053: fix portabilities issues between 32-bit winbind clients and a 64-bit winbindd server 2007-10-10 11:16:00 -05:00
Jeremy Allison
9506b8e145 r7882: Looks like a large patch - but what it actually does is make Samba
safe for using our headers and linking with C++ modules. Stops us
from using C++ reserved keywords in our code.
Jeremy
2007-10-10 10:58:00 -05:00
Volker Lendecke
b48a46162d r5314: Some const, and an uninitialized variable fix.
Volker
2007-10-10 10:55:37 -05:00
Jeremy Allison
45707b5700 r2540: Fix it the way Henrik Nordstrom (the patch author) wants :-).
Jeremy.
2007-10-10 10:52:46 -05:00
Jeremy Allison
b5edad8b60 r2528: Ensure MIN is defined as a macro so it's not undefined in the .so.
Fix from Andreas <andreas@conectiva.com.br>.
Jeremy.
2007-10-10 10:52:45 -05:00
Jeremy Allison
bcc769de4d r2451: Fix from Henrik Nordstrom <hno@squid-cache.org> to allow
winbindd to return the correct number of groups when the
groups array must be enlarged.
Jeremy.
2007-10-10 10:52:43 -05:00
Jeremy Allison
2da24613ed A few fixes from "L. Lucius" <ib@digicron.com>. Don't use int when it's
really a size_t.
Jeremy.
-
Volker Lendecke
da5944129f Commit sid<->[ug]id extensions to libnss_winbind.so on Linux, as well as a
factored-out nss_winbind.[ch]. I took tridge's public domain license comment
for the nss_winbind.[ch].

This is probably not the last word on that extension, but as it is quite
non-intrusive to the main samba code, I would like to give it a start.

Volker
-
Andrew Tridgell
702b35da0a as discussed on irc, this is a small patch that allows a few more
winbind functions to be accessed via NSS. This provides a much cleaner
way for applications that need (for example) to provide name->sid
mappings to do this via NSS rather than having to know the winbindd
pipe protocol (as this might change).

This patch also adds a varient of the winbindd_getgroups() call called
winbindd_getusersids() that provides direct SID->SIDs listing of a
users supplementary groups. This is enough to allow non-Samba
applications to do ACL checking.

A test program for the new functionality will be committed shortly.

I also added the 'wbinfo --user-sids' option to expose the new
function in wbinfo.
-
Tim Potter
93ea047a16 Cleanup of winbind client side code.
Mostly this consists of untangling the existing code and moving it in
to operating system specific files.  The winbind client code for all
supported operating systems is now in nsswitch/winbind_nss_OSNAME.[ch]
to make things a bit clearer.
-