summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-03-27Add lsa_BinaryString.Günther Deschner1-0/+6
Guenther (This used to be commit c73ff43e8f68600d6bd67c875d40bec2ec02b6dd)
2008-03-27regdb: use == 0 (instead of != -1) as indicator for success of ↵Michael Adam1-4/+4
dbwrap_trans_[delete|store]() Michael (This used to be commit 7dcd0c1e539df9ff1768a9c878b6687b9e1bfeac)
2008-03-27dbwrap: fix dbwrap_trans_[delete|store]() to stop when transaction_start() ↵Michael Adam1-0/+2
failed. Michael (This used to be commit ab0aaed907fef233998ff0841d30eabef3263ee8)
2008-03-27regdb: use != 0 instead of == -1 check for transaction_[commit|cancel]Michael Adam1-6/+6
Michael (This used to be commit b6ceeaabae94b86fe79d6a60e497fb472ca23021)
2008-03-27pdb_tdb: use db_open_trans()Stefan Metzmacher1-1/+1
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 9925cc01a2a4739d6cde5991eb0d0b79ae13353b)
2008-03-27pdb_tdb: use db_sam->transaction_start(db_sam) != 0 consistentStefan Metzmacher1-1/+1
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 3bf9ab640e9a79157fcfee0b5d0cde5badc92755)
2008-03-27passdb/secrets: use db_open_trans()Stefan Metzmacher1-1/+2
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit b61b8ca4944f399216d8e67a48ea7d259258b432)
2008-03-27passdb/secrets: it's enough to use traverse_read() in secrets_trusted_domains()Stefan Metzmacher1-1/+1
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 729f7b9ff30e81537a7257daeaa1728c7ae96853)
2008-03-27regdb: use db_open_trans()Stefan Metzmacher1-5/+6
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit a77b5b91dd439b5965fef17f2b2ff98fefd77dbb)
2008-03-27regdb: use regdb->transaction_start(regdb) != 0 consistentStefan Metzmacher1-3/+3
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 093c3bced96c934419af69cc065a240368027dcf)
2008-03-27regdb: use dbwrap->fetch() instead of fetch_locked() for readonly accessStefan Metzmacher1-10/+11
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 4e2be189e97f653b75bd88135a631ce0f42db267)
2008-03-27regdb: use dbwrap_trans_store_int32Stefan Metzmacher1-1/+1
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 9620696083473e3a98b46dd90b3b4aa287580940)
2008-03-27dbwrap: add db_open_trans()Stefan Metzmacher2-0/+20
This should be used when transactions are wanted. For now it's just a wrapper of db_open(), but this will change. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 74a070b8a24fea1009e557f711b76fc14e8961dc)
2008-03-27dbwrap: add dbwrap_trans_store_int32()Stefan Metzmacher1-0/+15
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit f05e889bc05a816aef5b9ce4f22267e977dade01)
2008-03-27Fix typo.Günther Deschner1-5/+5
Guenther (This used to be commit fed644372916a5e565e4f5352aab61b39a3a42a0)
2008-03-27Ndr pull and push errors are worth to be logged with 1 at least.Günther Deschner1-2/+2
Guenther (This used to be commit 3426f13f3bbcb5cae3f2e6aac9e2d04174e5bdc0)
2008-03-27Only add WBFLAG_PAM_CONTACT_TRUSTDOM when performing a krb5 auth request.Gerald W. Carter1-3/+7
NTLM logons must go against our DC. (This used to be commit 2e24f7c0243c67a00102c11258cfa6f61caf499f)
2008-03-27Don't fill password policy structure for any domain other than our own.Gerald W. Carter1-3/+15
The samr connects will fail. This is not independent of the CONTACT_TRUSTDOM flag neede by krb5 logins. (This used to be commit 4de4949e3bfcfb2169c329f19cb76936d9043d50)
2008-03-27Fix wbinfo -a trusted\\user%password on a Samba DC with trustsVolker Lendecke2-1/+5
Winbind can't be allowed to connect to the local smbd. (This used to be commit 0d617f639a3c9c52e4327aed4bd02d9e8e7312a2)
2008-03-27Remove unused DS_DOMAIN_CONTROLLER_INFO struct.Günther Deschner1-12/+0
Guenther (This used to be commit 7eb4f6f6f9f27cda3d512f4042e36d70d0b26b6b)
2008-03-27Fix samlogon rpc client & server.Günther Deschner2-7/+7
Guenther (This used to be commit 0aaf975560dce3b4e58ab71687c3412c0c2a72cf)
2008-03-27Re-run make idl.Günther Deschner5-65/+135
Guenther (This used to be commit 3f5fa596632077b0ffed1046d0a2fb6a011b16ea)
2008-03-27Move netr_LogonLevel flags to IDL, rename old one to netr_LogonInfo.Günther Deschner2-12/+14
Guenther (This used to be commit 1fc98ee431d3ebe0c5d8bed55dcb788c16228ddd)
2008-03-27Move DSGETDC_VALID_FLAGS to IDL.Günther Deschner2-19/+18
Guenther (This used to be commit a14b00ee19c6dc23ff687e57e8e6340702056317)
2008-03-27Move LOGON_KRB5_FAIL_CLOCK_SKEW to winbindd_pam.Günther Deschner2-2/+2
Guenther (This used to be commit fa64c76ac8e54f385f277b5b39be70075b2eeee0)
2008-03-27Move the known NETLOGON_CONTROL reply flags to IDL.Günther Deschner2-11/+9
Guenther (This used to be commit 4bf2a17c2b9abff45afd50ea93b96b2a080d9168)
2008-03-27Move inline comment about MSV1_0 flags to IDL.Günther Deschner2-18/+11
Guenther (This used to be commit b22167fb608d3948f1473a5f3dee9e8d18e282e3)
2008-03-27libwbclient: fix Coverity ID 536 remove duplicate error path (dead code).Michael Adam1-2/+1
I leave the more explicit error path in the "if (cmd == 0)" block. Michael (This used to be commit 2ae19b5fb89e0a992962af14a81b641bf13b7892)
2008-03-27libreplace: fix coverity ID 517 - untangle close from open in test/os2_delete.cMichael Adam1-1/+8
This is not a proper bug but the code is clearer now and we are tracking failure of open separate from that of close. Michael (This used to be commit 451fc9ae05f841883081a334e179cf31625a772c)
2008-03-27Re-run make idl.Günther Deschner4-6/+6
Guenther (This used to be commit e16ca32b8e0485ceafee6a2ff62dc88e96329ec4)
2008-03-27Use netr_LogonControlCode in netr_LogonControl2().Günther Deschner1-1/+1
Guenther (This used to be commit 8474ef334fd0ff05ee67a49ad7c39687117b49d9)
2008-03-27posix_acls: clarify loop condition code, removing unneeded counter variable.Michael Adam1-7/+2
Coverity ID 545 falsely classified this as a NULL dereferencing bug. By putting the loop of walking the list of aces more naturely not using additional counters, it becomes much more obvious that it is not entered when dir_ace == NULL. The same modifications are done for the file_ace loop. Michael (This used to be commit 6dab6cf0647d7db01e5e472f8b5cf21395b7dbf0)
2008-03-27Fix typo.Günther Deschner1-2/+0
Guenther (This used to be commit ffe77dc8b0476b7a5d81d63c3cf67f81033df12e)
2008-03-27net_conf: fix non-testmode import function.Michael Adam1-1/+11
Michael (This used to be commit cd17cc745a35db8ee158f59a5fff1f0f26cf9c6e)
2008-03-27libsmbconf: text - pass the cache instead of all private data to pm_process.Michael Adam1-40/+40
Michael (This used to be commit ee46f0eca6ea21d0c51103252fecf911bb448687)
2008-03-27libsmbconf: text - change the cache to be tallocedMichael Adam1-31/+47
instead of having it directly as a member in the private data struct. This makes it easier to flush and initialize the cache. Michael (This used to be commit 03efb72b4632e2bbb0838ca56a3e556448bda5c5)
2008-03-27libsmbconf: in text backend, put flushing of the cache into a helper function.Michael Adam1-6/+12
And use it also in the close operation. Michael (This used to be commit 8cb288124993eb59459e7e9777c65e58c0554d55)
2008-03-26Fix a bug in the output from print_canonical_sockaddr() fix from ↵Gerald W. Carter1-2/+8
36f8bafbd3dee66a8.... Make sure that IPv4 addresses are not enclised in []'s. (This used to be commit 4ddf58dbdc3d74cb72788ef4a2ec7587d4948c40)
2008-03-26Fix winbind NETLOGON cred chain on a samba dc for w2k8 trusts.Günther Deschner1-1/+5
Guenther (This used to be commit 2586dc34e0f72204749f5bf10c8135cd3a753a42)
2008-03-26Re-run make idl.Günther Deschner2-14/+35
Guenther (This used to be commit 9024aecdbf5d4df9996625f0cc8ce8a5ecdd247e)
2008-03-26Fix IDL for netr_NETLOGON_INFO_2.Günther Deschner1-1/+1
W2k8 generated NT_STATUS_ARRAY_BOUNDS_EXCEEDED errors while validating trusts. Guenther (This used to be commit 5d0aa3bbf8e56f5d2a1ab4d037d7fd146b095f9d)
2008-03-26Fix _netr_LogonControl2(). Return talloced dcname.Günther Deschner1-4/+10
Guenther (This used to be commit 42971b71acec9c9fd94011c06d41702dac6b4f87)
2008-03-26Add ntsvcs_getdevregprop command to rpcclient.Günther Deschner1-0/+40
Guenther (This used to be commit 4abe30fdae511422dccd04d0287d962192beadcb)
2008-03-26net_conf: reformat - re-indent one function call.Michael Adam1-2/+5
Michael (This used to be commit 9ef9d4c4e77523d7f3cc5fdac199559896e585bd)
2008-03-26net_conf: add casts to avoid compiler warnings.Michael Adam1-6/+6
Michael (This used to be commit 1c6b9a0ac34c4a7b4e000300db8dffdbb09fe7da)
2008-03-26net_conf: rename "ctx" to "mem_ctx" for clarity.Michael Adam1-22/+22
There are also smbconf contexts arount... Michael (This used to be commit 5171df66eb54c9819b3b40045755f5e9b2cf36c2)
2008-03-26net_conf: use talloc_stackframe() instead of talloc_init().Michael Adam1-5/+5
Michael (This used to be commit ab4fd03705c61114742d8438dece69b9c37c3b38)
2008-03-26net_conf: fix import function by using the new text backend of smbconf.Michael Adam1-195/+59
Originally, lp_load() was used to import files to registry. This had several bugs. Most notably, options explicitly set to default values were silently dropped, and all parametric options were ignored. This new implementation reads config from the text backend and stuffs everything verbatim in to the registry backend. Michael (This used to be commit e41c6650f805eaf8bb009e34468dd2d311e52858)
2008-03-26libsmbconf: add a text backend to libsmbconf based on the params.c parser.Michael Adam3-1/+526
This is a simple implementation of text backend for libsmbconf. It is read only. It uses the parser from params.c. It loads the given config file and holds the parsed lists of strings in memory. Config is only re-read if the time stamp of the config file has changed. Brilliant performance on large files is not to be expected since the string lists are not hashed. This might be added in the future. Michael (This used to be commit 4ea50843852b335a9bd4c0535a5b684134ad8326)
2008-03-26loadparm: add userdata parameter to do_section() and do_parameter().Michael Adam2-21/+25
The userdata is currently unused. It can be used in the future for passing a context like in samba4 code. Michael (This used to be commit 31b31171bd88c41443268d3300c492e2347b9e73)