Michael Adam
46093004a7
r25197: Change net_make_ipc_connection() and net_make_ipc_connection_ex() to
...
return NTSTATUS to allow for better error propagation.
Michael
2007-10-10 12:30:50 -05:00
Jeremy Allison
8bb85f3f14
r25195: Fix issue with calling pull_uc2_*alloc with
...
str_len == 0. We should just return 0 in this
case.
Jeremy.
2007-10-10 12:30:50 -05:00
Volker Lendecke
b64df8a3c5
r25184: Fix some C++ warnings and an uninitialized variable
2007-10-10 12:30:49 -05:00
Stefan Metzmacher
2e5f478165
r25179: fix libunwind detection on x86 based hosts
...
we need -lunwind-x86 not -lunwind-i686
metze
2007-10-10 12:30:49 -05:00
Stefan Metzmacher
93bdd2724c
r25177: if configured using --enable-socket-wrapper
...
allow overwritting the location of the WINBINDD_SOCKET_DIR
via an environment variable
metze
2007-10-10 12:30:48 -05:00
Jeremy Allison
37cf2c2727
r25173: Use the append_buffer version in a loop.
...
Jeremy.
2007-10-10 12:30:48 -05:00
Jeremy Allison
6032fbc358
r25172: Remove commented out code we will never enable.
...
Jeremy.
2007-10-10 12:30:48 -05:00
Jeremy Allison
4748d26397
r25171: More pstring removal.
...
Jeremy.
2007-10-10 12:30:48 -05:00
Jeremy Allison
764574ee05
r25170: Remove pstring limits from ms_fnmatch and module load.
...
Jeremy.
2007-10-10 12:30:48 -05:00
Volker Lendecke
1a02226700
r25169: Fix bug 4028
2007-10-10 12:30:48 -05:00
Jeremy Allison
c215d6e849
r25167: Fix breakage from mangling rewrite. Use the
...
new name if unmangling succeeded, not if it
failed. Jerry - please re-test, this should
fix your bug.
Jeremy.
2007-10-10 12:30:47 -05:00
Jeremy Allison
fe30a523df
r25165: Use talloc_asprintf_append_buffer with an unmodified
...
string.
Jeremy.
2007-10-10 12:30:47 -05:00
Jeremy Allison
2243a73d65
r25164: Add talloc_asprintf_append_buffer() and the docs for it.
...
Jeremy.
2007-10-10 12:30:47 -05:00
Jeremy Allison
a7370eea6b
r25163: Fix wrong ctx passed to talloc_asprintf_append().
...
Found by Metze's code review (thanks Metze !).
Jeremy.
2007-10-10 12:30:47 -05:00
Michael Adam
883fd79061
r25162: Refactor further: add mapping functions between
...
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
2007-10-10 12:30:47 -05:00
James Peach
ea226c5ed9
r25161: Don't panic if setgroups fails in non-root mode.
2007-10-10 12:30:46 -05:00
Michael Adam
7761f9b3cc
r25160: Refactor out and slightly clean up canonicalization of the registry value
...
from smbconf_store_values().
Michael
2007-10-10 12:30:46 -05:00
Stefan Metzmacher
3ac7566ae1
r25154: move winbindd code into winbindd/
...
metze
2007-10-10 12:30:46 -05:00
Stefan Metzmacher
2a794db3c5
r25152: fix headers used in wbinfo.c
...
metze
2007-10-10 12:30:46 -05:00
Stefan Metzmacher
f41efe01b5
r25150: don't recursivly call call dump_core()
...
as currently seen in 'make test' localy and in the farm
metze
2007-10-10 12:30:45 -05:00
Günther Deschner
c3b423c52a
r25148: Adapt to coding conventions.
...
Guenther
2007-10-10 12:30:45 -05:00
Stefan Metzmacher
e9e03aac22
r25146: rename winbindd_nss.h => winbind_struct_protocol.h
...
as this header has nothing todo with winbindd nor nss
and it contains the definitions for the struct based
protocol
metze
2007-10-10 12:30:45 -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
James Peach
a136de663f
r25142: Panic if setting the group list fails while switching security
...
contexts. Patch from Tim Prouty <tim.prouty@isilon.com>.
2007-10-10 12:30:45 -05:00
Jeremy Allison
cfcf7cf03e
r25141: More pstring removal.
...
Jeremy.
2007-10-10 12:30:45 -05:00
Michael Adam
f935d21200
r25140: Less red bars to hurt my eyes...
2007-10-10 12:30:44 -05:00
Michael Adam
2daaaaa835
r25139: Avoid code duplication: let regval_ctr_copyvalue() call regval_ctr_addvalue().
...
This also corrects regval_ctr_copyvalue() in that it cannot create (invalid)
regval containers with dupliacte entries...
Michael
2007-10-10 12:30:44 -05:00
Jeremy Allison
39c211a702
r25138: More pstring elimination. Add a TALLOC_CTX parameter
...
to unix_convert().
Jeremy.
2007-10-10 12:30:44 -05:00
Jeremy Allison
54c658867d
r25136: When tallocing a string to uppercase remember the terminating
...
'\0' in size calculations.
Jeremy.
2007-10-10 12:30:43 -05:00
Günther Deschner
98f2e10e3f
r25135: Remove one END_PROFILE(SMBntcreateX) from call_nt_transact_create() which
...
appears to be a leftover. Should fix the build with profiling enabled.
Jeremy, please check.
Guenther
2007-10-10 12:30:43 -05:00
Günther Deschner
913fb138aa
r25134: Fix Bug #4968 and make dns updates work with heimdal as well (again,
...
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
2007-10-10 12:30:43 -05:00
Günther Deschner
cb2dc715e3
r25133: Fix sasl wrapping (for ldap sign&seal).
...
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
2007-10-10 12:30:43 -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
Stefan Metzmacher
b3ee9adf28
r25128: _XOPEN_SOURCE_EXTENDED and socklen_t are always provided by libreplace
...
metze
2007-10-10 12:30:42 -05:00
Stefan Metzmacher
5afa66970e
r25125: create prototypes for 'bool ' functions
...
metze
2007-10-10 12:30:42 -05:00
Jeremy Allison
6552e52979
r25121: Remove pstring limits from much of our string handling function.
...
Still a few left (mainly the substitute ones).
Jeremy.
2007-10-10 12:30:42 -05:00
Jeremy Allison
9cc70e3ccf
r25120: One more warning.
...
Jeremy.
2007-10-10 12:30:42 -05:00
Jeremy Allison
0e655ac946
r25119: Fix a couple of warnings.
...
Jeremy.
2007-10-10 12:30:42 -05:00
Jeremy Allison
7632f8fb40
r25118: More pstring elimination.
...
Jeremy.
2007-10-10 12:30:41 -05:00
Jeremy Allison
7f0db75fb0
r25117: The mega-patch Jerry was waiting for. Remove all pstrings from
...
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.
2007-10-10 12:30:41 -05:00
Jeremy Allison
93c42fd9b5
r25116: Fix talloc_asprintf_append to do the right thing with
...
truncated strings.
Jeremy.
2007-10-10 12:30:41 -05:00
Jeremy Allison
0c9a8c4dff
r25111: Move to talloced pathnames on most code paths.
...
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.
2007-10-10 12:30:41 -05:00
Günther Deschner
2dea9464bb
r25109: Remove obsolete argument from ads_guess_service_principal().
...
Guenther
2007-10-10 12:30:41 -05:00
Günther Deschner
f31949ec34
r25108: Make ifdef labyrinth in sasl code a bit more readable.
...
Guenther
2007-10-10 12:30:40 -05:00
Simo Sorce
6ce01bf413
r25107: Fix const warning caused by the way I reformatted this
2007-10-10 12:30:40 -05:00
Jeremy Allison
a28a35f9cd
r25104: Fix extra lines added by mistake.
...
Jeremy.
2007-10-10 12:30:40 -05:00
Jeremy Allison
b3f0d39d11
r25103: Ensure we don't return unwritten memory (valgrind caught).
...
Jeremy.
2007-10-10 12:30:40 -05:00
Jeremy Allison
cf6b6f9c3a
r25102: Rewrite msdfs code to use talloced filenames. Passes make test
...
and make valgrindtest. Final step will be to change srvstr_get_path()
to return talloced memory in the major codepaths.
Jeremy.
2007-10-10 12:30:40 -05:00
Gerald Carter
aa768a4a20
r25099: Commit fix for CVE-2007-4138 from 3.0.26 release.
2007-10-10 12:30:39 -05:00
Michael Adam
6c3c20e6c4
r25092: Add support for storing trusted domain passwords in LDAP for
...
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
2007-10-10 12:30:39 -05:00