summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
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
2010-03-29s4:libcli/util/clilsa.c: add explicit check for NTSTATUS r.out.resultGünther Deschner1-3/+31
Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell3-0/+3
These were causing thousands of warnings on solaris8
2010-03-25s4:libcli/wrepl: correctly remove the tstream_context when the connection is ↵Stefan Metzmacher1-1/+15
dead metze
2010-03-25python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell1-1/+1
this should be much more portable
2010-03-24Missing include guard in source4/libcli/security/security.hJeremy Allison1-0/+5
Jeremy.
2010-03-19error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.Günther Deschner1-1/+1
Metze, please check. Guenther
2010-03-18libcli/util: add more NT_STATUS_RPC_* definesStefan Metzmacher1-0/+8
metze
2010-03-12s4:libcli/util/clilsa.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-6/+6
metze
2010-03-12s4:libcli/composite: get rid of composite_continue_rpc()Stefan Metzmacher2-16/+0
metze
2010-03-11s4:libcli Use integrated name resolution when connecting SMBAndrew Bartlett2-38/+13
This avoids pulling the address into a string and back again if given a name, by letting the next async layer down do the name resolution. If it was an IP address to start with, then the resolver library just converts that to the struct socket_address. Andrew Bartlett
2010-03-11s4:libcli/resovle File based lookup module for DNS name typesAndrew Bartlett3-1/+153
This uses the new common code to read a file containing DNS host names, so we don't have to use real DNS lookups in our test environment. Andrew Bartlett
2010-03-11s4:libcli/resolve Use a more robust way to return the string addressAndrew Bartlett2-3/+12
By going via these tevent functions, we avoid needing to dereference the struct socket_address, which may contain a 'struct sockaddr' or strings. The new dns_host_file resolver returns in the form of a struct sockaddr. Andrew Bartlett
2010-03-10ѕ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULLBjörn Jacke1-1/+1
2010-03-09s3: Fix a typo. Thanks to Christian Ambach for pointing me at it :-)Volker Lendecke1-1/+1
2010-03-07s4:libcli/wrepl: rewrite the low level request handling to use tevent_queue ↵Stefan Metzmacher3-465/+304
and tstream_context metze
2010-03-07s4:libcli/wrepl: add wrepl_socket_is_connected()Stefan Metzmacher1-0/+17
metze
2010-03-07s4:libcli/wrepl: make struct wrepl_request private to winsrepl.cStefan Metzmacher2-29/+30
metze