summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij3-5/+5
2010-10-24s4: Rename LIBSECURITY{_SESSION,} to libsecurity{_session,}Jelmer Vernooij2-9/+9
2010-10-23s4: Rename LIBEVENTS to libevents.Jelmer Vernooij2-3/+3
2010-10-23s4: Rename LIBNETIF to libnetif.Jelmer Vernooij1-1/+1
2010-10-23s4/ldb:introduce the LDB_CONTROL_PROVISION_OID controlMatthias Dieter Wallnöfer1-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.
2010-10-23ldb:rename LDB_CONTROL_BYPASSOPERATIONAL_OID into ↵Matthias Dieter Wallnöfer1-2/+2
LDB_CONTROL_BYPASS_OPERATIONAL_OID It's nicer to have this consistent with "BYPASS_PASSWORD_HASH".
2010-10-23tsocket: let tstream_inet_tcp_connect_recv() optionally return the used ↵Stefan Metzmacher1-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
2010-10-21s4-libcli: make LIBSECURITY_SESSION a private libraryAndrew Tridgell1-5/+6
2010-10-21s4-libcli: make LIBSAMBA-ERRORS a private libraryAndrew Tridgell1-6/+7
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-libcli: make LIBCLI_LDAP a private libraryAndrew Tridgell1-7/+8
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-19s4-mailslot: fixed handling of random collision in temporary mailslot namesAndrew Tridgell1-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>
2010-10-18s4:libcli/util: add pipe related NT_STATUS_RPC_* codesStefan Metzmacher1-0/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 18 13:50:55 UTC 2010 on sn-devel-104
2010-10-18Revert "s4:dsdb - make the RELAX control private"Andrew Bartlett1-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.
2010-10-16s4:dsdb - make the RELAX control privateMatthias Dieter Wallnöfer1-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
2010-10-16s4:libcli/ldap/ldap_controls.c - fix up the controls listMatthias Dieter Wallnöfer1-29/+49
- add missing private controls and comments - use control defines rather than hardcoded values -> easier to comprehend - reorder controls
2010-10-15s4-finddcs: better debug messages to help track down DNS problemsAndrew Tridgell1-1/+12
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-14libcli/auth Merge source4/libcli/security and util_sid.c into the common codeAndrew Bartlett5-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>
2010-10-14s4-acl Merge sec_access_check() with se_access_check() from source3/Andrew Bartlett1-2/+16
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-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
2010-10-12libcli/security Use common security.hAndrew Bartlett1-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
2010-10-12s4-libcli/security Use seperate subsystem for session related functionsAndrew Bartlett4-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
2010-10-12libcli/security Move most of security_token.c to common code.Andrew Bartlett4-182/+66
The source4-specific session_info functions have been left in session.c Andrew Bartlett
2010-10-03heimdal: convert some subsystems to libraries, consistent with upstream heimdal.Jelmer Vernooij1-1/+1
2010-10-03s4:libcli/resolve/dns_ex.c - fix "const" warningMatthias Dieter Wallnöfer1-1/+2
2010-09-28s4-ildap: two more places that need talloc_reparent()Andrew Tridgell1-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
2010-09-27s4-dns: avoid search domains expansion in DNS resolverAndrew Tridgell1-0/+8
add a '.' if the name contains a '.' already, but not at the end
2010-09-27s4-ildap: fixed a talloc_steal with references errorAndrew Tridgell1-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
2010-09-27s4:libcli/ldap: fix sending oneway requestsStefan Metzmacher1-18/+26
metze
2010-09-26s4-ldap: Added a control to apply the access checks on read via LDAPNadezhda Ivanova1-0/+2
2010-09-25s4-finddcs: allow override of server IP addressAndrew Tridgell2-1/+37
this will be used to implement --ipaddress option to net commands Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-24s4:libcli/resolve/file.c - fix "const" warningMatthias Dieter Wallnöfer1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-22s4:libcli:smb2 Rename pending_id to async_id and make 64-bitSteven Danneman3-5/+5
Match MS-SMB2 - 2.2.1.1 SMB2 Packet Header - ASYNC
2010-09-21s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij1-143/+0
2010-09-19s4-cldap: improved debug msgs in finddcs_cldap()Andrew Tridgell1-3/+5
2010-09-19s4-finddcs: added some debug messages on failureAndrew Tridgell1-4/+7
2010-09-15s4-finddcs: ensure we free previous cldap requests before starting a new oneAndrew Tridgell1-1/+1
2010-09-15s4-resolve: the file backend should not look at the name typeAndrew Tridgell1-1/+1
this matches the behaviour of our DNS resolver Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-finddcs: show required server type bits on failureAndrew Tridgell1-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>
2010-09-15s4-finddc: use NBT lookup for a 1C name if joining a short domain nameAndrew Tridgell2-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>
2010-09-15s4-libcli: change finddcs.h -> finddc.hAndrew Tridgell3-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>
2010-09-15s4-finddcs: rename finddcs to finddcs_nbtAndrew Tridgell2-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>
2010-09-15s4-finddcs: added finddcs_cldap()Andrew Tridgell3-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>
2010-09-15s4-resolve: added resolve_name_multiple_recv()Andrew Tridgell1-0/+34
this allows for multiple replies to a SRV lookup Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-dns: fixed lookup of SRV records using dns_exAndrew Tridgell1-2/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-libnet: converted finddcs call to tevent_reqAndrew Tridgell1-54/+93
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-11libcli/security Use talloc_zero when making a struct security_tokenAndrew Bartlett1-5/+1
2010-09-11libcli/security Move source4/ privileges code into the common libcli/securityAndrew Bartlett3-310/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s4-privs Add a lookup by index of privilagesAndrew Bartlett1-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>
2010-09-11privs Add my CopyrightAndrew Bartlett1-0/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s4-privs Remove link between enum sec_privilege and the privilege bitmapAndrew Bartlett1-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>