summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-11-22Add "net machinepw"Volker Lendecke3-0/+94
Provide a C-based alternative to the python script "mymachinepw"
2008-11-21Fix a C90 error.Jeremy Allison1-2/+3
Jeremy.
2008-11-21Rever 83ff6979f504d50caf725ee62549604630b69be7 - "Fix the logic bug that ↵Jeremy Allison2-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.
2008-11-21Fix the logic bug that caused us to run into kernel oplocks on an open for a ↵Jeremy Allison2-35/+41
stream inside a file with stream_xattr module. On opening the base_fsp we must break existing oplocks. Jeremy.
2008-11-21Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2-1/+3
2008-11-22[s3]nfs4_acls: make prototype header match definition for smb_set_nt_acl_nfs4()Michael Adam1-1/+1
Add the const from nfs4_acls.c to nfs4_acls.h This fixes my build of the zfsacl module on solaris. Michael
2008-11-21FreeBSD configure check for backtrace_symbolsDan Sledz1-0/+2
On FreeBSD backtrace_symbols is defined in libexecinfo.so.1. Look for it there as well.
2008-11-21Use fxattr calls whenever possible (trying to work around the strange Linux ↵Jeremy Allison1-19/+51
kernel oplock bug). Jeremy.
2008-11-21Second part of the fix for bug #5903 - vfs_streams_xattr breaks contents of ↵Jeremy Allison2-16/+106
the file (also fix a bad merge of the previous patch from 3.3). Jeremy.
2008-11-21s3-winbindd: make all winbind rpc-methods static.Michael Adam2-65/+32
Now that the methods are no longer needed in winbindd_ads, we can make them static again. Michael
2008-11-21s3-winbindd_ads: use the reconnect methods instead of the rpc methods directlyMichael Adam1-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
2008-11-21s3-winbindd_ads: prevent negative GM/ cache entries due to broken connectionsMichael Adam1-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
2008-11-21First part of fix for bug #5903 - vfs_streams_xattr breaks contents of the file.Jeremy Allison7-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.
2008-11-21Fix include path for installation.Jelmer Vernooij1-1/+1
2008-11-21s3-libnetjoin: fix build warning.Günther Deschner1-1/+1
Guenther
2008-11-21s3-libnetjoin: try to show a better error message upon invalid configuration.Günther Deschner1-11/+50
Guenther
2008-11-20s3/s4 build: Fix "might be unitialized" warningTim Prouty1-1/+1
2008-11-21s3-winbindd: for now only change machine pwd when not using a system krb5 ↵Günther Deschner1-0/+1
keytab. Guenther
2008-11-20s3 build: Fix incomplete types warningsTim Prouty1-3/+2
2008-11-20Fix bug #5909 - MS-DFS does not work on Vista, if link name includes ↵Yasuma Takeda1-6/+6
multibyte character.
2008-11-20Second part of fix for bug #5891 - smbd crashed when viewing the eventlog ↵Jeremy Allison1-5/+3
exported by "eventlog list". Don't leak memory on error paths. Jeremy.
2008-11-20Fix the build, by some cut-and-paste error I got two versions of the same ↵Jeremy Allison1-50/+0
functions here. Jeremy.
2008-11-20s3-eventlog: remove trailing whitespace.Günther Deschner1-44/+44
Guenther
2008-11-20s3-build: re-run make samba3-idl.Günther Deschner5-17/+43
Guenther
2008-11-20eventlog: fill in some unknowns and use flags bitmap in IDL.Günther Deschner2-6/+6
Guenther
2008-11-20s3-eventlog: avoid passing down full prs_struct in eventlog server.Günther Deschner1-10/+10
Guenther
2008-11-20s3-eventlog: move non rpc eventlog headers to own include file.Günther Deschner3-23/+42
Guenther
2008-11-20eventlog: don't crash in sync_eventlog_params().Michael Adam1-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>
2008-11-19This code mixes up int and uint32 when pulling out of a TDB. This is very ↵Jeremy Allison2-24/+26
bad. Fixing... May fix bug #5891, not sure. Jeremy.
2008-11-19Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison1-2/+2
2008-11-20s4-smbtorture: fix segfault in RPC-EVENTLOG test.Günther Deschner1-2/+2
Guenther
2008-11-19Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison17-283/+80
2008-11-19Fix build farm breakage.Jeremy Allison1-1/+1
2008-11-19s3-ntsvcs: remove old hand-marshalling for ntsvcs getdevregprop.Günther Deschner6-198/+0
Guenther
2008-11-19s3-ntsvcs: use pidl for _PNP_GetDeviceRegProp.Günther Deschner2-38/+23
Guenther
2008-11-19s3-rpcclient: fix cmd_ntsvcs_get_dev_reg_prop.Günther Deschner1-3/+6
Guenther
2008-11-19s3-build: re-run make samba3-idl after pidl change.Günther Deschner7-44/+44
Guenther
2008-11-19pidl: fix generated s3-server in,out,ref qualifiers that are used for buffer ↵Günther Deschner1-0/+7
allocation. Guenther
2008-11-19Add functions to delete NTACL on posix ACL set.Jeremy Allison2-77/+235
Jeremy.
2008-11-19Fix bug #5904 - libnss_wins causes SIGABRT while servicing getaddrinfo() ↵Jeremy Allison1-15/+48
request. Jeremy.
2008-11-19Fix path for torture.h.Jelmer Vernooij1-1/+1
2008-11-19manpages: Document new wbinfo idmapping options.Karolin Seeger1-0/+27
--set-uid/gid-mapping --remove-uid/gid-mapping Karolin (cherry picked from commit c9965d544f615fea1ba3609d7348407130ab1ec9)
2008-11-19build-docs: Use 'git clean' instead of 'git-clean'.Karolin Seeger1-1/+1
Karolin
2008-11-18s3/s4 build: Fix execinfo and sasl build error when the libs/headers are in ↵Tim Prouty2-3/+17
non-standard locations. These configure checks have the correct flags at configure time, so let's pass them through so they are used at compile time.
2008-11-18s3/s4 build: Fix makefile expression to work on more systemsTim Prouty1-1/+1
2008-11-18Clean-up various trailing space and >80 column lines.Steven Danneman8-30/+42
2008-11-18Added ability to remove id mappings in wbinfo and libwbclient.Steven Danneman11-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
2008-11-18Added ability to set id mappings in wbinfo.Steven Danneman1-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.
2008-11-19Move wireshark conformance file to top-level.Jelmer Vernooij1-0/+0
2008-11-18Fix extended DN parse error when AD object does not have a SID.Steven Danneman3-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()