Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2008-12-17 | s4:libcli/resolve: add getaddrinfo()/dns_looup() resolving | Stefan Metzmacher | 2 | -0/+485 | |
This "dns_ex" module provides flexible lookup methods for dns lookups. The getaddrinfo() part looks at /etc/hosts and dns. As it handles CNAME replies badly we fallback to use dns_lookup(name, "A"). The dns_lookup() makes DNS SRV lookups possible. This module is not a real resolve module, it's just a generic helper as the nbtlist.c code is. The next step will be that the "host" module will use the dns_ex.c code. metze | |||||
2008-12-17 | s4:libcli/resolve: don't use __RESOLVE_H__ it might be used by system ↵ | Stefan Metzmacher | 1 | -3/+3 | |
headers too metze | |||||
2008-12-17 | s4: fix LIBEVENTS dependencies and use more forward declarations | Stefan Metzmacher | 4 | -2/+3 | |
We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze | |||||
2008-12-17 | s4:dsdb: add support for DSDB_OPENLDAP_DEREFERENCE_CONTROL | Andrew Bartlett | 1 | -0/+115 | |
Encode and decode the OpenLDAP dereference control (draft-masarati-ldap-deref-00) At this time, the ldb_controls infrustructure does not handle request and reply controls having different formats, so this is purely the client implementation (ie, there is no decode of the client->server packet, and no encode of the server->client packet). Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-12-17 | s4:libcli/ldap: split out a ldap_decode_attribs_bare() function | Andrew Bartlett | 1 | -8/+18 | |
The OpenLDAP dereference control (draft-masarati-ldap-deref-00) uses an attribute list, as found in the search reply, but without one enclosing ASN1_SEQUENCE(0) This allows the dereference control parsing code to use this as a helper function. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-12-12 | Manually marshall dom_sid, so we can use a fixed size array for | Jelmer Vernooij | 3 | -37/+1 | |
dom_sid.sub_auths rather than a dynamically allocated one. This makes it possible to use the same DCE/RPC object code for Samba 3 and Samba 4's DCE/RPC parsers and allows copying sids more easily (since they no longer contain any pointers). The cost of having additional manual marshalling code is limited (~35 additional lines of C code). | |||||
2008-12-11 | s4:libcli/resolve: add resolve_name_all*() which return all addresses not ↵ | Stefan Metzmacher | 7 | -49/+115 | |
only the first one metze | |||||
2008-12-05 | s4-smbtorture: add test for setting passwords via samr_UserInfo18. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2008-12-01 | s4:libcli/clideltree: work against servers without NTSTATUS support | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2008-11-17 | Improve debug when SASL search fails | Andrew Bartlett | 1 | -1/+1 | |
2008-11-16 | s4:librpc/ndr: integrate NDR_MISC into LIBNDR | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2008-11-16 | s4:libcli/resolve: don't ignore SIGCHLD anymore | Stefan Metzmacher | 1 | -7/+15 | |
This broke ldbedit against a LDAP server, as the editor is called by "system()" which relies on getting something useful out of waitpid(). TODO: we should create a generic infrastructure to handle temporary forks and integrate the signal handling with signal events there. metze | |||||
2008-11-10 | nterrors: add NT_STATUS_DS_BUSY. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2008-11-02 | Fix the build. | Jelmer Vernooij | 2 | -4/+7 | |
2008-11-02 | Remove unused include of param/param.h. | Jelmer Vernooij | 1 | -1/+0 | |
2008-11-02 | Remove use of global_loadparm when comparing nt status error - use | Jelmer Vernooij | 1 | -1/+3 | |
global variable instead. | |||||
2008-11-02 | Remove use of global_loadparm during initialization of gensec. | Jelmer Vernooij | 1 | -2/+2 | |
2008-11-02 | Remove use of global_loadparm for SMB2 client connections. | Jelmer Vernooij | 1 | -5/+9 | |
2008-11-02 | Remove another use of global_loadparm. | Jelmer Vernooij | 7 | -4/+14 | |
Eventually, we should move some of these parameters into a separate struct (perhaps into smb_transport_options?), to avoid the long lists of parameters. | |||||
2008-11-02 | Fix the build. | Jelmer Vernooij | 1 | -2/+0 | |
2008-11-02 | Add gensec_settings structure. This wraps loadparm_context for now, but | Jelmer Vernooij | 9 | -7/+16 | |
should in the future only contain some settings required for gensec. | |||||
2008-11-02 | Remove another use of global_loadparm. | Jelmer Vernooij | 5 | -1/+8 | |
2008-11-02 | Use global iconv convenience rather than global loadparm. | Jelmer Vernooij | 1 | -1/+1 | |
2008-11-01 | Remove another use of global_loadparm. | Jelmer Vernooij | 1 | -4/+7 | |
2008-11-01 | Remove another use of global_loadparm. | Jelmer Vernooij | 1 | -7/+7 | |
2008-11-01 | Move calls to lp_* higher up in the call stack. | Jelmer Vernooij | 1 | -6/+15 | |
2008-11-01 | Move lp_*() calls a bit higher up the calls tack. | Jelmer Vernooij | 7 | -15/+38 | |
2008-11-01 | Fix proto header. | Jelmer Vernooij | 1 | -1/+1 | |
2008-11-01 | Fix prototype for attrib_string(). | Jelmer Vernooij | 2 | -2/+2 | |
2008-10-28 | s4: libcli/security: a NULL DACL allows access | Stefan Metzmacher | 1 | -11/+2 | |
This fixes bug 4284. metze | |||||
2008-10-27 | s4-lsa: merge lsa_LookupNames/{2,3,4} from s3 lsa idl. | Günther Deschner | 1 | -1/+3 | |
Guenther | |||||
2008-10-27 | s4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl. | Günther Deschner | 1 | -1/+3 | |
Guenther | |||||
2008-10-24 | Remove unused include param/param.h. | Jelmer Vernooij | 22 | -22/+0 | |
2008-10-24 | Remove more usages of global_loadparm. | Jelmer Vernooij | 1 | -2/+2 | |
2008-10-24 | Remove iconv_convenience argument from convert_string{,talloc}() but | Jelmer Vernooij | 3 | -7/+6 | |
make them wrappers around convert_string{,talloc}_convenience(). | |||||
2008-10-24 | Remove a few more usages of global_loadparm. | Jelmer Vernooij | 2 | -4/+3 | |
2008-10-24 | Eliminate another instance of global_loadparm. | Jelmer Vernooij | 8 | -7/+23 | |
2008-10-24 | Just hardcode workgroup to empty string, to avoid use of | Jelmer Vernooij | 1 | -4/+3 | |
global_loadparm. | |||||
2008-10-24 | Remove iconv_convenience parameter from simple string push/pull | Jelmer Vernooij | 3 | -14/+12 | |
functions. | |||||
2008-10-23 | Fix function parameters. | Jelmer Vernooij | 1 | -1/+1 | |