summaryrefslogtreecommitdiff
path: root/source3/nsswitch
AgeCommit message (Collapse)AuthorFilesLines
2007-12-07Remove next_token - all uses must now be next_token_talloc.Jeremy Allison2-42/+80
No more temptations to use static length strings. Jeremy. (This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
2007-12-07Don't double define fstring.Jeremy Allison1-0/+2
Jeremy. (This used to be commit 822b2ead9b0ee28d7ae147fc1ef67da099699cf8)
2007-12-07Remove pstrings completely except for smbctool (what does this do ?).Jeremy Allison1-5/+0
Don't build this for now. Jeremy. (This used to be commit 46b67fd82c795d1a34a1efca9e409c0f3fa4f3a2)
2007-12-03Remove more pstrings, from the winbindd protocol def andJeremy Allison1-3/+3
inside winbindd. Remove unused pstring types. Jeremy. (This used to be commit 9ccac8abb0420393569dbca73e7daf2742aa1099)
2007-11-26Remove pstrings from nsswitch/ and registry/Jeremy Allison1-22/+19
Jeremy. (This used to be commit 331c0d6216e1a1607a49ed7eb4078e10138ec16a)
2007-11-21Allocate a talloc_stackframe() in main() for wbinfo.Gerald (Jerry) Carter1-1/+3
(This used to be commit 30c9e3557bf4ca0b85e15bd7cc883391aec42f1f)
2007-11-03Remove more static data from lib/util_sock.c andJeremy Allison1-1/+1
callers. Jeremy. (This used to be commit 35aaa36f82c70964cee5d0778eb04547b226dd3f)
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison2-3/+17
to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
2007-10-19Merge Tridge's fix for the winbind 32/64bit padding.Günther Deschner1-1/+1
Guenther (This used to be commit 36578b22f12a7de21df5a795d7702c10d19b1f3d)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison3-53/+53
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-15Move to protocol independent code in most of lib/util_sock.cJeremy Allison1-2/+1
We don't use gethostbyname any more except in one case where we're looking for host aliases (I don't know how to do that with getaddrinfo yet). New function should be getaddrinfo(). Next step will be fixing lib/access.c, and then changing libsmb/namequery.c to cope with IPv6 address returns. Jeremy. (This used to be commit 4a56b697b6adcf095e25895c4a9ba3192ed34124)
2007-10-11Merge commit 'origin/v3-2-test' into my_branchGuenther Deschner1-1/+4
(This used to be commit fbe5edec375c99421d19af086c4f597e70c963b8)
2007-10-11Rename krb5 locator plugin to "winbind_krb5_locator".Guenther Deschner1-0/+0
Guenther (This used to be commit 6ae4066bbb59536852036394ffdb89121198a39f)
2007-10-10Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison1-1/+4
IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
2007-10-10r25493: Fix typo in Jeremy's thread-safe winbind patch:Jim McDonough1-1/+1
lock->unlock (would have tried to lock a mutex at the end of a function). Cut-n-paste error. (This used to be commit 281c6191547c352a51d73920c7a31d9236b37351)
2007-10-10r25441: Make wbinfo --sequence output the sequence number if --domainMichael Adam1-1/+8
is specified. Michael (This used to be commit b0f59f18bc8e95a98ee44fcc751f3af4e96d5924)
2007-10-10r25426: Fix another implicit cast warning.Michael Adam1-1/+1
Michael (This used to be commit 4a053d5bf9db82b5ae9ac342f68e90ef89ba292f)
2007-10-10r25406: Make the Linux nss client code thread-safe.Jeremy Allison1-12/+181
Fix originally inspired from code from boyang <yyyeer.bo@gmail.com>. Jeremy. (This used to be commit cc19c0ace43a3613f6290fa4bc4f68c964563743)
2007-10-10r25241: remove sequence_number out of WINBINDD_DOMAIN_INFO callStefan Metzmacher2-3/+1
as this is always answered by the winbindd parent and will most times return old sequence number values. metze (This used to be commit 9caf54c868e8c0109730860e772c9cc404e2f899)
2007-10-10r25177: if configured using --enable-socket-wrapperStefan Metzmacher2-1/+22
allow overwritting the location of the WINBINDD_SOCKET_DIR via an environment variable metze (This used to be commit 93bdd2724cc711005a5f2f223b499199394e78e7)
2007-10-10r25154: move winbindd code into winbindd/Stefan Metzmacher32-29961/+0
metze (This used to be commit 3ac7566ae14c48ff9b0f6b232e0ec4b2f73df558)
2007-10-10r25152: fix headers used in wbinfo.cStefan Metzmacher1-2/+1
metze (This used to be commit 2a794db3c548330d477497aa66245845486d9888)
2007-10-10r25148: Adapt to coding conventions.Günther Deschner1-414/+697
Guenther (This used to be commit c3b423c52a2bf3f50870158d8c7ffd314c8ac935)
2007-10-10r25146: rename winbindd_nss.h => winbind_struct_protocol.hStefan Metzmacher3-5/+3
as this header has nothing todo with winbindd nor nss and it contains the definitions for the struct based protocol metze (This used to be commit e9e03aac2221c44eec89cc957b8bb3be721103bd)
2007-10-10r25143: rename public functions from winbind_client.hStefan Metzmacher7-83/+90
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 (This used to be commit 8a95d7a7edcfa5e45bccc6eda5c45d9c308cb95d)
2007-10-10r25130: make use only of base types which are provided by libreplaceStefan Metzmacher7-216/+144
in winbind client and nss/pam stuff metze (This used to be commit 2e13e05fa91788bd128e6940bccc0d2cc7140986)
2007-10-10r25128: _XOPEN_SOURCE_EXTENDED and socklen_t are always provided by libreplaceStefan Metzmacher1-5/+0
metze (This used to be commit b3ee9adf28ee8136528d0236a3a2c894c2223053)
2007-10-10r25107: Fix const warning caused by the way I reformatted thisSimo Sorce1-3/+4
(This used to be commit 6ce01bf41339b4c48aa458bb0667664727d3dac3)
2007-10-10r25099: Commit fix for CVE-2007-4138 from 3.0.26 release.Gerald Carter1-1/+1
(This used to be commit aa768a4a20930833d6921ed112601873b228a64d)
2007-10-10r25087: Reformatting: Get rid of an abundance of leading tabs...Michael Adam1-11/+11
(This used to be commit d8676f30d5b8168ff0c82993fb51cff18bea1f96)
2007-10-10r25086: Fix interdomain trusts (this povides the fix expected in r22709):Michael Adam1-2/+2
Fix winbindd on a Samba DC talking to a trusted domain DC by making it use the trusted domain password... Michael I hope this does not brake any other setup. (This used to be commit 2322fe5cd76c5b7214c66f8a403debe1e36a82d6)
2007-10-10r25074: as all requests in the winbindd child are sync, we can use talloc_tos()Stefan Metzmacher1-5/+2
metze (This used to be commit 6e238fe5b458fc6b9184144fa124f497c81eec8d)
2007-10-10r25068: Older samba3 DCs will return DCERPC_FAULT_OP_RNG_ERROR for every ↵Günther Deschner1-0/+10
opcode on the LSARPC_DS pipe, continue with no_lsarpc_ds mode here as well to get domain->initialized set to True. This avoids permanent scanning of Samba3 DCs in winbindd. Thanks Michael, for pointing this out. Guenther (This used to be commit 9b85f7ca43896ddd40dd8cb4a52969e94914db43)
2007-10-10r25064: We use BOOL/True/False not bool/true/falseSimo Sorce1-4/+4
(This used to be commit f624a269bf242630e9bda7a89b9b0e8e12646982)
2007-10-10r25063: Fix segfault in smbldp_set_creds when we want to use anonymous, theSimo Sorce1-3/+4
code was not passing in the "anon" flag correctly and was passing NULL pointers. (This used to be commit 6316a9c14d8bc467c84c1604248a9e30abaacd2f)
2007-10-10r25062: Reformat, remove trailing spaces and fit lines into 80 columnsSimo Sorce1-156/+237
(This used to be commit 1850d1c10f1fe77402e0ed79d6980d55d90637fb)
2007-10-10r25060: Fix formatting, remove trailing spaces and cut lines longer than 80 ↵Simo Sorce1-160/+255
chars (This used to be commit 7a4d4658904a601ae42ec1804db06cda734553d2)
2007-10-10r25059: Apply to 3.2 as wellSimo Sorce1-24/+12
(This used to be commit 17a7d33b3bede85d6d64ecadfa065e71739517be)
2007-10-10r25032: Contact an off site DC if non is available on site.Lars Müller1-13/+21
(This used to be commit 50879e6de5101b6c5ab8b3fb954f1d2a48530716)
2007-10-10r25022: Fix coverity #395. Resource leak on error.Jeremy Allison1-6/+13
Jeremy. (This used to be commit 6a237600b825f4df2241277bdd80e98669f69685)
2007-10-10r25020: Fix coverity #374, possible null deref.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 82b3656b4b26ff63d894eed975d73ef3c8b5d2b2)
2007-10-10r24978: move domain_init_recv() near the functions that uses itStefan Metzmacher1-15/+16
metze (This used to be commit 18e830a935d4712bfbff54f94b531e30cea8a1f9)
2007-10-10r24977: Ensure negative caching for name2sid, sid2name and rids2namesRafal Szczesniak1-26/+89
mappings. rafal (This used to be commit 3a9b5eabf97e892e761184da37465d850b5d774c)
2007-10-10r24954: Fix the build without krb5.Günther Deschner1-3/+11
Guenther (This used to be commit 9df961914c3119eb6b20ecdc05d963480dea3521)
2007-10-10r24952: Set the kdc locator env vars. This makes the krb5 locator plugin fullyGünther Deschner2-3/+67
operational (from within winbindd and outside). Guenther (This used to be commit 800645d5388d7df1f8cf31b4218bfc7dd5b4d12a)
2007-10-10r24920: Reformatting.Günther Deschner1-128/+182
Guenther (This used to be commit 62426a055513c309a381d0d96d60edc07e6dfcdf)
2007-10-10r24879: Activate the winbindd cache-validation message handler.Michael Adam1-4/+38
Now the winbindd cache can be checked at runtime by calling "smbcontrol winbindd validate-cache". For the execution of the validation code, I fork a child and in the child restore the default SIGCHLD handler in order for the fork/waitpid mechanism of tdb_validate to work. Michael (This used to be commit f379a5c47d5004a5a66b6c12ec119c739b9e146d)
2007-10-10r24848: Make tdb_validate() take an open tdb handle instead of a file name.Michael Adam1-1/+6
A new wrapper tdb_validate_open() takes a filename an opens and closes the tdb before and after calling tdb_validate() respectively. winbindd_validata_cache_nobackup() now dynamically calls one of the above functions depending on whether the cache tdb has already been opened or not. Michael (This used to be commit dc0b08e6590caa4974fd4d9f34f39f261d1f1dee)
2007-10-10r24843: Add a "validate-cache" control message to winbindd.Michael Adam1-0/+26
So there is a new subcommand "smbcontrol winbindd validate-cache" now. This change provides the infrastructure: The function currently returns "true" unconditionally. The call of a real cache validation function will be incorporated in subsequent changes. Michael (This used to be commit ef92d505c04397614cb0dd5ede967e9017a5e302)
2007-10-10r24833: Move locator to nsswitch (does not belong to libads anymore).Günther Deschner1-0/+395
Guenther (This used to be commit af90c6949c929c82d4390b2f87a420bd598275dd)