ira/wip.git
13 years agoAdd missing quote. Fix bug 5172. Thanks to Jason Filley <jason@snakelegs.org> for...
Karolin Seeger [Tue, 8 Jan 2008 11:23:25 +0000 (12:23 +0100)]
Add missing quote. Fix bug 5172. Thanks to Jason Filley <jason@snakelegs.org> for reporting!

Karolin
(This used to be commit 6be1ee8e6fb4e7fd413098c40b40569a980bd7a5)

13 years agoCorrectly talloc ctx->remote_path in libgpo (thanks Michael for the pointer).
Günther Deschner [Tue, 8 Jan 2008 11:25:47 +0000 (12:25 +0100)]
Correctly talloc ctx->remote_path in libgpo (thanks Michael for the pointer).

Guenther
(This used to be commit 2ea57a76a6bc8f9c835818780fcc9324896d5c1f)

13 years agoRemove redundant parameter fd from SMB_VFS_AIO_CANCEL().
Michael Adam [Tue, 8 Jan 2008 11:20:51 +0000 (12:20 +0100)]
Remove redundant parameter fd from SMB_VFS_AIO_CANCEL().

Michael
(This used to be commit 3c997ae0002d4c50e8899600c17ddf74ac61f6f0)

13 years agoCorrectly free buffers in netdomjoin-gui.
Günther Deschner [Tue, 8 Jan 2008 10:55:45 +0000 (11:55 +0100)]
Correctly free buffers in netdomjoin-gui.

Guenther
(This used to be commit 04d78d4d9a8cffe44c927036038aef1d6d6b44b2)

13 years agoMake name_buffer in NetGetJoinInformation() talloced.
Günther Deschner [Tue, 8 Jan 2008 10:54:51 +0000 (11:54 +0100)]
Make name_buffer in NetGetJoinInformation() talloced.

Guenther
(This used to be commit 421905fb608df6736944ac21ac67abee24991521)

13 years agoAdd NetApiBufferFree() to libnetapi.
Günther Deschner [Tue, 8 Jan 2008 10:53:38 +0000 (11:53 +0100)]
Add NetApiBufferFree() to libnetapi.

Guenther
(This used to be commit c49196954d38f0c2851abbfe25086cd6fe660a2e)

13 years agoFix crash bug when strequal is used too late in libnetapi_free.
Günther Deschner [Tue, 8 Jan 2008 10:49:35 +0000 (11:49 +0100)]
Fix crash bug when strequal is used too late in libnetapi_free.

Guenther
(This used to be commit ba2b8a310e1d6f78116350e24c17ae4db08b9bed)

13 years agoWhen unjoining fails (e.g. missing creds) make sure we still correct config.
Günther Deschner [Tue, 8 Jan 2008 10:46:11 +0000 (11:46 +0100)]
When unjoining fails (e.g. missing creds) make sure we still correct config.

Guenther
(This used to be commit 7f51583f681b1acc9bfbab6ee0e2d1c13d2c4ca4)

13 years agoRemove redundant parameter fd from SMB_VFS_FSETXATTR().
Michael Adam [Tue, 8 Jan 2008 10:47:33 +0000 (11:47 +0100)]
Remove redundant parameter fd from SMB_VFS_FSETXATTR().

Michael
(This used to be commit 0bd2643463a9160c8a1c7e1c2f8cca7b89060e09)

13 years agoRemove redundant parameter fd from SMB_VFS_FREMOVEXATTR().
Michael Adam [Tue, 8 Jan 2008 10:29:09 +0000 (11:29 +0100)]
Remove redundant parameter fd from SMB_VFS_FREMOVEXATTR().

Michael
(This used to be commit bfc3b5a27f707d3e4b8d5d66192891e22365fbb3)

13 years agoRemove redundant parameter fd from SMB_VFS_FLISTXATTR().
Michael Adam [Tue, 8 Jan 2008 09:51:40 +0000 (10:51 +0100)]
Remove redundant parameter fd from SMB_VFS_FLISTXATTR().

Michael
(This used to be commit 167649b3b8bc293f8434ffc9fb5f80463e4e75be)

13 years agoRemove redundant parameter fd from SMB_VFS_FGETXATTR().
Michael Adam [Tue, 8 Jan 2008 09:00:47 +0000 (10:00 +0100)]
Remove redundant parameter fd from SMB_VFS_FGETXATTR().

Michael
(This used to be commit 2cb739a82dc6bb194d60718cc74b26ee7c1c46a7)

13 years agoRemove forgotton fd from solarisacl_sys_acl_get_fd().
Michael Adam [Tue, 8 Jan 2008 00:56:56 +0000 (01:56 +0100)]
Remove forgotton fd from solarisacl_sys_acl_get_fd().

Michael
(This used to be commit 38f34b1d743caaf9f2d750580b991958d260fead)

13 years agoRemove redundant parameter fd from SMB_VFS_SYS_ACL_SET_FD().
Michael Adam [Tue, 8 Jan 2008 00:54:19 +0000 (01:54 +0100)]
Remove redundant parameter fd from SMB_VFS_SYS_ACL_SET_FD().

Michael
(This used to be commit 9296e93588c0e795cae770765050247ac1474a74)

13 years agoRemove redundant parameter fd from SMB_VFS_FCHMOD_ACL().
Michael Adam [Tue, 8 Jan 2008 00:14:24 +0000 (01:14 +0100)]
Remove redundant parameter fd from SMB_VFS_FCHMOD_ACL().

Michael
(This used to be commit 7b201c177b3668f54751ba17d6a0b53ed913e7f7)

13 years agoAdd comment.
Michael Adam [Mon, 7 Jan 2008 23:21:58 +0000 (00:21 +0100)]
Add comment.

Michael
(This used to be commit 8b52626f7fd30e1bdf2dd3b4263de1aff282cdd5)

13 years agoRemove redundant parameter fd from SMB_VFS_SYS_ACL_GET_FD().
Michael Adam [Mon, 7 Jan 2008 22:53:34 +0000 (23:53 +0100)]
Remove redundant parameter fd from SMB_VFS_SYS_ACL_GET_FD().

Michael
(This used to be commit 42663e8736e1a3dfb57e0aafdcbf5fec880da779)

13 years agoRefactor our DsGetDcName call a bit (before it will move into libnetapi).
Günther Deschner [Mon, 7 Jan 2008 22:05:58 +0000 (23:05 +0100)]
Refactor our DsGetDcName call a bit (before it will move into libnetapi).

Guenther
(This used to be commit 41c129da3d33f9fc2864d360e4b6ec5a72caf2a3)

13 years agoEnable talloc reporting in libnetapi if DEVELOPER compiled.
Günther Deschner [Mon, 7 Jan 2008 21:48:19 +0000 (22:48 +0100)]
Enable talloc reporting in libnetapi if DEVELOPER compiled.

Guenther
(This used to be commit 01e9151546a83e0c772a144efa85437ca0c8a307)

13 years agoRemove redundant parameter fd from SMB_VFS_GETLOCK().
Michael Adam [Mon, 7 Jan 2008 21:18:50 +0000 (22:18 +0100)]
Remove redundant parameter fd from SMB_VFS_GETLOCK().

Michael
(This used to be commit ee5a20becdcdb20d7012732b324c6938fab44f67)

13 years agoRemove redundant parameter fd from SMB_VFS_LINUX_SETLEASE().
Michael Adam [Mon, 7 Jan 2008 20:47:53 +0000 (21:47 +0100)]
Remove redundant parameter fd from SMB_VFS_LINUX_SETLEASE().

Michael
(This used to be commit 8880eb82f16d561a4023ec8426f8ea35c579a7a6)

13 years agoDo not talloc_strdup filename and servicepath
Volker Lendecke [Mon, 7 Jan 2008 11:57:10 +0000 (12:57 +0100)]
Do not talloc_strdup filename and servicepath
(This used to be commit 66be770993acf4e1673e9615bcddb21768c33e62)

13 years agomake db_tdb_fetch use tdb_parse_record
Volker Lendecke [Sun, 6 Jan 2008 23:41:26 +0000 (00:41 +0100)]
make db_tdb_fetch use tdb_parse_record
(This used to be commit 88d82d0623e71ae1ef4f8fdefba10e3a230ea526)

13 years agoChange db_tdb_fetch_locked to use only one talloc
Volker Lendecke [Sun, 6 Jan 2008 23:14:24 +0000 (00:14 +0100)]
Change db_tdb_fetch_locked to use only one talloc
(This used to be commit 921c8657e2eeb71d5b9ae2675255a852b26cc30d)

13 years agotalloc_stackframe only needs 1 talloc
Volker Lendecke [Sun, 6 Jan 2008 16:25:20 +0000 (17:25 +0100)]
talloc_stackframe only needs 1 talloc
(This used to be commit c0c2084d40b79e949dab7c68626aa665b9ea1a8e)

13 years agoTrying to make the buildfarm w/o krb5 happy.
Günther Deschner [Mon, 7 Jan 2008 19:56:34 +0000 (20:56 +0100)]
Trying to make the buildfarm w/o krb5 happy.

Guenther
(This used to be commit 079f2eba81886707ea4b18f103e097dbac994b2f)

13 years agoThere is no LDAP in some corners of this world. Fix the build...
Günther Deschner [Mon, 7 Jan 2008 19:41:55 +0000 (20:41 +0100)]
There is no LDAP in some corners of this world. Fix the build...

Guenther
(This used to be commit 83ed37023c2be4c6b4d99d8117ac8438a413112c)

13 years agoFinally use libnet_join_set_* functions in libnetjoin.
Günther Deschner [Mon, 7 Jan 2008 19:20:03 +0000 (20:20 +0100)]
Finally use libnet_join_set_* functions in libnetjoin.

Guenther
(This used to be commit 1436670854ae635cfa2a69939d3ac31da87c3f66)

13 years agoMerge remaining post-AD-join functions from net into libnet_join.
Günther Deschner [Mon, 7 Jan 2008 19:16:57 +0000 (20:16 +0100)]
Merge remaining post-AD-join functions from net into libnet_join.

Guenther
(This used to be commit 3e816d7555218192881d79645fca26981a7099c7)

13 years agoIn libnetapi example, use libnetapi_get_error_string().
Günther Deschner [Mon, 7 Jan 2008 19:10:47 +0000 (20:10 +0100)]
In libnetapi example, use libnetapi_get_error_string().

Guenther
(This used to be commit b624db92d61809a44881abbdd09dfa3a74ff7a88)

13 years agoIn the local path of NetJoinDomain, try to get error string from libnetjoin.
Günther Deschner [Mon, 7 Jan 2008 19:08:45 +0000 (20:08 +0100)]
In the local path of NetJoinDomain, try to get error string from libnetjoin.

Guenther
(This used to be commit 0f0f0e13022da584b77e850fec2cef6169e1ac28)

13 years agoAdd libnetapi_set_error_string and libnetapi_get_error_string.
Günther Deschner [Mon, 7 Jan 2008 19:06:41 +0000 (20:06 +0100)]
Add libnetapi_set_error_string and libnetapi_get_error_string.

Guenther
(This used to be commit f8806bad8134d544229c426f58bee143ba752cf8)

13 years agoAdd krb5 cc env to libnetapi_ctx.
Günther Deschner [Mon, 7 Jan 2008 19:03:32 +0000 (20:03 +0100)]
Add krb5 cc env to libnetapi_ctx.

Guenther
(This used to be commit df2b078fa1658bdbff1280f7fe0b062d9eabd60c)

13 years agoLet libnetapi use it's own krb5 cred cache in memory if necessary.
Günther Deschner [Mon, 7 Jan 2008 19:01:28 +0000 (20:01 +0100)]
Let libnetapi use it's own krb5 cred cache in memory if necessary.

Guenther
(This used to be commit 863fb30038e384585502f0154a742481594b99d0)

13 years agoAdd libnet_join_find_machine_acct().
Günther Deschner [Mon, 7 Jan 2008 18:31:20 +0000 (19:31 +0100)]
Add libnet_join_find_machine_acct().

Guenther
(This used to be commit f550ed02ff9e0546c63064ab9dac760eac7e1e16)

13 years agoHonor the WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag when unjoining from AD.
Günther Deschner [Mon, 7 Jan 2008 18:11:26 +0000 (19:11 +0100)]
Honor the WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag when unjoining from AD.

Guenther
(This used to be commit ed164b523e63c3ebf2c822a00a877ef169738a3a)

13 years agoRearrange libnet join code and add support for account pre-creation in AD.
Günther Deschner [Mon, 7 Jan 2008 18:07:38 +0000 (19:07 +0100)]
Rearrange libnet join code and add support for account pre-creation in AD.

Guenther
(This used to be commit 18ae8580420c37aa4b189eb5ce53cc65a9827d95)

13 years agoAdd ADS_STRUCTs to libnetjoin and -unjoin, with talloc destructors.
Günther Deschner [Mon, 7 Jan 2008 17:58:04 +0000 (18:58 +0100)]
Add ADS_STRUCTs to libnetjoin and -unjoin, with talloc destructors.

Guenther
(This used to be commit 985d45206990988894e05ea6fb0aacc7396a6db4)

13 years agoAdd error_string to libnetjoin and libnetunjoin structures incl. set functions.
Günther Deschner [Mon, 7 Jan 2008 17:46:07 +0000 (18:46 +0100)]
Add error_string to libnetjoin and libnetunjoin structures incl. set functions.

Guenther
(This used to be commit 4f9985bb33aa5973e6b685a45039c8e227487db1)

13 years agoRearrange order of libnet join context init.
Günther Deschner [Mon, 7 Jan 2008 17:41:49 +0000 (18:41 +0100)]
Rearrange order of libnet join context init.

Guenther
(This used to be commit 89669c66f27fb47c9769d1058e29bff83f862752)

13 years agoFree libnet_JoinCtx after joining.
Günther Deschner [Mon, 7 Jan 2008 17:40:25 +0000 (18:40 +0100)]
Free libnet_JoinCtx after joining.

Guenther
(This used to be commit 5abae9ef15fa9884c5c4a0e256274f70f6ecd779)

13 years agoClose registry in libnetapi_free().
Günther Deschner [Mon, 7 Jan 2008 17:37:04 +0000 (18:37 +0100)]
Close registry in libnetapi_free().

Guenther
(This used to be commit e7258a4408e40686ff090d0f8e120ce78acbd097)

13 years agoAdd NET_API_STATUS_SUCCESS define.
Günther Deschner [Mon, 7 Jan 2008 17:36:06 +0000 (18:36 +0100)]
Add NET_API_STATUS_SUCCESS define.

Guenther
(This used to be commit a72ad63163a8c642ea762087a739e6d63c37647a)

13 years agoRemove redundant parameter fd from SMB_VFS_KERNEL_FLOCK().
Michael Adam [Mon, 7 Jan 2008 16:14:20 +0000 (17:14 +0100)]
Remove redundant parameter fd from SMB_VFS_KERNEL_FLOCK().

Michael
(This used to be commit 195c519377c2fdc655e25760b52bc0694b8dda81)

13 years agoFix wrong unused opaque macro for kernel_flock().
Michael Adam [Mon, 7 Jan 2008 15:59:10 +0000 (16:59 +0100)]
Fix wrong unused opaque macro for kernel_flock().

Michael
(This used to be commit 5c01309a2b078f08c4f0caf802d81c9b3d53382f)

13 years agoRemove redundant parameter fd from SMB_VFS_LOCK().
Michael Adam [Mon, 7 Jan 2008 15:38:23 +0000 (16:38 +0100)]
Remove redundant parameter fd from SMB_VFS_LOCK().

Michael
(This used to be commit 4f3ab2c406072e0b43581057e7e785e8ad454cfa)

13 years agoFix the build: Fix caller of strict_allocate_ftruncate().
Michael Adam [Mon, 7 Jan 2008 15:12:03 +0000 (16:12 +0100)]
Fix the build: Fix caller of strict_allocate_ftruncate().

Michael
(This used to be commit 20691272a1e2562ab8c6143978d324af0334f871)

13 years agoRemove redundant parameter fd from SMB_VFS_FTRUNCATE().
Michael Adam [Mon, 7 Jan 2008 14:55:09 +0000 (15:55 +0100)]
Remove redundant parameter fd from SMB_VFS_FTRUNCATE().

Michael
(This used to be commit 2ad66050a0452b8e7e08b1e7a01efa00c72fd451)

13 years agoRemove redundant parameter fd from SMB_VFS_FCHOWN().
Michael Adam [Mon, 7 Jan 2008 13:26:00 +0000 (14:26 +0100)]
Remove redundant parameter fd from SMB_VFS_FCHOWN().

Michael
(This used to be commit fbb193db3e0dc51cb000ae406a68bc547f31d9ab)

13 years agoRemove redundant parameter fd from SMB_VFS_FCHMOD().
Michael Adam [Mon, 7 Jan 2008 12:44:37 +0000 (13:44 +0100)]
Remove redundant parameter fd from SMB_VFS_FCHMOD().

Michael
(This used to be commit a54d5604da556d1250ca9948d4acc4a187a9fede)

13 years agoRemove redundant parameter fd from SMB_VFS_FSTAT().
Michael Adam [Mon, 7 Jan 2008 12:21:26 +0000 (13:21 +0100)]
Remove redundant parameter fd from SMB_VFS_FSTAT().

Michael
(This used to be commit 0b86c420be94d295f6917a220b5d699f65b46711)

13 years agoRemove redundant parameter fd from SMB_VFS_FSYNC().
Michael Adam [Mon, 7 Jan 2008 11:49:02 +0000 (12:49 +0100)]
Remove redundant parameter fd from SMB_VFS_FSYNC().

Michael
(This used to be commit 8f83c9a7b245dbfef28195f9a7f33047a8ba95a0)

13 years agoRemove redundant parameter fd from SMB_VFS_LSEEK().
Michael Adam [Mon, 7 Jan 2008 09:15:08 +0000 (10:15 +0100)]
Remove redundant parameter fd from SMB_VFS_LSEEK().

Michael
(This used to be commit df929796f2698698d2875227bda8500589cca2df)

13 years agoRemove redundant parameter fd from SMB_VFS_PWRITE().
Michael Adam [Mon, 7 Jan 2008 08:23:04 +0000 (09:23 +0100)]
Remove redundant parameter fd from SMB_VFS_PWRITE().

Michael
(This used to be commit 8c4901a19ae2fd3ee085f9499f33aa7db016d182)

13 years agoFix build warning.
Günther Deschner [Mon, 7 Jan 2008 13:51:11 +0000 (14:51 +0100)]
Fix build warning.

Guenther
(This used to be commit 73233a06d6f0f1346c48b465750af4b532cd7306)

13 years agoAdd free_local_machine_name().
Günther Deschner [Mon, 7 Jan 2008 13:15:48 +0000 (14:15 +0100)]
Add free_local_machine_name().

Guenther
(This used to be commit f3ebb4f96bb0364dae9924e798652e759b63bb52)

13 years agoFix two memleaks in libnetapi.
Günther Deschner [Mon, 7 Jan 2008 11:44:25 +0000 (12:44 +0100)]
Fix two memleaks in libnetapi.

Guenther
(This used to be commit d73bde99e8518607bb78b5625ce5fb1991d8e402)

13 years agoAdd secrets_shutdown().
Günther Deschner [Mon, 7 Jan 2008 11:42:16 +0000 (12:42 +0100)]
Add secrets_shutdown().

Guenther
(This used to be commit dd3fbd93b6e5fe8b5e3a3727a64a38d5ae46fcbf)

13 years agoIn gfree_debugsyms() free the format_bufr as well.
Günther Deschner [Mon, 7 Jan 2008 11:41:18 +0000 (12:41 +0100)]
In gfree_debugsyms() free the format_bufr as well.

Guenther
(This used to be commit 48f09ca376f9fc7923309f3466e5d72f7c21a56f)

13 years agoFailure while unjoining a domain is non-critical.
Günther Deschner [Mon, 7 Jan 2008 11:19:56 +0000 (12:19 +0100)]
Failure while unjoining a domain is non-critical.
Just continue joining to the workgroup in that case.

Guenther
(This used to be commit bf9ce2a928e3136d3bfe368f75d5b99273c5b04f)

13 years agoOnly create machine account in libnetjoin when requested to.
Günther Deschner [Fri, 4 Jan 2008 22:11:53 +0000 (23:11 +0100)]
Only create machine account in libnetjoin when requested to.

Guenther
(This used to be commit bc025a3860483e8cdbd0f61579689c9edadd3af0)

13 years agoUse the proper boolean constants.
Michael Adam [Mon, 7 Jan 2008 10:27:54 +0000 (11:27 +0100)]
Use the proper boolean constants.

Michael
(This used to be commit 6f673b7f10c145d88e6a6d3072b5f8cd98837304)

13 years agoFix a comment.
Michael Adam [Mon, 7 Jan 2008 10:19:27 +0000 (11:19 +0100)]
Fix a comment.

Michael
(This used to be commit 62d6d4fff2edcce04e793d2a2f877cb3f4fedbdb)

13 years agoMake wcache_invalidate_cache() return bool, not int.
Michael Adam [Mon, 7 Jan 2008 09:59:14 +0000 (10:59 +0100)]
Make wcache_invalidate_cache() return bool, not int.

Michael
(This used to be commit dba24ceae78ffc49200b647838b6bf3657275add)

13 years agoAdd some braces to if statement.
Michael Adam [Mon, 7 Jan 2008 09:41:09 +0000 (10:41 +0100)]
Add some braces to if statement.

Michael
(This used to be commit 66fc1db1d19d11792d9506b06ad914d88b7e0663)

13 years agoPrevent winbindd from segfaulting due to corrupted cache tdb.
Andreas Schneider [Mon, 26 Nov 2007 10:44:30 +0000 (11:44 +0100)]
Prevent winbindd from segfaulting due to corrupted cache tdb.

If we try to flush the caches and due to a corrupted tdb we and have no tdb
context close the tdb and validate it. Initialize the cache afterwards again.
(This used to be commit d0c0f91fb9f3438a18c6f47ed894f525beb75cbf)

13 years agoAdapt fset_nt_acl() and fget_nt_acl() in examples/VFS/ to vfs prototype change.
Michael Adam [Sun, 6 Jan 2008 23:21:12 +0000 (00:21 +0100)]
Adapt fset_nt_acl() and fget_nt_acl() in examples/VFS/ to vfs prototype change.

Michael
(This used to be commit d9d6775878f8b3425665c6a45a5ef9cb92932cf8)

13 years agoRemove unneeded parameter fd from SMB_VFS_PREAD().
Michael Adam [Sun, 6 Jan 2008 23:14:19 +0000 (00:14 +0100)]
Remove unneeded parameter fd from SMB_VFS_PREAD().

Michael
(This used to be commit 73e28806ce87d829ea7c38ed3440020845bb13bf)

13 years agoRemove superfluous parameter fd from SMB_VFS_FSET_NT_ACL().
Michael Adam [Sun, 6 Jan 2008 17:48:02 +0000 (18:48 +0100)]
Remove superfluous parameter fd from SMB_VFS_FSET_NT_ACL().

Michael
(This used to be commit 4f2d139a186048f08180378a877b69d2f80ad51f)

13 years agoWrap lines for readability.
Michael Adam [Sun, 6 Jan 2008 17:03:33 +0000 (18:03 +0100)]
Wrap lines for readability.

Michael
(This used to be commit 8fce247bcf7fb27a31a7b8103377681d692d35aa)

13 years agoRemove superfluous fd parameter from SMB_VFS_FGET_NT_ACL().
Michael Adam [Sat, 5 Jan 2008 01:16:15 +0000 (02:16 +0100)]
Remove superfluous fd parameter from SMB_VFS_FGET_NT_ACL().

Michael
(This used to be commit c0c7c1223da29c68359dac64a340c1c710d5f3d2)

13 years agoRemove vlp.o in make clean.
Michael Adam [Sun, 6 Jan 2008 21:50:38 +0000 (22:50 +0100)]
Remove vlp.o in make clean.

Michael
(This used to be commit 020ed731b17ac00dd490f210f108eae249fb27ad)

13 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
Steve French [Sat, 5 Jan 2008 20:51:23 +0000 (14:51 -0600)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
(This used to be commit d3b91e494c824a65506ba1bc1cba5bba77000530)

13 years agoFix %d / size_t printf arg missmatch.
Jeremy Allison [Sat, 5 Jan 2008 09:17:33 +0000 (01:17 -0800)]
Fix %d / size_t printf arg missmatch.
Jeremy.
(This used to be commit 3e3205309b75edf7d29633525adfdceb5f8856eb)

13 years agoFix missing return - should be void.
Jeremy Allison [Sat, 5 Jan 2008 09:16:09 +0000 (01:16 -0800)]
Fix missing return - should be void.
Jeremy.
(This used to be commit 45ae90b77e53cd0cdf50939528dac4d2ca39b5c5)

13 years agoAdd -e to smbget.
Jeremy Allison [Sat, 5 Jan 2008 08:51:50 +0000 (00:51 -0800)]
Add -e to smbget.
Jeremy.
(This used to be commit 0475bdcf44d21bbdefb57f15d403c91c44d8d90a)

13 years agoAdd the options smb_encrypt_level to set the requested
Jeremy Allison [Sat, 5 Jan 2008 08:51:18 +0000 (00:51 -0800)]
Add the options smb_encrypt_level to set the requested
encrypt level and smb_encrypt_on to query it.
Jeremy.
(This used to be commit 07d47996f9535731ccdc1792c405c8bee1a082ae)

13 years agoFix -e for smbcquotas.
Jeremy Allison [Sat, 5 Jan 2008 08:50:03 +0000 (00:50 -0800)]
Fix -e for smbcquotas.
Jeremy.
(This used to be commit f97b1247c1053f47aef64be95ab9b3c3d8702c8a)

13 years agoUse the common -e option not the custom one.
Jeremy Allison [Sat, 5 Jan 2008 08:46:04 +0000 (00:46 -0800)]
Use the common -e option not the custom one.
Jeremy.
(This used to be commit ef1bbcdfb98da185c07005dd7810039f99f0685f)

13 years agoFix args to cli_force_encryption.
Jeremy Allison [Sat, 5 Jan 2008 08:41:48 +0000 (00:41 -0800)]
Fix args to cli_force_encryption.
Jeremy.
(This used to be commit 7b0826aeec284fb129dc1101a5eae2ca96c7cfb6)

13 years agoAdd general '-e' option to enable smb encryption
Jeremy Allison [Sat, 5 Jan 2008 08:23:35 +0000 (00:23 -0800)]
Add general '-e' option to enable smb encryption
on tools.
Jeremy.
(This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)

13 years agoMore logical operation on bool.
Jeremy Allison [Sat, 5 Jan 2008 07:26:47 +0000 (23:26 -0800)]
More logical operation on bool.
Jeremy.
(This used to be commit 7e8e91aeb3795d26ae8591665981bc42d8b6122f)

13 years agoMore logical operations on booleans. IBM checker.
Jeremy Allison [Sat, 5 Jan 2008 07:24:15 +0000 (23:24 -0800)]
More logical operations on booleans. IBM checker.
Jeremy.
(This used to be commit e289a0c8592f9e5c58100ddcde2577b452725b88)

13 years agoUsing a bool with a logical operation. IBM checker caught.
Jeremy Allison [Sat, 5 Jan 2008 07:17:38 +0000 (23:17 -0800)]
Using a bool with a logical operation. IBM checker caught.
Jeremy.
(This used to be commit 7f9fe7da1e25bcc730f4c4226bf77f6d39b5ace4)

13 years agoCan't use logical operations on boolean values.
Jeremy Allison [Sat, 5 Jan 2008 06:56:06 +0000 (22:56 -0800)]
Can't use logical operations on boolean values.
Jeremy.
(This used to be commit 34cd9b5b51a4209b4d970eb90bf1db0eb24a60bb)

13 years ago"Desting" -> "Testing"
Jeremy Allison [Sat, 5 Jan 2008 03:34:43 +0000 (19:34 -0800)]
"Desting" -> "Testing"
Jeremy.
(This used to be commit c3f3ec5cd5f9ffe8d08356dfd22b1cb6943829ad)

13 years agoTry and fix scripting errors.
Jeremy Allison [Sat, 5 Jan 2008 03:12:29 +0000 (19:12 -0800)]
Try and fix scripting errors.
Jeremy
(This used to be commit c84f2234fe0068a69fefa3c3ec219d4a95479b0c)

13 years agoTry and fix the buildfarm. There's a scripting error and
Jeremy Allison [Sat, 5 Jan 2008 03:09:46 +0000 (19:09 -0800)]
Try and fix the buildfarm. There's a scripting error and
I'm hoping this is it...
Jeremy.
(This used to be commit 0356f0efc4a18230ce7a9c0a17dc98c4242ad38d)

13 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Sat, 5 Jan 2008 03:06:37 +0000 (19:06 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 3a45f62310faf63cd6864d2cb10f941492eda818)

13 years agoAdd missing patch to allow smbcacls to do krb5 auth, bug #5175
Jeremy Allison [Sat, 5 Jan 2008 01:15:04 +0000 (17:15 -0800)]
Add missing patch to allow smbcacls to do krb5 auth, bug #5175
from Tom Maher <tmaher@watson.org>.
Jeremy.
(This used to be commit 54ee718957b768a06e41857b96f0b5e18b3ca6a4)

13 years agoBetter way of testing enc.
Jeremy Allison [Sat, 5 Jan 2008 00:58:23 +0000 (16:58 -0800)]
Better way of testing enc.
Jeremy.
(This used to be commit c5800235018330f0c1bbe307cd733597ac9b6686)

13 years agoAdded -e tests for S3 smbtorture.
Jeremy Allison [Sat, 5 Jan 2008 00:09:48 +0000 (16:09 -0800)]
Added -e tests for S3 smbtorture.
Jeremy.
(This used to be commit deeeae3ee96f7207a49e1edaa876410b77c33458)

13 years agoAdded -e option to smbtorture to test encrypted versions
Jeremy Allison [Sat, 5 Jan 2008 00:09:24 +0000 (16:09 -0800)]
Added -e option to smbtorture to test encrypted versions
of the tests.
Jeremy.
(This used to be commit e85b346f3d73f50d6dea19ffb6cca1180345e687)

13 years agoNow conn is part of smb_request, we don't need it as
Jeremy Allison [Fri, 4 Jan 2008 23:37:24 +0000 (15:37 -0800)]
Now conn is part of smb_request, we don't need it as
an extra parameter. This cleans up quite a few places
we were passing it around without needing it.
Jeremy.
(This used to be commit 8f36def18e9f980e8db522e1de41e80cfd5f466e)

13 years agoFix idle client reading keepalive.
Jeremy Allison [Fri, 4 Jan 2008 22:56:56 +0000 (14:56 -0800)]
Fix idle client reading keepalive.
Jeremy.
(This used to be commit 4ce0bf785635371e2923217b1e0b7f30986c25bb)

13 years agoWe dont' modify the smb header for crypto anymore.
Jeremy Allison [Fri, 4 Jan 2008 22:43:43 +0000 (14:43 -0800)]
We dont' modify the smb header for crypto anymore.
Jeremy.
(This used to be commit f5b6b6dac66b4ecc113985a7e7db1855b324c465)

13 years agoallocate share_mode_str only when needed
Volker Lendecke [Fri, 4 Jan 2008 22:27:14 +0000 (23:27 +0100)]
allocate share_mode_str only when needed
(This used to be commit a98693bfa7bfe72ffa164d21b3e9636e268708aa)

13 years agoDo not pass emtpy wkssvc_PasswordBuffers to rpc functions.
Günther Deschner [Fri, 4 Jan 2008 21:56:31 +0000 (22:56 +0100)]
Do not pass emtpy wkssvc_PasswordBuffers to rpc functions.

Guenther
(This used to be commit fe75e5ccdfc2609380367e59215637b0de1ef241)

13 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Fri, 4 Jan 2008 21:59:52 +0000 (13:59 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 4e1bf48e7eab927e70fde3408a42c56e06b9b178)

13 years agoFix interesting bug found with make valgrindtest. When cancelling
Jeremy Allison [Fri, 4 Jan 2008 21:59:26 +0000 (13:59 -0800)]
Fix interesting bug found with make valgrindtest. When cancelling
a lock due to file closure make sure we null out the fsp pointer
so it isn't dangling. This is an old bug (not related to the new
changes).
Jeremy.
(This used to be commit b5ee972b0c04b4d119573d95ac458a3b6be30c5c)