summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename some variables in getpwnam_alloc() for clarityVolker Lendecke2008-11-141-11/+12
|
* sys_pwnam doesn't return talloced memory, so don't mix up the returned struct.Volker Lendecke2008-11-141-4/+1
| | | | (cherry picked from commit eb99923991960e53bd150ac8f1d818cb746101b4)
* Fix a subtle logic bug in the adaption of se_create_child_secdesc(), pass ↵Jeremy Allison2008-11-081-0/+3
| | | | | | RAW-ACL inheritance tests. Only access masks for SD get/set left to fix. Jeremy.
* If we didn't inherit any ACE's the ACE pointer should be NULL.Jeremy Allison2008-11-061-4/+6
| | | | Jeremy.
* Make us clean under valgrind --leak-check=full by using ↵Jeremy Allison2008-11-063-30/+4
| | | | | | | | | | talloc_autofree_context() instead of NULL. Remove the code in memcache that does a TALLOC_FREE on stored pointers. That's a disaster waiting to happen. If you're storing talloc'ed pointers, you can't know their lifecycle and they should be deleted when their parent context is deleted, so freeing them at some arbitrary point later will be a double-free. Jeremy.
* Add wrapper str_list_make_v3() to replace the old S3 behavior ofJeremy Allison2008-11-062-1/+17
| | | | | | | | str_list_make(). From Dan Sledz <dan.sledz@isilon.com>: In samba 3.2 passing NULL or an empty string returned NULL. In master, it now returns a list of length 1 with the first string set to NULL (an empty list). Jeremy.
* Start factoring out the inheritance differences.Jeremy Allison2008-11-061-2/+1
| | | | Jeremy.
* Pass all the non-inherited S4 RAW-ACL tests.Jeremy Allison2008-11-031-0/+7
| | | | Jeremy.
* s3: fix a few "shadows a global declaration" warningsTim Prouty2008-11-031-4/+4
|
* Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij2008-11-012-14/+14
|
* Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij2008-11-016-168/+14
|\ | | | | | | | | | | | | | | | | Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c
| * Remove sys_dl*() - stubs are already provided by libreplace.Jelmer Vernooij2008-11-012-48/+8
| |
| * Remove sys_chroot() - libreplace already provides an alternative.Jelmer Vernooij2008-11-011-18/+0
| |
| * Move sys_realpath() to libreplace.Jelmer Vernooij2008-11-011-15/+0
| |
| * Move sys_lchown() to libreplace.Jelmer Vernooij2008-11-011-19/+0
| |
| * Move sys_symlink() to libreplace.Jelmer Vernooij2008-11-011-14/+0
| |
| * Move sys_readlink() to libreplace.Jelmer Vernooij2008-11-011-14/+0
| |
| * Move sys_link to libreplace.Jelmer Vernooij2008-11-011-14/+0
| |
| * Use 'regular' chown, libreplace will provide (dummy) replacement if necessary.Jelmer Vernooij2008-11-011-1/+1
| |
| * Move sys_chown() to rep_chown().Jelmer Vernooij2008-11-011-19/+0
| |
| * Get closer to passing S4 RAW-ACLs.Jeremy Allison2008-10-312-5/+5
| | | | | | | | Jeremy.
| * Another unused variable.Jeremy Allison2008-10-311-1/+0
| |
* | Use dup2() replacement from libreplace.Jelmer Vernooij2008-11-013-14/+4
|/
* Unify se_access_check with the S4 code. Will makeJeremy Allison2008-10-312-222/+123
| | | | | | calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
* Inherit Windows ACLs on a new directory.Jeremy Allison2008-10-301-3/+3
| | | | Jeremy.
* Coverity fix #CID: 607 - resource leak on error path.Jeremy Allison2008-10-291-0/+1
| | | | Jeremy.
* Allow a new file to inherit the Windows ACL from its parent.Jeremy Allison2008-10-291-63/+131
| | | | | Now to do the same for directories. Jeremy.
* netapi: fix access bits in netapi.Günther Deschner2008-10-281-1/+1
| | | | Guenther
* [s3]libsmbconf: add utility function smbconf_is_writeable_bystring()Michael Adam2008-10-272-0/+27
| | | | | | | This checks the writeability of a config source specified by the config source name. Michael
* [s3]libsmbconf: add method is_writeable() and wrapper smbconf_is_writeable()Michael Adam2008-10-275-0/+29
| | | | | | This allows for per-config-source checking of write support. Michael
* [s3]libsmbconf: create text config in smbconftortMichael Adam2008-10-271-1/+38
| | | | Michael
* [s3]libsmbconf: return WERR_BADFILE when no path to text backend is provided.Michael Adam2008-10-271-1/+1
| | | | Michael
* [s3]libsmbconf: fall back to file backend when no valid backend was foundMichael Adam2008-10-271-4/+5
| | | | | | | | | Interpret the source string as a file name when it contains a ':' sign but the initial part is not a known backend. This might occur even implicitly when "%T" is used in an include file name (even though this is not realistic..). Michael
* [s3]libsmbconf: fix comment typo.Michael Adam2008-10-271-1/+1
| | | | Michael
* [s3]libsmbconf: add backend_requires_messaging() method to libsmbconf.Michael Adam2008-10-275-0/+28
| | | | | | | In a clustered environment, the registry backend needs messaging to be set up since ctdb requires this. Michael
* [s3]libsmbconf: remove unused define.Michael Adam2008-10-271-3/+0
| | | | Michael
* [s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it.Michael Adam2008-10-271-1/+1
| | | | Michael
* netapi: make sure to always cleanup after testing NetUser calls.Günther Deschner2008-10-241-0/+4
| | | | Guenther
* netapi: add more group tests to netapitest.Günther Deschner2008-10-241-3/+220
| | | | Guenther
* Fix prototype for set_sockaddr_port.Jelmer Vernooij2008-10-231-1/+1
|
* Move set_sockaddr_port to libutil.Jelmer Vernooij2008-10-231-12/+0
|
* Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij2008-10-232-394/+3
|
* Use sockaddr_storage only where we rely on the size, use sockaddrJelmer Vernooij2008-10-233-65/+67
| | | | | otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in).
* Use libutil genrand.Jelmer Vernooij2008-10-231-220/+0
|
* Import talloc_stack into util library.Jelmer Vernooij2008-10-231-130/+0
|
* Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTSJelmer Vernooij2008-10-232-2/+2
| | | | previously present in Samba 3.
* netapi: fix add_GROUP_USERS_INFO_X_buffer.Günther Deschner2008-10-231-4/+12
| | | | Guenther
* netapi: fix NetUserGetGroups_r returning partial results.Günther Deschner2008-10-231-2/+3
| | | | Guenther
* netapi: NetGroupEnum_r needs to handle servers with no groups.Günther Deschner2008-10-231-1/+1
| | | | Guenther
* Use standard types.Jelmer Vernooij2008-10-221-16/+16
|