Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-09-27 | [s3]loadparm: refactor freeing of parameter data out and reduce memleak. | Michael Adam | 1 | -35/+53 | |
Add new functions free_parameter(), free_parameters() and free_global_parameters() and use these in the appropriate places, reducing code duplication. Also, always TALLOC_FREE data of type P_LIST, thus reducing mem-leaks: This had not been done in init_globals before. Michael | |||||
2008-09-27 | [s3]loadparm: in lp_do_parameter() use function lp_local_ptr() | Michael Adam | 1 | -3/+1 | |
instead of hard coded calculation. Michael | |||||
2008-09-27 | [s3]loadparm: remove superfluous talloc context / talloc_stackframe call. | Michael Adam | 1 | -5/+0 | |
Michael | |||||
2008-09-27 | [s3]loadparm: refactor setting parametric options in list out | Michael Adam | 1 | -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 Adam | 1 | -1/+1 | |
Michael | |||||
2008-09-27 | [s3]loadparm: refactor freeing of parametric options into free_param_opts(). | Michael Adam | 1 | -41/+34 | |
This code was there in three places. Michael | |||||
2008-09-27 | [s3]loadparm: rename process_registry_service() to process_smbconf_service(). | Michael Adam | 1 | -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 Adam | 1 | -6/+13 | |
Michael | |||||
2008-09-27 | [s3]testparm: free the popt context when it is no longer used. | Michael Adam | 1 | -0/+2 | |
Michael | |||||
2008-09-27 | [s3]build: build the new test_lp_load command. | Michael Adam | 1 | -0/+11 | |
Michael | |||||
2008-09-27 | [s3]loadparm: add a command test_lp_load to test the lp_load function. | Michael Adam | 1 | -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-26 | Second part of the fix for bug #5790 - samba returns ↵ | Jeremy Allison | 1 | -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-27 | s4:provision: don't do the full provision in the become_dc | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2008-09-27 | libwbclient: fix doxygen warnings. | Günther Deschner | 4 | -6/+6 | |
Guenther | |||||
2008-09-27 | libgpo: add gpext_security module build to configure. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2008-09-27 | libgpo: fix copyright. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2008-09-27 | libgpo: add security CSE skeleton. | Günther Deschner | 2 | -0/+273 | |
Guenther | |||||
2008-09-26 | Add test to show you can open for delete a readonly file. | Jeremy Allison | 1 | -0/+59 | |
Jeremy. | |||||
2008-09-26 | Fix bug #5797 - Moving readonly files fails. Reported by infomail@lordb.de. | Jeremy Allison | 1 | -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-26 | libgpo: fix invalid cast in scripts CSE. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2008-09-26 | net: Make share type lookup a function. | Kai Blin | 4 | -12/+17 | |
2008-09-26 | s3-srvsvc: fix _srvsvc_NetShareAdd segfault. | Günther Deschner | 1 | -1/+3 | |
parm_err is not a ref pointer. Guenther | |||||
2008-09-25 | Use IPv4/v6 independent calls. Change safe_strcpy/cat to strlcpy/cat (this | Jeremy Allison | 1 | -84/+97 | |
needs changing to talloc_sprintf) and fix file descriptor resource leaks in error paths. Jim and Holger please check ! Jeremy. | |||||
2008-09-25 | netapi: start supporting NetUserSetInfo level 3. | Günther Deschner | 1 | -7/+46 | |
Guenther | |||||
2008-09-25 | s3-nbt: further cleanup of dsgetdcname(). | Günther Deschner | 1 | -163/+25 | |
Guenther | |||||
2008-09-25 | s3-nbt: remove double nbt netlogon opcodes. | Günther Deschner | 3 | -30/+19 | |
Guenther | |||||
2008-09-25 | idmap: Fix typo is gid2sid() that was caching using idmap_cache_set_sid2uid() | Gerald W. Carter | 1 | -1/+1 | |
2008-09-25 | Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba | Jeremy Allison | 1 | -0/+1 | |
2008-09-25 | Remove these no longer used include files. | Jeremy Allison | 2 | -3118/+0 | |
Jeremy. | |||||
2008-09-25 | idmap_hash: Fix the nss_info link during "make install" | Gerald W. Carter | 1 | -0/+1 | |
2008-09-25 | idmap_adex: Fix the nss_info install link. | Gerald W. Carter | 1 | -0/+1 | |
2008-09-25 | Document the new hash and adex idmap/nss_info plugins. | Gerald W. Carter | 2 | -0/+165 | |
(cherry picked from commit 77bc0be0536bcd6a3ce8283a708828bebbbffee3) | |||||
2008-09-25 | Document how to enable the name aliasing support in Winbind. | Gerald W. Carter | 1 | -8/+19 | |
(cherry picked from commit 6dc81eb85b11851794619a1f2769d68cd9a54fb6) | |||||
2008-09-25 | s3:lib/ldb: Don't return already freed pointer on error. | Stefan Metzmacher | 1 | -0/+1 | |
metze Signed-off-by: Karolin Seeger <kseeger@samba.org> | |||||
2008-09-24 | we need different error handling for truncated packets in NETPROT and | Andrew Tridgell | 2 | -2/+40 | |
other SMB2 operations. | |||||
2008-09-24 | fixed expansion of $USERNAME in signing tests | Andrew Tridgell | 1 | -1/+1 | |
2008-09-24 | empty access mask is only denied on SMB2 | Andrew Tridgell | 1 | -1/+3 | |
2008-09-24 | we should terminate the connection on a bad negprot packet size | Andrew Tridgell | 1 | -2/+2 | |
2008-09-24 | for use in python we need to use global_loadparm | Andrew Tridgell | 1 | -1/+1 | |
2008-09-24 | - add reserved field in basic_information level | Andrew Tridgell | 1 | -3/+25 | |
- use INVALID_PARAMETER for info length mismatch to match windows behaviour - added parsing of LINK_INFORMATION level | |||||
2008-09-24 | record highest seq number in SMB2 to check for seqnum going backwards | Andrew Tridgell | 1 | -0/+2 | |
2008-09-24 | log stream termination | Andrew Tridgell | 1 | -0/+2 | |
2008-09-24 | cope with body_size zero in SMB2 receive | Andrew Tridgell | 1 | -1/+2 | |
2008-09-24 | check for a 0 byte in the buffer in SMB2 read | Andrew Tridgell | 1 | -0/+6 | |
2008-09-24 | the offset is 16 bits in SMB2 fileinfo | Andrew Tridgell | 1 | -1/+1 | |
2008-09-24 | zero access mask should give ACCESS_DENIED | Andrew Tridgell | 1 | -0/+4 | |
2008-09-24 | - SMB2 uses INVALID_PARAMETER not BUFFER_TOO_SMALL for buffer size | Andrew Tridgell | 1 | -15/+39 | |
errors - added a s32o16 buffer function | |||||
2008-09-24 | - use the current dialect first, for servers that only look at the | Andrew Tridgell | 1 | -3/+10 | |
first dialect - allow override of SMB2 port in client code | |||||
2008-09-24 | added the structure for LINK_INFORMATION setfileinfo call | Andrew Tridgell | 1 | -0/+13 | |
2008-09-24 | be friendlier in smb2_deltree to some of the SMB2 implementations that | Andrew Tridgell | 1 | -1/+1 | |
don't handle SEC_FLAG_MAXIMUM_ALLOWED |