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
James Peach
cc87cb7770
r21950: After discussion with the Apple and Linux client maintainers,
...
changing the FindFirst response for the UNIX_INFO2 level to include
a length field before the name. The name is not required to be null
terminated. The length field does not count any null.
Also add call to chflags(2) in the default VFS module so that this
will work be default on BSD-derived platform. Add UNIX-INFO2 test
to the build farm to get some non-BSD coverage.
Jeremy and Jerry, please review for inclusion in 3.0.25.
(This used to be commit e7b21b1ef3f79c0df2bae5f15c345ef74292c404)
2007-10-10 12:18:51 -05:00
Jeremy Allison
16a029f7f3
r21948: Fix valgrind error in build farm samba3 smbtorture. We were
...
using an uninitialized buffer for read/write tests.
Jeremy.
(This used to be commit e27d094620178f316bf79540164bbfe6ff3a3851)
2007-10-10 12:18:51 -05:00
Jeremy Allison
b3646bd809
r21947: Fix the equivalent of memcpy(x, x, 16). Found
...
by valgrind on the build farm.
Jeremy.
(This used to be commit 6eed92dfd4da1f9979831bec8e0dcdee33fb53b4)
2007-10-10 12:18:51 -05:00
Stefan Metzmacher
6685e53385
r21944: move acl header checks to the correct place only
...
jeremy: please merge this to 3.0.25:-)
metze
(This used to be commit 874164e365b77947d5c514b2a77c6aae0f42599e)
2007-10-10 12:18:51 -05:00
Jeremy Allison
bf26a7632e
r21942: Hoist by our own petard :-). Older smbclient binaries
...
were not able to connect to the rewritten dfs code as
they set the dfs flag bit but then send local paths.
Now that our dfs code is a *lot* more robust in
detecting this sort of braindamage we can just
call into it directly on getting a DFS flag
and let the parser sort it out without having
to check it's actually connecting to a dfs
enabled share (I'm proud of this code :-).
Jeremy.
(This used to be commit 8c4d929c76ba56d59f651c57d1feb37d2916a436)
2007-10-10 12:18:51 -05:00
Volker Lendecke
8a2b73a58a
r21941: Attempt to fix bug 4460
...
(This used to be commit d1b8f00c122414e532cdb3da78f84d55698cbc10)
2007-10-10 12:18:51 -05:00
Gerald Carter
5b105eaf7c
r21940: Sorry Volker, I have to revert your revert in r21935.
...
We can talk about this later if you still feel that strongly
but I need to fix the build for now.
(This used to be commit c7df0cad8257333c6a8dfd98818269a783ba7a26)
2007-10-10 12:18:50 -05:00
Jeremy Allison
d506caf2b5
r21939: Fix missing initialization that
...
broke the build farm. Thanks to
Metze for the heads up.
Jeremy.
(This used to be commit bb3623be3f2b0686b2b2e671e3e7bd9978f6ed9b)
2007-10-10 12:18:50 -05:00
Volker Lendecke
719f4657e8
r21935: Revert obviously not sufficiently tested code -- sorry for the pain. I am afraid I was basically off the net for the day
...
(This used to be commit 08c29abc03267b0dfb41cec3734653a536027a10)
2007-10-10 12:18:50 -05:00
Stefan Metzmacher
035bb5cc6f
r21934: fix the build sorry
...
metze
(This used to be commit 184c4619773f786c5299499e121e485b7545764f)
2007-10-10 12:18:50 -05:00
Gerald Carter
e68ea1283d
r21933: Change the write_sock() call in pam_winbind_request()
...
to not request a privileged pipe operation for everything
as this cannot be done from a process running under the
context of a user (e.g. screensaver).
Thanks to Danilo Almeida <dalmeida@centeris.com> for the help
in pointing out the change to write_sock().
(This used to be commit 80790f935abc8905542338b08f54d61ebacf2ff1)
2007-10-10 12:18:50 -05:00
Stefan Metzmacher
00320f7a58
r21932: fix compiler warning.
...
maybe also for 3.0.25
metze
(This used to be commit 844dac912cb549b0524571df80fbaa7f2d9c36c2)
2007-10-10 12:18:50 -05:00
Stefan Metzmacher
c542e154c2
r21931: include acl/libacl.h is present
...
I'm not sure if this should go into 3.0.25... it fixes a compiler warning about
a missing acl_get_perm() prototype
metze
(This used to be commit 4b67f94c6a148d6fecaa90d66ce6893b5feb370a)
2007-10-10 12:18:49 -05:00
Jeremy Allison
820184bdcc
r21927: Removed unused variable.
...
Jeremy.
(This used to be commit 2d951c91a5ac9779dcb124190e3e7f86cee9efdf)
2007-10-10 12:18:49 -05:00
Jeremy Allison
f93d75c932
r21926: Fix missing enum specifier pointed out by Don McCall @ HP.
...
Thanks Don !
Jeremy.
(This used to be commit 662344d1ec3593689de7602afa518ed98e10dc37)
2007-10-10 12:18:49 -05:00
Jeremy Allison
23149b3bb8
r21925: Start to code up the gss acquire creds calls.
...
Jeremy.
(This used to be commit 4a7fbc88520e8f5dfe53a7c5da68040271149da3)
2007-10-10 12:18:49 -05:00
Jeremy Allison
5a025d845a
r21923: Add in the gss decrypt.
...
Jeremy.
(This used to be commit 00f58951b4cace06e51e7eb404605c7f3d366f38)
2007-10-10 12:18:49 -05:00