summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-12-03s3: Change sockaddr util function names for consistencyTim Prouty2-11/+11
Also eliminates name conflicts with OneFS system libraries
2008-11-28Move cli_trans_oob to lib/util.cVolker Lendecke1-0/+19
Rename it to trans_oob, it will be used in the server routines.
2008-11-15Attempt to fix the buildVolker Lendecke1-1/+1
I have no idea how this could have happened. Probably done a make and make test in a different tree than the one I have done the push from. Sorry. Volker
2008-11-14Make memcache_add_talloc NULL out the source pointerVolker Lendecke2-3/+13
This is an orthogonality measure to make clear this pointer now belongs to the cache. (cherry picked from commit e6080c6e87d6fe3995b121a772bf3f6343fa666f)
2008-11-14Actually finish memcache_add_tallocVolker Lendecke1-1/+36
This fixes a memleak found by Martin Zielinski <mz@seh.de>. Thanks for looking closely! Volker (cherry picked from commit a31a84a078100819809e6d40dbc3df207a50a0b2)
2008-11-14Rename some variables in getpwnam_alloc() for clarityVolker Lendecke1-11/+12
2008-11-14sys_pwnam doesn't return talloced memory, so don't mix up the returned struct.Volker Lendecke1-4/+1
(cherry picked from commit eb99923991960e53bd150ac8f1d818cb746101b4)
2008-11-08Fix a subtle logic bug in the adaption of se_create_child_secdesc(), pass ↵Jeremy Allison1-0/+3
RAW-ACL inheritance tests. Only access masks for SD get/set left to fix. Jeremy.
2008-11-06If we didn't inherit any ACE's the ACE pointer should be NULL.Jeremy Allison1-4/+6
Jeremy.
2008-11-06Make us clean under valgrind --leak-check=full by using ↵Jeremy Allison3-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.
2008-11-06Add wrapper str_list_make_v3() to replace the old S3 behavior ofJeremy Allison2-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.
2008-11-06Start factoring out the inheritance differences.Jeremy Allison1-2/+1
Jeremy.
2008-11-03Pass all the non-inherited S4 RAW-ACL tests.Jeremy Allison1-0/+7
Jeremy.
2008-11-03s3: fix a few "shadows a global declaration" warningsTim Prouty1-4/+4
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij2-14/+14
2008-11-01Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij6-168/+14
Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c
2008-11-01Use dup2() replacement from libreplace.Jelmer Vernooij3-14/+4
2008-11-01Remove sys_dl*() - stubs are already provided by libreplace.Jelmer Vernooij2-48/+8
2008-11-01Remove sys_chroot() - libreplace already provides an alternative.Jelmer Vernooij1-18/+0
2008-11-01Move sys_realpath() to libreplace.Jelmer Vernooij1-15/+0
2008-11-01Move sys_lchown() to libreplace.Jelmer Vernooij1-19/+0
2008-11-01Move sys_symlink() to libreplace.Jelmer Vernooij1-14/+0
2008-11-01Move sys_readlink() to libreplace.Jelmer Vernooij1-14/+0
2008-11-01Move sys_link to libreplace.Jelmer Vernooij1-14/+0
2008-11-01Use 'regular' chown, libreplace will provide (dummy) replacement if necessary.Jelmer Vernooij1-1/+1
2008-11-01Move sys_chown() to rep_chown().Jelmer Vernooij1-19/+0
2008-10-31Get closer to passing S4 RAW-ACLs.Jeremy Allison2-5/+5
Jeremy.
2008-10-31Another unused variable.Jeremy Allison1-1/+0
2008-10-31Unify se_access_check with the S4 code. Will makeJeremy Allison2-222/+123
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
2008-10-30Inherit Windows ACLs on a new directory.Jeremy Allison1-3/+3
Jeremy.
2008-10-29Coverity fix #CID: 607 - resource leak on error path.Jeremy Allison1-0/+1
Jeremy.
2008-10-29Allow a new file to inherit the Windows ACL from its parent.Jeremy Allison1-63/+131
Now to do the same for directories. Jeremy.
2008-10-28netapi: fix access bits in netapi.Günther Deschner1-1/+1
Guenther
2008-10-27[s3]libsmbconf: add utility function smbconf_is_writeable_bystring()Michael Adam2-0/+27
This checks the writeability of a config source specified by the config source name. Michael
2008-10-27[s3]libsmbconf: add method is_writeable() and wrapper smbconf_is_writeable()Michael Adam5-0/+29
This allows for per-config-source checking of write support. Michael
2008-10-27[s3]libsmbconf: create text config in smbconftortMichael Adam1-1/+38
Michael
2008-10-27[s3]libsmbconf: return WERR_BADFILE when no path to text backend is provided.Michael Adam1-1/+1
Michael
2008-10-27[s3]libsmbconf: fall back to file backend when no valid backend was foundMichael Adam1-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
2008-10-27[s3]libsmbconf: fix comment typo.Michael Adam1-1/+1
Michael
2008-10-27[s3]libsmbconf: add backend_requires_messaging() method to libsmbconf.Michael Adam5-0/+28
In a clustered environment, the registry backend needs messaging to be set up since ctdb requires this. Michael
2008-10-27[s3]libsmbconf: remove unused define.Michael Adam1-3/+0
Michael
2008-10-27[s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it.Michael Adam1-1/+1
Michael
2008-10-24netapi: make sure to always cleanup after testing NetUser calls.Günther Deschner1-0/+4
Guenther
2008-10-24netapi: add more group tests to netapitest.Günther Deschner1-3/+220
Guenther
2008-10-23Fix prototype for set_sockaddr_port.Jelmer Vernooij1-1/+1
2008-10-23Move set_sockaddr_port to libutil.Jelmer Vernooij1-12/+0
2008-10-23Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij2-394/+3
2008-10-23Use sockaddr_storage only where we rely on the size, use sockaddrJelmer Vernooij3-65/+67
otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in).
2008-10-23Use libutil genrand.Jelmer Vernooij1-220/+0
2008-10-23Import talloc_stack into util library.Jelmer Vernooij1-130/+0