summaryrefslogtreecommitdiff
path: root/source3/utils/smbcacls.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-29s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-03-30s3-passdb: use passdb headers where needed.Günther Deschner1-0/+1
Guenther
2011-03-23s3: Fix Coverity ID 2202, NULL_RETURNSVolker Lendecke1-0/+3
2011-03-15s3-libsmb: only include rap client when needed.Günther Deschner1-0/+1
Guenther
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-0/+1
2011-01-17s3: Fix some nonempty blank linesVolker Lendecke1-1/+1
2011-01-15s3: Avoid some calls to cli_errstrVolker Lendecke1-18/+24
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 15 17:18:54 CET 2011 on sn-devel-104
2011-01-15s3: Convert cli_set_secdesc to cli_transVolker Lendecke1-2/+4
2011-01-15s3: Fix some nonempty blank linesVolker Lendecke1-4/+4
2010-12-20s3: Remove unused "retry" from cli_full_connectionVolker Lendecke1-2/+1
2010-11-14s3: string_to_sid does thorough syntax checkingVolker Lendecke1-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Nov 14 14:07:29 UTC 2010 on sn-devel-104
2010-11-02s3-debug Move 'load_case_tables()' before lp_set_cmdline() and popt callsAndrew Bartlett1-1/+0
The problem here is that we cannot run lp_set_cmdline() (directly or indirectly via the popt helpers) until load_case_tables() has been run. However, load_case_tables does not have auto-initialisation, so we must init it once, and once only. Andrew Bartlett
2010-11-02s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() insteadAndrew Bartlett1-4/+1
By removing this global variable, the API between the two different debug systems is made more similar. Both s3 and s4 now have lp_set_cmdline() which ensures that the smb.conf cannot overwrite these the user-specified log level. Andrew Bartlett
2010-11-02s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett1-3/+1
This change improves the setup_logging() API so that callers which wish to set up logging to stderr can simply ask for it, rather than directly modify the dbf global variable. Andrew Bartlett
2010-10-24s3: Convert cli_qfileinfo_basic to cli_qfileinfoVolker Lendecke1-2/+3
2010-10-24s3: Rename cli_fileinfo() to cli_fileinfo_basic()Volker Lendecke1-1/+1
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-1/+1
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
2010-09-20s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner1-3/+4
Guenther
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider1-0/+1
2010-06-07Fix bug with incorrect flag values for inherited ace in some cases.Matthew McGillis1-0/+5
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-10/+10
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner1-11/+11
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner1-6/+6
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner1-14/+15
Guenther
2010-05-17added support for a -I flagMatthew McGillis1-2/+148
2010-05-17Consolidate all set SEC_DESC into single procedure set_secdescMatthew McGillis1-25/+32
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner1-0/+1
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
2010-05-03Consolidate all get SEC_DESC into single procedure get_secdescMatthew McGillis1-44/+37
2010-05-03always pass filename as const charMatthew McGillis1-2/+2
2010-03-16s3:smbcacls: also honour the "--sddl" flag when setting ACLs.Michael Adam1-2/+6
Michael
2010-03-03s3:smbcacls: add switch "--sddl" to output acls as sddl encoded stringsMichael Adam1-1/+9
2010-02-14s3: last part of TYPESAFE_QSORT() conversionAndrew Tridgell1-1/+1
convert smbcacls, sharesec and web/
2009-11-12Ensure all callers to the rpc_client/cli_pipe functions correctlyJeremy Allison1-1/+1
initialize return variables. Jeremy.
2009-08-12s3:smbcacls: forbid change of debug level from config fileMichael Adam1-0/+3
Michael
2009-04-30Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison1-19/+14
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy.
2009-03-17Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison1-6/+1
callers pass in a struct user_auth_info * instead. This commit causes smbc_set_credentials() to print out a message telling callers to use smbc_set_credentials_with_fallback() instead, as smbc_set_credentials() has a broken API (no SMBCCTX * pointer). No more global variables used in the connection manager API for client dfs calls. Jeremy.
2009-01-30Make cli_tcon_andx asyncVolker Lendecke1-4/+6
2008-12-14Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke1-13/+21
This involves changing all our clients, that's why it's so large.
2008-12-13don't return 0 on error - bad for scriptsHerb Lewis1-0/+2
2008-12-03s3: Change sockaddr util function names for consistencyTim Prouty1-1/+1
Also eliminates name conflicts with OneFS system libraries
2008-10-14Attempt to fix bug #5818 - "smbcacls: sorts ACEs improperly and loses ↵Jeremy Allison1-26/+157
inheritance", based on a patch from Paul Fertser <fercerpav@gmail.com>. I also added the ability to get/set hex and symbolic inheritance flag names on ACE flags. I'm still investigating the effects of setting the "SEC_DESC_DACL_AUTO_INHERIT_REQ" flag as I don't yet see what effects this is having on the ACE sent. Jeremy.
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison1-1/+1
Jeremy.
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke1-4/+6
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
2008-07-07Fix option processing in smbcacls - add POPT_COMMON_CONNECTION.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 599d5f75c703a4cae3da87eb09b6a46285f6b074)
2008-05-05Fix client authentication with -P switch in client tools (Bug 5435).Günther Deschner1-1/+13
Guenther (This used to be commit d077ef64cd1d9bbaeb936566c2c70da508de829f)
2008-04-20Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_structVolker Lendecke1-6/+2
(This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)
2008-01-05Add general '-e' option to enable smb encryptionJeremy Allison1-12/+25
on tools. Jeremy. (This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
2008-01-04Add missing patch to allow smbcacls to do krb5 auth, bug #5175Jeremy Allison1-1/+1
from Tom Maher <tmaher@watson.org>. Jeremy. (This used to be commit 54ee718957b768a06e41857b96f0b5e18b3ca6a4)
2007-12-15s/sid_to_string/sid_to_fstring/Volker Lendecke1-1/+1
least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)