1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

12241 Commits

Author SHA1 Message Date
Simo Sorce
17c82f1d12 r21371: Ehmm I was reseting the wrong dataModel...
(This used to be commit 37484924bcf7a5a0cacafeefa060a56038000ef8)
2007-10-10 14:48:21 -05:00
Simo Sorce
cccd788ba7 r21368: Adapy Json to the new ldb functions return object, this
allow us to return meaningful erors back to swat
(This used to be commit 5fe63e1e87d225e2f142f9b58f4ba1debfc8767c)
2007-10-10 14:48:21 -05:00
Simo Sorce
48a75e18c9 r21367: Clear out the table with a deleted object contents after the record is deleted.
Could be confusing otherwise.
(This used to be commit 115a8658c647df1fdc8a38e555412e559065b890)
2007-10-10 14:48:21 -05:00
Simo Sorce
bc9939430e r21366: Until we have a schema enforcing module (which will make it
impossible to add object without an objectclass), we need to
use the default ldb search filter (an empty one), to retrieve
all objects, and all record contents.
(This used to be commit fab315bb8cf00d2df6276c4dece05e1644a210bf)
2007-10-10 14:48:20 -05:00
Stefan Metzmacher
9a9b197856 r21364: cosmetic change: it's nicer to use the KEYTYPE_ macro
for the keytype field...

metze
(This used to be commit e96aa8980097712d7666a85f17c7214486d99618)
2007-10-10 14:48:20 -05:00
Stefan Metzmacher
cdafaa15b5 r21363: fallback to fetch the KEYTYPE_ARCFOUR out of the "unicodePwd" attribute
when no krb5key attribute is present or it doesn't contain the KEYTYPE_ARCFOUR
key.

metze
(This used to be commit b4af29da700a71fe021c5f31cad31a494d884e07)
2007-10-10 14:48:20 -05:00
Stefan Metzmacher
3b14713f6d r21362: rename:
"ntPwdHash" => "unicodePwd"
"lmPwdHash" => "dBCSPwd"
"sambaLMPwdHistory" => "lmPwdHistory"
"sambaNTPwdHistory" => "ntPwdHistory"

Note: you need to reprovision after this change!

metze
(This used to be commit dc4242c09c0402cbfdba912f82892df3153456ad)
2007-10-10 14:48:20 -05:00
Stefan Metzmacher
2b086ac63e r21361: let samba3sam.js pass when we'll use unicodePwd for storing the nt hash
jelmer: what should this test really test?

metze
(This used to be commit c8d903b606afb5dd11b8f1048a36943db02370e0)
2007-10-10 14:48:19 -05:00
Stefan Metzmacher
72162e08d3 r21360: - put in the correct machine account password into test_secrets.ldb
- don't overwrite the passwords with 'test' as we now understand the windows
  format for the password hashes

metze
(This used to be commit 252a4d67020da19de44893349bd476ec88d5b746)
2007-10-10 14:48:19 -05:00
Stefan Metzmacher
e4d2c67467 r21359: remove the rid encryption before storing the password hashes
We decided to store them plain in our ldb

metze
(This used to be commit ff13b21102641a308bd48a8efa6b94a98f567e15)
2007-10-10 14:48:19 -05:00
Stefan Metzmacher
ced4976d94 r21356: we have a function to get the sites dn
also it's not always under the domain dn

metze
(This used to be commit b8c940f1e2bbd65ed5d2f4279434dd526456ad8b)
2007-10-10 14:48:18 -05:00
Stefan Metzmacher
4878c4c782 r21355: work in child domains, CN=Configuration isn't always under the domain dn
metze
(This used to be commit cdfd4ee8e5202a3df1da2d82b592d8814a3209ba)
2007-10-10 14:48:18 -05:00
Stefan Metzmacher
b92c5d454e r21354: fix comment
metze
(This used to be commit 545f769c2fb29323f2fa06e076af894c0be678d0)
2007-10-10 14:48:18 -05:00
Simo Sorce
7ca399c075 r21351: Change ldb ejs bindings return codes.
We were returning just true/false and discarding error number and string.

This checking probably breaks swat, will fix it in next round as swat
is what made me look into this as I had no way to get back error messages
to show to the users.

Simo.
(This used to be commit 35886b4ae68be475b0fc8b2689ca04d766661261)
2007-10-10 14:48:18 -05:00
Jelmer Vernooij
bd7df755f3 r21350: Add more tests for the NDR layer of winreg. I actually discovered a pidl bug,
so there are still two tests commented out.
(This used to be commit b7f6ec5c1cf6f782991b0f4f05283d6da2c2dfe8)
2007-10-10 14:48:17 -05:00
Simo Sorce
d090fddd14 r21348: Fix the build.
(This used to be commit 4d52b429261de6712e25d9db9d3be597ff1d74b8)
2007-10-10 14:48:17 -05:00
Jelmer Vernooij
25a0c9146e r21347: All current tests in the testsuite mainly test the RPC code in general. Since
we're running the testsuite mainly against ourselves, we only check that the
push/pull functions work in our own environment, not whether they generate/parse
the same data that other systems do.

This commit adds the infrastructure for a testsuite for just the marshalling
code. The idea is that you provide a data blob, a function name and a function
to check the resulting struct for correctness.
(This used to be commit 9bd2421e44dcfcaf08ad61cf25bb7714cf885517)
2007-10-10 14:48:17 -05:00
Derrell Lipman
6d18b574e5 r21344: ensure that the full range of error values is available to applications. parameter errors are really server errors.
(This used to be commit 62fcd13da1c9738393781ff55eb3f4dbdf7357fc)
2007-10-10 14:48:17 -05:00
Jelmer Vernooij
be852780b4 r21343: Add access masks, pointed out by Ronnie Sahlberg.
(This used to be commit e8cdfd0a61354b7a5da43c27e9af4695cfa168d6)
2007-10-10 14:48:16 -05:00
Stefan Metzmacher
57b22d9df2 r21342: add parsing code for the trustAuthIncoming/trustAuthOutgoing attributes
not everything has a meaning yet, but it's a start and we know how to get
to the password in cleartext

metze
(This used to be commit 65641181f782349f1f0192d1c95254e80e2b3887)
2007-10-10 14:48:16 -05:00
Jelmer Vernooij
600c167e3b r21341: Improve QueryKeyInfo idl, pointed out by Ronnie Sahlberg.
(This used to be commit 736330d23b1f723d3564043c0670dbd6bee3742f)
2007-10-10 14:48:16 -05:00
Jelmer Vernooij
627fc22791 r21340: Fix warning undef
(This used to be commit 2669f2c8ad09505b37f64104eefce6f0b10e9ab5)
2007-10-10 14:48:15 -05:00
Jelmer Vernooij
a7fa0d7063 r21338: Fix handling of top-level arrays for the Samba 3 client code. This doesn't
fix the winreg code yet (as that's an array on top of a pointer), but at least
it gets us closer.

Also added a couple of tests for the Samba 3 client code.
(This used to be commit 4a5b62ad622d7be08591e19bc2e89f665fff445a)
2007-10-10 14:48:15 -05:00
Stefan Metzmacher
98fce3d3b5 r21337: add hack option to use DsGetNCChanges level 5 against w2k
metze
(This used to be commit 66c8499e5f2f139995be8cb5770d238f383059d6)
2007-10-10 14:48:15 -05:00
Stefan Metzmacher
93690e31c3 r21335: add dssync:save_pwd_blobs_dir=path/ option to store the password blobs
in files for inspection with ndrdump

metze
(This used to be commit 54748ef5860ee59b5f84855965c84aa8787fb4b6)
2007-10-10 14:48:15 -05:00
Stefan Metzmacher
6496fab3b6 r21334: compare the original buffer and the validated one byte by byte
and print out the first mismatch

metze
(This used to be commit 6ac574660a0656341d7a311738d20b328f31ff78)
2007-10-10 14:48:14 -05:00
Stefan Metzmacher
76a1ecccc5 r21333: fix POPT handling in ndrdump
make --validate, --dump-data work again

metze
(This used to be commit 654acc67344c097106b2f9859b5cbd973d95340f)
2007-10-10 14:48:14 -05:00
Jelmer Vernooij
e50dc79226 r21332: Fix bug in pidl that prevented value(0) from working. Bug reported by metze.
(This used to be commit 8212a3b8e0d3d59264f659c3f657b165ececefeb)
2007-10-10 14:48:14 -05:00
Stefan Metzmacher
86c5fe1990 r21331: add comment about how the cleartext password is stored
metze
(This used to be commit 2b7d7487510898dffc900bfcec88ed57c709858c)
2007-10-10 14:48:14 -05:00
Stefan Metzmacher
bd3d88c69d r21330: move fetching of krb5 keys into its own function
metze
(This used to be commit 0f1eb00b418eabef5881f94d8df2b4d61f1dc1ef)
2007-10-10 14:48:13 -05:00
Stefan Metzmacher
9c21efd9d6 r21329: complete support for parsing the supplementalCredentials value
the package specific data is present as hex string,
we'll need to add parsers for each package later.

metze
(This used to be commit 6a725ae2610ba3d8f95782f90745593d436a4786)
2007-10-10 14:48:13 -05:00
Simo Sorce
be8a93a1d8 r21328: Ok, now we can successfully modify the ldb and refresh the tree
but ...
- we have a problem with removeAll() in ldbmodify
- we seem to not properly cactch errors, we always return a "success"
  alert even if the operation is not successful :(
(This used to be commit 8ed568ae10e9068874c90058b9777658f1e58df5)
2007-10-10 14:48:13 -05:00
Derrell Lipman
b79bf06232 r21326: get rid of old qooxdoo version.
(This used to be commit 39a4803ad1046e2473bdc7b22321a5f61ae3a1ea)
2007-10-10 14:48:12 -05:00
Derrell Lipman
ecfbc670c2 r21325: delete children in reverse order since the array is manipulated during the recursive delete
(This used to be commit 4ee68f55da5446ebd44173bd2f67056cd6502e1b)
2007-10-10 14:48:11 -05:00
Stefan Metzmacher
4dbf4e1917 r21323: add a start to parse the supplementalCredentials value,
it doesn't work yet but it's a start

metze
(This used to be commit 0417e12c84836c02e26f09c598ae5f2a7d5427b6)
2007-10-10 14:48:10 -05:00
Derrell Lipman
ad2f5649dd r21321: - Allow pruning all of the children of a node without removing the node
itself.

- By default, create only one meta column if only the tree is displayed.  If
  additional columns are displayed, then put all of them in a separate meta
  column, and the tree in the first meta column by itself.
(This used to be commit 6c86cd416b64e97071f6bbd2d63f33a950a28ec0)
2007-10-10 14:48:10 -05:00
Stefan Metzmacher
1f2b94b7b7 r21317: this happens very often when you have multihomed nodes
and isn't an error.

metze
(This used to be commit 6f5e084a7b9a80a3f86799f7e86a63aa0334fa2a)
2007-10-10 14:48:09 -05:00
Stefan Metzmacher
aa5677040c r21316: if we got an unexpected nbt packet that most times mean
we got a 2nd answer to a broadcast message and have already remove
the packet id from out list while getting the first response

metze
(This used to be commit 8c26e04900da02bdf440f1d48b512e2550e89c34)
2007-10-10 14:48:09 -05:00
Stefan Metzmacher
43a0c615a3 r21315: ldb now supports filters like (&(dn=%s)(&(objectClass=kerberosSecret)(privateKeytab=*))) again
we can use such a filter:-)

we should only update the keytab for records matching this filter,
that means we need to do a search before calling cli_credentials_set_secrets()

metze
(This used to be commit 23adca4e3426360fe0685548ae2b808578f6ba75)
2007-10-10 14:48:09 -05:00
Stefan Metzmacher
41771deb29 r21314: add more usefull debug output
metze
(This used to be commit a246e4bbaaab6f98f50a3c28b47d2c541af7b44a)
2007-10-10 14:48:08 -05:00
Stefan Metzmacher
f14c66ca30 r21311: fix very ugly "using free'ed memory" bug
This was there since 2005...

metze
(This used to be commit 393e4eeb82df8017eb0afb526f4d723cf8814311)
2007-10-10 14:48:08 -05:00
Stefan Metzmacher
08de05ce5a r21307: make it possible to pass in NULL for domain or rid,
if someone isn't interessted in one of it

metze
(This used to be commit 1fdc71918a430c35af91fa7788e191d381f76d56)
2007-10-10 14:48:08 -05:00
Stefan Metzmacher
e869883d80 r21306: fix the RPC-LSA tests the admin couldn't no longer get the 'currentValue'
attribute...

this needs more works, but make it work again for now

metze
(This used to be commit 608d24f0016ff090b7de7fbd0bed85153bcc703d)
2007-10-10 14:48:07 -05:00
Andrew Bartlett
20df8d8305 r21305: Change the skel module a little, so make it names clearer.
Andrew Bartlett
(This used to be commit 26758fc24ca0b28e1ed07cc20801175e94362d57)
2007-10-10 14:48:07 -05:00
Derrell Lipman
cc3add596c r21304: - Get rid of the extra set of scroll bars in the tree. The tree never grows
or needs scroll bars; rather, it's internal areas within the tree widget
  that provide the scroll bars.  (The next version of TreeVirtual will prevent
  setting overflow to anything other than "hidden".)
(This used to be commit 2dc07486405967dfa74fc6f4a6586fb9da8e5ed7)
2007-10-10 14:48:07 -05:00
Volker Lendecke
2acd8a9b3e r21303: As discussed on samba-technical: Change the static array for the in-memory
mirrors of the hash chain locks to a dynamically allocated one.

Jeremy, I count on you to revert it if the build farm freaks out, it's after
midnight here :-)

Volker
(This used to be commit 7b5db2e472c7e27231fa432d3930789e708abd09)
2007-10-10 14:48:06 -05:00
Jelmer Vernooij
4126b34e1f r21302: Provide simple redirecting headers for standard headers.
(This used to be commit 74c47839536c9ccfa1240289d20df65d9d13839d)
2007-10-10 14:48:06 -05:00
Stefan Metzmacher
71115bb3e6 r21301: - the history contains lm and nt history
- autoset the size values

metze
(This used to be commit 5e51845137a05b6c4ca6804feaced3b5251b455f)
2007-10-10 14:48:05 -05:00
Stefan Metzmacher
eee140d7da r21300: let the caller decide if it wants rid decrypted hashes or not
metze
(This used to be commit 8711d01ffd080c43512b88b995daf2d6b7c06ba1)
2007-10-10 14:48:05 -05:00
Jelmer Vernooij
f851eb8dc6 r21299: Fix the build for those that don't have talloc.h installed.
(This used to be commit e782035251fd3d51a7a4221d107519fb1ba70ba7)
2007-10-10 14:48:05 -05:00