Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-18 | Worked around a problem with select/poll/epoll and gnutls | Andrew Tridgell | 1 | -0/+4 | |
Our packet layer relies on the event system reliably telling us when a packet is available. When we are using a socket layer like TLS then things get a bit trickier, as there may be bytes in the encryption buffer which could be read even if there are no bytes at the socket level. The GNUTLS library is supposed to prevent this happening by always leaving some data at the socket level when there is data to be processed in its buffers, but it seems that this is not always reliable. To work around this I have added a new packet option packet_set_unreliable_select() which tells the packet layer to not assume that the socket layer has a reliable select, and to instead keep trying to read from the socket until it gets back no data. This option is set for the ldap client and server when TLS is negotiated. This seems to fix the problems with the ldaps tests. | |||||
2009-02-13 | s4:libcli/ldap: use const char * const *attributes as in all other places | Stefan Metzmacher | 2 | -2/+2 | |
metze | |||||
2009-02-05 | s4:libcli/smb2: fix c++ warning | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-02-02 | s4:libcli: remove unused line in config.mk | Stefan Metzmacher | 1 | -2/+0 | |
metze | |||||
2009-02-02 | s4:resolve/dns_ex: undefine class because it's used in ↵ | Stefan Metzmacher | 1 | -0/+5 | |
heimdal/lib/roken/resolve.h metze | |||||
2009-02-02 | s4:libcli/raw: s/class/eclass | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2009-02-02 | s4:libcliraw: s/private/private_data | Stefan Metzmacher | 11 | -33/+33 | |
metze | |||||
2009-02-02 | s4:wrepl_request: s/private/private_data | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-02-02 | s4:smb2: s/private/private_data | Stefan Metzmacher | 2 | -3/+3 | |
metze | |||||
2009-02-02 | s4:dgram: s/private/private_data | Stefan Metzmacher | 3 | -4/+4 | |
metze | |||||
2009-02-02 | s4:cldap: s/private/private_data | Stefan Metzmacher | 2 | -3/+3 | |
metze | |||||
2009-02-02 | s4:libcli/smb2: s/class/info_class | Stefan Metzmacher | 1 | -5/+6 | |
metze | |||||
2009-02-02 | s4:libcli/wrepl: s/private/private_data | Stefan Metzmacher | 1 | -6/+6 | |
metze | |||||
2009-02-02 | s4:libcli/smb2: s/private/private_data | Stefan Metzmacher | 1 | -13/+13 | |
metze | |||||
2009-02-02 | s4:libcli/raw: s/private/private_data | Stefan Metzmacher | 5 | -34/+34 | |
metze | |||||
2009-02-02 | s4:libcli/dgram: s/private/private_data | Stefan Metzmacher | 3 | -11/+11 | |
metze | |||||
2009-02-02 | s4:libcli/clilist.c: s/private/private_data | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2009-02-02 | s4:libcli/cldap: s/private/private_data | Stefan Metzmacher | 2 | -7/+7 | |
metze | |||||
2009-02-01 | shared: Move dom_sid_* utility functions to top level | Kai Blin | 3 | -308/+5 | |
2009-02-01 | s4:irpc: avoid c++ reserved word 'private' | Stefan Metzmacher | 3 | -4/+4 | |
metze | |||||
2009-01-30 | Fix the mess with ldb includes. | Simo Sorce | 5 | -45/+69 | |
Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them. | |||||
2009-01-22 | Implement as_sddl. | Jelmer Vernooij | 1 | -0/+10 | |
2009-01-22 | Support parsing sddl for security descriptors. | Jelmer Vernooij | 1 | -0/+8 | |
2009-01-19 | libcli/wrepl: return the major version of the server in wrepl_associate() | Stefan Metzmacher | 2 | -0/+2 | |
metze (from samba4wins tree 1ea02d50d1607b94e15ff07568fa5056cb6e4f09) | |||||
2009-01-19 | util_str: setup the correct talloc name for strings | Stefan Metzmacher | 1 | -0/+2 | |
metze (partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb) | |||||
2009-01-03 | s4:libcli/ldap: convert to tevent_* api | Stefan Metzmacher | 2 | -14/+14 | |
metze | |||||
2009-01-03 | s4:socket: use a socket_wrapper aware function to auto close the fd event ↵ | Stefan Metzmacher | 1 | -3/+4 | |
for sockets metze | |||||
2008-12-30 | s4: simplify some overly-complicated logic | Tim Prouty | 1 | -1/+1 | |
2008-12-29 | s4:lib/tevent: rename structs | Stefan Metzmacher | 33 | -82/+82 | |
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze | |||||
2008-12-24 | Rename samba-socket -> samba_socket to fix a couple more compiler | Jelmer Vernooij | 2 | -5/+5 | |
warnings. | |||||
2008-12-23 | Fix more compiler warnings in various places. | Jelmer Vernooij | 1 | -1/+0 | |
2008-12-22 | s4: Fix a getaddrinfo/EAI_NODATA portability issue | Tim Prouty | 1 | -0/+4 | |
FreeBSD has explicitly deprecated EAI_NODATA as a return value from getaddrinfo by removing it from netdb.h. On systems that don't have EAI_NODATA, EAI_NONAME should be used instead. | |||||
2008-12-21 | Fix comparison in tests now that we use __cmp__ rather than __eq__. | Jelmer Vernooij | 1 | -2/+2 | |
2008-12-21 | Fix more tests, improve repr() functions for various Python types. | Jelmer Vernooij | 2 | -8/+8 | |
2008-12-21 | Simplify customization of pidl-generated Python modules. | Jelmer Vernooij | 1 | -16/+24 | |
2008-12-21 | Merge the rest of security.i into samba.dcerpc.security. | Jelmer Vernooij | 4 | -3701/+0 | |
2008-12-21 | Remove duplicate Python bindings for dom_sid, security_descriptor and | Jelmer Vernooij | 3 | -1022/+40 | |
security_token. | |||||
2008-12-21 | Remove libcli_smb SWIG bindings - only one (useless on its own) function was ↵ | Jelmer Vernooij | 4 | -3365/+0 | |
wrapped anyway. | |||||
2008-12-21 | Include errors.i verbatim in security.i, as it's the only file still using it. | Jelmer Vernooij | 2 | -55/+33 | |
2008-12-20 | Fix compiler warning when parsing a SID in a data blob | Andrew Bartlett | 1 | -1/+1 | |
2008-12-19 | Fix failures setting a random password | Andrew Bartlett | 1 | -1/+1 | |
The test in extract_pw_from_buffer was incorrect: It tested if the first byte of the new password was 0 (a 1/256 chance for the random passwords), not if the password was allocated. Andrew Bartlett | |||||
2008-12-18 | Add convenience macro for raising exceptions for NTSTATUS / WERROR. | Jelmer Vernooij | 1 | -0/+12 | |
2008-12-18 | s4:lib/socket: socket_connect_send() and socket_connect_ev() should only ↵ | Stefan Metzmacher | 2 | -3/+2 | |
wrok with addresses metze | |||||
2008-12-18 | s4:libcli/wrepl: we don't need to resolve names | Stefan Metzmacher | 2 | -7/+4 | |
metze | |||||
2008-12-18 | s4:libcli/replace: add some RESOLVE_NAME_FLAG* flags | Stefan Metzmacher | 4 | -18/+43 | |
metze | |||||
2008-12-17 | s4:libcli/resolve: specify the port for the resulting socket_addresses | Stefan Metzmacher | 8 | -9/+25 | |
metze | |||||
2008-12-17 | s4:libcli/resolve: optionally return the name that belongs to the returned ↵ | Stefan Metzmacher | 8 | -23/+82 | |
address E.g. this helps for DNS CNAME and SRV results. metze | |||||
2008-12-17 | s4:libcli/resolve: pass down flags to the resolver backends | Stefan Metzmacher | 8 | -8/+29 | |
metze | |||||
2008-12-17 | s4:libcli/resolve: remove all backend specific sync functions | Stefan Metzmacher | 5 | -85/+0 | |
metze | |||||
2008-12-17 | s4:libcli/resolve: let the "host" module use the dns_ex.c code | Stefan Metzmacher | 1 | -183/+11 | |
That means we now return all ip addresses instead of just the first one. metze |