summaryrefslogtreecommitdiffstats
path: root/source4/libcli
Commit message (Collapse)AuthorAgeFilesLines
* 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".
* s4:libcli/composite: remove unused composite_continue_irpc()Stefan Metzmacher2010-09-032-16/+0
| | | | metze
* s4:libcli/wbclient: use irpc_binding_handle_by_name()Stefan Metzmacher2010-09-033-54/+39
| | | | metze
* s4:libcli/finddcs: use irpc_binding_handle_by_name()Stefan Metzmacher2010-09-032-20/+22
| | | | metze
* s4-resolve: added resolve_name_ex_send()Andrew Tridgell2010-09-021-8/+33
| | | | | | this allows access to the flags that control name resolution Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-resolve: add a default domain for unqualified names in file backendAndrew Tridgell2010-09-021-5/+15
| | | | this better emulates what happens with real DNS
* s4:security Change struct security_token->sids from struct dom_sid * to ↵Andrew Bartlett2010-08-232-7/+7
| | | | | | | | | struct dom_sid This makes the structure much more like NT_USER_TOKEN in the source3/ code. (The remaining changes are that privilages still need to be merged) Andrew Bartlett
* s4:security Remove use of user_sid and group_sid from struct security_tokenAndrew Bartlett2010-08-182-8/+7
| | | | This makes the structure more like Samba3's NT_USER_TOKEN
* s4:security Bring in #defines for the user and primary group token locationAndrew Bartlett2010-08-181-0/+3
| | | | | | | | This will allow us to stop duplicating the user and primary group SID in the struct security_token, and therefore make it more like the NT_USER_TOKEN in Samba3. Andrew Bartlett
* s4-drs: fixed check for SECURITY_RO_DOMAIN_CONTROLLERAndrew Tridgell2010-08-171-6/+6
| | | | | | check more than the user_sid, and also check for the right rid value Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>