summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-03-17registry: use talloc instead of malloc and provide common exit pointMichael Adam1-13/+13
in regdb_get_secdesc(). Michael (This used to be commit df848d8eeeb102288a3acb9a0f8a7015e0c6ca6b)
2008-03-17registry: remove an unused variable from regdb_set_secdesc().Michael Adam1-6/+0
Michael (This used to be commit 76dad05e4ce4b4cb26557bc151359ed9d58d6317)
2008-03-17registry: untangle assignments and if statements in regdb_set_secdesc().Michael Adam1-6/+7
Michael (This used to be commit d553b5d72569c1496bfa3de703c9bf15a9a6cb60)
2008-03-17registry: use talloc_stackframe instead of hand crafted temporary context.Michael Adam1-5/+1
Michael (This used to be commit e4f2c856ec716697af4815491b5ae8ddb263cd51)
2008-03-17registry: use talloc instead of malloc for tdb data in regdb_store_values().Michael Adam1-2/+1
Michael (This used to be commit 860316cbe70836882bff16b39f0deb5c12cbd1f3)
2008-03-17registry: don't use talloc_stackframe() instead of talloc_tos() als temp ctxMichael Adam1-14/+14
in regdb_store_values(). Also provide common exit path for freeing memory. Michael (This used to be commit 7454e426f2ea9aa42620ed5bcb34c85797b9e21b)
2008-03-17registry: don't leak to talloc stack in regdb_fetch_keys().Michael Adam1-1/+2
Michael (This used to be commit 3a1d79116b693bc25af1106c9a43ffd275ac3d1e)
2008-03-17registry: explicitly use talloc context instead of talloc_tos()Michael Adam1-2/+2
in regdb_fetch_keys(). Michael (This used to be commit 93ea27a3e23e489a2af3c778684f8a8a4594b567)
2008-03-17registry: don't leak on success path in regdb_store_keys().Michael Adam1-0/+1
Michael (This used to be commit 331d7fd2ea6d8aeb029478a6ab8d4051fa2c03fd)
2008-03-17registry: allocate tempory data in talloc stack in regdb_store_keys().Michael Adam1-6/+4
Michael (This used to be commit a99b51159a7db5f249ff136cf9ba758d14380a35)
2008-03-17registry: separate cancel and failur exit paths in regdb_store_keys().Michael Adam1-19/+20
Michael (This used to be commit e1d4a2fa5b5b0f21d1ea4a9dffc326878c9f54b7)
2008-03-17registry: don't leak memory on transaction fail in regdb_store_keys().Michael Adam1-2/+2
Michael (This used to be commit 9315de404812d89dddcec6ac4ae17c34f5012746)
2008-03-17registry: don't leak (to talloc_tos()) in regdb_store_keys().Michael Adam1-1/+2
use talloc_stackframe() and free on error path. Michael (This used to be commit 95525772f2791f0fb999fe9f271da5b0fbdc62d8)
2008-03-17registry: reformat regdb_store_keys_internal(), killing long lines.Michael Adam1-9/+13
Michael (This used to be commit 966b2414cb6efdfe5acb412ed9bdfd7589ee694c)
2008-03-17registry: don't leak (to talloc_tos()) in regdb_store_keys_internal().Michael Adam1-1/+2
Michael (This used to be commit 76e4cdc25fc9a7e47fd9a356dc54533b62c5db08)
2008-03-17registry: reformat init_registry_data() some, killing long lines.Michael Adam1-29/+39
Michael (This used to be commit f357b1ddd3ea552163151f27b4ec70fe0488a0ba)
2008-03-17registry: explicitly use talloc context instead of talloc_tos()Michael Adam1-10/+10
in init_registry_data(). Michael (This used to be commit 8b0dd1e7582eef71275eea2da2b444588412c517)
2008-03-17registry: don't leak (to talloc_tos()) in init_registry_data().Michael Adam1-0/+2
Michael (This used to be commit 7fd0ae3edce8a6ae913344cc0974181c19179b23)
2008-03-17registry: rename tdb_refcount to regdb_refcount after change to dbwrap.Michael Adam1-13/+13
Michael (This used to be commit d39957e2c9216ef01b2ef53863c0ef5d3a9b5fee)
2008-03-17registry: rename tdb_reg to regdb after change to dbwrap.Michael Adam1-27/+27
Michael (This used to be commit 79f37d47655ec26176a8da5f47e1c7400888a2ef)
2008-03-17registry: migrate tdb registry backend to dbwrap.Michael Adam1-49/+52
Michael (This used to be commit 3c42d8ee16a4b143c6658fe26030569658eaef66)
2008-03-16Fix Coverity ID 567Volker Lendecke1-1/+1
Jeremy, please push it if you like it and mark the bug as fixed on the Coverity site. Thanks, Volker (This used to be commit 2fd25423700cb60f20a8b8d6613279cb06fb518d)
2008-03-16Need to close the /dev/zero fdVolker Lendecke1-0/+2
(This used to be commit c2b2a9303d9c84ba4e059f13de9ccc401d08bd59)
2008-03-15Fix Coverity ID 554Volker Lendecke1-0/+3
(This used to be commit 471b1b0c58bc2def5d2fe9d98401def34724d447)
2008-03-15Fix Coverity ID 555Volker Lendecke1-0/+1
(This used to be commit 44122f06d02492a7a0a37413d6f975c3b1e3c283)
2008-03-15Fix Coverity ID 563Volker Lendecke1-5/+1
dirmask is always set here, we've dereferenced it before anyway (This used to be commit e6787aa133a1b241987319486c3bc46ac6ad41af)
2008-03-15Fix Coverity ID 564Volker Lendecke1-10/+0
finfo1==NULL just does not happen in current code (This used to be commit 9ea0078c3151984a901c9bba559ae2bd7959e077)
2008-03-15Allocate one 0-byte in asprintf replacement when len==0Volker Lendecke1-1/+1
Some S3 code depends on this. (This used to be commit dc3d5e16452bf30055638ba3cfe99097fb557156)
2008-03-15Fix typo.Günther Deschner1-1/+1
Guenther (This used to be commit e12721f73db72b99aa0e4be35c51aa8636eb3f59)
2008-03-14Fix bug 5317Volker Lendecke1-1/+1
Thanks to oster@cs.usask.ca (This used to be commit f18a80575921a241c7243c5af5a0101a2956ff17)
2008-03-14Fix bug 4901Volker Lendecke1-3/+8
(This used to be commit 1dd8fa9a521046f1de8173ac00224706c5249665)
2008-03-14libreplace: fix samba4 build (by not setting global LIBS).Michael Adam2-3/+3
This corrects the earlier fix of the standalone build, by setting LIBS to the desired value only in configure.ac but not in getifaddrs.m4. Not that this changes the standalone build in that it adds these libs undconditionally and not only if they are needed by the getifaddrs replacement functions. Michael (cherry picked from commit ff3af1703ddc9e5383f32156bc5be8351f795e76) (This used to be commit 2546da817f666914c1c220ec1fedc19aa41b25ad)
2008-03-14libreplace: add -I$libreplacedir to CPPFLAGS for getifaddrs tests.Michael Adam1-0/+4
This is needed, otherwise $libreplacedir/system/network.h does not find $libreplacedir/getaddrinfo.h on some systems (solaris, e.g.). Michael (cherry picked from commit 297c3bece094ddb5f268b02e61e33f512ccfe6f5) (This used to be commit ddd564e8bf2b115aa5dbcbebd4be30b749ad8752)
2008-03-14libreplace: add an inet_aton() function that calls inet_pton().Michael Adam6-0/+42
inet_aton() is even needed inside libreplace, in the implementation of rep_getaddrinfo(). Michael (cherry picked from commit bcb2f3a880f8da8f9bedb7a8e61d7d7b533f1919) (This used to be commit 83baff78ce752a9129554a456cc24d043d419cd1)
2008-03-13Allow parameter "include" in registry based configuration (again).Michael Adam1-1/+0
This is for instance important to allow includes with %I to setup individual logging (e.g.) for certain clients. Michael (This used to be commit 8dad80b4719691d66827ed46bebb963c0f8ba568)
2008-03-13Fix %I macro expansion for IPv4 mapped IPv6 addresses.Michael Adam1-2/+8
On some systems (linux e.g.), when listening on ipv6 and ipv4, addresses of ipv4 clients are printed as mapped ipv4 addresses by getnameinfo (e.g. ::ffff:127.0.0.1). This re-establishes the original behaviour of %I to expand to the plain ipv4 address for an ipv4 client. Michael (This used to be commit 0abc8863f87fe5d2473492797c010784cb086008)
2008-03-12Use existing srv_name_slash.Günther Deschner3-26/+5
Guenther (This used to be commit 5f2b3145fcaeee58f285b6527e9fac09c5337e8a)
2008-03-12For convenience reasons, always create cli->srv_name_slash in the rpc_client.Günther Deschner2-0/+2
Guenther (This used to be commit 6363c383d6989d2dfb2ee488ffa7aeb128c5385b)
2008-03-12Remove unused marshalling for SRV_NET_DISK_ENUM.Günther Deschner2-164/+0
Guenther (This used to be commit 4928f1efceb8cb0b0fda813e6f43f668084caa79)
2008-03-12init_srv_share_info_ctr: fix counting of services.Michael Adam1-1/+2
The number of services was recorded too early leading to registry shares not showing up in browse lists. Guenther - please check. Michael (This used to be commit 737e470e02d1233fda51e903f27955e45427e95a)
2008-03-12init_srv_share_info_ctr: Add debug messages.Michael Adam1-0/+3
Michael (This used to be commit 8b2cc36ffcb3bccb760ec7cb0a22558eab56070d)
2008-03-12Add a debug message.Michael Adam1-0/+1
Michael (This used to be commit a39807044879ad9df7614e010db6ea16b51000a0)
2008-03-12loadparm: add a debug message.Michael Adam1-0/+2
Michael (This used to be commit ce943aeb581027daf813528481b44177d391b61d)
2008-03-12loadparm: remove services read from smb.conf when starting over for config ↵Michael Adam1-0/+1
backend registry. Michael (This used to be commit b942ff6b7f0be4898e05525558b354533dea312b)
2008-03-12loadparm: add convenience wrapper lp_kill_all_services()Michael Adam2-1/+9
Michael (This used to be commit 32bfd131e33d06be9dfaef02b57f5401d2bc7639)
2008-03-12loadparm: add a commentMichael Adam1-0/+1
Michael (This used to be commit 05eda1252572f310499b28123d0f9e4211b7d54c)
2008-03-12loadparm: fix a comment typo.Michael Adam1-1/+1
Michael (This used to be commit 0a619d4dc476c945130fe47126d98cd47b39c34d)
2008-03-12loadparm: add utility function to check for config backend file.Michael Adam1-1/+9
Michael (This used to be commit 288495ec1a9b0c37bb3f98043f8f8dd946072bac)
2008-03-12loadparm: use a function to check for the registry config backend.Michael Adam1-3/+3
Michael (This used to be commit 4ac52a5a1dfe8f4f22e960db2e4ca99f9e262427)
2008-03-11Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-1/+1
v3-2-test (This used to be commit 1de05f1a87fcea598021ca485d3ed87005a3be68)