summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-03-19Fix a warningVolker Lendecke1-1/+1
(This used to be commit c40648ea4d7897c401a5a94703e586acfdaec13b)
2008-03-19Merge dd9e0bea31751 from 3-0-ctdb -- use NetSamLogonEx when possibleVolker Lendecke3-23/+90
NetSamLogonEx has the advantage that it does not use the credential chain (This used to be commit cfceb063f559f8549b8f24ce347be213c89303b0)
2008-03-19Fix some "nexted extern" warninsVolker Lendecke1-8/+8
(This used to be commit 32fc759d942abb36d7dd351eff82925b6788dd28)
2008-03-19Fix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>Volker Lendecke1-1/+1
(This used to be commit 5ec2dbd144a3bbfdb14deafd158bad48b2d41ca4)
2008-03-19Fix the build (by calling NDR_SRVSVC_NETFILEENUM).Günther Deschner1-19/+1
Guenther (This used to be commit 3b1f3d8a6ce9b8860aca07d9960bc8488296aecd)
2008-03-19Remove unused marshalling for SRV_NET_FILE_ENUM.Günther Deschner2-328/+0
Guenther (This used to be commit fcdc09674571b8e81233acc9e8dc8651b66cd21d)
2008-03-19Use pidl for _srvsvc_NetFileEnum.Günther Deschner1-98/+71
Guenther (This used to be commit 6c6700ed7148b73b2ce52fc00020c7e253a577d3)
2008-03-18Bind Group Policy processing closer to the samba registry.Günther Deschner4-96/+310
Guenther (This used to be commit e9c56250eb7a2dc4e69962c5b48875834941ccfc)
2008-03-18[samba-3-0-ctdb.tridge @ tridge@samba.org-20070602053809-kpw5kjkcyjs8yjbl]Andrew Tridgell1-1/+1
suppress that darn message (cherry picked from commit 542e46a21898f6fcc8a0aeb63925607a60e0b99f) (This used to be commit 5e8c624c9c9775f255632717e6898d5f190ba51b)
2008-03-18libreplace: remove duplicate entry of inet_ntoa from README.Michael Adam1-1/+0
Michael (cherry picked from commit 98ee8c84300757d778733a458c6ca3e6022b40ea) (This used to be commit a4f22d6e2b3fc198327deabf4a724cd476e4144c)
2008-03-18libreplace: remove trailing white spaces.Michael Adam2-2/+2
Michael (cherry picked from commit 1f9ca7eed965904f67cf78fbac007432b8a057fd) (This used to be commit a1d24f110b3edff636174e017eb56ba5b10df590)
2008-03-18libreplace: replace inet_ntoa() when it is missingMichael Adam6-34/+61
...not only replace it when it is broken. This moves the defintion of rep_inet_ntoa from replace.c to inet_ntoa.c and adds configure checks for existence of inet_ntoa(). Checks are moved to an include file of its own. NOTE: The original rep_inet_ntoa in replace.c was wrapped into a "#ifndef WITH_PTHREADS" but the prototype in replace.h and the define in system/network.h were not. I removed that ifndef since the inet_ntoa() function is usually not thread safe anyways, since it returns a pointer to a static buffer. So whoever calls inet_ntoa() should be aware that it is not thread safe anyways. Michael (cherry picked from commit 974c0c45ad42644348e0b55454715b12158f1028) (This used to be commit edcf2712bcdedabbfdd9ee8b9a18f46126930636)
2008-03-18libreplace: put inet_aton.c under LGPL instead of GPL.Michael Adam1-9/+13
Michael (cherry picked from commit cca5d6626fe395f08fd4c8b2344e4e43646cb987) (This used to be commit f69e51f56f111d9bd5db69e191f45567aacf8c3d)
2008-03-18libreplace: remove unused SOCKET_LIBS and NSL_LIBSStefan Metzmacher1-3/+0
metze (cherry picked from commit 62bb177a6e4a3e1f949b78c7cd7583f2e1271739) (This used to be commit f27d5e0cf80c49d81091a385cbfd0801b5483825)
2008-03-18libreplace: for samba4 create LIBREPLACE_NETWORK as EXT_LIBStefan Metzmacher1-0/+3
metze (cherry picked from commit 79037c31334e271a718fcac234148038814b591e) (This used to be commit b141fce01dd40b25cce52852cd93f0f907c3b008)
2008-03-18libreplace: use LIBREPLACE_NETWORK_LIBS within some configure checksStefan Metzmacher2-3/+3
...instead of using SOCKET_LIBS and NSL_LIBS. metze (cherry picked from commit cef2e8d748756f61c248ad6660e85dd1ac36308a) (This used to be commit 7854ed24a57162fa7569d8f36633f3c156067b0b)
2008-03-18libreplace: combine SOCKET_LIBS and NSL_LIBS to LIBREPLACE_NETWORK_LIBSStefan Metzmacher1-7/+9
But keep the old ones untill the callers are fixed. metze (cherry picked from commit e7115dcc8a0a4f420de7a901e3a21d4f35a6fcf9) (This used to be commit 2dee62ed12910a4d22381677bcf884dca0d999ea)
2008-03-18testparm: only check for %u und passwd program when passwd program is given.Michael Adam1-5/+10
Michael (This used to be commit af12b24c4f5e3b77d482a011b62a5a3e13be7d67)
2008-03-18testparm: correctly check for empty lp_passwd_prog().Michael Adam1-1/+3
Michael (This used to be commit 0567f506986746173d67172cb610c10bacf0ceb9)
2008-03-18testparm: fix irritating indentation.Michael Adam1-2/+1
Michael (This used to be commit a74f07243d80294167766dfc6bcad02a96afc079)
2008-03-18testparm: fix a segfault triggered by setting "unix password sync = yes".Michael Adam1-1/+0
(introduced by pstring removal 041163551194102ca67fef52c57d87020a1d09bc) Michael (This used to be commit 46a021f27c60dc579c9193606997142f5cbeba9e)
2008-03-18Fix bug 5334Volker Lendecke3-0/+45
I did not test with a zero length file :-) (This used to be commit 7d7a73944c2dcf078f7bc8de65d575f32f9aa851)
2008-03-17Some simplificationsVolker Lendecke3-10/+7
(This used to be commit b59b436997fba47afd02ffb6f1194dfaef229d44)
2008-03-17Coverity fixesMarc VanHeyningen27-82/+162
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2008-03-17libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .Michael Adam6-273/+257
Michael (This used to be commit 097af0309d7c3e9342058ba5266667293b23c80d)
2008-03-17Move libnet_conf to a library lib/smbconf/ of its own, fixing the api.Michael Adam6-31/+83
The libnet_conf code to access the registry based configuration has become more of a library used in several places in samba (e.g. loadparm) than an abstraction of "net conf". So I move it to a location lib/smbconf/. In the same breath, the api is fixed (not generated by make proto anymore). Michael (This used to be commit 5315ef41f403b96715dd68b512e9e74662e2910a)
2008-03-17socket_wrapper: make pcap code more portableStefan Metzmacher1-39/+40
Now the pcap support works on x86_64. metze (cherry picked from commit 61a87bed61ef661d98131239976be95c6a8b4d96) (This used to be commit c22204aa85d4bb33534b6974dcfed9aad0c28cc4)
2008-03-17Fix use of AuthDataWithContext capabilityDerrell Lipman2-5/+20
During my initial plans for, and the subsequent discussion of a more significant change to the API for libsmbclient, I had removed the AuthDataWithContext usage, in favor of a more generalized planned interface. When the API returned to its original state, I neglected to reinsert this code. Use of an authentication function with the context can be tested using examples/libsmbclient/testbrowse -C Derrell (This used to be commit 38eab68dfb2d8abe8ad00f5a86fc54c778d0d303)
2008-03-17In smbstatus, mark locking.tdb and sessionid.tdb as CLEAR_IF_FIRSTVolker Lendecke1-2/+2
This is needed to inform ctdb that it's not a persistent database, with the O_RDONLY the tdb backend ignores this. Merge from 491f902098d33f in 3-0-ctdb (This used to be commit 065938ccb7bb0052746267c433637f0e05b95d85)
2008-03-17Merge leftovers of 0e1a86bc845 in 3-0-ctdbVolker Lendecke2-5/+4
(This used to be commit 64b1625f8e3bca43504871747bef6631e1b18f44)
2008-03-17Use right control to attach to persistent databasesVolker Lendecke1-2/+5
This is a merge of 2a8f8b26f08ab09c34dff82417e541d8eb1ec91c and 4e6508dfee0d872a7fa42c9e58ba565137a27b3f from 3-0-ctdb (This used to be commit 46e50da0d550e43de3aaf0141c64f25e1c9997c2)
2008-03-17Add "net idmap aclmapset"Volker Lendecke1-0/+65
This is a merge from 3-0-ctdb that goes along with 1daad835, the option nfs4:sidmap option (This used to be commit f5e26d28be6581149bed0b599c38b82d1a44444e)
2008-03-17registry: untangle assignment and if-clause in init_registry_data().Michael Adam1-1/+2
Michael (This used to be commit 64664d25cf84e5e0f4a4876b2c38c127b310dbc5)
2008-03-17Convert pdb_tdb to use dbwrapVolker Lendecke1-318/+316
(This used to be commit 948ab77863b12b1b0bd1c970004b84b9bb1bb2fa)
2008-03-17registry: convert regdb REGISTRY_OPS to named struct initializers.Michael Adam1-9/+8
Michael (This used to be commit 3ea0a0beb47bf91b71d949de5abb797177721dcc)
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)