1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00
Commit Graph

11660 Commits

Author SHA1 Message Date
Jelmer Vernooij
736330d23b r21341: Improve QueryKeyInfo idl, pointed out by Ronnie Sahlberg. 2007-10-10 14:48:16 -05:00
Jelmer Vernooij
2669f2c8ad r21340: Fix warning undef 2007-10-10 14:48:15 -05:00
Jelmer Vernooij
4a5b62ad62 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.
2007-10-10 14:48:15 -05:00
Stefan Metzmacher
66c8499e5f r21337: add hack option to use DsGetNCChanges level 5 against w2k
metze
2007-10-10 14:48:15 -05:00
Stefan Metzmacher
54748ef586 r21335: add dssync:save_pwd_blobs_dir=path/ option to store the password blobs
in files for inspection with ndrdump

metze
2007-10-10 14:48:15 -05:00
Stefan Metzmacher
6ac574660a r21334: compare the original buffer and the validated one byte by byte
and print out the first mismatch

metze
2007-10-10 14:48:14 -05:00
Stefan Metzmacher
654acc6734 r21333: fix POPT handling in ndrdump
make --validate, --dump-data work again

metze
2007-10-10 14:48:14 -05:00
Jelmer Vernooij
8212a3b8e0 r21332: Fix bug in pidl that prevented value(0) from working. Bug reported by metze. 2007-10-10 14:48:14 -05:00
Stefan Metzmacher
2b7d748751 r21331: add comment about how the cleartext password is stored
metze
2007-10-10 14:48:14 -05:00
Stefan Metzmacher
0f1eb00b41 r21330: move fetching of krb5 keys into its own function
metze
2007-10-10 14:48:13 -05:00
Stefan Metzmacher
6a725ae261 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
2007-10-10 14:48:13 -05:00
Stefan Metzmacher
0417e12c84 r21323: add a start to parse the supplementalCredentials value,
it doesn't work yet but it's a start

metze
2007-10-10 14:48:10 -05:00
Stefan Metzmacher
6f5e084a7b r21317: this happens very often when you have multihomed nodes
and isn't an error.

metze
2007-10-10 14:48:09 -05:00
Stefan Metzmacher
8c26e04900 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
2007-10-10 14:48:09 -05:00
Stefan Metzmacher
23adca4e34 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
2007-10-10 14:48:09 -05:00
Stefan Metzmacher
a246e4bbaa r21314: add more usefull debug output
metze
2007-10-10 14:48:08 -05:00
Stefan Metzmacher
393e4eeb82 r21311: fix very ugly "using free'ed memory" bug
This was there since 2005...

metze
2007-10-10 14:48:08 -05:00
Stefan Metzmacher
1fdc71918a r21307: make it possible to pass in NULL for domain or rid,
if someone isn't interessted in one of it

metze
2007-10-10 14:48:08 -05:00
Stefan Metzmacher
608d24f001 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
2007-10-10 14:48:07 -05:00
Andrew Bartlett
26758fc24c r21305: Change the skel module a little, so make it names clearer.
Andrew Bartlett
2007-10-10 14:48:07 -05:00
Volker Lendecke
7b5db2e472 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
2007-10-10 14:48:06 -05:00
Jelmer Vernooij
74c4783953 r21302: Provide simple redirecting headers for standard headers. 2007-10-10 14:48:06 -05:00
Stefan Metzmacher
5e51845137 r21301: - the history contains lm and nt history
- autoset the size values

metze
2007-10-10 14:48:05 -05:00
Stefan Metzmacher
8711d01ffd r21300: let the caller decide if it wants rid decrypted hashes or not
metze
2007-10-10 14:48:05 -05:00
Jelmer Vernooij
e782035251 r21299: Fix the build for those that don't have talloc.h installed. 2007-10-10 14:48:05 -05:00
Stefan Metzmacher
5c779b3767 r21298: protect windows password attributes too
metze
2007-10-10 14:48:04 -05:00
Jelmer Vernooij
07652f65ce r21297: Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk
This also adds some more headers to the list that is installed and a couple of extra #include lines so these
headers can be used externally without problems.
2007-10-10 14:48:04 -05:00
Stefan Metzmacher
7146e265a4 r21296: remove the session specific encryption from the attributes
before storing them.

metze
2007-10-10 14:48:04 -05:00
Stefan Metzmacher
91de959173 r21295: pass down the gensec session key to the store_chunk hook
metze
2007-10-10 14:48:03 -05:00
Stefan Metzmacher
838d307e6c r21294: this is useless, now that there's no operation in between...
metze
2007-10-10 14:48:03 -05:00
Stefan Metzmacher
d399739820 r21293: store the gensec session key for each drsuapi connection
metze
2007-10-10 14:48:02 -05:00
Stefan Metzmacher
5065a9b5ff r21292: add become_dc:print = yes option to dump out the drsuapi traffic
metze
2007-10-10 14:48:02 -05:00
Stefan Metzmacher
dd04c5dec5 r21291: add two more error codes
metze
2007-10-10 14:48:02 -05:00
Stefan Metzmacher
181b3a031f r21282: we only need one for loop...
metze
2007-10-10 14:44:59 -05:00
Stefan Metzmacher
f2af44d204 r21281: move constinancy checks to the beginning of the function
metze
2007-10-10 14:44:58 -05:00
Volker Lendecke
1d7bcdb33e r21276: Actually fire off multiple parallel read/write requests.
Volker
2007-10-10 14:44:58 -05:00
Volker Lendecke
d2d44bf677 r21275: Reformat the bench-readwrite test a bit 2007-10-10 14:44:58 -05:00
Stefan Metzmacher
922cfacde4 r21272: in the history fields each hash is rid crypted on its own
metze
2007-10-10 14:44:57 -05:00
Volker Lendecke
918031a99c r21270: Fix a memleak 2007-10-10 14:44:57 -05:00
Stefan Metzmacher
c9fe6a867c r21267: the first 4 bytes in each encrypted attribute is the crc32
checksum over the remaining bytes

metze
2007-10-10 14:44:56 -05:00
Stefan Metzmacher
7726d4a027 r21261: add support for getting to the plain nthash (and I assume others too)
I wonder what the first 4 bytes are, but the last 16 bytes of the 20 bytes
are the rid crypted hash. The lmhash and the history fields are not verified
yet. But I get the administrators nthash in plain.

metze
2007-10-10 14:44:56 -05:00
Jelmer Vernooij
025597a359 r21260: Fix regex. 2007-10-10 14:44:55 -05:00
Andrew Tridgell
3df7527aed r21256: - msg_type is not needed in the cluster messaging API
- merge ctdb_get_num_nodes() from bzr tree
2007-10-10 14:44:55 -05:00
Andrew Bartlett
9e15a51579 r21255: Add a debugging option to avoid rid decryption in the samsync output.
Andrew Bartlett
2007-10-10 14:44:55 -05:00
Jelmer Vernooij
84c15158b9 r21254: Fix running the testsuite outside pidl/ 2007-10-10 14:44:54 -05:00
Jelmer Vernooij
1aecba7100 r21253: Merge some pidl fixes:
* Add tests for wireshark dissector generator
 * Add tests for the header code
 * Some cleanups
 * Fix handling of elements without [in] or [out]
2007-10-10 14:44:54 -05:00
Stefan Metzmacher
daee739ebb r21245: combination "c[3] s[1] e[1] d[0]..." was successful!!!!!!!!!!!!!!!!!!!!!!!!!!
we now support the session depended password attribute encryption
used in DsGetNCChanges()

the static encryption (something like sam_rid_crypt() is assumed for some attributes
and the format of the attribute values isn't known yet, but some contain
some unicode strings...

metze
2007-10-10 14:44:52 -05:00
Stefan Metzmacher
ba168479d5 r21244: fix typo...
I was wondering why I got allways 4 times the same decrypted buffer...

metze
2007-10-10 14:44:52 -05:00
Stefan Metzmacher
7b331b95bf r21243: create the infrastructure to test a lot of crypto combinations
to solve the drsuapi password encryption automaticly.

metze
2007-10-10 14:44:52 -05:00
Stefan Metzmacher
65a55c8fde r21242: prepare trying to decrypt the encrypted attributes
metze
2007-10-10 14:44:51 -05:00