summaryrefslogtreecommitdiffstats
path: root/source4/libcli
Commit message (Collapse)AuthorAgeFilesLines
...
* s4/ldb:introduce the LDB_CONTROL_PROVISION_OID controlMatthias Dieter Wallnöfer2010-10-231-0/+2
| | | | | | | This control is exactly thought for the actions which previously were performed using the RELAX one. We agreed that the RELAX control will only remain for interactions with OpenLDAP.
* ldb:rename LDB_CONTROL_BYPASSOPERATIONAL_OID into ↵Matthias Dieter Wallnöfer2010-10-231-2/+2
| | | | | | LDB_CONTROL_BYPASS_OPERATIONAL_OID It's nicer to have this consistent with "BYPASS_PASSWORD_HASH".
* tsocket: let tstream_inet_tcp_connect_recv() optionally return the used ↵Stefan Metzmacher2010-10-231-1/+1
| | | | | | | | | | | | local address tstream_inet_tcp_connect_send() usually only gets no local port number and it may use the wildcard address '0.0.0.0' or '::'. tstream_inet_tcp_connect_recv() provides the used local address and port which are used on the wire. metze
* s4-libcli: make LIBSECURITY_SESSION a private libraryAndrew Tridgell2010-10-211-5/+6
|
* s4-libcli: make LIBSAMBA-ERRORS a private libraryAndrew Tridgell2010-10-211-6/+7
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libcli: make LIBCLI_LDAP a private libraryAndrew Tridgell2010-10-211-7/+8
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-mailslot: fixed handling of random collision in temporary mailslot namesAndrew Tridgell2010-10-191-1/+1
| | | | | | | | | we could get occasional failures in the samba4.nbt.dgram test if we happened to get a collision in the random mailslot names. Thanks to Jeremy for spotting this! (his autobuild failed) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:libcli/util: add pipe related NT_STATUS_RPC_* codesStefan Metzmacher2010-10-181-0/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 18 13:50:55 UTC 2010 on sn-devel-104
* Revert "s4:dsdb - make the RELAX control private"Andrew Bartlett2010-10-181-2/+1
| | | | | | | | This must be available to the OpenLDAP backend, to set the GUID values in some situations. We need a proper ACL mechanism to control the use or abuse of this control. This reverts commit 10adee89367cee9add993869280542418fb3d370.
* s4:dsdb - make the RELAX control privateMatthias Dieter Wallnöfer2010-10-161-1/+2
| | | | | | | This makes our LDAP much more secure and less error-prone. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 19:43:36 UTC 2010 on sn-devel-104
* s4:libcli/ldap/ldap_controls.c - fix up the controls listMatthias Dieter Wallnöfer2010-10-161-29/+49
| | | | | | - add missing private controls and comments - use control defines rather than hardcoded values -> easier to comprehend - reorder controls
* s4-finddcs: better debug messages to help track down DNS problemsAndrew Tridgell2010-10-151-1/+12
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libcli/auth Merge source4/libcli/security and util_sid.c into the common codeAndrew Bartlett2010-10-145-867/+1
| | | | | | | | | This should ensure we only have one copy of these core functions in the tree. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-acl Merge sec_access_check() with se_access_check() from source3/Andrew Bartlett2010-10-141-2/+16
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-45/+0
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* libcli/security Use common security.hAndrew Bartlett2010-10-121-1/+1
| | | | | | | | | | This includes dom_sid.h and security_token.h and will be moved to the top level shortly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 03:35:36 UTC 2010 on sn-devel-104
* s4-libcli/security Use seperate subsystem for session related functionsAndrew Bartlett2010-10-124-12/+41
| | | | | | | | The merged I plan in this area require spliting security.h into two header files, a common header and a session.h for the remaining source4-specific code. Andrew Bartlett
* libcli/security Move most of security_token.c to common code.Andrew Bartlett2010-10-124-182/+66
| | | | | | The source4-specific session_info functions have been left in session.c Andrew Bartlett
* heimdal: convert some subsystems to libraries, consistent with upstream heimdal.Jelmer Vernooij2010-10-031-1/+1
|
* s4:libcli/resolve/dns_ex.c - fix "const" warningMatthias Dieter Wallnöfer2010-10-031-1/+2
|
* s4-ildap: two more places that need talloc_reparent()Andrew Tridgell2010-09-281-1/+1
| | | | | | | these contexts can have references Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Sep 28 00:04:03 UTC 2010 on sn-devel-104
* s4-dns: avoid search domains expansion in DNS resolverAndrew Tridgell2010-09-271-0/+8
| | | | add a '.' if the name contains a '.' already, but not at the end
* s4-ildap: fixed a talloc_steal with references errorAndrew Tridgell2010-09-271-1/+1
| | | | | | | | | We need talloc_reparent() instead Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 27 20:38:00 UTC 2010 on sn-devel-104
* s4:libcli/ldap: fix sending oneway requestsStefan Metzmacher2010-09-271-18/+26
| | | | metze
* s4-ldap: Added a control to apply the access checks on read via LDAPNadezhda Ivanova2010-09-261-0/+2
|
* s4-finddcs: allow override of server IP addressAndrew Tridgell2010-09-252-1/+37
| | | | | | this will be used to implement --ipaddress option to net commands Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:libcli/resolve/file.c - fix "const" warningMatthias Dieter Wallnöfer2010-09-241-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:libcli:smb2 Rename pending_id to async_id and make 64-bitSteven Danneman2010-09-223-5/+5
| | | | Match MS-SMB2 - 2.2.1.1 SMB2 Packet Header - ASYNC
* s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij2010-09-211-143/+0
|
* s4-cldap: improved debug msgs in finddcs_cldap()Andrew Tridgell2010-09-191-3/+5
|
* s4-finddcs: added some debug messages on failureAndrew Tridgell2010-09-191-4/+7
|
* s4-finddcs: ensure we free previous cldap requests before starting a new oneAndrew Tridgell2010-09-151-1/+1
|
* s4-resolve: the file backend should not look at the name typeAndrew Tridgell2010-09-151-1/+1
| | | | | | this matches the behaviour of our DNS resolver Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-finddcs: show required server type bits on failureAndrew Tridgell2010-09-151-2/+3
| | | | | | | when we skip a DC because it doesn't have the required server type bits, show what bits we wanted Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-finddc: use NBT lookup for a 1C name if joining a short domain nameAndrew Tridgell2010-09-152-14/+99
| | | | | | | once we get the 1C lookup reply, use a CLDAP query to find the details for the server Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libcli: change finddcs.h -> finddc.hAndrew Tridgell2010-09-153-2/+2
| | | | | | | this prevents conflicts with old generated files and we can only even return one DC with this interface. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-finddcs: rename finddcs to finddcs_nbtAndrew Tridgell2010-09-152-37/+34
| | | | | | | finddcs_nbt is currently unused, but will later be a fallback is a cldap DC find fails. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-finddcs: added finddcs_cldap()Andrew Tridgell2010-09-153-3/+284
| | | | | | | this finds DCs with a specified set of server_type bit using SRV lookups and CLDAP Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-resolve: added resolve_name_multiple_recv()Andrew Tridgell2010-09-151-0/+34
| | | | | | this allows for multiple replies to a SRV lookup Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dns: fixed lookup of SRV records using dns_exAndrew Tridgell2010-09-151-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libnet: converted finddcs call to tevent_reqAndrew Tridgell2010-09-151-54/+93
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libcli/security Use talloc_zero when making a struct security_tokenAndrew Bartlett2010-09-111-5/+1
|
* libcli/security Move source4/ privileges code into the common libcli/securityAndrew Bartlett2010-09-113-310/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-privs Add a lookup by index of privilagesAndrew Bartlett2010-09-111-0/+11
| | | | | | | | | Now that privileges are no longer given luid values sequentially, we need another way to look them up for enumeration. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* privs Add my CopyrightAndrew Bartlett2010-09-111-0/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-privs Remove link between enum sec_privilege and the privilege bitmapAndrew Bartlett2010-09-111-17/+69
| | | | | | | | | | | This allows us to set the enum sec_privilege constants to the LUID values that are seen from windows, which we need to match, in order to preserve the support for the NT Print Migrator tool after a merge with the source3/ privileges code. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4/ldap: use time_mono for reconnect timeoutBjörn Jacke2010-09-101-2/+2
|
* s4:libcli/wrepl/winsrepl.c - add more "char *" casts in order to suppress ↵Matthias Dieter Wallnöfer2010-09-101-1/+1
| | | | Solaris warnings
* s4-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETEDStefan Metzmacher2010-09-101-0/+1
| | | | metze
* s4:libcli/security/*.c - fix some wrong typed countersMatthias Dieter Wallnöfer2010-09-093-10/+7
| | | | According to "librpc/gen_ndr/security.h" they need to be "uint32_t".