sfrench/samba-autobuild/.git
16 years agor14224: Fix Coverity bug # 6
Volker Lendecke [Sat, 11 Mar 2006 23:52:09 +0000 (23:52 +0000)]
r14224: Fix Coverity bug # 6
(This used to be commit e1c617adae51a4645804421394aba05de9dc1e3f)

16 years agor14221: Fix coverity #76. My previous change wasn't quite enough :-).
Jeremy Allison [Sat, 11 Mar 2006 23:14:42 +0000 (23:14 +0000)]
r14221: Fix coverity #76. My previous change wasn't quite enough :-).
Jeremy.
(This used to be commit 21b70035f39973e9edff323219c3c7eeb1550e2b)

16 years agor14219: Fix coverity #135. Don't deref a ptr if it can be NULL.
Jeremy Allison [Sat, 11 Mar 2006 23:11:24 +0000 (23:11 +0000)]
r14219: Fix coverity #135. Don't deref a ptr if it can be NULL.
Jeremy.
(This used to be commit 666d427c6e10aa4194348e8acc3997682f090b48)

16 years agor14218: Fix Coverity Bug # 2
Volker Lendecke [Sat, 11 Mar 2006 23:10:31 +0000 (23:10 +0000)]
r14218: Fix Coverity Bug # 2
(This used to be commit 26377b63a3a3d2d5ed23bdbb5f22b70ec7d3fcad)

16 years agor14217: Fix Coverity Bug # 7
Volker Lendecke [Sat, 11 Mar 2006 23:07:22 +0000 (23:07 +0000)]
r14217: Fix Coverity Bug # 7
(This used to be commit b3cfa292cf204a87acde073e2f800123ee474e40)

16 years agor14216: Fix Coverity bug # 8
Volker Lendecke [Sat, 11 Mar 2006 23:02:46 +0000 (23:02 +0000)]
r14216: Fix Coverity bug # 8
(This used to be commit e4c9cba2f94043fe3c3e85e5640cfa6bd340b92f)

16 years agor14214: Fix Coverity Bug # 57
Volker Lendecke [Sat, 11 Mar 2006 22:21:27 +0000 (22:21 +0000)]
r14214: Fix Coverity Bug # 57
(This used to be commit 32364d8f01c75bd00ee1bef49c687d6dd3299d1f)

16 years agor14212: Definately fixes a coverity issue but I've lost track
Jeremy Allison [Sat, 11 Mar 2006 20:23:50 +0000 (20:23 +0000)]
r14212: Definately fixes a coverity issue but I've lost track
of the coverity id.... Oh well - definately needs a fix.
Jeremy.
(This used to be commit 54c899ef3b82af612bc2dad450140c5f47d2332e)

16 years agor14207: Convert the lp_acl_compatibility() param into an enum.
James Peach [Sat, 11 Mar 2006 10:59:03 +0000 (10:59 +0000)]
r14207: Convert the lp_acl_compatibility() param into an enum.
(This used to be commit 5429c495c538e416010cf44e1d6fb771770a72ae)

16 years agor14204: Remove the basically unused P_GSTRING and P_UGSTRING
James Peach [Sat, 11 Mar 2006 10:23:02 +0000 (10:23 +0000)]
r14204: Remove the basically unused P_GSTRING and P_UGSTRING
parameter types.
(This used to be commit 23328fe6fc5e3b4ed3dc35e1475d661a8593eb1a)

16 years agor14196: Move to using talloc, not malloc for all policy handles.
Jeremy Allison [Sat, 11 Mar 2006 02:48:20 +0000 (02:48 +0000)]
r14196: Move to using talloc, not malloc for all policy handles.
Jeremy
(This used to be commit 6f4804a265f60c614e6e215ed663da0d8205c613)

16 years agor14194: Coverity bug #35. Fix uninitialized pipe_hnd.
Jeremy Allison [Sat, 11 Mar 2006 02:43:25 +0000 (02:43 +0000)]
r14194: Coverity bug #35. Fix uninitialized pipe_hnd.
Jeremy.
(This used to be commit 8aca76f03540f3df5a81ddab2588c1f8219ac550)

16 years agor14192: Don't forget to correctly initialize pipe_hnd.
Jeremy Allison [Sat, 11 Mar 2006 02:29:23 +0000 (02:29 +0000)]
r14192: Don't forget to correctly initialize pipe_hnd.
Coverity fix #34.
Jeremy.
(This used to be commit 6b3dc96dcf9b14177abfd3c901bfb0baad8afa76)

16 years agor14190: Coverity bug #33. Missing initialization of pipe_hnd.
Jeremy Allison [Sat, 11 Mar 2006 02:20:58 +0000 (02:20 +0000)]
r14190: Coverity bug #33. Missing initialization of pipe_hnd.
Jeremy.
(This used to be commit 144fda363793f233236a5e539daec64fa2966f3b)

16 years agor14188: Coverity fix #32. Don't deref null.
Jeremy Allison [Sat, 11 Mar 2006 02:17:00 +0000 (02:17 +0000)]
r14188: Coverity fix #32. Don't deref null.
Jeremy.
(This used to be commit 218c924d91a09517909ab09668a3ba7a0c6cb305)

16 years agor14186: Coverity fix #31. Don't deref null.
Jeremy Allison [Sat, 11 Mar 2006 02:14:49 +0000 (02:14 +0000)]
r14186: Coverity fix #31. Don't deref null.
Jeremy.
(This used to be commit 014a3c86613f5c3fcbf12cd7df35c68bdce29331)

16 years agor14184: Coverity fix #56. Ensure we can't deref null.
Jeremy Allison [Sat, 11 Mar 2006 02:12:25 +0000 (02:12 +0000)]
r14184: Coverity fix #56. Ensure we can't deref null.
Jeremy.
(This used to be commit c76092a0662714b49c3c519d6f01174b8995a036)

16 years agor14182: Ensure we know that dom_sid cannot be null.
Jeremy Allison [Sat, 11 Mar 2006 02:09:18 +0000 (02:09 +0000)]
r14182: Ensure we know that dom_sid cannot be null.
Jeremy.
(This used to be commit e3a28bf4c8064f7053b7d1a25a2f087ac2095fcd)

16 years agor14178: Clarify code for Coverity #49. Ensure we know we
Jeremy Allison [Fri, 10 Mar 2006 23:52:37 +0000 (23:52 +0000)]
r14178: Clarify code for Coverity #49. Ensure we know we
can't have an uninitialized *returned val.
Jeremy.
(This used to be commit e83515afd2cb63b0dfa4f7fe00b6b7163bf35f2f)

16 years agor14176: Fix coverity bug #30. Ensure no possible null deref.
Jeremy Allison [Fri, 10 Mar 2006 23:22:38 +0000 (23:22 +0000)]
r14176: Fix coverity bug #30. Ensure no possible null deref.
Jeremy.
(This used to be commit e5d6069cf88c0aa632af5582fcd7466729b20934)

16 years agor14170: Paranioa fix for sesssetup.
Jeremy Allison [Fri, 10 Mar 2006 18:32:18 +0000 (18:32 +0000)]
r14170: Paranioa fix for sesssetup.
Fix Coverity bug #26. Guard against NULL ref.
Jeremy.
(This used to be commit c0f906ac8de850f4566b6b3be4e3c7d245e6e252)

16 years agor14168: Fix Coverity #219. I think this is a false coverity
Jeremy Allison [Fri, 10 Mar 2006 17:52:41 +0000 (17:52 +0000)]
r14168: Fix Coverity #219. I think this is a false coverity
warning as it seems to get confused with assignment
and comparison. Clarify the code anyway.
Jeremy.
(This used to be commit 754818f8cc0849bddf84b7a534cd65e8dcd932ac)

16 years agor14166: Fix const warning.
Jeremy Allison [Fri, 10 Mar 2006 17:51:22 +0000 (17:51 +0000)]
r14166: Fix const warning.
Jeremy.
(This used to be commit 2ec461ae583b9a07da3ce5abd7f90ea18e1535ae)

16 years agor14158: Fix coverity CID #147 -- do not dereference pointers before checking their...
Alexander Bokovoy [Fri, 10 Mar 2006 14:39:29 +0000 (14:39 +0000)]
r14158: Fix coverity CID #147 -- do not dereference pointers before checking their existence
(This used to be commit 6b52423033b2eccdfad1e91e9d59619664f570ac)

16 years agor14156: Fix coverity #114: free storage alloc'ed by sstring_sub()
Jim McDonough [Fri, 10 Mar 2006 14:28:51 +0000 (14:28 +0000)]
r14156: Fix coverity #114: free storage alloc'ed by sstring_sub()
(This used to be commit 655fb66b289bdd19c4432eea00fac935184f25c9)

16 years agor14155: Fix coverity #115: free storage alloc'ed by sstring_sub()
Jim McDonough [Fri, 10 Mar 2006 14:20:09 +0000 (14:20 +0000)]
r14155: Fix coverity #115: free storage alloc'ed by sstring_sub()
(This used to be commit a197b8c5cb02c8a5fac3882e7b76bcd7abb0279c)

16 years agor14153: Fix coverity #116: free storage alloc'ed by sstring_sub()
Jim McDonough [Fri, 10 Mar 2006 14:17:44 +0000 (14:17 +0000)]
r14153: Fix coverity #116: free storage alloc'ed by sstring_sub()
(This used to be commit dbc0ff5544f2d15b1d1bc41319c76274b79d92b4)

16 years agor14152: Fix coverity #117: free storage alloc'ed by sstring_sub
Jim McDonough [Fri, 10 Mar 2006 14:14:23 +0000 (14:14 +0000)]
r14152: Fix coverity #117: free storage alloc'ed by sstring_sub
(This used to be commit cf36f5949f8ac5ea020fcaa796ad92852df25ae7)

16 years agor14150: Fix coverity #118: not freeing alloc'ed storage returned from
Jim McDonough [Fri, 10 Mar 2006 14:09:34 +0000 (14:09 +0000)]
r14150: Fix coverity #118: not freeing alloc'ed storage returned from
sstring_sub().
(This used to be commit 6ff849f35ae3394d6557f79c73b0fe54fbb86d0f)

16 years agor14148: Removing the not very well tested krb5 ticket refresh handling activated
Günther Deschner [Fri, 10 Mar 2006 13:36:39 +0000 (13:36 +0000)]
r14148: Removing the not very well tested krb5 ticket refresh handling activated
over --with-kcm. No time to look after it for the moment.

Guenther
(This used to be commit 7ec2b31a8790db1466ffafeab533c11ab7ea801a)

16 years agor14147: Fix coverity #119. alloc'ed memory returned not saved, so not freed.
Jim McDonough [Fri, 10 Mar 2006 13:33:02 +0000 (13:33 +0000)]
r14147: Fix coverity #119.  alloc'ed memory returned not saved, so not freed.
Need to go back and correct the assumption that an "ldap xxx suffix"
parm must have an OU.
(This used to be commit 2d7ba11ffbe17af12257a91638be95d09c0c34c5)

16 years agor14146: Just some typos.
Günther Deschner [Fri, 10 Mar 2006 13:14:01 +0000 (13:14 +0000)]
r14146: Just some typos.

Guenther
(This used to be commit ade86cc787e266850fee982b008a9caf2c8ed7e7)

16 years agor14145: Add missing WITH_KCM hunks from my local tree.
Günther Deschner [Fri, 10 Mar 2006 13:12:38 +0000 (13:12 +0000)]
r14145: Add missing WITH_KCM hunks from my local tree.

Guenther
(This used to be commit 977079a0583497255fbd4a48de52ebd404710b62)

16 years agor14144: allow to set sec_info in rpcclients lsa_query_secobj.
Günther Deschner [Fri, 10 Mar 2006 13:01:08 +0000 (13:01 +0000)]
r14144: allow to set sec_info in rpcclients lsa_query_secobj.

Guenther
(This used to be commit 18ee669c604b344910308fef81c2544e208ef62c)

16 years agor14135: Fix for Coverity #123: resource leak. Also rework much of the code to
Jim McDonough [Fri, 10 Mar 2006 09:41:08 +0000 (09:41 +0000)]
r14135: Fix for Coverity #123: resource leak.  Also rework much of the code to
make it cleaner.  There's still more to do on this...
(This used to be commit f75dad0325aec93cc604ddfbef40d29979d07275)

16 years agor14134: Fix Coverity bug # 137
Volker Lendecke [Fri, 10 Mar 2006 09:07:03 +0000 (09:07 +0000)]
r14134: Fix Coverity bug # 137
(This used to be commit 62e58d939bf3abf71bb19aade57d406e07403bc8)

16 years agor14133: Fix Coverity bug # 140
Volker Lendecke [Fri, 10 Mar 2006 08:56:13 +0000 (08:56 +0000)]
r14133: Fix Coverity bug # 140
(This used to be commit 5007f53eb54eddff3d13df929d78385d6b158057)

16 years agor14132: Fix Coverity bug # 150.
Volker Lendecke [Fri, 10 Mar 2006 08:53:15 +0000 (08:53 +0000)]
r14132: Fix Coverity bug # 150.

Jerry, you might want to check this.

Thanks

Volker
(This used to be commit 9ec671c2f8547482ed08eb17a0fb771ef8fd1e51)

16 years agor14131: Fix Coverity bug # 127
Volker Lendecke [Fri, 10 Mar 2006 08:47:59 +0000 (08:47 +0000)]
r14131: Fix Coverity bug # 127
(This used to be commit c105bfae2647752b31d8c3b59a0ee80c56f97138)

16 years agor14130: Remove make_server_info_pac alltogether, make_server_info_info3 does
Günther Deschner [Fri, 10 Mar 2006 08:43:32 +0000 (08:43 +0000)]
r14130: Remove make_server_info_pac alltogether, make_server_info_info3 does
already do what we need.

Guenther
(This used to be commit 773e33c9717ae04f48983ddc49f7619a97523603)

16 years agor14129: Add the group sids from the Kerberos PAC to the user token.
Günther Deschner [Fri, 10 Mar 2006 08:26:40 +0000 (08:26 +0000)]
r14129: Add the group sids from the Kerberos PAC to the user token.

Guenther
(This used to be commit 1280d79111ae56c6a1b4daf7a1d6d413d1f4df64)

16 years agor14128: Remove warning generated by coverity scan tool (missing SAFE_FREE in error...
Steve French [Fri, 10 Mar 2006 04:18:29 +0000 (04:18 +0000)]
r14128: Remove warning generated by coverity scan tool (missing SAFE_FREE in error path)
(This used to be commit 33a1e26114d7dfdfb72e393efa399454a588e11e)

16 years agor14127: Remove coverity warning on mount.cifs.c
Steve French [Fri, 10 Mar 2006 04:05:49 +0000 (04:05 +0000)]
r14127: Remove coverity warning on mount.cifs.c
(This used to be commit 2ec51635ae7ba448f18c4c1342a5fd2adb1ec869)

16 years agor14126: resolve two warnings from the coverity scan
Steve French [Fri, 10 Mar 2006 03:47:57 +0000 (03:47 +0000)]
r14126: resolve two warnings from the coverity scan
(This used to be commit 32c7243b80f1f06d37511fb87f7a5c715f4847c6)

16 years agor14121: We never pass NULL to the rpc_api_pipe fn so don't
Jeremy Allison [Thu, 9 Mar 2006 23:20:52 +0000 (23:20 +0000)]
r14121: We never pass NULL to the rpc_api_pipe fn so don't
trigger coverity checks by testing for NULL.
Jeremy.
(This used to be commit 6b4484159293d725613249adbfa01472dea1c722)

16 years agor14118: Fix coverity bug #24. Missing return statement meant
Jeremy Allison [Thu, 9 Mar 2006 22:49:38 +0000 (22:49 +0000)]
r14118: Fix coverity bug #24. Missing return statement meant
a possible NULL ptr deref.
Jeremy.
(This used to be commit 78ac3f9cbdabc1df9480f75fb3910a3a108a0e91)

16 years agor14115: Fix coverity bug #23. Don't deref a potentially null ptr.
Jeremy Allison [Thu, 9 Mar 2006 22:46:42 +0000 (22:46 +0000)]
r14115: Fix coverity bug #23. Don't deref a potentially null ptr.
Jeremy.
(This used to be commit df32eb70a45150e459997c2ae92c865cd0e083f6)

16 years agor14112: * fix checks on return code from register_vuid() which could actually
Gerald Carter [Thu, 9 Mar 2006 22:31:37 +0000 (22:31 +0000)]
r14112: * fix checks on return code from register_vuid() which could actually
  fail and we would still return success in the SMBsesssetup reply :-(
* Make sure to create the local token for the server_fino struct
  in reply_spnego_kerberos() so that register_vuid() does not fail.
  (how did this ever work?)
(This used to be commit 8dafa45b97020d1aceb027a85e18401c965bf402)

16 years agor14111: Work around additional typedefs in the gamin implementation
James Peach [Thu, 9 Mar 2006 22:31:05 +0000 (22:31 +0000)]
r14111: Work around additional typedefs in the gamin implementation
of the FAM API.
(This used to be commit dc96ce90e50da9a82f941b0b534c0681c8477f5e)

16 years agor14106: Fix from William Jojo for AIX vfs builds. Thanks Bill !
Jeremy Allison [Thu, 9 Mar 2006 22:00:12 +0000 (22:00 +0000)]
r14106: Fix from William Jojo for AIX vfs builds. Thanks Bill !
Jeremy.
(This used to be commit 7d50966d7f783da41dc9303d7c535bc46564cf09)

16 years agor14103: Fix a memleak found by valgrind (!!)
Volker Lendecke [Thu, 9 Mar 2006 21:15:10 +0000 (21:15 +0000)]
r14103: Fix a memleak found by valgrind (!!)
(This used to be commit b880602c4c1b13fbb5931b8e00c22209a722e0d5)

16 years agor14102: Fix Coverity bug # 70
Volker Lendecke [Thu, 9 Mar 2006 21:13:54 +0000 (21:13 +0000)]
r14102: Fix Coverity bug # 70
(This used to be commit 56dc19879c6514cbdd0b1fd186c8bdeb61bf151a)

16 years agor14101: Fix a segfault in trustdom establish, cli is NULL here.
Volker Lendecke [Thu, 9 Mar 2006 21:07:15 +0000 (21:07 +0000)]
r14101: Fix a segfault in trustdom establish, cli is NULL here.
(This used to be commit 1df58c7a00b00242ee3eda09de92335d5dabe9c4)

16 years agor14099: Fix Coverity # 113
Volker Lendecke [Thu, 9 Mar 2006 20:51:22 +0000 (20:51 +0000)]
r14099: Fix Coverity # 113
(This used to be commit db00570535c03360bb2833f070878a33e94306b0)

16 years agor14098: Fix Coverity # 112
Volker Lendecke [Thu, 9 Mar 2006 20:42:01 +0000 (20:42 +0000)]
r14098: Fix Coverity # 112
(This used to be commit 121a350b92dafec8f171a54f4b897c7f81757dd1)

16 years agor14092: Fix coverity bug #22. Ensure no possible null
Jeremy Allison [Thu, 9 Mar 2006 19:51:38 +0000 (19:51 +0000)]
r14092: Fix coverity bug #22. Ensure no possible null
deref.
Jeremy.
(This used to be commit 0026fb0b2843271c27e9dc02a32e88d580bebbc3)

16 years agor14090: Fix coverity bug #21, don't deref potential null.
Jeremy Allison [Thu, 9 Mar 2006 19:13:55 +0000 (19:13 +0000)]
r14090: Fix coverity bug #21, don't deref potential null.
Jeremy.
(This used to be commit 76c4d5212bcb5f54472c9ceac2368078ebad7a3b)

16 years agor14088: Fix Coverity bug #20. Don't deref possible null.
Jeremy Allison [Thu, 9 Mar 2006 19:03:31 +0000 (19:03 +0000)]
r14088: Fix Coverity bug #20. Don't deref possible null.
Jeremy.
(This used to be commit 7f3ace5481e55ef845da28b9c0613a2ea0de0de4)

16 years agor14087: Protect against domain being NULL. Finish Coverity #152.
Jeremy Allison [Thu, 9 Mar 2006 18:35:57 +0000 (18:35 +0000)]
r14087: Protect against domain being NULL. Finish Coverity #152.
Jeremy.
(This used to be commit 88dd4ab48127bb08fdeb0b5c236020e0b910f0d8)

16 years agor14085: Fix coverity bg #152, uninit'ed var.
Jim McDonough [Thu, 9 Mar 2006 18:03:54 +0000 (18:03 +0000)]
r14085: Fix coverity bg #152, uninit'ed var.
(This used to be commit d8e69c18e0d34c99525080b3afaf2778be3a5ec2)

16 years agor14083: Fix coverity bug #19. Don't deref possible NULL.
Jeremy Allison [Thu, 9 Mar 2006 18:01:42 +0000 (18:01 +0000)]
r14083: Fix coverity bug #19. Don't deref possible NULL.
Jeremy.
(This used to be commit fc8e1e5c02dd950ed1f8656a5d7ab47fa7ec1ea7)

16 years agor14080: Fix Coverity bug #18. Ensure non-null before ref.
Jeremy Allison [Thu, 9 Mar 2006 17:56:16 +0000 (17:56 +0000)]
r14080: Fix Coverity bug #18. Ensure non-null before ref.
Jeremy.
(This used to be commit 617c5805e59dd601b8841251032e3db4d6a64621)

16 years agor14077: fix build breakage
Gerald Carter [Thu, 9 Mar 2006 16:28:38 +0000 (16:28 +0000)]
r14077: fix build breakage
(This used to be commit a40a7f5ea10cf8651cb4334a6623c07fb3dfc565)

16 years agor14076: When the backends trusted_domains call comes back with no trusts the
Günther Deschner [Thu, 9 Mar 2006 16:08:15 +0000 (16:08 +0000)]
r14076: When the backends trusted_domains call comes back with no trusts the
NTSTATUS code will be NT_STATUS_NO_MORE_ENTRIES. In that case store
NT_STATUS_OK in the centry so that the entry does not automatically
deleted upon startup or invalidated upon next query.

Guenther
(This used to be commit 200d4566619c58951e22d9543420407b3baf878f)

16 years agor14075: * add support for long variable names in smb.conf in the form of %(....)
Gerald Carter [Thu, 9 Mar 2006 15:51:55 +0000 (15:51 +0000)]
r14075: * add support for long variable names in smb.conf in the form of %(....)
* add support for %(DomainSID)
* replace standard_sub_XXX() functions with wrappers around their
  alloc_sub_XXX() counterparts
* add support for using SIDs in read list, et. al. (anything that
  is checked by nt_token_contains_name_in_list())
(This used to be commit 71d960250d2c6d01096a03e98884d3f9c395baa0)

16 years agor14074: Some cleanup; there is no point in declaring and mapping
Günther Deschner [Thu, 9 Mar 2006 14:51:40 +0000 (14:51 +0000)]
r14074: Some cleanup; there is no point in declaring and mapping
KRB5KRB_ERR_RESPONSE_TOO_BIG when the krb5 library does not know about
this.

Guenther
(This used to be commit 4a1a3c4808307e09fa8ff85da9a963a4a6f0e9ae)

16 years agor14062: Forgot those in the uint16/32 acb_info switch.
Günther Deschner [Thu, 9 Mar 2006 11:01:43 +0000 (11:01 +0000)]
r14062: Forgot those in the uint16/32 acb_info switch.

Guenther
(This used to be commit 0167b6cca80492d8a076da0497d24089f78587dc)

16 years agor14061: Some debugging for the new LOGON/ACB-flags.
Günther Deschner [Thu, 9 Mar 2006 10:57:39 +0000 (10:57 +0000)]
r14061: Some debugging for the new LOGON/ACB-flags.

Guenther
(This used to be commit 7616317f9f45dfbc453a7687e8b8b6ff57ddb0a3)

16 years agor14060: Only set the last rebind timestamp when we did rebind after a non-read
Günther Deschner [Thu, 9 Mar 2006 09:08:11 +0000 (09:08 +0000)]
r14060: Only set the last rebind timestamp when we did rebind after a non-read
LDAP operation. That way we avoid the replication sleep after a simple
redirected search operation

Guenther
(This used to be commit d236caac211ff45a3e2da73a3b0316194740a722)

16 years agor14057: Remove generated script/gen-8bit-gap.sh while calling rule realclean.
Lars Müller [Wed, 8 Mar 2006 21:46:16 +0000 (21:46 +0000)]
r14057: Remove generated script/gen-8bit-gap.sh while calling rule realclean.

Ignore script/gen-8bit-gap.sh in branches/SAMBA_3_0/source/script as we
already do in trunk.
(This used to be commit b974b1879c1bded616becb77fa34f071a5f43ecc)

16 years agor14056: Also install the mount.smbfs sym link to rootsbindir. Therfore we have
Lars Müller [Wed, 8 Mar 2006 21:42:12 +0000 (21:42 +0000)]
r14056: Also install the mount.smbfs sym link to rootsbindir.  Therfore we have
to substitute rootsbindir in {,un}installbin.sh.in.

Pass $prefix as third arg to installbin/ uninstallbin as rootsbindir by
default is $prefix/sbin.
(This used to be commit 7773b8c9e0ad7bcff1312f28ca9cd17d7677e9bd)

16 years agor14053: Implement Simo's suggestion: don't use /dev/null for a 'bad' path for
Jim McDonough [Wed, 8 Mar 2006 21:29:49 +0000 (21:29 +0000)]
r14053: Implement Simo's suggestion: don't use /dev/null for a 'bad' path for
users/workstations
(This used to be commit 2690f015be1f7eb9802f652810e73ff5f5688304)

16 years agor14052: Remove BASEDIR use in the Makefile. BASEDIR=prefix=@prefix@ till now.
Lars Müller [Wed, 8 Mar 2006 21:20:43 +0000 (21:20 +0000)]
r14052: Remove BASEDIR use in the Makefile.  BASEDIR=prefix=@prefix@ till now.
I suggest to stay with ^BASEDIR= @prefix@$ for at least the next release
to give external projects - like samba-vscan project - time to adopt
this change.

BASEDIR is non of the default autoconf variables.  prefix is.

Jerry1: If possible please announce this with the next release.  I'll
self reply to technical.

Jerry2: This does not break your makepkg stuff as you set BASEDIR
_not_ from the Makefile.
(This used to be commit 730d5ec22948c579a81137051134657043c34415)

16 years agor14051: Add remaining (documented) userAccountControl bits, thanks to Luke
Günther Deschner [Wed, 8 Mar 2006 21:10:20 +0000 (21:10 +0000)]
r14051: Add remaining (documented) userAccountControl bits, thanks to Luke
Howard for pointing this out.

Guenther
(This used to be commit 170038f4cdfa51ea31b2255a020740d28dfbfba2)

16 years agor14050: Add the ACB_PWEXPIRED bit abartlet has found.
Günther Deschner [Wed, 8 Mar 2006 21:05:32 +0000 (21:05 +0000)]
r14050: Add the ACB_PWEXPIRED bit abartlet has found.

Guenther
(This used to be commit 5fa3f26b4c39d612243319fc0729078c50439d6b)

16 years agor14049: Found some more MSV1_0 bits and their behaviour;
Günther Deschner [Wed, 8 Mar 2006 20:57:41 +0000 (20:57 +0000)]
r14049: Found some more MSV1_0 bits and their behaviour;
just for documentation purpose.

Guenther
(This used to be commit 0b00424e07f3f9c815664c619e2d7a670a838b93)

16 years agor14047: Coverity fix #17. Ensure srv_name and info cannot
Jeremy Allison [Wed, 8 Mar 2006 20:07:24 +0000 (20:07 +0000)]
r14047: Coverity fix #17. Ensure srv_name and info cannot
be zero before deref.
Jeremy.
(This used to be commit fbf9db6624d9584a26ae302df3c76555bbd2bb1e)

16 years agor14045: Coverity fix #14. Ensure if len is set buf != NULL.
Jeremy Allison [Wed, 8 Mar 2006 20:02:50 +0000 (20:02 +0000)]
r14045: Coverity fix #14. Ensure if len is set buf != NULL.
Jeremy.
(This used to be commit fb1a6073321840fecf22f3e0f7541f5ad87f5e49)

16 years agor14043: After discussion with Jerry revert part of the
Jeremy Allison [Wed, 8 Mar 2006 17:50:44 +0000 (17:50 +0000)]
r14043: After discussion with Jerry revert part of the
Coverity null-ref patch - put prs_rpcbuffer_p
back to the way it was (with an additional
coverity paranoia check) - move the real test
into rpcbuf_alloc_size instead.
Jeremy.
(This used to be commit f74993e65c01bc0ef73d3e8710bb2f840910161a)

16 years agor14042: check that create_local_nt_token() succeeds before dereferncing the NT_USER_T...
Gerald Carter [Wed, 8 Mar 2006 15:18:14 +0000 (15:18 +0000)]
r14042: check that create_local_nt_token() succeeds before dereferncing the NT_USER_TOKEN*
(This used to be commit 4e5df4cb643886144d0fff4cac303e493c825955)

16 years agor14036: Ok, the last one generated a const warning. Also fix Coverity # 119.
Volker Lendecke [Wed, 8 Mar 2006 08:51:19 +0000 (08:51 +0000)]
r14036: Ok, the last one generated a const warning. Also fix Coverity # 119.

net rpc vampire is ugly....

Volker
(This used to be commit c1ea48949d2692c839f6ced68165cabd76b580ea)

16 years agor14035: Fix Coverity bug # 124
Volker Lendecke [Wed, 8 Mar 2006 08:41:36 +0000 (08:41 +0000)]
r14035: Fix Coverity bug # 124
(This used to be commit 9fe21fd0326e67a4b1006d2b4a24e39e2d57d796)

16 years agor14034: Fix Coverity id # 125.
Volker Lendecke [Wed, 8 Mar 2006 08:28:42 +0000 (08:28 +0000)]
r14034: Fix Coverity id # 125.

Jeremy, you might want to take a look here.

Volker
(This used to be commit e6e29937e8ccfc84afca0ee440bd3f10a7d10e8a)

16 years agor14033: Fix Coverity bug # 126
Volker Lendecke [Wed, 8 Mar 2006 08:22:42 +0000 (08:22 +0000)]
r14033: Fix Coverity bug # 126
(This used to be commit bb6d678575faac050376607a5c778b8a10805061)

16 years agor14031: Coverity bug CID #110. Free all resources correctly
Jeremy Allison [Wed, 8 Mar 2006 07:30:37 +0000 (07:30 +0000)]
r14031: Coverity bug CID #110. Free all resources correctly
on pipe initialization failure.
Jeremy.
(This used to be commit daa919a94b3d81401654004bc0f32c45451203c1)

16 years agor14030: Fix resource leak in error codepath. Coverity CID #64.
Jeremy Allison [Wed, 8 Mar 2006 07:20:11 +0000 (07:20 +0000)]
r14030: Fix resource leak in error codepath. Coverity CID #64.
Jeremy.
(This used to be commit b51edde4d63e9b2f241f41b6780b026487890a7f)

16 years agor14026: Fix resource leak on error exit. Coverity CID #65.
Jeremy Allison [Wed, 8 Mar 2006 07:13:23 +0000 (07:13 +0000)]
r14026: Fix resource leak on error exit. Coverity CID #65.
Jeremy.
(This used to be commit 3a1c4cb93dc262028ffbebd9ebeed69f4816cf09)

16 years agor14025: Remove unused code. When we want to export samsync, we better first port
Volker Lendecke [Wed, 8 Mar 2006 06:51:38 +0000 (06:51 +0000)]
r14025: Remove unused code. When we want to export samsync, we better first port
pidl...

Fix Coverity # 15.

Volker
(This used to be commit 29b4b986cc225a98d263c883fd52e8b210099b9e)

16 years agor14023: My last bug fix still left a potential null deref.
Jeremy Allison [Wed, 8 Mar 2006 06:42:39 +0000 (06:42 +0000)]
r14023: My last bug fix still left a potential null deref.
C- "must try harder" :-).
Jeremy.
(This used to be commit 9c55bf74ca28530045c5cb3cbfffad242039ca75)

16 years agor14022: Fix Coverity bug # 92
Volker Lendecke [Wed, 8 Mar 2006 06:39:33 +0000 (06:39 +0000)]
r14022: Fix Coverity bug # 92
(This used to be commit b824245c4e04353f0d3fd0ccf6bc5776a601daed)

16 years agor14020: Coverity bug CID #66. Missing free on error exit.
Jeremy Allison [Wed, 8 Mar 2006 06:36:40 +0000 (06:36 +0000)]
r14020: Coverity bug CID #66. Missing free on error exit.
Jeremy.
(This used to be commit b9980bddf5ee74b2887196d6d1a0cf393720ba3a)

16 years agor14018: Coverity error CID #27. Missing return -1 on error condition.
Jeremy Allison [Wed, 8 Mar 2006 06:32:26 +0000 (06:32 +0000)]
r14018: Coverity error CID #27. Missing return -1 on error condition.
Jeremy.
(This used to be commit 94e869d9c6d1a1c1df0d072530bf8d4452bd10bb)

16 years agor14017: Okay, okay, I have turned a double-free into dead code :-)
Volker Lendecke [Wed, 8 Mar 2006 06:32:21 +0000 (06:32 +0000)]
r14017: Okay, okay, I have turned a double-free into dead code :-)

Fix Coverity # 214.

Volker
(This used to be commit 4a75edf9deca2be18670d7f9f2e383ed0898512c)

16 years agor14014: Coverity paranoia. Shut it up by making the guarentee
Jeremy Allison [Wed, 8 Mar 2006 06:16:54 +0000 (06:16 +0000)]
r14014: Coverity paranoia. Shut it up by making the guarentee
in the code explicit - but this was a false positive (CID #16).
Jeremy.
(This used to be commit 43a0e869f2aee9b4e22d0d7fc92051e82f7536ad)

16 years agor14009: Remove last const warning (have to use CONST_DISCARD).
Jeremy Allison [Wed, 8 Mar 2006 02:05:36 +0000 (02:05 +0000)]
r14009: Remove last const warning (have to use CONST_DISCARD).
Jeremy.
(This used to be commit af0ade470f2fac3509a44207b4572e279ba30e34)

16 years agor14007: Coverity bug CID #197. Don't compare against 0, we
Jeremy Allison [Wed, 8 Mar 2006 01:43:23 +0000 (01:43 +0000)]
r14007: Coverity bug CID #197. Don't compare against 0, we
mean the ttl instead.
Jeremy.
(This used to be commit ccb2a52e29de7e2847ccd93aa99236f63202a4af)

16 years agor14006: Fix a couple of irritating warnings.
Jeremy Allison [Wed, 8 Mar 2006 01:40:15 +0000 (01:40 +0000)]
r14006: Fix a couple of irritating warnings.
Jeremy.
(This used to be commit ead13ca522d7b8cbb47d660d3cb73c3582088985)

16 years agor14003: Clarify code that lead to Coverity report #13.
Jeremy Allison [Wed, 8 Mar 2006 01:18:18 +0000 (01:18 +0000)]
r14003: Clarify code that lead to Coverity report #13.
Not a bug, but better to remove false positives.
Jeremy.
(This used to be commit f9a75d76546bc4618736f0d48646e77d7572db25)

16 years agor14002: Quick fix for Coverity CID #12.
Jeremy Allison [Wed, 8 Mar 2006 01:04:17 +0000 (01:04 +0000)]
r14002: Quick fix for Coverity CID #12.
Jeremy
(This used to be commit 7c6e274cd578521192a0b0c4e6a4fb5dc7d722ac)

16 years agor13999: Quick fix for Coverity bug #11.
Jeremy Allison [Wed, 8 Mar 2006 01:01:34 +0000 (01:01 +0000)]
r13999: Quick fix for Coverity bug #11.
Jeremy.
(This used to be commit b9de6c926953b3321fa3850d501c807c6eabf230)