summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused make_connection_with_chdir()Volker Lendecke2008-11-242-36/+0
|
* Convert delete_driver_files to use create_conn_structVolker Lendecke2008-11-243-36/+41
| | | | Jerry, please check!
* Convert get_correct_cversion to use create_conn_structVolker Lendecke2008-11-243-48/+54
| | | | Jerry, please check!
* Convert move_driver_to_download_area to use create_conn_structVolker Lendecke2008-11-243-36/+28
| | | | | | | | | This removes a use of struct current_user and the vuid The become_user() here is unnecessary, within the spoolss handling code we have switched to the authenticated pipe user anyway. Jerry, please check!
* Fix to allow setting of NULL DACL/SACLSteven Danneman2008-11-231-11/+2
| | | | | | | | | | | This is a modification of Jeremy's 7522ef15aca2429ef57c75d8297dd8121e79c9da commit. If no DACL/SACL is present in the packet, the SEC_INFO field should still be passed down as is to the VFS layer to signal the creation of a NULL DACL/SACL. As seen in metze RAW-ACL test_nttrans_create_null_dacl(), a NULL DACL is set regardless of the SEC_DESC_DACL_PRESENT bit being set.
* s3-rpcclient; Really fix compile warning.Kai Blin2008-11-231-1/+1
| | | | Screwed up in 526c609d, now the real fix.
* Add auth_serversupplied_info to create_conn_structVolker Lendecke2008-11-233-11/+21
| | | | srvsvc needs it, as will printing
* s3-rpcclient: Fix a compile warning.Kai Blin2008-11-231-1/+1
|
* ctags: Ignore source3/includes/proto.h for tags.Kai Blin2008-11-231-1/+1
|
* Fix an uninitialized variable warningVolker Lendecke2008-11-231-1/+1
| | | | Andreas Schneider, please check!
* s3 build: when detecting to use internal zlib, put "-I../lib/zlib" first in ↵Michael Adam2008-11-231-1/+1
| | | | | | | | | | | CFLAGS This should fix a build error on our Tru64 build farm box where a zlib.h is found in an include path handed in via external CFLAGS, but that zlib.h belongs to an old zlib. So in ndr_compression.c, "#include <zlib.h>" includes the wrong header for the internal zlib. Michael
* s3-build: do not auto-genereate ndr tables but use checked-in tables.Michael Adam2008-11-231-3/+6
| | | | | | | | | | | | | This removes the build-dependency on perl that was introduced in commit e0905c30908b4d621030689d33de28a13c04a690. The tables can now be re-built with "make ndr-tables". This is also called by make samba3-idl to ensure that the tables are updated after idl changes. This hopefully fixes the build on some build farm hosts (e.g. gwen). Michael
* s3 build: don't specify ZLIB_LIBS (i.e. "-lz") in object collections.Michael Adam2008-11-221-3/+3
| | | | | | | | This causes make to fail on at least HP-UX and MacOS X with message "no rule to make target -lz" or similar, when these object collections are specified in dependencies. Michael
* Fix a C90 error.Jeremy Allison2008-11-211-2/+3
| | | | Jeremy.
* Rever 83ff6979f504d50caf725ee62549604630b69be7 - "Fix the logic bug that ↵Jeremy Allison2008-11-212-41/+35
| | | | | | | | caused us to run into kernel oplocks on an open for a stream inside a file with stream_xattr module. On opening the base_fsp we must break existing oplocks." as it broke make test. Jeremy.
* Fix the logic bug that caused us to run into kernel oplocks on an open for a ↵Jeremy Allison2008-11-212-35/+41
| | | | | | stream inside a file with stream_xattr module. On opening the base_fsp we must break existing oplocks. Jeremy.
* Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2008-11-212-1/+3
|\
| * [s3]nfs4_acls: make prototype header match definition for smb_set_nt_acl_nfs4()Michael Adam2008-11-221-1/+1
| | | | | | | | | | | | | | Add the const from nfs4_acls.c to nfs4_acls.h This fixes my build of the zfsacl module on solaris. Michael
| * FreeBSD configure check for backtrace_symbolsDan Sledz2008-11-211-0/+2
| | | | | | | | | | On FreeBSD backtrace_symbols is defined in libexecinfo.so.1. Look for it there as well.
* | Use fxattr calls whenever possible (trying to work around the strange Linux ↵Jeremy Allison2008-11-211-19/+51
|/ | | | | | kernel oplock bug). Jeremy.
* Second part of the fix for bug #5903 - vfs_streams_xattr breaks contents of ↵Jeremy Allison2008-11-212-16/+106
| | | | | | | the file (also fix a bad merge of the previous patch from 3.3). Jeremy.
* s3-winbindd: make all winbind rpc-methods static.Michael Adam2008-11-212-65/+32
| | | | | | | Now that the methods are no longer needed in winbindd_ads, we can make them static again. Michael
* s3-winbindd_ads: use the reconnect methods instead of the rpc methods directlyMichael Adam2008-11-211-6/+75
| | | | | | | | | | Some of the ads methods just point to the rpc methods. This makes winbindd_ads use the reconnect methods instead of calling the rpc methods directly in order to prevent negative cache entries for e.g. name_to_sid, when the dc has closed the connection without sending a reset. Michael
* s3-winbindd_ads: prevent negative GM/ cache entries due to broken connectionsMichael Adam2008-11-211-0/+23
| | | | | | | | | | | | | | The ads lookup_groupmem() function calls lda_lookupsids to resolve sids to names. This is tried only once. So in case the connection was broken, e.g. closed by the server (without a reset packet), there will be an empty GM/ cache entry for the requested group which will prevent proper working of access checks among other checks for the expiry period. This patch works around this problem by retrying once if the lsa_lookupsids call fails, re-establishing the dc-connection, as we already do in many other places (e.g. the winbindd retry methods for the rpc layer). Michael
* First part of fix for bug #5903 - vfs_streams_xattr breaks contents of the file.Jeremy Allison2008-11-217-125/+131
| | | | | | Restructures parts of open code so that fsp must be allocated before calling open_file_ntcreate(_internal). Also fix up file ref-counting inside files.c. Jeremy.
* s3-libnetjoin: fix build warning.Günther Deschner2008-11-211-1/+1
| | | | Guenther
* s3-libnetjoin: try to show a better error message upon invalid configuration.Günther Deschner2008-11-211-11/+50
| | | | Guenther
* s3-winbindd: for now only change machine pwd when not using a system krb5 ↵Günther Deschner2008-11-211-0/+1
| | | | | | keytab. Guenther
* Fix bug #5909 - MS-DFS does not work on Vista, if link name includes ↵Yasuma Takeda2008-11-201-6/+6
| | | | multibyte character.
* Second part of fix for bug #5891 - smbd crashed when viewing the eventlog ↵Jeremy Allison2008-11-201-5/+3
| | | | | | exported by "eventlog list". Don't leak memory on error paths. Jeremy.
* Fix the build, by some cut-and-paste error I got two versions of the same ↵Jeremy Allison2008-11-201-50/+0
| | | | | | functions here. Jeremy.
* s3-eventlog: remove trailing whitespace.Günther Deschner2008-11-201-44/+44
| | | | Guenther
* s3-build: re-run make samba3-idl.Günther Deschner2008-11-205-17/+43
| | | | Guenther
* s3-eventlog: avoid passing down full prs_struct in eventlog server.Günther Deschner2008-11-201-10/+10
| | | | Guenther
* s3-eventlog: move non rpc eventlog headers to own include file.Günther Deschner2008-11-203-23/+42
| | | | Guenther
* eventlog: don't crash in sync_eventlog_params().Michael Adam2008-11-201-1/+1
| | | | | | | | | | | When freeing the talloc ctx at the end of the routine, it must be a talloc ctx created inside. talloc_tos() needs to be valid after the function finishes, since callers (may) have data attached to it. Michael Signed-off-by: Günther Deschner <gd@samba.org>
* This code mixes up int and uint32 when pulling out of a TDB. This is very ↵Jeremy Allison2008-11-192-24/+26
| | | | | | bad. Fixing... May fix bug #5891, not sure. Jeremy.
* Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2008-11-1916-283/+73
|\
| * s3-ntsvcs: remove old hand-marshalling for ntsvcs getdevregprop.Günther Deschner2008-11-196-198/+0
| | | | | | | | Guenther
| * s3-ntsvcs: use pidl for _PNP_GetDeviceRegProp.Günther Deschner2008-11-192-38/+23
| | | | | | | | Guenther
| * s3-rpcclient: fix cmd_ntsvcs_get_dev_reg_prop.Günther Deschner2008-11-191-3/+6
| | | | | | | | Guenther
| * s3-build: re-run make samba3-idl after pidl change.Günther Deschner2008-11-197-44/+44
| | | | | | | | Guenther
* | Fix build farm breakage.Jeremy Allison2008-11-191-1/+1
|/
* Add functions to delete NTACL on posix ACL set.Jeremy Allison2008-11-192-77/+235
| | | | Jeremy.
* Fix bug #5904 - libnss_wins causes SIGABRT while servicing getaddrinfo() ↵Jeremy Allison2008-11-191-15/+48
| | | | | | request. Jeremy.
* Clean-up various trailing space and >80 column lines.Steven Danneman2008-11-188-30/+42
|
* Added ability to remove id mappings in wbinfo and libwbclient.Steven Danneman2008-11-1811-4/+315
| | | | | | | | | | | | | | | | | The idmap_tdb backend already provides an interface to remove existing id mappings. This commit plumbs that ability up through, winbindd, libwbclient, and wbinfo. Added new winbindd command: WINBINDD_REMOVE_MAPPING Added new libwbclient interfaces: wbcRemoveUidMapping() and wbcRemoveGidMapping() Added new wbinfo options: --remove-uid-mapping --remove-gid-mapping Increased libwbclient version to 0.2 Increased winbind interface version to 20
* Added ability to set id mappings in wbinfo.Steven Danneman2008-11-181-0/+99
| | | | | | | | | | | The two new parameters are: --set-uid-mapping --set-gid-mapping These allow wbinfo to create new, or override existing id mappings in the idmap backend. These expose the exisiting ability of libwbclient and winbindd to do this, up through a command line utility.
* Fix extended DN parse error when AD object does not have a SID.Steven Danneman2008-11-183-46/+79
| | | | | | | | | | | Some AD objects, like Exchange Public Folders, can be members of Security Groups but do not have a SID attribute. This patch adds more granular return errors to ads_get_sid_from_extended_dn(). Callers can now determine if a parse error occured because of bad input, or the DN was valid but contained no SID. I updated all callers to ignore SIDless objects when appropriate. Also did some cleanup to the out paths of lookup_usergroups_memberof()
* Whitespace and >80 column cleanups.Steven Danneman2008-11-183-51/+53
|