summaryrefslogtreecommitdiffstats
path: root/source/lib/sysacls.c
Commit message (Collapse)AuthorAgeFilesLines
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-14/+2
|
* dos2unix not used in HEAD anymore.Jeremy Allison2002-03-041-2/+2
| | | | Jeremy.
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Added HPUX ACL code.Jeremy Allison2001-12-151-0/+957
| | | | Jeremy.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-2/+0
|
* move to SAFE_FREE()Simo Sorce2001-09-171-35/+33
|
* Added Mike Davidsons Tru64 ACL patch.Jeremy Allison2001-08-101-13/+23
| | | | Jeremy.
* Change all realloc() statements to Realloc() (ecxept for tdb.c)Simo Sorce2001-08-081-1/+1
| | | | | | | changed some code to exploit the fact that Realloc(NULL, size) == malloc(size) fixed some possible mem leaks, or seg faults. thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c)
* Fix from Michael Davidson <md@caldera.com> for DEC OSF/1 ACLs (ie.Jeremy Allison2001-07-261-6/+152
| | | | | Digital UNIX). Jeremy.
* The big character set handling changeover!Andrew Tridgell2001-07-041-1/+1
| | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation.
* Added patches to remove Linux specific XFS ACLs. These are now handled by theJeremy Allison2001-06-181-219/+0
| | | | | | generic Linux ACL code. rpc_server/srv_samr_nt.c: Don't delete a policy handle before it's created. Jeremy.
* Fixed typo in Solaris and UnixWare ACLs.Jeremy Allison2001-06-091-1/+1
| | | | Jeremy.
* Herb's IRIX fix for deleting default ACLs.Jeremy Allison2001-06-081-0/+5
| | | | Jeremy.
* AIX has no default acls.Jeremy Allison2001-06-081-0/+6
| | | | Jeremy.
* Added sys_acl_delete_def_file for UnixWare and Solaris fromJeremy Allison2001-06-081-19/+56
| | | | | Michael Davidson <michael_davidson@pacbell.net>. Jeremy.
* Added sys_acl_delete_def_file() - needed as part of NT ACL editing fix.Jeremy Allison2001-06-081-7/+19
| | | | | | Will add changes for other supported ACL systems shortly (Herb, I may need help with the IRIX one). Jeremy.
* AIX ACLs donated by IBM.Jeremy Allison2001-04-171-4/+883
| | | | | Merge Andrew's fnmatch fix for WfW. Jeremy.
* Added POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. ChangedJeremy Allison2001-04-141-0/+9
| | | | | | a bit to use AC_TRY_LINK to ensure functions are available for link instead of AC_TRY_COMPILE. Jeremy.
* Michael Davidson <md@sco.COM> pointed out that acl_get_qualifier can potentiallyJeremy Allison2001-04-131-0/+28
| | | | | | return a malloced area so added sys_acl_free_qualifier() calls to all supported ACL interfaces to code with this (only Linux needs actual free call). Jeremy.
* Merged John's changes.Jeremy Allison2001-04-121-3/+3
| | | | Jeremy.
* To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison2001-04-111-1/+0
| | | | | | | | Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy.
* Changed the order of -kPIC and -kpic.Jeremy Allison2001-04-111-4/+6
| | | | | Added patch from Michael Davidson <md@sco.COM> for Solaris/Unixware ACLS. Jeremy.
* Fix from Michael Davidson <md@sco.COM> to merge Solaris and UnixWare ACLs.Jeremy Allison2001-04-051-559/+52
| | | | Jeremy.
* Added XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.Jeremy Allison2001-04-031-0/+214
| | | | Jeremy.
* IRIX ACLs from Herb.Jeremy Allison2001-04-021-0/+244
| | | | Jeremy.
* New POSIX ACL mapping code. Works with UNIX permissions, now for testingJeremy Allison2001-03-221-0/+20
| | | | | with real ACLs... Jeremy.
* Fixed a couple of getpwXX calls that were not going through the sys_getpwXXJeremy Allison2001-03-011-2/+2
| | | | | cache. Jeremy.
* rpc_client/cli_netlogon.c: Fixed incorrect printf.Jeremy Allison2001-02-251-0/+536
| | | | | Added Solaris ACL support. Jeremy.
* Excise snprintf -> slprintf.Jeremy Allison2001-02-161-6/+6
| | | | | | | srv_samr.c: duplicate gid fix. srv_spoolss_nt.c: Merge of JF's work. uid.c: Fix for returning names when a PDC. Jeremy.
* Patch to add UnixWare ACLs from Michael Davidson <md@sco.COM>. With someJeremy Allison2001-02-151-0/+559
| | | | | | | small modifications, this code may also work on Solaris, as they are derived from the same SVR4 codebase. When the Samba Solaris box is up and running again I will test this. Jeremy.
* Fixed typo with acl_set_fd() not needing an ACL_TYPE_T parameter.Jeremy Allison2001-01-111-5/+5
| | | | | Ensure HAVE_NO_ACLS is set in configure if ACL support not selected. Jeremy
* First compiling version of code that sets NT ACLs as POSIX ACLs.Jeremy Allison2001-01-111-2/+90
| | | | | Now the debugging starts.... :-). Jeremy.
* Split the one sys_acl_free call into sys_acl_free_TYPE calls, to allowJeremy Allison2000-12-191-11/+32
| | | | | easier wrapping of non-POSIX ACL interfaces. Jeremy.
* Renamed parameters and variables called acl to the_acl as it conflictsTim Potter2000-12-141-6/+6
| | | | with a Solaris system call.
* Added better configure test for POSIX ACLs. Fixed stupid typo in sysacls.cJeremy Allison2000-12-071-1/+1
| | | | Jeremy.
* Working code to read POSIX ACLs on a Linux system using the bestbitsJeremy Allison2000-12-071-2/+49
| | | | | | | ACL patch from http://acl.bestbits.at/. configure support needs more work (just assumes correct headers at the moment). ACL writing needs adding. Jeremy.
* Cause smbd to use the new posix_acls code, not the old unix_acls code.Jeremy Allison2000-12-061-0/+12
| | | | | | | | | | | Currently does exactly the same thing (returns ACLs the same way). This code is written to try and get a POSIX ACL via the abstract sys_XX interface, then fall back to providing a UNIX based ACL if the calls fail. Seems to work. Next step is to add a --with-posix-acls to configure.in and then check on a POSIX ACL system that a complex ACL is returned correctly as an NT ACL. Note that the ACL set (a more complex problem) is not addressed yet. Jeremy.
* Make smbd/posix_acls.c use abstract interface.Jeremy Allison2000-12-061-0/+110
include/smb_acls.h lib/sysacls.c: Added as interface definitions. Jeremy.