summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2008-11-01Remove IS_DOT and IS_DOTDOT macros, already provided by libreplace orJelmer Vernooij1-8/+0
the system.
2008-11-01Move ABS() to libutil.Jelmer Vernooij1-24/+0
2008-11-01Remove a bunch of direct inbuf references by adding "buf" to smb_requestVolker Lendecke1-0/+1
2008-11-01Apply some const to get_lock_*()Volker Lendecke1-3/+6
2008-11-01Apply some const to np_write()Volker Lendecke1-1/+1
2008-11-01Add a "buflen" struct member to smb_requestVolker Lendecke1-0/+1
This removes some explicit inbuf references and also removes a pointless check in reply_echo. The buflen can never be more than 64k, this is just a 16 bit value.
2008-11-01Use shared doserr.c.Jelmer Vernooij1-6/+0
2008-11-01Remove duplicate prototypes.Jelmer Vernooij1-11/+1
2008-11-01Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij5-158/+4
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 Vernooij1-1/+0
2008-11-01Remove sys_dl*() - stubs are already provided by libreplace.Jelmer Vernooij1-4/+0
2008-11-01Remove sys_chroot() - libreplace already provides an alternative.Jelmer Vernooij1-1/+0
2008-11-01Move sys_realpath() to libreplace.Jelmer Vernooij1-1/+0
2008-11-01Move sys_lchown() to libreplace.Jelmer Vernooij1-1/+0
2008-11-01Move sys_symlink() to libreplace.Jelmer Vernooij1-2/+0
2008-11-01Move sys_readlink() to libreplace.Jelmer Vernooij1-1/+0
2008-11-01Move sys_link to libreplace.Jelmer Vernooij1-1/+0
2008-11-01Merge branch 'master' of git://git.samba.org/sambaJelmer Vernooij2-16/+1
2008-11-01proto.h: Remove prototypes already in other header files.Jelmer Vernooij1-120/+0
2008-11-01Samba3: Include util.h header file rather than having custom prototypes.Jelmer Vernooij2-11/+3
2008-10-31Get closer to passing S4 RAW-ACLs.Jeremy Allison1-1/+1
Jeremy.
2008-11-01s3-accessmask: re-run make samba3-idl and remove duplicate copies.Günther Deschner1-15/+0
Guenther
2008-10-31s3-samr: remove duplicate copies of Alias Object specific access rights.Günther Deschner1-28/+0
Guenther
2008-10-31s3-samr: remove duplicate copies of Group Object specific access rights.Günther Deschner1-29/+0
Guenther
2008-10-31s3-samr: remove duplicate copies of Domain Object specific access rights.Günther Deschner1-40/+0
Guenther
2008-10-31s3-samr: remove duplicate copies of SAM user specific access rights.Günther Deschner1-43/+0
Guenther
2008-10-31s3-samr: remove duplicate copies of SAM server specific access rights.Günther Deschner1-31/+0
Guenther
2008-10-31Unify se_access_check with the S4 code. Will makeJeremy Allison1-3/+2
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
2008-10-31errors: share dcerpc error function.Günther Deschner1-2/+2
Guenther
2008-10-30Start moving us closer to passing S4 RAW-ACL test using the vfs_acl_xattr ↵Jeremy Allison1-0/+1
module. Inheritance fails at the moment though. Jeremy.
2008-10-29Allow a new file to inherit the Windows ACL from its parent.Jeremy Allison1-2/+11
Now to do the same for directories. Jeremy.
2008-10-25Add proxied named pipe supportVolker Lendecke1-1/+2
This is a central piece of the "merged build" thing: Forward named pipes from samba3 to samba4. This patch is not finished yet, as we will have to forward the smb-level authentication information to samba4, but I'm pushing this patch already to demonstrate the implementation without clutter. It adds an intermediate parameter np:proxy = srvsvc samr winreg wkssvc ... and so on that states which of the pipes should be forwarded to the s4 unix domain socket DEFAULT. The parameter is intermediate because once we have a proper endpoint mapper implementation, this information will be retrieved out of a database. If anybody wants to try this, do the merged build and configure s4 with server services = samba3_smb, rpc, nbt, wrepl, ldap, cldap, kdc, drepl samba3:smbd = /data/inst/sbin/smbd and s3 with auth methods = guest netlogond np:proxy = srvsvc samr winreg wkssvc netlogon ntlsa ntsvcs lsass lsarpc netdfs \ rpcecho initshutdown epmapper svcctl eventlog drsuapi Then run rpcclient against samba4. It will fork s3, which authenticates against s4, and then forwards the rpc requests to s4. Volker
2008-10-25Add str_list_check[_ci] to s3's proto.hVolker Lendecke1-0/+3
Jelmer, when I include lib/util/util.h into some s3 file I get errors, this is why I put those prototypes here as a workaround. Might be fixed differently later.
2008-10-25Remove "pipe_handle_offset" -- pipes now use "struct files_struct"Volker Lendecke1-1/+0
2008-10-24Revert Samba3 back to using its own charset handling code.Jelmer Vernooij1-1/+1
2008-10-24Remove more uses of global_loadparm.Jelmer Vernooij1-1/+1
2008-10-24svcctl: move some non-rpc related bits out of rpc_svcctl.h.Günther Deschner3-23/+49
Guenther
2008-10-23Fix prototype for set_sockaddr_port.Jelmer Vernooij1-1/+1
2008-10-23Fix "parameter has incomplete type" build warning.Tim Prouty1-1/+0
When libcli-util was moved to the top level (3be0f6ea56ed8e43cd287ed020e942efb675b87b) it introduced a build warning. Since ndr_map_error2ntstatus depends on the definition of enum ndr_err_code and libndr.h can't be easily included in error.h, I moved the definition of enum ndr_err_code to libndr.h. This also eliminates the need for the duplicate definition in proto.h
2008-10-23Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij1-1/+3
2008-10-23Use sockaddr_storage only where we rely on the size, use sockaddrJelmer Vernooij1-14/+14
otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in).
2008-10-23Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-70/+0
2008-10-23Use libutil genrand.Jelmer Vernooij1-1/+1
2008-10-23s3-build: remove duplicate svcctl bits and re-run make samba3-idl.Günther Deschner1-70/+0
Guenther
2008-10-23Import talloc_stack into util library.Jelmer Vernooij2-57/+1
2008-10-23Use common error definitions.Jelmer Vernooij7-994/+4
2008-10-22s3-asn1/spnego: use OIDs including dots.Günther Deschner1-4/+4
Guenther
2008-10-22s3: use shared asn1 code.Günther Deschner3-87/+3
Guenther
2008-10-22s3-spnego: move spnego defines to spnego.hGünther Deschner2-17/+17
Guenther
2008-10-22Remove unused header file.Jelmer Vernooij1-3/+0