summaryrefslogtreecommitdiffstats
path: root/libcli
Commit message (Collapse)AuthorAgeFilesLines
...
* ldapcli: allocate control value on the control object not on the control ↵Matthieu Patou2011-03-201-2/+2
| | | | container
* libcli/: Fix prototypes for all functions.Jelmer Vernooij2011-03-195-0/+8
|
* libcli/security: move display_sec headers to own header file and add toGünther Deschner2011-03-163-0/+36
| | | | | | security.h grouping header. Guenther
* libcli: openchange doesn't need these headers any moreAndrew Tridgell2011-03-161-2/+0
| | | | | | | thanks to Simo for pointing this out Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 16 00:25:10 CET 2011 on sn-devel-104
* libcli: protect access_check.h against double inclusionAndrew Tridgell2011-03-151-0/+3
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 15 05:07:01 CET 2011 on sn-devel-104
* waf: build substituted public headers in build treeAndrew Tridgell2011-03-151-0/+2
| | | | | the bin/default/include/public directory will contain headers that are ready to install
* Quite some callers of sid_split_rid do not care about the ridVolker Lendecke2011-03-101-1/+3
|
* Fix some nonempty blank linesVolker Lendecke2011-03-051-3/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Mar 5 15:16:02 CET 2011 on sn-devel-104
* Add dom_sid_string_bufVolker Lendecke2011-03-032-12/+40
| | | | | This prints into a fixed buffer with the same overflow semantics as snprintf has: Return required string length, regardless of whether it fit or not.
* libcli/security Add unix_token and unix_info to auth_session_info tooAndrew Bartlett2011-03-011-0/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 07:13:43 CET 2011 on sn-devel-104
* libcli: Eliminate select from smb_readline_replacementVolker Lendecke2011-02-281-7/+5
|
* libcli/nbt/wscript_build - fix build of "lmhosts"Matthias Dieter Wallnöfer2011-02-251-2/+2
| | | | | | | | | Needs also the "talloc" dependency. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Feb 25 11:01:31 CET 2011 on sn-devel-104
* Implement the SMB2 close flag SMB2_CLOSE_FLAGS_FULL_INFORMATION (and move ↵Jeremy Allison2011-02-251-0/+2
| | | | | | | | | | | definition to correct place). Thanks to Nick Meier @ Microsoft for finding this @ Connectathon. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Feb 25 00:40:52 CET 2011 on sn-devel-104
* build: moved util_reg.c into a common subsystemAndrew Tridgell2011-02-241-0/+4
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 05:53:52 CET 2011 on sn-devel-104
* build: moved spnego_parse.c into a common subsystemAndrew Tridgell2011-02-241-1/+5
|
* build: moved lmhosts.c into a common subsystemAndrew Tridgell2011-02-241-2/+6
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: moved schannel_sign.c into a shared COMMON_SCHANNEL subsystemAndrew Tridgell2011-02-241-3/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: moved libcli/auth/ntlmssp*.c into a common libcliauth.so libraryAndrew Tridgell2011-02-241-5/+10
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth Move libcli/security/session.c to the top levelAndrew Bartlett2011-02-224-1/+116
| | | | | | | This code is now useful in common, as the elements of the auth_session_info structure have now been defined in common IDL. Andrew Bartlett
* s3-waf: use common libcli/nbt build rulesAndrew Tridgell2011-02-221-7/+6
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libcli/nbt: allow use of the waf build for nbt in source3Andrew Tridgell2011-02-221-12/+12
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libcli/security/security_descriptor.c - fix three wrong counter variablesMatthias Dieter Wallnöfer2011-02-211-3/+3
| | | | | | | These strictly need to be "uint32_t" since "acl*->num_aces" has been defined by this type. This counter patchset has been reviewed by Andrew Bartlett.
* libcli/security/privileges.c - fix wrong counter typeMatthias Dieter Wallnöfer2011-02-211-1/+1
| | | | | This strictly needs to be from type "uint32_t" since "privset->count" is defined with this type.
* libcli/security/privileges.c - fix the counting of privilegesMatthias Dieter Wallnöfer2011-02-211-9/+4
| | | | | Since the privileges are always counted with a signed integer, there is no reason to specify the upper limit with a "uint32_t".
* libcli/security/sddl.c - fix wrong counter typeMatthias Dieter Wallnöfer2011-02-211-1/+1
| | | | | This strictly needs to be from type "uint32_t" since "acl->num_aces" is defined of this type.
* libcli/security/display_sec.c - fix wrong counter typeMatthias Dieter Wallnöfer2011-02-211-1/+1
| | | | | This strictly needs to be of type "uint32_t" due to "sec_acl->num_aces" which is of type "uint32_t".
* idl: naming a structure 'VERSION' is not a good idea!Andrew Tridgell2011-02-171-2/+2
| | | | | | this renames it to ntlmssp_VERSION Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libcli/security - fix two output format specifiersMatthias Dieter Wallnöfer2011-02-152-2/+2
|
* libcli/auth: fix PAM_ERRORS subsystem build.Günther Deschner2011-02-111-1/+2
| | | | | | | | | | (waf-)god knows why, without this (fake) dependency, ./configure && make fails while including replace.h while ./configure.developer && make succeeds... Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Feb 11 23:50:40 CET 2011 on sn-devel-104
* security: Fixed some handling of ACEs with INHERITED flag provided by the userNadezhda Ivanova2011-02-101-5/+16
| | | | | Some tests showed that these ACEs are not removed if the DACL_PROTECTED flag is provided at the same time. This is not documented but tests prove it and it has been observerd in deployment.
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-102-2/+2
| | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libcli/named_pipe_auth Change from 'info3' to auth_session_info_transportAndrew Bartlett2011-02-102-90/+62
| | | | | | | | | | | | | | | This changes the structure being used to convey the current user state from the netlogon-derived 'netr_SamInfo3' structure to a purpose-built structure that matches the internals of the Samba auth subsystem and contains the final group list, as well as the final privilege set and session key. These previously had to be re-created on the server side of the pipe each time. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* libcli/named_pipe_auth Remove support for unused levels 0-2.Andrew Bartlett2011-02-101-160/+83
| | | | | | | | The only client and server for this code uses level 3 exclusively. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* pam: share pam errors in a common location.Günther Deschner2011-02-083-0/+176
| | | | Guenther
* pysecurity: Add missing dependency on pytalloc-util.Jelmer Vernooij2011-02-081-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Feb 8 13:16:43 CET 2011 on sn-devel-104
* libcli/security: Make add_sid_to_array_unique use a uin32_t counterVolker Lendecke2011-02-071-1/+1
| | | | | | | | | Logical consequence of the previous commit Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 7 19:24:19 CET 2011 on sn-devel-104
* libcli/security: Make del_sid_from_array take a uint32_tVolker Lendecke2011-02-072-3/+5
| | | | | | This aligns it with add_sid_to_array Signed-off-by: Michael Adam <obnox@samba.org>
* libcli/util: add NT_STATUS_RPC_SEC_PKG_ERROR defineStefan Metzmacher2011-01-301-0/+1
| | | | metze
* errormap: Add unix_to_werror() functionKai Blin2011-01-261-0/+5
| | | | | | | | | | | While this function technically is closest to the map_nt_status_from_unix() function, I think it is better to keep the new function in line with our usual fooerror_to_barerror() naming scheme. Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Jan 26 23:07:24 CET 2011 on sn-devel-104
* libcli/ldap: use lib/ldb_compat.h for the s3 buildStefan Metzmacher2011-01-241-0/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 24 14:55:50 CET 2011 on sn-devel-104
* libcli/auth move ntlmssp_wrap() and ntlmssp_unwrap() into common code.Andrew Bartlett2011-01-202-0/+147
| | | | | | | The idea here is to allow the source3/libads/sasl.c code to call this instead of the lower level ntlmssp_* functions. Andrew Bartlett
* s4-security: Fixed incorrect inheritance of IO flagged ACESNadezhda Ivanova2011-01-181-0/+5
| | | | They should be inherited without the IO flag unless they contain generic information.
* libcli/security Add python bindings for se_access_checkAndrew Bartlett2011-01-142-0/+89
| | | | Andrew Bartlett
* security: Fixed incorrect indentation in create_descriptor.cNadezhda Ivanova2011-01-131-12/+12
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Jan 13 15:53:16 CET 2011 on sn-devel-104
* security: Fixed bugs in expansion of generic information ACEsNadezhda Ivanova2011-01-111-38/+82
| | | | | | When an ACE gontaining GA, GE, GR, GW, CO or CG is provided by a user or inherited the final SD actually has to have 2 ACEs, one is an effective expanded one, and the original one with IO flag added.
* libcli/security: fix sid_type_lookup().Günther Deschner2011-01-101-7/+5
| | | | | | | | | It *always* returned "SID *TYPE* is INVALID". Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 10 12:47:00 CET 2011 on sn-devel-104
* netlogon: move netlogon helpers to ../libcli/netlogon.Günther Deschner2011-01-078-17/+16
| | | | Guenther
* libcli/auth: add netsec_outgoing_sig_size()Stefan Metzmacher2011-01-032-0/+15
| | | | | | | The size of the signature blob depends on the used algorithm. metze
* Fix a valgrind errorVolker Lendecke2011-01-021-2/+4
| | | | | | | Thanks to Tridge for the hint. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 2 10:58:51 CET 2011 on sn-devel-104
* s4-python: Only set BASETYPE flag if subclassing is supported.Jelmer Vernooij2011-01-011-4/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jan 1 03:39:58 CET 2011 on sn-devel-104