summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
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
2008-10-23Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTSJelmer Vernooij2-2/+2
previously present in Samba 3.
2008-10-23netapi: fix add_GROUP_USERS_INFO_X_buffer.Günther Deschner1-4/+12
Guenther
2008-10-23netapi: fix NetUserGetGroups_r returning partial results.Günther Deschner1-2/+3
Guenther
2008-10-23netapi: NetGroupEnum_r needs to handle servers with no groups.Günther Deschner1-1/+1
Guenther
2008-10-22Use standard types.Jelmer Vernooij1-16/+16
2008-10-21Cope with MAXIMUM_ALLOWED_ACCESS requests when opening handles.Jeremy Allison1-0/+11
Jeremy.
2008-10-20Remove the requirement for ldap call made as root. Add in securityJeremy Allison1-7/+0
checks for all SAMR calls. Jeremy.
2008-10-20Fix warnings.Jeremy Allison5-32/+34
Jeremy.
2008-10-19Merge branch 'master' of ssh://git.samba.org/data/git/samba into cryptJelmer Vernooij3-247/+3
2008-10-19Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-229/+0
2008-10-19Remove silly safe_free() function which is a wrapper around SAFE_FREE().Jelmer Vernooij1-11/+0
Since it's a function it just sets the local pointer to NULL and basically is an equivalent to free(). It also claims it's being used for callbacks but isn't used that way anywhere.
2008-10-19Move more functions out of util_str.c into the shared util.c.Jelmer Vernooij1-229/+0
2008-10-19Make generate_random_buffer signature match that of lib/util.Jelmer Vernooij1-1/+1
2008-10-19Add TALLOC_CTX pointer to generate_random_str(), for consistency withJelmer Vernooij1-6/+2
Samba 4.
2008-10-18Move ufc to libreplace.Jelmer Vernooij1-770/+0
2008-10-18Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal.Jelmer Vernooij4-7/+7
2008-10-18Use str_list_equal() rather than str_list_compare().Jelmer Vernooij1-23/+0
2008-10-18Fix const, dupes.Jelmer Vernooij1-35/+0
2008-10-18Use separate make variables for libutil and libcrypto.Jelmer Vernooij2-2/+2
2008-10-18Use shared util.c.Jelmer Vernooij1-323/+5
2008-10-18Use standard va_copy.Jelmer Vernooij2-2/+2
2008-10-16Fix bug 5826 - Directory/Filenames get truncated when 3.2.0 client acesses ↵Jeremy Allison1-13/+45
old server. There was some code in pull_ucs2_base_talloc() to cope with this case which hadn't been added to pull_ascii_base_talloc(). The older Samba returns non unicode names which is why you are seeing this codepath being executed. Unify the logic in pull_ascii_base_talloc() and pull_ucs2_base_talloc(). Jeremy.