summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-09-27[s3]loadparm: refactor setting parametric options in list outMichael Adam1-52/+45
into new function set_param_opt(). This unifies and clarifies two instances of the code. Michael
2008-09-27[s3]loadparm: fix memory error - free the right param_opt->list in copy_service.Michael Adam1-1/+1
Michael
2008-09-27[s3]loadparm: refactor freeing of parametric options into free_param_opts().Michael Adam1-41/+34
This code was there in three places. Michael
2008-09-27[s3]loadparm: rename process_registry_service() to process_smbconf_service().Michael Adam1-3/+3
There is nothing registry-specific in that function. Michael
2008-09-27[s3]testparm: give testparm one common exit point and call gfree_loadparm().Michael Adam1-6/+13
Michael
2008-09-27[s3]testparm: free the popt context when it is no longer used.Michael Adam1-0/+2
Michael
2008-09-27[s3]build: build the new test_lp_load command.Michael Adam1-0/+11
Michael
2008-09-27[s3]loadparm: add a command test_lp_load to test the lp_load function.Michael Adam1-0/+88
This is not like testparm, just a simple tool that runs lp_load_with_registry_shares the requested number of times. Michael
2008-09-26Second part of the fix for bug #5790 - samba returns ↵Jeremy Allison1-4/+6
STATUS_OBJECT_NAME_NOT_FOUND on set file disposition call. This was my fault. I use a singleton cache (positive and negative) to speed up pathname based qfileinfo/setfileinfo lookups for alternate fsp's open on the same path. I only invalidated the negative cache on adding a new file fsp, as I incorrectly imagined the new fsp was put at the *end* of the open files list. DLIST_ADD puts it at the start, meaning any subsequent open wasn't seen once the cache was set. Doh ! Jeremy.
2008-09-27s4:provision: don't do the full provision in the become_dcStefan Metzmacher1-0/+2
metze
2008-09-27libwbclient: fix doxygen warnings.Günther Deschner4-6/+6
Guenther
2008-09-27libgpo: add gpext_security module build to configure.Günther Deschner1-0/+1
Guenther
2008-09-27libgpo: fix copyright.Günther Deschner1-1/+1
Guenther
2008-09-27libgpo: add security CSE skeleton.Günther Deschner2-0/+273
Guenther
2008-09-26Add test to show you can open for delete a readonly file.Jeremy Allison1-0/+59
Jeremy.
2008-09-26Fix bug #5797 - Moving readonly files fails. Reported by infomail@lordb.de.Jeremy Allison1-3/+1
We don't need to deny a DELETE open on a readonly file (I'm also adding a s4 torture test for this), the set_file_disposition call will return NT_STATUS_CANNOT_DELETE if the delete-on-close bit is set on a readonly file (and we already do this). Jeremy.
2008-09-26libgpo: fix invalid cast in scripts CSE.Günther Deschner1-1/+1
Guenther
2008-09-26net: Make share type lookup a function.Kai Blin4-12/+17
2008-09-26s3-srvsvc: fix _srvsvc_NetShareAdd segfault.Günther Deschner1-1/+3
parm_err is not a ref pointer. Guenther
2008-09-25Use IPv4/v6 independent calls. Change safe_strcpy/cat to strlcpy/cat (thisJeremy Allison1-84/+97
needs changing to talloc_sprintf) and fix file descriptor resource leaks in error paths. Jim and Holger please check ! Jeremy.
2008-09-25netapi: start supporting NetUserSetInfo level 3.Günther Deschner1-7/+46
Guenther
2008-09-25s3-nbt: further cleanup of dsgetdcname().Günther Deschner1-163/+25
Guenther
2008-09-25s3-nbt: remove double nbt netlogon opcodes.Günther Deschner3-30/+19
Guenther
2008-09-25idmap: Fix typo is gid2sid() that was caching using idmap_cache_set_sid2uid()Gerald W. Carter1-1/+1
2008-09-25Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison1-0/+1
2008-09-25Remove these no longer used include files.Jeremy Allison2-3118/+0
Jeremy.
2008-09-25idmap_hash: Fix the nss_info link during "make install"Gerald W. Carter1-0/+1
2008-09-25idmap_adex: Fix the nss_info install link.Gerald W. Carter1-0/+1
2008-09-25Document the new hash and adex idmap/nss_info plugins.Gerald W. Carter2-0/+165
(cherry picked from commit 77bc0be0536bcd6a3ce8283a708828bebbbffee3)
2008-09-25Document how to enable the name aliasing support in Winbind.Gerald W. Carter1-8/+19
(cherry picked from commit 6dc81eb85b11851794619a1f2769d68cd9a54fb6)
2008-09-25s3:lib/ldb: Don't return already freed pointer on error.Stefan Metzmacher1-0/+1
metze Signed-off-by: Karolin Seeger <kseeger@samba.org>
2008-09-24we need different error handling for truncated packets in NETPROT andAndrew Tridgell2-2/+40
other SMB2 operations.
2008-09-24fixed expansion of $USERNAME in signing testsAndrew Tridgell1-1/+1
2008-09-24empty access mask is only denied on SMB2Andrew Tridgell1-1/+3
2008-09-24we should terminate the connection on a bad negprot packet sizeAndrew Tridgell1-2/+2
2008-09-24for use in python we need to use global_loadparmAndrew Tridgell1-1/+1
2008-09-24- add reserved field in basic_information levelAndrew Tridgell1-3/+25
- use INVALID_PARAMETER for info length mismatch to match windows behaviour - added parsing of LINK_INFORMATION level
2008-09-24record highest seq number in SMB2 to check for seqnum going backwardsAndrew Tridgell1-0/+2
2008-09-24log stream terminationAndrew Tridgell1-0/+2
2008-09-24cope with body_size zero in SMB2 receiveAndrew Tridgell1-1/+2
2008-09-24check for a 0 byte in the buffer in SMB2 readAndrew Tridgell1-0/+6
2008-09-24the offset is 16 bits in SMB2 fileinfoAndrew Tridgell1-1/+1
2008-09-24zero access mask should give ACCESS_DENIEDAndrew Tridgell1-0/+4
2008-09-24- SMB2 uses INVALID_PARAMETER not BUFFER_TOO_SMALL for buffer sizeAndrew Tridgell1-15/+39
errors - added a s32o16 buffer function
2008-09-24- use the current dialect first, for servers that only look at theAndrew Tridgell1-3/+10
first dialect - allow override of SMB2 port in client code
2008-09-24added the structure for LINK_INFORMATION setfileinfo callAndrew Tridgell1-0/+13
2008-09-24be friendlier in smb2_deltree to some of the SMB2 implementations thatAndrew Tridgell1-1/+1
don't handle SEC_FLAG_MAXIMUM_ALLOWED
2008-09-24check error code for zero desired_access in SMB2 createAndrew Tridgell1-0/+7
2008-09-24fixed setpathinfo in gentest to not zero the filename/handleAndrew Tridgell1-5/+2
2008-09-24fixed uninitialised variable bugAndrew Tridgell1-0/+1