summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-09-29Fix async_connectVolker Lendecke1-1/+2
2008-09-27[s3]loadparm: refactor freeing of parameter data out and reduce memleak.Michael Adam1-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 Adam1-3/+1
instead of hard coded calculation. Michael
2008-09-27[s3]loadparm: remove superfluous talloc context / talloc_stackframe call.Michael Adam1-5/+0
Michael
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-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-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-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-24Fix the new vfs_smb_traffic_analyzer build for static linksJim McDonough1-2/+2
2008-09-24SMB traffic analyzer vfs module from Holger Hetterich <hhetter@novell.com>Holger Hetterich3-2/+359
Used to gather data to feed to a database for live and historical analysis of usage per user, per share, etc. Helper apps to read the data still to come. This one still needs to be made ipv6 enabled (connection is made to the helper app).
2008-09-24Fix bug #5790 samba returns STATUS_OBJECT_NAME_NOT_FOUND on set file ↵Jeremy Allison1-4/+2
disposition. We were checking that fd != -1 in file_find_di_XXX calls which is no longer needed due to a change in internal semantics. Jeremy.
2008-09-24build: fix the libcryptosrcdir for the merged buildStefan Metzmacher1-1/+1
metze
2008-09-24s3:configure: add -L./bin also for the merged buildStefan Metzmacher1-0/+4
metze
2008-09-24printing: Rename new parameter "cups timeout" to "cups connection timeout".Karolin Seeger4-8/+8
Karolin
2008-09-24Use common crc32 implementation.Jelmer Vernooij6-111/+5
2008-09-24Use shared copy of hmac5 implementation.Jelmer Vernooij5-176/+2
2008-09-24Use common md4 implementation.Jelmer Vernooij2-175/+1
2008-09-24Use common MD5.Jelmer Vernooij5-274/+2
2008-09-24Use new binary name in merged build.Jelmer Vernooij1-1/+1
2008-09-24s3: fix idmap_adex.Günther Deschner3-3/+3
Guenther
2008-09-24s3-nbt: use the new generated nbt.Günther Deschner8-492/+151
Guenther
2008-09-24s3: re-run make samba3-idl.Günther Deschner3-2284/+716
Guenther
2008-09-24s3-nbt: full merge of s4 nbt idl.Günther Deschner1-274/+143
Guenther
2008-09-24s3: fix merged_build.Günther Deschner1-0/+1
Guenther
2008-09-23printing: Add new parameter "cups timeout".Karolin Seeger4-6/+43
The default timeout for connections to CUPS servers is set to 5 minutes in the CUPS libraries. The smbd hangs on startup until the timeout is reached if the CUPS server is unreachable. This parameter makes the timeout configurable. The default value is set to 30 seconds. Karolin
2008-09-24s3: fix make everything.Günther Deschner1-3/+3
Guenther
2008-09-23Fix winbindd crash in an unusual failure mode. Bug #5737. Based on original ↵Jeremy Allison1-5/+9
patch from shargagan@novell.com Jeremy.