summaryrefslogtreecommitdiffstats
path: root/source4/libcli
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* s4-dsdb: added support for LDB_CONTROL_RODC_DCPROMO_OIDAndrew Tridgell2010-08-171-0/+1
| | | | | | | | | | | | this control adds a unique msDS-SecondaryKrbTgtNumber attribute to a user object. There is some 'interesting' interaction with the rangeLower and rangeUpper attributes and this add. We don't implementat rangeLower/rangeUpper yet, but when we do we'll need an override for this control (or be careful about module ordering). Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldap: use common functions for ldap flag controls encode/decodeAndrew Tridgell2010-08-171-163/+11
| | | | | | | many controls are simple present/not-present flags, and don't need their own parsers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-168-14/+14
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:libcli: Modify S4 client library to check for proper CN alignmentSteven Danneman2010-07-061-1/+3
| | | | | | | | | MS-CIFS 2.2.7.4.2 states that FILE_NOTIFY_INFORMATION structures in change notify replies must be aligned to 4-byte boundaries. This updates s4 client to check for this restriction and also adds a torture test which should tickle a server into giving unaligned structures if it doesn't follow the spec.
* s4/libcli: Register LDB_CONTROL_REVEAL_INTERNALS and ↵Endi S. Dewata2010-06-281-0/+4
| | | | | | DSDB_CONTROL_PASSWORD_CHANGE_STATUS_OID controls. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* ldb:controls - add the "TREE_DELETE" control for allowing subtree deletesMatthias Dieter Wallnöfer2010-06-201-0/+20
|
* s4:ldap_controls.c - remove encoding functions for private recalculate SD ↵Matthias Dieter Wallnöfer2010-06-201-19/+0
| | | | control
* python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij2010-06-191-10/+18
| | | | setUp methods are called, fix formatting.
* s4: Remove an uselessly exposed controlMatthieu Patou2010-06-071-1/+0
|
* s4:libcli/clideltree.c - fix "asprintf"sMatthias Dieter Wallnöfer2010-05-281-3/+12
|
* s4:libcli/ldap Update headermap.txt (autotools build) and wscript_build for ↵Andrew Bartlett2010-05-211-1/+1
| | | | | | | | libcli_ldap.h It took a little while to find where to update this... Andrew Bartlett
* s4:libcli/ldap Rename ldap.h to libcli_ldap.hAndrew Bartlett2010-05-216-5/+5
| | | | | | | It is a problem if a samba header is called ldap.h if we also want to use OpenLDAP's ldap.h Andrew Bartlett
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-185-9/+0
|
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-1817-61/+29
|
* s4: remove unused rap.h.Günther Deschner2010-04-261-358/+0
| | | | Guenther
* s4: rename RAP share_enum_info to share_info.Günther Deschner2010-04-261-10/+10
| | | | Guenther
* s4-drs: added new SECURITY_RO_DOMAIN_CONTROLLER levelAndrew Tridgell2010-04-222-6/+18
| | | | | | | | | | | This is used for allowing operations by RODCs, and denying them operations that should only be allowed for a full DC This required a new domain_sid argument to security_session_user_level() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Rusty Russell <rusty@samba.org>
* Removed more excess looping and fixed problem with incorrect IO flag handling.Nadezhda Ivanova2010-04-201-126/+81
|
* A bit of refactoring in the SD creation code.Nadezhda Ivanova2010-04-151-127/+71
|