1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

21807 Commits

Author SHA1 Message Date
Stefan Metzmacher
bc2b6436d0 r22009: change TDB_DATA from char * to unsigned char *
and fix all compiler warnings in the users

metze
(This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
b9461058d5 r22008: use string_term_tdb_data()
metze
(This used to be commit 1f047d7e31252481c4ed905e0dfdb791c704adca)
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
7bdd7ecafa r22007: make string_tdb_data(NULL) possible...
metze
(This used to be commit d03094708378bde088bf6e90efe54deb83d3952e)
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
e8265c6515 r22006: use string_term_tdb_data()...
metze
(This used to be commit 136914502ff129b90f10794ed6474dca558c75a0)
2007-10-10 12:18:59 -05:00
Jeremy Allison
71b8fdff85 r22003: Fix from Jiri.Sasek@Sun.COM to wrap our krb5_locate_kdc
call as smb_krb5_locate_kdc to prevent incorrect linking
and crashes on Solaris.
Jeremy.
(This used to be commit 7d30737c8d851505e81a60443baf9a8c7e523472)
2007-10-10 12:18:59 -05:00
Simo Sorce
73c8eee9b2 r22002: Fix bug #3974, there are still open issues with -N behavior (doc fix next)
and -T argument parsing behavior (which is just insane but a separate bug)
(This used to be commit 1a3980f1fcb6431aa6bce83f7c34338436b4e962)
2007-10-10 12:18:59 -05:00
Stefan Metzmacher
56ba447668 r22001: change prototype of dump_data(), so that it takes unsigned char * now,
which matches what samba4 has.

also fix all the callers to prevent compiler warnings

metze
(This used to be commit fa322f0cc9c26a9537ba3f0a7d4e4a25941317e7)
2007-10-10 12:18:59 -05:00
Stefan Metzmacher
9bb40d7c61 r22000: remove useless casts
metze
(This used to be commit 8f55fe4e4614d73c2534ca87745972f7550875ee)
2007-10-10 12:18:59 -05:00
Stefan Metzmacher
5b7c813104 r21999: remove useless casts
metze
(This used to be commit f948005ca69c50b07fdbcf7801975676d19d1486)
2007-10-10 12:18:58 -05:00
Günther Deschner
cece5a62ae r21998: Fix tdb keynames in netsamlogon_clear_cached_user().
No point in deleting U/DOMAIN/RID and UG/DOMAIN/RID keys if we only store U/SID
and UG/SID keys :-)

Next we need to verify the need of calling netsamlogon_clear_cached_user() at all.

Guenther
(This used to be commit 78d13f14672b65c2d4798ce94322e945334eea62)
2007-10-10 12:18:58 -05:00
Jeremy Allison
e9157961d6 r21997: Implement the server side of gss seal negotiate.
Jeremy.
(This used to be commit 6b923acfee59e39eea69e9e9a00f1f6118ed4270)
2007-10-10 12:18:58 -05:00
Jeremy Allison
3215c09a81 r21994: Ignore keepalives in the correct buffer (out not in :-).
Jeremy.
(This used to be commit 9785528ddf26c4943e8bdfcf7694314a52218520)
2007-10-10 12:18:58 -05:00
Jeremy Allison
208367f4d1 r21993: Don't let keepalives interferece with sign or seal
in the client code.
Jeremy.
(This used to be commit 3e901389feedadd64c6ba712ab09cdfb497a9e0a)
2007-10-10 12:18:58 -05:00
Jeremy Allison
0eab431194 r21992: Fix keepalive processing when encryption turned on.
Jeremy.
(This used to be commit 8f113ad1918dcd2746ec527ceb79a2a7baa1d415)
2007-10-10 12:18:58 -05:00
Jeremy Allison
4a66d0e232 r21991: I hate Steve French :-). Add support for encryption
contexts....
Jeremy.
(This used to be commit ae8f3649f773b8a8dcb55921536d038d3475322e)
2007-10-10 12:18:58 -05:00
Jeremy Allison
34dac35e48 r21990: Stop messing with the signing engine just because
we're encrypted. This will make further changes and
spec much more clear.
Jeremy.
(This used to be commit ffa3a5c508a494d22e8ee3ada424a6517ddf8923)
2007-10-10 12:18:57 -05:00
Stefan Metzmacher
110980d771 r21989: make use of tdb_*_bystring() and string_term_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze
(This used to be commit 1897da9efcfe58ff3c190450731f33bef3ac2ebd)
2007-10-10 12:18:57 -05:00
Stefan Metzmacher
2d118cef3f r21988: make use of string_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze
(This used to be commit 2f52df71039befff8646aa67c1123df7be3591d2)
2007-10-10 12:18:57 -05:00
Stefan Metzmacher
a806037b87 r21987: split tdb_prs_*() functions in version which take a keystr and a TDB_DATA key
metze
(This used to be commit 724c6fa337bb535e1b97d0452c2489f58339a3bf)
2007-10-10 12:18:56 -05:00
Stefan Metzmacher
4b0c9a0084 r21986: make use of tdb_*_bystring() and string_term_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze
(This used to be commit 08d23a1c4f136427ee6f72fc02fb030a13056495)
2007-10-10 12:18:56 -05:00
Stefan Metzmacher
5060393272 r21985: make use of string_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze
(This used to be commit a8bc20d67f481a790524cad24e253436227af721)
2007-10-10 12:18:56 -05:00
Stefan Metzmacher
ef0a0f9b2b r21984: make use of tdb_*_bystring() and string_term_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze
(This used to be commit 91301f73476f17cc582c12e1fc201eb571d007af)
2007-10-10 12:18:56 -05:00
Stefan Metzmacher
e6fda8cbd0 r21983: make use of tdb_*_bystring() and string_term_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze
(This used to be commit 5a5579d8429e6f76805a093133ba29c7f8321512)
2007-10-10 12:18:56 -05:00
Stefan Metzmacher
a3a4d6721b r21982: make use of tdb_*_bystring() and string_term_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze
(This used to be commit 9ebaa4c573ea5784a8c9cd9d29561b760d62bb18)
2007-10-10 12:18:55 -05:00
Stefan Metzmacher
6e2a411795 r21981: as we use tdb_trans_store(), we should also use tdb_trans_delete()
metze
(This used to be commit 2d2f8099684c4516ed685e5bb2a21541d53645ac)
2007-10-10 12:18:55 -05:00
Stefan Metzmacher
f61062b31d r21980: make use of tdb_*_bystring() and string_term_tdb_data() in smbd/
to avoid creating the TDB_DATA struct from strings "by hand"

metze
(This used to be commit 09b477ed85e46bc780ce3c1461472883a6b952f9)
2007-10-10 12:18:55 -05:00
Stefan Metzmacher
c2f09ee288 r21979: make use of string_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

note: we can't use the tdb_*_bystring functions here, as the key isn't
null-terminated here...

metze
(This used to be commit 29b42ea89cbdd9f2c12fa448b116c49669467faf)
2007-10-10 12:18:55 -05:00
Stefan Metzmacher
4d7c7bb689 r21978: make use of tdb_*_bystring()
to avoid creating the TDB_DATA struct from strings "by hand"

metze
(This used to be commit 1a0599d7aadef651e4d5b88b59c95e8a118dfa5e)
2007-10-10 12:18:55 -05:00
Stefan Metzmacher
3f370211a5 r21977: little cosmetic change to remove a local var that's not really needed
metze
(This used to be commit 71c3880e8924c57dcd60573d628b8eb29cee6055)
2007-10-10 12:18:54 -05:00
Stefan Metzmacher
8960af9558 r21976: make use of tdb_*_bystring() and string_term_tdb_data() in lib/
to avoid creating the TDB_DATA struct from strings "by hand"

metze
(This used to be commit c22b86595a502eb48c9d0038faee8a9ee41b8438)
2007-10-10 12:18:54 -05:00
Stefan Metzmacher
1c98e62118 r21975: if we use the _bystring() version when storing, we should use it on fetch too...
metze
(This used to be commit d105723f063d617ef9f8394e7921749b21f1d755)
2007-10-10 12:18:54 -05:00
Stefan Metzmacher
38afa75965 r21974: make use of tdb_*_bystring() and string_term_tdb_data() in groupdb/
to avoid creating the TDB_DATA struct from strings "by hand"

metze
(This used to be commit 2f2e9a7083b176412cd897119a49520a55a897a7)
2007-10-10 12:18:54 -05:00
Stefan Metzmacher
0563eb86b3 r21973: make use of tdb_*_bystring() and string_term_tdb_data()
to avoid creating the TDB_DATA struct from strings "by hand"

metze
(This used to be commit 9756b7ea084139e74061e98416716acd9d1aedfa)
2007-10-10 12:18:54 -05:00
Stefan Metzmacher
2aee3c2689 r21972: - add string_term_tdb_data() it creates a null-terminates tdb key from a string
(the current string_tdb_data() creates a non-terminates tdb key from a string!)
- pass TDB_DATA instead of const char *, size_t len to some functions

metze
(This used to be commit 815ef8acdc7f89d30f3fd1812b12bd0e2dc62473)
2007-10-10 12:18:54 -05:00
Jeremy Allison
8b63654c2e r21969: Start working on the gss-side of the server negotiation.
Jeremy.
(This used to be commit fbc569b530104679e47fe743963eb0c4384de6ae)
2007-10-10 12:18:54 -05:00
Jeremy Allison
9d34ee1c8b r21968: Don't use gss-types in proto headers.
Jeremy.
(This used to be commit 829580414d89ff4aa0f45906e455849c55f508b1)
2007-10-10 12:18:53 -05:00
Jeremy Allison
3adeddcc4a r21967: Add conversion from gss errors to nt status.
Jeremy
(This used to be commit 8ba138efd097b08dcfe98f99b67c77579babf250)
2007-10-10 12:18:53 -05:00
Stefan Metzmacher
f091c04392 r21965: fix compiler warning
metze
(This used to be commit cde58ee97ff0de1eb37f62fbf2d52134419dcb5f)
2007-10-10 12:18:53 -05:00
Volker Lendecke
b2c54ddbb2 r21964: Add tdbtorture target to main makefile -- Thanks to Karolin Seeger
(This used to be commit 6265b1ee9612affc80252e3f9c1f2da267733b96)
2007-10-10 12:18:53 -05:00
Jeremy Allison
679aeec546 r21963: Fix another uninitialized buffer used in test write - valgrind
fix.
Jeremy.
(This used to be commit 0119d2c18348a9e0fcc79e247a9014d929af0ce7)
2007-10-10 12:18:53 -05:00
Volker Lendecke
fe962d2e48 r21962: Make pdbedit use the configfile specified by -s
(This used to be commit f540c18b2bbf1d3138aea6938c5313ca2e100215)
2007-10-10 12:18:53 -05:00
Jeremy Allison
9527f93272 r21961: Repair bug introduced by rev. 21960.
We need to do the initial strtok to set up the internal state.
Jeremy.
(This used to be commit 8c7042b4192cb33988c1bbccdd4a80bb99fd0118)
2007-10-10 12:18:53 -05:00
Volker Lendecke
eca13022ef r21960: Fix bugs 4463,4464,4465,4466. Thanks Jason :-)
(This used to be commit a2e27c443101a59ef3429a55e049af3ebd5ec1f2)
2007-10-10 12:18:52 -05:00
Volker Lendecke
643157ff5a r21959: Merge a comment fix from Michael Adam -- more to come :-)
(This used to be commit 06a4d2ce5d4d5d637f19c7444a6510a1bbad7a9f)
2007-10-10 12:18:52 -05:00
Volker Lendecke
7216604b5e r21958: Fix Coverity ID 343 (dead code)
(This used to be commit 6d093043ed437c1de6f9a50013d9bd84c75cf3ff)
2007-10-10 12:18:52 -05:00
Herb Lewis
dfc4a8b2b2 r21957: minor formatting fix
(This used to be commit 99b9570ebe5aa9f57db65a04cfc5835b382cb4dd)
2007-10-10 12:18:52 -05:00
Jeremy Allison
28220ed710 r21956: Fix bug reported by don.mccall@hp.com for platforms
without utimes() call (only utime()).
Jeremy.
(This used to be commit 63b061a2ea2ee1eb06d9b568743b2356c107ec66)
2007-10-10 12:18:52 -05:00
Jeremy Allison
772b70b478 r21954: Someone misused a '!' instead of a '~' for a binary NOT
command. Jerry, Simo, please check.
Jeremy.
(This used to be commit 8ff76a9cb860b7fd451829f6d814ea1c6804f5af)
2007-10-10 12:18:52 -05:00
Jeremy Allison
b93126ea12 r21953: One format fix, clarify a condition that the IBM
checker was worried about.
Jeremy.
(This used to be commit 70eec7b8ae6a4992b43df853dffc21dd91498390)
2007-10-10 12:18:52 -05:00
Jeremy Allison
eb46589432 r21952: Fix critical (!) error found by IBM checker.
Missing break statements meant that no info
levels would ever be returned correctly from
POSIX open/mkdir.
Jeremy.
(This used to be commit ae5761ccc66b35b66ca4fa90aef02d8be1564737)
2007-10-10 12:18:51 -05:00