summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-07-06s3 sticky write time: Removed unused args and tighten up a function by ↵Tim Prouty4-11/+11
making an arg const
2009-07-06s3: Plumb smb_filename around SMB_VFS_CHFLAGSTim Prouty10-128/+117
SMB_VFS_CHFLAGS isn't actually getting the smb_filename struct for now since it only operates on the basefile. This is the strategy for all path-based operations that will never actually operate on a stream. By clarifying the meaning of path based operations that don't take an smb_filename struct, modules that implement streams such as vfs_onefs no longer need to implement SMB_VFS_CHFLAGS to ensure it's only called on the base_name.
2009-07-06s3: Change some filename_convert to pass in NULL for char **fname argumentTim Prouty5-16/+13
2009-07-06s3: Add ability to pass NULL to filename_convert for the char *fnameTim Prouty1-7/+11
The goal is to eventually remove the need for the char **fname argument once all callers have standardized on smb_filename.
2009-07-06s3: Plumb smb_filename through SMB_VFS_UNLINKTim Prouty23-377/+665
2009-07-06s3 audit: Remove some recently introduced memory leaks in the audit modulesTim Prouty2-12/+45
2009-07-06s3 audit: Remove the usesless static function declarations from the audit ↵Tim Prouty3-641/+308
modules
2009-07-06s3 onefs: Fix failure in POSIX smbtorture testTim Prouty1-2/+2
The return value of readlink was a bool instead of an int, which caused the length of the returned value to never be >1.
2009-07-06s3: Plumb smb_filename through SMB_VFS_RENAMETim Prouty20-321/+629
2009-07-06do not merge ACEs with different SMB_ACE4_INHERIT_ONLY_ACE flag, this leads ↵Christian Ambach1-0/+7
to wrong inheritance flags in the ACL e.g. (on GPFS) user:10000036:rwxc:allow (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED (X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED user:10000036:rwxc:allow:FileInherit:DirInherit:InheritOnly (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED (X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED group:10000005:rwxc:allow (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED (X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED group:10000005:rwxc:allow:FileInherit:DirInherit:InheritOnly (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED (X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED would be merged to user:10000036:rwxc:allow:FileInherit:DirInherit:InheritOnly (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED (X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED group:10000005:rwxc:allow:FileInherit:DirInherit:InheritOnly (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED (X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED so the explicit right for the user on the parent directory will be gone (the InheritOnly flag only accounts to subdirectories) thus leaving the user without access to the directory itself Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2009-07-05Use null_ndr_syntax_id instead of zeroing null_interface manuallyVolker Lendecke1-6/+2
2009-07-05Add const to init_rpc_hdr_baVolker Lendecke2-2/+2
2009-07-05Remove "typedef struct ndr_syntax_id RPC_IFACE;"Volker Lendecke5-26/+29
2009-07-05Introduce null_ndr_syntax_idVolker Lendecke2-0/+4
2009-07-05Make check_bind_req static to rpc_server/srv_pipe.cVolker Lendecke2-4/+2
2009-07-05Actually increase PASSDB_INTERFACE_VERSION to 18 :-)Volker Lendecke1-1/+1
2009-07-05s3:configure: honor CFLAGS in compile testsBjörn Jacke1-10/+10
When compilation is done for the architecture that's not the compiler's default, for example by setting CFLAGS to -m64, then compile tests might fail when they are done with the comiler's default arch. This should fix bugzilla #6162.
2009-07-04pdb_ads: For cached samu entries, priv is NULLVolker Lendecke1-75/+81
We have to recreate the priv entry on demand. This needs fixing in passdb... :-)
2009-07-04Add pdb_ads_get_domain_infoVolker Lendecke1-0/+53
2009-07-04pdb_ads: Use tldap_fetch_rootdse in pdb_ads_connectVolker Lendecke1-13/+12
2009-07-04pdb_ads: Fetch the domain GUIDVolker Lendecke1-1/+7
2009-07-04Add tldap_pull_guidVolker Lendecke2-0/+13
2009-07-04Handle LSA_POLICY_INFO_DNSVolker Lendecke1-0/+26
2009-07-04Implement QueryInfoPolicy2 similar to s4: Make it the same as QueryInfoPolicyVolker Lendecke1-3/+15
Don't reply to it for non-pdb-ads to keep up our old behaviour
2009-07-04Add pdb_get_domain_infoVolker Lendecke4-0/+32
2009-07-04Make pdb_ads return an additional flagVolker Lendecke2-1/+2
2009-07-04s3/s4:build: honor library path from environmentBjörn Jacke2-2/+2
we may not throw away LD_LIBRARY_PATH and friends as they sometimes contain important information. Some of the build farm machines for example have the python lib path in there - we can't run make test when we suddenly forget how to use python
2009-07-03tldap: Do not do a return before we got the search_resultVolker Lendecke1-1/+0
2009-07-03Fix two pointless staticsVolker Lendecke1-1/+1
2009-07-03For non-existent streams we have to return OBJECT_NAME_NOT_FOUNDVolker Lendecke2-2/+2
See the STREAMERROR s3 torture test. Jeremy, Tim, please check!
2009-07-03Test error codes on popular streamsVolker Lendecke1-0/+54
2009-07-03Attempt to fix the buildVolker Lendecke1-2/+2
2009-07-03s3-spoolss: add rpccli_spoolss_getprinterdriver convenience wrapper.Günther Deschner2-0/+57
Guenther
2009-07-03s3-spoolss: implement _spoolss_AddPrinter.Günther Deschner1-11/+24
Guenther
2009-07-03Restore ABI compatibility for talloc.Simo Sorce1-1/+1
2009-07-03s3:configure: fix syntax error in avahi configure testBjörn Jacke1-1/+1
2009-07-03Revert "[s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we ↵Michael Adam1-1/+1
have it." This reverts commit 1d3dcd1e420104c23769b691d0b8b7958d5c58a7. This fixes Bug #6531 (Pid File creation.) Usually, I would extend is_default_dyn_XYZ() so that it returns true when dyn_XYZ has not been set yet or when its value is equal to the compiled in default value XZY. But this would have a change in effect in popt_common and torture.c: is_default_dyn_CONFIGFILE() is used there to check whether the config file should be overwritten by the contents of the environment variable SMB_CONF_PATH. Currently this is only done when set_dyn_CONFIGFILE() had _not_ previously been called at all, not even with the same value as the compiled in default. Michael
2009-07-03do not redefine _INT32Matt Kraai2-4/+8
2009-07-03s3:configure: define _LARGEFILE64_SOURCE on QNXMatt Kraai1-0/+4
2009-07-03s3:pam_smbpass: fix build error on some Linux distrosBjörn Jacke1-1/+1
This addresses bug #6459.
2009-07-02s3:smbd: add marshalling layer for SMB2 Lock supportStefan Metzmacher4-1/+232
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 Find (QueryDirectory) supportStefan Metzmacher4-1/+265
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 Break support (SMB 2.002 only)Stefan Metzmacher4-1/+217
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 SetInfo supportStefan Metzmacher4-1/+222
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 GetInfo supportStefan Metzmacher4-1/+261
metze
2009-07-02s3:smbd: add support for SMB2 NotifyStefan Metzmacher4-1/+378
metze
2009-07-02s3:smbd: make change_notify_reply() more generic and hide send_nt_replies() ↵Stefan Metzmacher3-17/+42
behind a callback This prepares change notify support for SMB2. metze
2009-07-02s3:smbd: simplify the notify code a bit and always reply via ↵Stefan Metzmacher3-35/+30
change_notify_reply() -> send_nt_replies() metze
2009-07-02s3:smbd: push nttrans and trans2 responses with no data to the clientStefan Metzmacher2-0/+16
For sync replies it's not a problem, as construct_reply() will send the response, but for async replies we would not send the reply to the client. Currently the notify code works arround this manually, so I assume we didn't have a bug here. But the next commits will simplify the notify code. metze
2009-07-02s3:smbd: restore the 3.0.x bahavior of send_nt_replies()Stefan Metzmacher1-0/+5
We should also set the error code, when we return no parameters or data. metze