summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
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.
2008-10-15s3: fix various samr callers.Günther Deschner2-3/+3
Guenther
2008-10-14Fix merged build .Jelmer Vernooij1-32/+0
2008-10-14Rely on standard {u,}int{8,16,32,64}_t types provided by system orJelmer Vernooij1-1/+1
libreplace for {u,}int{8,16,32,64} defines.
2008-10-14Use GUID_random.Jelmer Vernooij1-11/+0
2008-10-14Use GUID_from_string.Jelmer Vernooij1-51/+0
2008-10-14Use GUID_string rather than smb_uuid_string().Jelmer Vernooij2-20/+4
2008-10-14Use common fusage implementation.Jelmer Vernooij1-157/+0
2008-10-14Use {u,}int64_t instead of SMB_BIG_{U,}INT.Jelmer Vernooij7-59/+55
2008-10-13Share ndrdump implementation.Jelmer Vernooij1-7/+66
2008-10-13Use DATA_BLOB instead of "struct data_blob".Jelmer Vernooij1-4/+4
2008-10-13Add data_blob_string_const_null() function that includes the terminatingJelmer Vernooij3-11/+11
null byte and use it in Samba 3. This matches the behaviour prior to my data_blob changes.
2008-10-12Use common util_file code.Jelmer Vernooij2-348/+10
2008-10-12Sync util_tdb implementations.Jelmer Vernooij1-297/+0
2008-10-12Move rbtree.[ch] to lib/util.Jelmer Vernooij3-424/+2
2008-10-12Use common signal helper implementation.Jelmer Vernooij1-138/+0
2008-10-12Share data_blob implementation.Jelmer Vernooij2-186/+6
2008-10-12Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij1-107/+0
2008-10-11Cope with changed signature of http_timestring().Jelmer Vernooij2-559/+1
2008-10-11Use xfile from common lib/util in Samba 3.Jelmer Vernooij1-417/+0
Conflicts: source3/Makefile.in
2008-10-11Provide the same set of helper functions for DEBUG in Samba 3 and SambaJelmer Vernooij1-3/+9
4, even though the macros are still different. This makes it possible to use object code compiled with one DEBUG() macro from the other sourceX directory.
2008-10-11Merge branch 'master' of ssh://git.samba.org/data/git/samba into arc4Jelmer Vernooij17-42/+276
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison5-25/+14
Jeremy.
2008-10-08For the vfs_acl_xattr.c module, make sure we map GENERIC file and directory bitsJeremy Allison1-0/+18
to specific bits every time a security descriptor is set. The S4 torture suite proves that generic bits are not returned when querying an ACL set using them (ie. only the specific bits are stored on disk). Jeremy.
2008-10-07Make map_errno_from_nt_status() a generic call, not just a cli specific one.Jeremy Allison1-0/+136
Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files. Jeremy.
2008-10-05Fix some missing error handlingsVolker Lendecke3-2/+8