Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s4:ntvfs/posix/pvfs_*.c - quiet Solaris warnings | Matthias Dieter Wallnöfer | 2010-08-27 | 3 | -15/+13 |
| | | | | Fix the function argument of "pvfs_xattr_ndr_load/save". | ||||
* | s4:security Change struct security_token->sids from struct dom_sid * to ↵ | Andrew Bartlett | 2010-08-23 | 1 | -1/+1 |
| | | | | | | | | | struct dom_sid This makes the structure much more like NT_USER_TOKEN in the source3/ code. (The remaining changes are that privilages still need to be merged) Andrew Bartlett | ||||
* | s4:ntvfs Don't treat the user SID and primary group SID special for idmap | Andrew Bartlett | 2010-08-18 | 1 | -12/+4 |
| | | | | | | | This simply askes IDMAP about all the user SIDs, rather than the user and group sid, followed by all but the first two sids from the token. Andrew Bartlett | ||||
* | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 2010-07-16 | 9 | -20/+20 |
| | | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4:ntvfs/ipc/vfs_ipc.c - remove unused code | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -4/+0 |
| | | | | Spotted by the Solaris 10 compiler | ||||
* | s4:ntvfs/ipc/vfs_ipc.c - add casts to suppress warnings on Solaris 10 | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -3/+3 |
| | |||||
* | s4:ntvfs/simple/svfs_util.c - change an "asprintf" into a "talloc_asprintf" | Matthias Dieter Wallnöfer | 2010-05-28 | 1 | -2/+3 |
| | |||||
* | s4:ntvfs/nbench/vfs_bench.c - change a "asprintf" into a "talloc_asprintf" | Matthias Dieter Wallnöfer | 2010-05-28 | 1 | -2/+4 |
| | |||||
* | s4:idmap Adjust code to new idmap structure names and layout. | Andrew Bartlett | 2010-05-24 | 3 | -53/+37 |
| | | | | Andrew Bartlett | ||||
* | s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDL | Andrew Bartlett | 2010-05-24 | 3 | -3/+3 |
| | | | | | | | | This IDL is almost common, but the source3 version has a hand-marshalled server_id. The s3compat build has problems with two different idl files of the same name. Andrew Bartlett | ||||
* | s4:ntvfs/ipc/vfs_ipc.c - add more "const" in order to fix warnings | Matthias Dieter Wallnöfer | 2010-05-21 | 1 | -2/+2 |
| | |||||
* | s4:ntvfs/posix/pvfs_wait.c - fix a "calculated value unused" warning | Matthias Dieter Wallnöfer | 2010-05-21 | 1 | -3/+5 |
| | | | | | The calculated value is "req" (!= NULL) if "talloc_reference" did work correctly or it is NULL if we ran out of memory. | ||||
* | s3: Remove use of iconv_convenience. | Jelmer Vernooij | 2010-05-18 | 1 | -1/+0 |
| | |||||
* | Finish removal of iconv_convenience in public API's. | Jelmer Vernooij | 2010-05-18 | 8 | -46/+30 |
| | |||||
* | s4:ntvfs Prepare for a possible future sharing of notify.idl | Andrew Bartlett | 2010-05-18 | 1 | -0/+4 |
| | | | | | | | | I would love for notify.idl to be shared between Samba4 and Samba3 some day, and this seems to be the point at which the structure is initialised. Andrew Bartlett | ||||
* | s4:ntvfs Prepare for a possible future sharing of notify.idl | Andrew Bartlett | 2010-05-14 | 1 | -0/+4 |
| | | | | | | | | I would love for notify.idl to be shared between Samba4 and Samba3 some day, and this seems to be the point at which the structure is initialised. Andrew Bartlett | ||||
* | s4:ntvfs/ipc: remote // debug comments | Stefan Metzmacher | 2010-04-27 | 1 | -5/+0 |
| | | | | metze | ||||
* | s4:ntvfs: remove socket_address based functions | Stefan Metzmacher | 2010-04-27 | 2 | -32/+0 |
| | | | | metze | ||||
* | s4:ntvfs/ipc: pass the already given tsocket_address structures to the ↵ | Stefan Metzmacher | 2010-04-27 | 1 | -29/+2 |
| | | | | | | named_pipe_auth code metze | ||||
* | s4:ntvfs: add tsocket based addresses to ntvfs_context | Stefan Metzmacher | 2010-04-27 | 2 | -0/+27 |
| | | | | metze | ||||
* | s4: fix some build warnings. | Günther Deschner | 2010-04-26 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | s4: use generated rap header. | Günther Deschner | 2010-04-26 | 3 | -3/+3 |
| | | | | Guenther | ||||
* | s4: rename RAP share_enum_info to share_info. | Günther Deschner | 2010-04-26 | 2 | -11/+11 |
| | | | | Guenther | ||||
* | s4-waf: move to a universal method of recursing into subdirs | Andrew Tridgell | 2010-04-06 | 1 | -4/+4 |
| | | | | This works with both standalone lib builds and bundled builds | ||||
* | s4-waf: removed the AUTOGENERATED markers | Andrew Tridgell | 2010-04-06 | 3 | -11/+0 |
| | | | | we won't be using the mk -> wscript generator again | ||||
* | s4-waf: sys_lease depends on talloc | Andrew Tridgell | 2010-04-06 | 1 | -1/+2 |
| | |||||
* | s4-waf: more dependencies on talloc | Andrew Tridgell | 2010-04-06 | 1 | -1/+2 |
| | | | | | these are needed so we can support a system talloc without using the bundled talloc.h | ||||
* | s4-waf: cleaned up tevent dependency | Andrew Tridgell | 2010-04-06 | 1 | -1/+1 |
| | |||||
* | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 2010-04-06 | 6 | -0/+12 |
| | | | | them | ||||
* | build: sys_lease_linux needs to be conditionally enabled | Andrew Tridgell | 2010-04-06 | 1 | -9/+12 |
| | |||||
* | build: conditionally enable inotify | Andrew Tridgell | 2010-04-06 | 2 | -8/+10 |
| | |||||
* | build: waf quicktest nearly works | Andrew Tridgell | 2010-04-06 | 2 | -6/+6 |
| | | | | | Rewrote wafsamba using a new dependency handling system, and started adding the waf test code | ||||
* | build: commit all the waf build files in the tree | Andrew Tridgell | 2010-04-06 | 5 | -0/+168 |
| | |||||
* | build: improve autoconf macros | Andrew Tridgell | 2010-04-06 | 1 | -2/+4 |
| | | | | | | | | - enable headers to be specified - enable both forms of DECL check - more libreplace checks - more heimdal checks - more sysdep checks | ||||
* | build: ntvfs/sysdep configure checks | Andrew Tridgell | 2010-04-06 | 1 | -0/+7 |
| | |||||
* | s4-pvfs_sys: build on systems without O_NOFOLLOW or O_DIRECTORY | Andrew Tridgell | 2010-03-05 | 1 | -4/+22 |
| | |||||
* | s4-pvfs_sys: talloc_free should be before errno restore | Andrew Tridgell | 2010-03-05 | 1 | -13/+13 |
| | | | | talloc can potentially change the errno | ||||
* | s4-pvfs: use pvfs_sys_fchmod() | Andrew Tridgell | 2010-03-05 | 3 | -4/+4 |
| | |||||
* | s4-pvfs: set default for perm override based on system features | Andrew Tridgell | 2010-03-05 | 1 | -1/+9 |
| | | | | | | If the system has O_NOFOLLOW and O_DIRECTORY then we allow for overrides by default. If not, then we disable by default, as we will be more vulnerable to symlink attacks | ||||
* | s4-pvfs: use O_FOLLOW one level at a time for security overrides | Andrew Tridgell | 2010-03-05 | 1 | -37/+357 |
| | | | | | To prevent symlink attacks we need to use O_NOFOLLOW one level at a time when processing a root security override | ||||
* | s4-pvfs: use pvfs_sys_*() functions to wrap posix calls | Andrew Tridgell | 2010-03-05 | 5 | -20/+20 |
| | | | | | | | This allows for root override, which fixes many problems with mismatches between NT ACL permissions and unix permissions. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-pvfs: new pvfs_sys module | Andrew Tridgell | 2010-03-05 | 2 | -0/+301 |
| | | | | | | | | The pvfs_sys_*() calls provide wrapper functions for posix file functions which use root privileges to override EACCES failures if PVFS_FLAG_PERM_OVERRIDE is set Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-pvfs: added new pvfs flag PVFS_FLAG_PERM_OVERRIDE | Andrew Tridgell | 2010-03-05 | 2 | -0/+4 |
| | | | | | | | | This flag indicates that we should use root privileges to override unix permissions when the NT ACLs indicate that access should be granted Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-pvfs: log more error conditions in NTVFS backend | Andrew Tridgell | 2010-03-05 | 3 | -0/+31 |
| | | | | | | This should make is easier to track down some bug reports Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-pvfs: move the private ntcreatex flags to private_flags | Andrew Tridgell | 2010-03-05 | 3 | -6/+12 |
| | | | | | | | | Re-using two of the create_options bits was bound to eventually cause problems, and indeed, Windows7 now uses one of those bits when opening text files. Fixes bug 7189 | ||||
* | s4-posix: allow change ownership of files if the user has the right privileges | Andrew Tridgell | 2010-03-03 | 1 | -2/+21 |
| | | | | | | | | | When a user has SEC_PRIV_TAKE_OWNERSHIP or SEC_PRIV_RESTORE they have permission to change the ownership of a file. This should fix bug 6987 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-krb5: propogate errors from a lot more kerberos functions | Andrew Tridgell | 2010-02-26 | 1 | -1/+2 |
| | | | | | | | | We need to be able to give sensible error messages when a kerberos calls fails. This propogates the kerberos error up the stack to the caller. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-ntvfs: use TYPESAFE_QSORT() in notify code | Andrew Tridgell | 2010-02-13 | 1 | -3/+2 |
| | |||||
* | s4: Switch to S3-style id mapping data types. | Kai Blin | 2010-02-11 | 3 | -22/+22 |
| | |||||
* | s4:Remove "Py_RETURN_NONE" compatibility code | Matthias Dieter Wallnöfer | 2010-02-09 | 2 | -8/+0 |
| | | | | This was needed only by Python 2.3 which we no longer support. |