summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r25165: Use talloc_asprintf_append_buffer with an unmodifiedJeremy Allison2007-10-106-19/+19
| | | | | | string. Jeremy. (This used to be commit fe30a523dfc77cc373145624246fd3ad5c62b9ac)
* r25164: Add talloc_asprintf_append_buffer() and the docs for it.Jeremy Allison2007-10-103-4/+82
| | | | | Jeremy. (This used to be commit 2243a73d650319208aebbbaf65dfba2a508a7c10)
* r25163: Fix wrong ctx passed to talloc_asprintf_append().Jeremy Allison2007-10-101-1/+1
| | | | | | Found by Metze's code review (thanks Metze !). Jeremy. (This used to be commit a7370eea6be29c0e2adf5ae62aa6182b9165e744)
* r25162: Refactor further: add mapping functions betweenMichael Adam2007-10-101-13/+44
| | | | | | | | | | | REGISTRY_VALUE and struct registry_value formats for registry values. Lacking better naming, I called them regval_hilvl_to_lolvl and regval_lolvl_to_hilvl for a start. The might be useful elsewhere, so might be put into another place later on. Michael (This used to be commit 883fd7906165ca10413e4745b3beed59516adf34)
* r25161: Don't panic if setgroups fails in non-root mode.James Peach2007-10-101-2/+2
| | | | (This used to be commit ea226c5ed97d47649833546d5499213093d1925e)
* r25160: Refactor out and slightly clean up canonicalization of the registry ↵Michael Adam2007-10-101-91/+97
| | | | | | | | | value from smbconf_store_values(). Michael (This used to be commit 7761f9b3ccf0d9ae9ffe830b04c3be8451ce2112)
* r25156: Update coding guiding wrt to primitive data typesGerald Carter2007-10-101-0/+15
| | | | (This used to be commit 01d42744903d7ef9044fa4d2ad1cc64594717573)
* r25154: move winbindd code into winbindd/Stefan Metzmacher2007-10-1034-46/+44
| | | | | metze (This used to be commit 3ac7566ae14c48ff9b0f6b232e0ec4b2f73df558)
* r25152: fix headers used in wbinfo.cStefan Metzmacher2007-10-101-2/+1
| | | | | metze (This used to be commit 2a794db3c548330d477497aa66245845486d9888)
* r25150: don't recursivly call call dump_core()Stefan Metzmacher2007-10-101-0/+8
| | | | | | | as currently seen in 'make test' localy and in the farm metze (This used to be commit f41efe01b5a22889f5b18916df9a2f924263e7f9)
* r25148: Adapt to coding conventions.Günther Deschner2007-10-101-414/+697
| | | | | Guenther (This used to be commit c3b423c52a2bf3f50870158d8c7ffd314c8ac935)
* r25146: rename winbindd_nss.h => winbind_struct_protocol.hStefan Metzmacher2007-10-103-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)
* r25143: rename public functions from winbind_client.hStefan Metzmacher2007-10-108-93/+100
| | | | | | | | | | | | | 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)
* r25142: Panic if setting the group list fails while switching securityJames Peach2007-10-101-1/+4
| | | | | contexts. Patch from Tim Prouty <tim.prouty@isilon.com>. (This used to be commit a136de663f122603e8d34e06027896ff39b35e11)
* r25141: More pstring removal.Jeremy Allison2007-10-101-3/+14
| | | | | Jeremy. (This used to be commit cfcf7cf03e1be34e6839c1a659c4e8c1b5358c37)
* r25140: Less red bars to hurt my eyes...Michael Adam2007-10-101-47/+51
| | | | (This used to be commit f935d21200294c8d29ce527300f605e721cb3620)
* r25139: Avoid code duplication: let regval_ctr_copyvalue() call ↵Michael Adam2007-10-101-37/+2
| | | | | | | | | | regval_ctr_addvalue(). This also corrects regval_ctr_copyvalue() in that it cannot create (invalid) regval containers with dupliacte entries... Michael (This used to be commit 2daaaaa835078c543fa12cd1819e8a3d86cf6e5e)
* r25138: More pstring elimination. Add a TALLOC_CTX parameterJeremy Allison2007-10-1012-74/+179
| | | | | | to unix_convert(). Jeremy. (This used to be commit 39c211a702e91c34c1a5a689e1b0c4530ea8a1ac)
* r25136: When tallocing a string to uppercase remember the terminatingJeremy Allison2007-10-101-1/+1
| | | | | | '\0' in size calculations. Jeremy. (This used to be commit 54c658867db3b6c602080d60936abab3af26e112)
* r25135: Remove one END_PROFILE(SMBntcreateX) from call_nt_transact_create() ↵Günther Deschner2007-10-101-1/+0
| | | | | | | | | | | which appears to be a leftover. Should fix the build with profiling enabled. Jeremy, please check. Guenther (This used to be commit 98f2e10e3f7a86b1b30619a25ee15a489ad10d43)
* r25134: Fix Bug #4968 and make dns updates work with heimdal as well (again,Günther Deschner2007-10-101-21/+3
| | | | | | | | | | | gss_import_name() needs to follow the same logic as in the LDAP sasl wrapping (see -r25133). Tested with MIT 1.2.7, 1.3.6, 1.4.3, 1.5.1, 1.6.1 and Heimdal 0.7.2, 1.0, 1.0.1. Guenther (This used to be commit 913fb138aa90a6627ee49b2e92d1bbc73e11f9ea)
* r25133: Fix sasl wrapping (for ldap sign&seal).Günther Deschner2007-10-101-46/+5
| | | | | | | | | | | | | | | | The gss_import_name() broke as we switched from the internal MIT OID "gss_nt_krb5_principal" to "GSS_KRB5_NT_PRINCIPAL_NAME" and didn't switch from passing the krb5_principal (or better: a pointer to that, see MIT's "*HORRIBLE* bug") to pass the string principal directly. Jerry, Jeremy, neither I could figure out the need of passing in a krb5_principal at all nor could I reproduce the crash you were seeing. I sucessfully tested the code (now importing a string) with MIT 1.2.7, 1.3.6, 1.4.3, 1.5.1, 1.6.1 and Heimdal 0.7.2, 1.0, 1.0.1. Guenther (This used to be commit cb2dc715e33467c8b588161e816e72a948f6860c)
* r25130: make use only of base types which are provided by libreplaceStefan Metzmacher2007-10-107-216/+144
| | | | | | | in winbind client and nss/pam stuff metze (This used to be commit 2e13e05fa91788bd128e6940bccc0d2cc7140986)
* r25128: _XOPEN_SOURCE_EXTENDED and socklen_t are always provided by libreplaceStefan Metzmacher2007-10-103-25/+0
| | | | | metze (This used to be commit b3ee9adf28ee8136528d0236a3a2c894c2223053)
* r25127: Add ol-schema-migrate.pl to the repo.Simo Sorce2007-10-102-8/+402
| | | | | | | | | | This script is useful for migrating OpenLDAP schema files to FDS/RHDS lidf schema files. License kindly updated to GPLv3+ at our request. Simo. (This used to be commit ab7770b34b3202a5836cfa098187eeed1bd16be3)
* r25125: create prototypes for 'bool ' functionsStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 5afa66970ee831a8be887c9e7eeeaceead6049db)
* r25121: Remove pstring limits from much of our string handling function.Jeremy Allison2007-10-101-54/+174
| | | | | | Still a few left (mainly the substitute ones). Jeremy. (This used to be commit 6552e52979a7c6954faa8b2c9c0f08b3779835c4)
* r25120: One more warning.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 9cc70e3ccff9c3b20076572235d9dcbfd23e97e5)
* r25119: Fix a couple of warnings.Jeremy Allison2007-10-102-2/+3
| | | | | Jeremy. (This used to be commit 0e655ac94653128566a8764ea804f37c4c7b300f)
* r25118: More pstring elimination.Jeremy Allison2007-10-105-57/+84
| | | | | Jeremy. (This used to be commit 7632f8fb4003657591778d2b55f546d1737859d1)
* r25117: The mega-patch Jerry was waiting for. Remove all pstrings fromJeremy Allison2007-10-1015-481/+755
| | | | | | | | | the main server code paths. We should now be able to cope with paths up to PATH_MAX length now. Final job will be to add the TALLOC_CTX * parameter to unix_convert to make it explicit (for Volker). Jeremy. (This used to be commit 7f0db75fb0f24873577dcb758a2ecee74fdc4297)
* r25116: Fix talloc_asprintf_append to do the right thing withJeremy Allison2007-10-101-5/+2
| | | | | | truncated strings. Jeremy. (This used to be commit 93c42fd9b52d9135d8c8b52e97cf342c1c5b5010)
* r25111: Move to talloced pathnames on most code paths.Jeremy Allison2007-10-107-341/+438
| | | | | | | | | | There are now ony 17 pstrings left in reply.c, and these will be easy to remove (and I'll be doing that shortly). Had to fix an interesting bug in pull_ucs2_base_talloc() when a source string is not null terminated :-). Jeremy. (This used to be commit 0c9a8c4dff10974dbffd2a302ae982896122fcc0)
* r25109: Remove obsolete argument from ads_guess_service_principal().Günther Deschner2007-10-102-4/+2
| | | | | Guenther (This used to be commit 2dea9464bba76af4315a8207ccd3e564ec19d146)
* r25108: Make ifdef labyrinth in sasl code a bit more readable.Günther Deschner2007-10-101-2/+2
| | | | | Guenther (This used to be commit f31949ec3456134de474a0219a8cd5dcd15adea6)
* r25107: Fix const warning caused by the way I reformatted thisSimo Sorce2007-10-101-3/+4
| | | | (This used to be commit 6ce01bf41339b4c48aa458bb0667664727d3dac3)
* r25104: Fix extra lines added by mistake.Jeremy Allison2007-10-101-2/+2
| | | | | Jeremy. (This used to be commit a28a35f9cdddb9da1b2adb9e2e6c86d78cf07ea6)
* r25103: Ensure we don't return unwritten memory (valgrind caught).Jeremy Allison2007-10-103-67/+83
| | | | | Jeremy. (This used to be commit b3f0d39d11fa18b7bfef6cec88efaf4a2be2d6e0)
* r25102: Rewrite msdfs code to use talloced filenames. Passes make testJeremy Allison2007-10-108-485/+946
| | | | | | | and make valgrindtest. Final step will be to change srvstr_get_path() to return talloced memory in the major codepaths. Jeremy. (This used to be commit cf6b6f9c3a38b68d2671c753f412772344506742)
* r25099: Commit fix for CVE-2007-4138 from 3.0.26 release.Gerald Carter2007-10-101-1/+1
| | | | (This used to be commit aa768a4a20930833d6921ed112601873b228a64d)
* r25092: Add support for storing trusted domain passwords in LDAP forMichael Adam2007-10-102-5/+278
| | | | | | | | | | | | | | passdb backend = ldapsam. Along with reproducing the functionality of the secrets.tdb code, I have prepared the handling of the previous trust password (in case we are contacting a dc which does not yet know of a recent password change). This information has still to be propagated to the outside, but this requires a change of the api and also a change of the secrets.tdb code. Michael (This used to be commit 6c3c20e6c4a2b04de8111f2c79b431f0775c2a0f)
* r25091: Start adding support for storing trusted domain passwords in LDAPMichael Adam2007-10-101-0/+44
| | | | | | | | (for passdb backen = ldapsam). At a first step, add the hooks, calling the secrets_ functions. Michael (This used to be commit 9c03cdf3a449149c50451a44deb420341e65af34)
* r25090: Fix a syntax error just introduced into the LDAP schema.Michael Adam2007-10-101-2/+2
| | | | | Michael (This used to be commit 7dc68ce0fb4490761326eaaca516fde3bf642ed5)
* r25088: Change the objectclass sambaTrustedDomainPassword toMichael Adam2007-10-101-1/+13
| | | | | | | | | have the current and possibly the previous trust password stored as clear text passwords. (Previous use of NTPassword was a mistake - this is a hash value.) Michael (This used to be commit 0beae52ff469903adbfefdffd93a34bb7ad7d68d)
* r25087: Reformatting: Get rid of an abundance of leading tabs...Michael Adam2007-10-101-11/+11
| | | | (This used to be commit d8676f30d5b8168ff0c82993fb51cff18bea1f96)
* r25086: Fix interdomain trusts (this povides the fix expected in r22709):Michael Adam2007-10-101-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)
* r25080: Once we decrypted the packet but have timing problems (closkew, tkt ↵Günther Deschner2007-10-101-1/+9
| | | | | | | | | not yet or no longer valid) there is no point to bother the keytab routines. Guenther (This used to be commit 7e4dcf8e7ecfd35668e86e22bed5a9280ae83959)
* r25074: as all requests in the winbindd child are sync, we can use talloc_tos()Stefan Metzmacher2007-10-101-5/+2
| | | | | metze (This used to be commit 6e238fe5b458fc6b9184144fa124f497c81eec8d)
* r25068: Older samba3 DCs will return DCERPC_FAULT_OP_RNG_ERROR for every ↵Günther Deschner2007-10-101-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)
* r25064: We use BOOL/True/False not bool/true/falseSimo Sorce2007-10-101-4/+4
| | | | (This used to be commit f624a269bf242630e9bda7a89b9b0e8e12646982)