kai/samba.git
16 years agodsgetdcname: allow to use NULL mem_ctx.
Günther Deschner [Tue, 17 Jun 2008 14:18:50 +0000 (16:18 +0200)]
dsgetdcname: allow to use NULL mem_ctx.

Guenther
(This used to be commit d20353d30c2e08a6c6d67ae8b8c2faa26004249c)

16 years agolibads: fix logic error in ads_get_kvno().
Günther Deschner [Tue, 17 Jun 2008 14:17:03 +0000 (16:17 +0200)]
libads: fix logic error in ads_get_kvno().

Guenther
(This used to be commit 132b038581a1a91b4e70c7c44f97f52866609812)

16 years agoFix a memleak in svcctl_init_keys()
Volker Lendecke [Tue, 17 Jun 2008 14:06:42 +0000 (16:06 +0200)]
Fix a memleak in svcctl_init_keys()
(This used to be commit 675bb53398ba29c53d2dcf3c7122cf4770c2f938)

16 years agoFix a segfault in wbcLookupRids
Volker Lendecke [Tue, 17 Jun 2008 13:17:22 +0000 (15:17 +0200)]
Fix a segfault in wbcLookupRids

The done: part could access uninitialized memory if intermediate
BAIL_ON_WBC_ERROR fire.

Jerry, please check!

Thanks,

Volker
(cherry picked from commit 31f4c33dcc744e81be54389756378e25aa2bb75e)
(This used to be commit 5b12d8aa510689114e5413be5afe6aeb6ec2d9db)

16 years agoFix a segfault in wbcLookupSid
Volker Lendecke [Tue, 17 Jun 2008 12:53:07 +0000 (14:53 +0200)]
Fix a segfault in wbcLookupSid

If the BAIL_ON_WBC_ERROR directly after wbcRequestResponse kicks in, *domain
and *name have not been initialized yet. So the cleanup routine in the done:
part of the routine (which did not check for domain!=NULL etc) would access
uninitialized memory.

Jerry, please check!

Thanks,

Volker
(cherry picked from commit 3d7e0cc40b1992f4555807acec4f00450e30e2de)
(This used to be commit ac5ba26bb0488c3fb95072d84898c02b72c5b819)

16 years agoMerge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into 3-3-abartlet
Andrew Bartlett [Tue, 17 Jun 2008 12:46:34 +0000 (22:46 +1000)]
Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into 3-3-abartlet
(This used to be commit a09ed6016a41a9ed45716579e59a646545054f63)

16 years agoWithout stdlib.h we don't get a prototype for free().
Andrew Bartlett [Tue, 17 Jun 2008 12:45:29 +0000 (22:45 +1000)]
Without stdlib.h we don't get a prototype for free().

This test fails if GCC emits any warnings (presumably to detect the
function propertly), but unless we include this message then free()
fail.  Why we need to call free in a configure test is probably
something to blame on valgrind...

Andrew Bartlett
(This used to be commit d013f6fadc3e80fabb4a1784207dabc84f9b7dc2)

16 years agoReplace a very unusual variable declaration by a more conventional one
Volker Lendecke [Tue, 17 Jun 2008 12:31:07 +0000 (14:31 +0200)]
Replace a very unusual variable declaration by a more conventional one
(This used to be commit 9c1f334af3111e93bb8dceb661e1bc5519aa94c6)

16 years agoman pages: Move 'smbsh' man page to the examples directory.
Karolin Seeger [Tue, 17 Jun 2008 11:18:17 +0000 (13:18 +0200)]
man pages: Move 'smbsh' man page to the examples directory.

smbsh.c is located in the examples directory. It does not make sense
to install a man page without installing the tool itself.

This fixes bug #4724.

Karolin
(This used to be commit 797ed744b15c94fa4831d9796b40bb0ab5df55b7)

16 years agoFix a memleak in wbcAuthenticateUserEx()
Volker Lendecke [Tue, 17 Jun 2008 11:00:13 +0000 (13:00 +0200)]
Fix a memleak in wbcAuthenticateUserEx()
(cherry picked from commit 72b381689af9cae83ab08532cffd0188f2da4807)
(This used to be commit 20110ee5f181168dc1cbc08b7c22820d68204960)

16 years agoRevert "Fix a memleak caused by a crappy get_sorted_dc_list() API"
Volker Lendecke [Tue, 17 Jun 2008 10:21:03 +0000 (12:21 +0200)]
Revert "Fix a memleak caused by a crappy get_sorted_dc_list() API"

This reverts commit 2ea03a1e95a30e321e390bef9408a1215711de07.
(This used to be commit 80c2e8295a00c3d88372b55b81d03b455feb69b2)

16 years agoRevert "Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails"
Volker Lendecke [Tue, 17 Jun 2008 10:20:54 +0000 (12:20 +0200)]
Revert "Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails"

This reverts commit df8d089bc63c2a52cbdf3504cded8df620a59902.
(This used to be commit 342f8858200ed7c446516c270e1b4284d92010d8)

16 years agonetapi: Fix Bug #5545 (libnetapi_init without $USER)
Günther Deschner [Tue, 17 Jun 2008 08:31:44 +0000 (10:31 +0200)]
netapi: Fix Bug #5545 (libnetapi_init without $USER)

Based on patch from Erik van Pienbroek.

Guenther
(This used to be commit 71f4cf773022525ba617f09c495dbff97f8eb2d5)

16 years agonet_vampire: fix samsync_process_database().
Günther Deschner [Tue, 17 Jun 2008 08:38:07 +0000 (10:38 +0200)]
net_vampire: fix samsync_process_database().

Turns out the password hashes are not rid encrypted in the samsync reply.

Guenther
(This used to be commit 7d8d60bcbae79f3cdd55b27217145ffbd19f161d)

16 years agonet_vampire: fix build warning.
Günther Deschner [Tue, 17 Jun 2008 08:36:53 +0000 (10:36 +0200)]
net_vampire: fix build warning.

Guenther
(This used to be commit eb4232fec05cd87ea85a781b84a3fbe85f469703)

16 years agonet_vampire: use generic output filename and use correct argv element.
Günther Deschner [Mon, 16 Jun 2008 11:49:05 +0000 (13:49 +0200)]
net_vampire: use generic output filename and use correct argv element.

Guenther
(This used to be commit e0843e631e379645296a5fe34dfc83bc265ebef3)

16 years agonet_vampire: move ldif code out of net_rpc_samsync.c
Günther Deschner [Mon, 16 Jun 2008 10:37:57 +0000 (12:37 +0200)]
net_vampire: move ldif code out of net_rpc_samsync.c

Guenther
(This used to be commit 1d5758ec3a5160e5649242c42f6e4a7b39eb6199)

16 years agonet_vampire: move some samsync functions to libnet.
Günther Deschner [Mon, 16 Jun 2008 10:09:08 +0000 (12:09 +0200)]
net_vampire: move some samsync functions to libnet.

Guenther
(This used to be commit b3b6af0a3e25fab0a14c9c802dbabd3d03448ebe)

16 years agoAdd some debug to notify
Volker Lendecke [Tue, 17 Jun 2008 08:46:20 +0000 (10:46 +0200)]
Add some debug to notify
(This used to be commit 4394235378f85ccb911d662d95f1545a14240bdf)

16 years agoRemove references to SVN.
Karolin Seeger [Tue, 17 Jun 2008 08:36:51 +0000 (10:36 +0200)]
Remove references to SVN.

Karolin
(This used to be commit 9d69a809e370f98057e514a3c755b0b86ee5f610)

16 years agoRemove reference to current_user from modules/nfs4_acls.c .
Michael Adam [Mon, 16 Jun 2008 21:50:17 +0000 (23:50 +0200)]
Remove reference to current_user from modules/nfs4_acls.c .

Michael
(This used to be commit 50fbfa03483de0059d85967dc96f2896e55e6d04)

16 years agoidmap: Fix typos in comments.
Karolin Seeger [Tue, 17 Jun 2008 08:30:19 +0000 (10:30 +0200)]
idmap: Fix typos in comments.

Karolin
(This used to be commit 94a4d7fa3209eb668161b8110af6f877b4833fa7)

16 years agoFix typo.
Karolin Seeger [Tue, 17 Jun 2008 07:44:21 +0000 (09:44 +0200)]
Fix typo.

arguements -> arguments

Karolin
(This used to be commit 16b5b772d216d10613d433884634b1215efbd6e6)

16 years agowinbind cache: Don't create SN cache entries during name-to-sid queries.
Karolin Seeger [Mon, 16 Jun 2008 13:21:28 +0000 (15:21 +0200)]
winbind cache: Don't create SN cache entries during name-to-sid queries.

Clients can request name-to-sid queries for different combinations of
upper and lower case names. We don't want to create the reverse caching
entries for each combination used.

This avoids inconsistent answers on sid-to-name queries.

Please review!

Karolin
(This used to be commit b58e4f6b3d73294d8448c0dff4341183c52e5b7c)

16 years agoFix bug 5500 -- thanks to mathion at thorrovydeti.com for reporting
Volker Lendecke [Mon, 16 Jun 2008 11:27:16 +0000 (13:27 +0200)]
Fix bug 5500 -- thanks to mathion at thorrovydeti.com for reporting
(cherry picked from commit 996c3ce6f0dbe79b0679ae30afd873c24fe5b1eb)
(This used to be commit 1f86c7a2a19e66948c9b51572d3c078b6e03ef52)

16 years agoAdd forgotten protoypes
Volker Lendecke [Sun, 15 Jun 2008 16:43:37 +0000 (18:43 +0200)]
Add forgotten protoypes
(This used to be commit dee60935d443bd215e384e626d1114ae65c1a62d)

16 years agoRemove the current_user references from open.c
Volker Lendecke [Sun, 15 Jun 2008 11:41:16 +0000 (13:41 +0200)]
Remove the current_user references from open.c

current_user_info was "only" used in a debug msg, and current_user.ut.uid is
also available via conn->server_info
(This used to be commit d0386914ff0f7b0f1edc3302fdc6a25f211712fa)

16 years agoRemove the current_user reference from fake_file.c
Volker Lendecke [Sun, 15 Jun 2008 11:37:53 +0000 (13:37 +0200)]
Remove the current_user reference from fake_file.c

The current vuid is not only available there, it is also in the current
smb_request structure.
(This used to be commit c8fd5eef32a86888c7a28317f0fdf717a26b7d4c)

16 years agoRemove unused "extern struct current_user" from dir.c
Volker Lendecke [Sun, 15 Jun 2008 09:40:33 +0000 (11:40 +0200)]
Remove unused "extern struct current_user" from dir.c
(This used to be commit b92cfd19b459caad34229dfe941cf15fd14a5ce0)

16 years agoRemove the reference to current_user from file_access.c
Volker Lendecke [Sun, 15 Jun 2008 09:39:31 +0000 (11:39 +0200)]
Remove the reference to current_user from file_access.c

conn holds the current user info
(This used to be commit 093bc5f2b33ebf90e04bc17e51b1695b1b932bf2)

16 years agoFix an uninitialized variable found by the IBM checker
Volker Lendecke [Sat, 14 Jun 2008 22:22:47 +0000 (00:22 +0200)]
Fix an uninitialized variable found by the IBM checker

BAIL_ON_PTR_ERROR jumps to done: which will access extra_data before it's
initialized.

Stefan, please check!

Volker
(cherry picked from commit b59636f78d351ed6d52c4a9fdccdb7850388526c)
(This used to be commit 5663587e5e4703f9e3ff6d78d1f3248053ccd4c0)

16 years agoFix group parsing in libwbclient's copy_group_entry()
Volker Lendecke [Sat, 14 Jun 2008 22:14:27 +0000 (00:14 +0200)]
Fix group parsing in libwbclient's copy_group_entry()

This (also) fixes a flaw pointed out by the IBM checker. When verifying that I
found out that the parsing was not working as I would have expected it to.

Jerry, please check!
(cherry picked from commit c2c7790155ab02e1e351caf2bed192ce72913663)
(This used to be commit 26c05a52b73763dad5ad0525dab6e20014c3f8d6)

16 years agoMove connection-specific vuid cache clear to uid.c
Volker Lendecke [Sat, 14 Jun 2008 14:59:07 +0000 (16:59 +0200)]
Move connection-specific vuid cache clear to uid.c
(This used to be commit 1025f687910ce40283c7344ed67ebd5bf31217b7)

16 years agoSlight refactoring for check_user_ok: It only needs vuid and server_info
Volker Lendecke [Sat, 14 Jun 2008 14:55:02 +0000 (16:55 +0200)]
Slight refactoring for check_user_ok: It only needs vuid and server_info
(This used to be commit 68944ea1ea7a0a63b08cbfc703f5ee29d2627696)

16 years agoGroup the access checks together in check_user_ok()
Volker Lendecke [Sat, 14 Jun 2008 14:46:25 +0000 (16:46 +0200)]
Group the access checks together in check_user_ok()
(This used to be commit 45662b5e8b3c7bc39cb33c5d7deb7e9a91f30a8b)

16 years agoConsistently use snum in check_user_ok
Volker Lendecke [Sat, 14 Jun 2008 14:43:03 +0000 (16:43 +0200)]
Consistently use snum in check_user_ok

Most already used it, these two still used SNUM(conn), where the only caller of
this routine (change_to_user) had set snum = SNUM(conn).
(This used to be commit b14e59bfdbfb62494002e22d0665c4d420484245)

16 years agoCompare the pointer "vuser" to NULL, not 0
Volker Lendecke [Sat, 14 Jun 2008 14:35:22 +0000 (16:35 +0200)]
Compare the pointer "vuser" to NULL, not 0
(This used to be commit 5c916549f002d5e4e06f24d396a2bdca73d384c7)

16 years agoUse the correct cups-devel test for HAVE_IPRINT also
Volker Lendecke [Sat, 14 Jun 2008 08:59:11 +0000 (10:59 +0200)]
Use the correct cups-devel test for HAVE_IPRINT also
(This used to be commit a42d7e1146e7469062ead2c8f22f549a48154e03)

16 years agoCorrectly check for presence of cups-devel
Volker Lendecke [Sat, 14 Jun 2008 08:31:11 +0000 (10:31 +0200)]
Correctly check for presence of cups-devel

On SuSE at least cups-config belongs to cups-libs which does not contain the
headers which are in cups-devel.
(This used to be commit 2408d2493f7c6e0beee58febd547516bbeb0929d)

16 years agonet_vampire: rename process_database to samsync_process_database.
Günther Deschner [Fri, 13 Jun 2008 20:33:46 +0000 (22:33 +0200)]
net_vampire: rename process_database to samsync_process_database.

Guenther
(This used to be commit cf382a87602a63368587ffa2c95b774f2f97c21b)

16 years agonet_vampire: fix ldif_init_context().
Günther Deschner [Fri, 13 Jun 2008 19:57:32 +0000 (21:57 +0200)]
net_vampire: fix ldif_init_context().

Guenther
(This used to be commit 94d45b1bb97ac2b6025d429389993ac43044f5b8)

16 years agonet_vampire: split out rpc_vampire_ldif().
Günther Deschner [Fri, 13 Jun 2008 19:46:59 +0000 (21:46 +0200)]
net_vampire: split out rpc_vampire_ldif().

Guenther
(This used to be commit bcc6d3a0ebdcb904b5a2a4de63d9ed7415e9bb33)

16 years agonet_vampire: add samsync_init_context().
Günther Deschner [Fri, 13 Jun 2008 19:25:53 +0000 (21:25 +0200)]
net_vampire: add samsync_init_context().

Guenther
(This used to be commit 63ca4414b62657983c27d2930483aa56f9c78ccf)

16 years agonet_vampire: add samsync_debug_str().
Günther Deschner [Fri, 13 Jun 2008 19:11:55 +0000 (21:11 +0200)]
net_vampire: add samsync_debug_str().

Guenther
(This used to be commit bbfe5bcaf5ec5d06ffd110ab362ea3f228867603)

16 years agonet_vampire: restructure internal code more.
Günther Deschner [Thu, 12 Jun 2008 10:35:46 +0000 (12:35 +0200)]
net_vampire: restructure internal code more.

Guenther
(This used to be commit 9557504d70fe57098914da131b39212faf4f0a7d)

16 years agonet_vampire: start using talloc for the ldif vampire code.
Günther Deschner [Wed, 11 Jun 2008 00:29:58 +0000 (02:29 +0200)]
net_vampire: start using talloc for the ldif vampire code.

Guenther
(This used to be commit ae179e4f3faccbf2c9f19b6f070f5daf87cdfc50)

16 years agonet_vampire: join dump and process function into one callback.
Günther Deschner [Tue, 10 Jun 2008 23:46:58 +0000 (01:46 +0200)]
net_vampire: join dump and process function into one callback.

Guenther
(This used to be commit e9b79f34d5afe10ee8d9b1e2dd19c8aafa533579)

16 years agonet_vampire: let fetch_database and fetch_database_to_ldif use sid pointers.
Günther Deschner [Tue, 10 Jun 2008 23:29:36 +0000 (01:29 +0200)]
net_vampire: let fetch_database and fetch_database_to_ldif use sid pointers.

Guenther
(This used to be commit 0707d32042b23d615b57b2f955775472b766770e)

16 years agonet_vampire: let dump_database() return NTSTATUS.
Günther Deschner [Tue, 10 Jun 2008 23:23:43 +0000 (01:23 +0200)]
net_vampire: let dump_database() return NTSTATUS.

Guenther
(This used to be commit b5a0e2d18f8d5c98326fefbda5972c02f898ed82)

16 years agoFix a handle leak for error returns in ldb_try_load_dso
Volker Lendecke [Fri, 13 Jun 2008 14:05:31 +0000 (16:05 +0200)]
Fix a handle leak for error returns in ldb_try_load_dso

Coverity ID 464
(cherry picked from commit 496d44d2f21661c85bf07e8eb7cae6298fefd900)
(This used to be commit f30bc6503de6c712101e04fe26c004eeffcd300e)

16 years agoFix a crash in _winreg_QueryValue
Volker Lendecke [Fri, 13 Jun 2008 13:30:08 +0000 (15:30 +0200)]
Fix a crash in _winreg_QueryValue

Coverity ID 474, value_length and type are both unique, not ref pointers and
can thus be NULL.

Karolin, please merge this to -stable.

Thanks,

Volker
(cherry picked from commit 999533c0ccced59141d8baff5bc248d63e2a966f)
(This used to be commit 7e07ec68f15908a998f83d615a1b4d1349935a54)

16 years agosamsync: add prototype for samsync_fix_delta_array().
Günther Deschner [Fri, 13 Jun 2008 10:30:36 +0000 (12:30 +0200)]
samsync: add prototype for samsync_fix_delta_array().

Guenther
(This used to be commit 6c1904f8be1b4e08b09b64052c1aba24e7a4fb3d)

16 years agonet: Fix bug #5542 (samsync contains empty passwords).
Günther Deschner [Fri, 13 Jun 2008 10:20:01 +0000 (12:20 +0200)]
net: Fix bug #5542 (samsync contains empty passwords).

Guenther
(cherry picked from commit 1a22e975dd1255f3557c1cd873d877aa35822afc)
(This used to be commit ad8392cf7c817ee29a03bc6f515bf1cc18a29eda)

16 years agosamsync: add samsync_fix_delta_array()
Günther Deschner [Fri, 13 Jun 2008 09:57:09 +0000 (11:57 +0200)]
samsync: add samsync_fix_delta_array()

This code is vastly based on samba4 code.

Guenther
(cherry picked from commit 5b68be96996a710988b1fd1c176cd5dff0f2c6af)
(This used to be commit 2c53d87de4ecc5ac9c43bc7488a03bceecf35140)

16 years agonet: Fix net_ads.c build for the HAVE_ADS == 0 case.
Kai Blin [Thu, 12 Jun 2008 09:50:09 +0000 (11:50 +0200)]
net: Fix net_ads.c build for the HAVE_ADS == 0 case.

Thanks to Karolin for catching this one.
(This used to be commit 7f52998f5461ed7d976faa2254464336dcf73c02)

16 years agoAIX build fixes from William Jojo -- thanks
Volker Lendecke [Thu, 12 Jun 2008 10:36:15 +0000 (12:36 +0200)]
AIX build fixes from William Jojo -- thanks
(cherry picked from commit cb91a47576e820390bc62195702aaae93a2feba6)
(This used to be commit 90d7bc6da3c92e104fadd5965a730fbe01be33d5)

16 years agoAdd -brtl to the AIX linker flags
Volker Lendecke [Thu, 12 Jun 2008 10:35:28 +0000 (12:35 +0200)]
Add -brtl to the AIX linker flags

Thanks to William Jojo
(cherry picked from commit 74b195b54416d9e3eb46079a71eed31a15c7293a)
(This used to be commit 5ffad12d68288eca4756519ec7ab90995a277517)

16 years agonet: Fix several typos in comments.
Karolin Seeger [Thu, 12 Jun 2008 08:55:55 +0000 (10:55 +0200)]
net: Fix several typos in comments.

-argc -> argv (where argv is meant)
-destoyed -> destroyed
-compleation -> completion
-aquired -> acquired
-Unify spelling of some words like rpc-server -> RPC server.
-Add missing punctuation marks.

Karolin
(This used to be commit f4850c37df166c3ab4ec3c532aefd87b5c7e2ad8)

16 years agoman pages: Fix indentation in smb.conf section about 'map readonly'.
Karolin Seeger [Thu, 12 Jun 2008 07:34:15 +0000 (09:34 +0200)]
man pages: Fix indentation in smb.conf section about 'map readonly'.
(This used to be commit 0f0d81a89ae2ebae7d031a3a8633c3a924ebcbae)

16 years agoman pages: Added improvements.
Christoph Zauner [Wed, 11 Jun 2008 13:15:22 +0000 (15:15 +0200)]
man pages: Added improvements.
(This used to be commit 7fecd548af0a21b9644bd70e22a38aaa28777aa0)

16 years agoman pages: Fix typo in smb.conf section about the 'deleteprinter command'.
Karolin Seeger [Thu, 12 Jun 2008 07:26:32 +0000 (09:26 +0200)]
man pages: Fix typo in smb.conf section about the 'deleteprinter command'.

Karolin
(This used to be commit 5fa77c216bc43c3558aff3373f74554efdb9210d)

16 years agoman pages: Fix typos.
Christoph Zauner [Wed, 11 Jun 2008 13:17:21 +0000 (15:17 +0200)]
man pages: Fix typos.
(This used to be commit 881eaa26e071a7fde9c6fc5eb42ae122d0ddd490)

16 years agoSamba3-HOWTO: Fix typos.
Christoph Zauner [Wed, 11 Jun 2008 12:49:30 +0000 (14:49 +0200)]
Samba3-HOWTO: Fix typos.
(This used to be commit 2391d999eb733bd8d12631478f4318608225cbb6)

16 years agoFix typos.
Christoph Zauner [Wed, 11 Jun 2008 12:05:47 +0000 (14:05 +0200)]
Fix typos.
(This used to be commit b2390aa738f6384016600dffb8065bd0bcda6ef1)

16 years agoFix max_fd calculation in event_loop_once
Volker Lendecke [Wed, 11 Jun 2008 16:56:20 +0000 (18:56 +0200)]
Fix max_fd calculation in event_loop_once

For some bugs I really wonder how they can go undetected for so long.

Fix a bug reported by Mathias Dietz. No samba bugzilla entry, but still 100%
needed for 3-2-stable.

Volker
(cherry picked from commit 82c994dabc47bb4755c883a1f3651bb5d65cf2c5)
(This used to be commit 91c73e093a03b10426b671cb3e1dffb8a2455d47)

16 years agorpc_client: fix some valgrind warnings.
Günther Deschner [Wed, 11 Jun 2008 08:44:47 +0000 (10:44 +0200)]
rpc_client: fix some valgrind warnings.

Guenther
(This used to be commit 0352682a355b42ced7628a720a6889d8453e7946)

16 years agore-run make idl.
Günther Deschner [Tue, 10 Jun 2008 18:50:53 +0000 (20:50 +0200)]
re-run make idl.

Guenther
(This used to be commit 3a73fe564f07ef057bfc3b61367acf940067269d)

16 years agoidl: fix drsuapi_DsGetNCChanges.
Günther Deschner [Tue, 10 Jun 2008 18:50:25 +0000 (20:50 +0200)]
idl: fix drsuapi_DsGetNCChanges.

Guenther
(This used to be commit 652af123b214e30d0edf1d5626849484c6bb5045)

16 years agonet: remove some dead code.
Günther Deschner [Tue, 10 Jun 2008 22:56:44 +0000 (00:56 +0200)]
net: remove some dead code.

Guenther
(This used to be commit cdd1ce797aefa07780a73d0793c450e2d96f17bb)

16 years agopam_winbind: Update cached creds during password change.
Günther Deschner [Wed, 11 Jun 2008 07:52:56 +0000 (09:52 +0200)]
pam_winbind: Update cached creds during password change.

Fix is from Bo Yang @ Novell.

Thanks!
(This used to be commit e4eb9d347d14de8c9ba73b07f26fe8fd4f17eab5)

16 years agorpcclient: add more useful comments what sign/seal commands are doing.
Günther Deschner [Tue, 10 Jun 2008 19:34:23 +0000 (21:34 +0200)]
rpcclient: add more useful comments what sign/seal commands are doing.

Guenther
(This used to be commit ec278d8bc82e86c98d24277eb50633f8cd4c7600)

16 years agoCorrectly find a [u]int32_t replacement
Volker Lendecke [Tue, 10 Jun 2008 14:14:30 +0000 (16:14 +0200)]
Correctly find a [u]int32_t replacement
(cherry picked from commit 346375cda557a675f8f882ca2ae8edffec725a72)
(This used to be commit 15a53945c9563b4517bd8b69a9bb0554eef5edff)

16 years agoFix some scary FC9 warnings
Volker Lendecke [Tue, 10 Jun 2008 12:15:01 +0000 (14:15 +0200)]
Fix some scary FC9 warnings
(cherry picked from commit 6b0fed09ea34409d1c61bae9121bdb38d4c68d62)
(This used to be commit f1e85ff2bc4eea2c50d7d71caca16b9051ca5e8c)

16 years agoman pages: Don't refer to numbered chapter of the HOWTO collection.
Karolin Seeger [Tue, 10 Jun 2008 13:30:19 +0000 (15:30 +0200)]
man pages: Don't refer to numbered chapter of the HOWTO collection.

This fixes bug #5527.
Thanks to the Debian package maintainers for reporting!

Karolin
(This used to be commit b6696f4fbfc6aaffceef71c6099b8eaea58c1172)

16 years agosocket_wrapper: truncate packets to a 1500 byte payload
Stefan Metzmacher [Tue, 10 Jun 2008 06:33:24 +0000 (08:33 +0200)]
socket_wrapper: truncate packets to a 1500 byte payload

Truncate sendto(), recvfrom(), send() and recv() to 1500 bytes
so that're getting a correctly formatted pcap file and the result
look more like real network traffic.

metze
(cherry picked from commit 5b01206f1bb2e62c08bda34b45904ec4f83ac5de)
(This used to be commit eb8c37a1ca97b41de00ec937a90bfdbe9cd21531)

16 years agosocket_wrapper: sync missing stuff from v4-0-test
Stefan Metzmacher [Tue, 10 Jun 2008 07:21:05 +0000 (09:21 +0200)]
socket_wrapper: sync missing stuff from v4-0-test

metze
(This used to be commit b03c2793548834a1dc0483b03081d872ab1e17f0)

16 years agoFactor out IP marshalling into separate function.
Jelmer Vernooij [Tue, 19 Feb 2008 22:53:04 +0000 (23:53 +0100)]
Factor out IP marshalling into separate function.
(cherry picked from commit 2548c2a1e7dab8abc00f8f49374a08cc0b427552)
(This used to be commit e4e015caac88f6e31ca6d8fcda5a97a11aee226d)

16 years agor25783: socket_wrapper: don't include "includes.h"
Stefan Metzmacher [Thu, 1 Nov 2007 12:10:59 +0000 (13:10 +0100)]
r25783: socket_wrapper: don't include "includes.h"

metze
(cherry picked from commit 47f865165e772540334dcbcf80cfc1999b0132fa)
(This used to be commit 4d5bfcc731b44267e2c30fccdca72b6058b16bfb)

16 years agor23420: try to make the IBM checker happy
Stefan Metzmacher [Mon, 11 Jun 2007 14:41:14 +0000 (14:41 +0000)]
r23420: try to make the IBM checker happy

metze
(cherry picked from commit 96f1a0dfaa18a432fca4b5432d929d8daed0abb1)
(This used to be commit 801ed0b79956133f2baa6b2db4a7dd5a68060edc)

16 years agor22236: Update to Heimdal's socket_wrapper, which supports IPv6.
Stefan Metzmacher [Tue, 10 Jun 2008 07:00:37 +0000 (09:00 +0200)]
r22236: Update to Heimdal's socket_wrapper, which supports IPv6.

To make this pass, I needed to add support for 6 and 17 as valid
protocol values to socket().

Andrew Bartlett
(partly cherry picked from commit 2254e61a1e5b29a64c5a24aac029ace193057e24)

metze
(This used to be commit 66b9f6f3722defd0863b055916b302478715704b)

16 years agor21729: Some more tests
Jelmer Vernooij [Tue, 6 Mar 2007 23:03:34 +0000 (23:03 +0000)]
r21729: Some more tests
(cherry picked from commit d2baa8218cf504d6631d610f9fd393ad8c61574c)
(This used to be commit cf6d815ba82a25c1e1f1dfdb8548cc588d44d1aa)

16 years agor21671: Add initial simple tests for socket wrapper
Stefan Metzmacher [Tue, 10 Jun 2008 06:53:34 +0000 (08:53 +0200)]
r21671: Add initial simple tests for socket wrapper
(partly cherry picked from commit 872e2ad541478597191ca9e31872d5c8e2bbb832)

metze
(This used to be commit 8003f00a28bb7237ec1b1f4eb9687c542a86c2b2)

16 years agor19409: Pull in <sys/time.h> for struct timeval for non samba build (don't
Love Hörnquist Åstrand [Thu, 19 Oct 2006 04:56:21 +0000 (04:56 +0000)]
r19409: Pull in <sys/time.h> for struct timeval for non samba build (don't
depend on namespace pollution)
(cherry picked from commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612)
(This used to be commit d22701b196bded3294776b144a7a990de23741e9)

16 years agor19367: Solaris needs <sys/filio.h> for FIONREAD.
Love Hörnquist Åstrand [Tue, 17 Oct 2006 09:35:45 +0000 (09:35 +0000)]
r19367: Solaris needs <sys/filio.h> for FIONREAD.
(cherry picked from commit e2866ce78851a84c937408c0781fcc1e7107f663)
(This used to be commit 3db8b246c8abfc4efed08d7630e61a81b9d8bf48)

16 years agoman pages: Fix broken smb.conf section about the 'get quota command'.
Karolin Seeger [Tue, 10 Jun 2008 08:54:21 +0000 (10:54 +0200)]
man pages: Fix broken smb.conf section about the 'get quota command'.

This fixes bug #5422.
Thanks to the Debian package maintainers for reporting!

Karolin
(This used to be commit 04e2470e2eeef34362f2893ec062ae16f74c28ed)

16 years agonet: Rename functable3 to functable, get rid of old functables
Kai Blin [Sat, 7 Jun 2008 00:25:08 +0000 (02:25 +0200)]
net: Rename functable3 to functable, get rid of old functables
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)

16 years agonet: Make "net sam" use functable3
Kai Blin [Sat, 7 Jun 2008 00:13:52 +0000 (02:13 +0200)]
net: Make "net sam" use functable3
(This used to be commit b161fb7cfe3d0f5c2e853d5759420817c6ed7c0f)

16 years agonet: Make "net rpc registry" use functable3
Kai Blin [Fri, 6 Jun 2008 23:27:41 +0000 (01:27 +0200)]
net: Make "net rpc registry" use functable3
(This used to be commit 08dd5f5311d97544d5cb3067f019260a9161ef81)

16 years agonet: Make "net registry" use functable3
Kai Blin [Fri, 6 Jun 2008 23:10:59 +0000 (01:10 +0200)]
net: Make "net registry" use functable3
(This used to be commit 47f7308e4ee7422a6d9c578c1073b0207969fbb2)

16 years agonet: Make "net conf" use a functable similar to functable3
Kai Blin [Fri, 6 Jun 2008 23:02:13 +0000 (01:02 +0200)]
net: Make "net conf" use a functable similar to functable3
(This used to be commit b8382bc3af318226a1160c6c39627e7a32e050ab)

16 years agonet: Use d_printf() instead of printf() in net_ads_gpo.c
Kai Blin [Fri, 6 Jun 2008 09:07:04 +0000 (11:07 +0200)]
net: Use d_printf() instead of printf() in net_ads_gpo.c
(This used to be commit d0d1346f209ab66754fe2141d22115934ed6f728)

16 years agonet: Make "net rpc service" use functable3
Kai Blin [Wed, 21 May 2008 08:37:10 +0000 (10:37 +0200)]
net: Make "net rpc service" use functable3
(This used to be commit aa06cd5cb2c72cc6c883bbfafe43546accce00a1)

16 years agonet: Make "net rpc rights" use functable3
Kai Blin [Wed, 21 May 2008 08:34:34 +0000 (10:34 +0200)]
net: Make "net rpc rights" use functable3
(This used to be commit b0e373e595d66bd92b685dd98fc8967d45532e41)

16 years agonet: Make "net rpc audit" use functable3
Kai Blin [Wed, 21 May 2008 08:31:14 +0000 (10:31 +0200)]
net: Make "net rpc audit" use functable3
(This used to be commit c47ff2bff6d97a5e7654849965253928a825fe6a)

16 years agonet: Make "net rpc" use functable3
Kai Blin [Wed, 21 May 2008 08:27:59 +0000 (10:27 +0200)]
net: Make "net rpc" use functable3
(This used to be commit 428b56863c3963ecd041b8398d5683c92fa64307)

16 years agonet: Make "net rap" use functable3
Kai Blin [Wed, 21 May 2008 07:05:35 +0000 (09:05 +0200)]
net: Make "net rap" use functable3
(This used to be commit 7a2364518c4200befb419f2bcbf3afd425fd7a6f)

16 years agonet: Make "net ads gpo" use functable3
Kai Blin [Wed, 21 May 2008 06:28:15 +0000 (08:28 +0200)]
net: Make "net ads gpo" use functable3
(This used to be commit 4418b4da61646172981fd54e4bfb6a038feb640b)

16 years agonet: Make "net ads" use functable3
Kai Blin [Tue, 20 May 2008 11:35:04 +0000 (13:35 +0200)]
net: Make "net ads" use functable3
(This used to be commit 64e3dc63966ecf216b354263e4bd5dfd1491abcc)

16 years agonet: Make "net usershare" use functable3
Kai Blin [Mon, 19 May 2008 14:36:18 +0000 (16:36 +0200)]
net: Make "net usershare" use functable3
(This used to be commit b45ada159e1eec757eaf5210517139aae4159119)

16 years agonet: Fix comment for net_time_zone()
Kai Blin [Thu, 5 Jun 2008 20:14:38 +0000 (22:14 +0200)]
net: Fix comment for net_time_zone()
(This used to be commit aea3466d12e31f8f506c21b856235e2e2aa40090)