summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
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>
2010-09-10s4/ldap: use time_mono for reconnect timeoutBjörn Jacke1-2/+2
2010-09-10s4:libcli/wrepl/winsrepl.c - add more "char *" casts in order to suppress ↵Matthias Dieter Wallnöfer1-1/+1
Solaris warnings
2010-09-10s4-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETEDStefan Metzmacher1-0/+1
metze
2010-09-09s4:libcli/security/*.c - fix some wrong typed countersMatthias Dieter Wallnöfer3-10/+7
According to "librpc/gen_ndr/security.h" they need to be "uint32_t".
2010-09-03s4:libcli/composite: remove unused composite_continue_irpc()Stefan Metzmacher2-16/+0
metze
2010-09-03s4:libcli/wbclient: use irpc_binding_handle_by_name()Stefan Metzmacher3-54/+39
metze
2010-09-03s4:libcli/finddcs: use irpc_binding_handle_by_name()Stefan Metzmacher2-20/+22
metze
2010-09-02s4-resolve: added resolve_name_ex_send()Andrew Tridgell1-8/+33
this allows access to the flags that control name resolution Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-02s4-resolve: add a default domain for unqualified names in file backendAndrew Tridgell1-5/+15
this better emulates what happens with real DNS
2010-08-23s4:security Change struct security_token->sids from struct dom_sid * to ↵Andrew Bartlett2-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
2010-08-18s4:security Remove use of user_sid and group_sid from struct security_tokenAndrew Bartlett2-8/+7
This makes the structure more like Samba3's NT_USER_TOKEN
2010-08-18s4:security Bring in #defines for the user and primary group token locationAndrew Bartlett1-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
2010-08-17s4-drs: fixed check for SECURITY_RO_DOMAIN_CONTROLLERAndrew Tridgell1-6/+6
check more than the user_sid, and also check for the right rid value Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-17s4-dsdb: added support for LDB_CONTROL_RODC_DCPROMO_OIDAndrew Tridgell1-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>
2010-08-17s4-ldap: use common functions for ldap flag controls encode/decodeAndrew Tridgell1-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>
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell8-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>
2010-07-06s4:libcli: Modify S4 client library to check for proper CN alignmentSteven Danneman1-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.
2010-06-28s4/libcli: Register LDB_CONTROL_REVEAL_INTERNALS and ↵Endi S. Dewata1-0/+4
DSDB_CONTROL_PASSWORD_CHANGE_STATUS_OID controls. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-06-20ldb:controls - add the "TREE_DELETE" control for allowing subtree deletesMatthias Dieter Wallnöfer1-0/+20
2010-06-20s4:ldap_controls.c - remove encoding functions for private recalculate SD ↵Matthias Dieter Wallnöfer1-19/+0
control
2010-06-19python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij1-10/+18
setUp methods are called, fix formatting.
2010-06-07s4: Remove an uselessly exposed controlMatthieu Patou1-1/+0
2010-05-28s4:libcli/clideltree.c - fix "asprintf"sMatthias Dieter Wallnöfer1-3/+12
2010-05-21s4:libcli/ldap Update headermap.txt (autotools build) and wscript_build for ↵Andrew Bartlett1-1/+1
libcli_ldap.h It took a little while to find where to update this... Andrew Bartlett
2010-05-21s4:libcli/ldap Rename ldap.h to libcli_ldap.hAndrew Bartlett6-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
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij5-9/+0
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij17-61/+29
2010-04-26s4: remove unused rap.h.Günther Deschner1-358/+0
Guenther
2010-04-26s4: rename RAP share_enum_info to share_info.Günther Deschner1-10/+10
Guenther
2010-04-22s4-drs: added new SECURITY_RO_DOMAIN_CONTROLLER levelAndrew Tridgell2-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>
2010-04-20Removed more excess looping and fixed problem with incorrect IO flag handling.Nadezhda Ivanova1-126/+81
2010-04-15A bit of refactoring in the SD creation code.Nadezhda Ivanova1-127/+71
2010-04-15s4-waf: removed a duplicate declaration of python_netbiosAndrew Tridgell1-7/+0
2010-04-06s4-waf: move to a universal method of recursing into subdirsAndrew Tridgell1-4/+4
This works with both standalone lib builds and bundled builds
2010-04-06s4-waf: removed the AUTOGENERATED markersAndrew Tridgell3-12/+0
we won't be using the mk -> wscript generator again
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell5-0/+10
them
2010-04-06s4-waf: install the rest of the headersAndrew Tridgell2-5/+2
2010-04-06s4-waf: started adding auto-install of include filesAndrew Tridgell1-1/+1
2010-04-06build: waf quicktest nearly worksAndrew Tridgell2-4/+4
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell5-0/+138
2010-04-04s4-python: Remove convenience macro PyErr_SetStringError.Jelmer Vernooij1-3/+0
This macro assumed that all errors were runtime errors.
2010-03-30wbclient/wbclient.c - fix a typoMatthias Dieter Wallnöfer1-1/+1