jra/samba/.git
11 years agopackaging(RHEL-CTDB): remove duplicate installation of pam_smbpass.so
Michael Adam [Wed, 27 Aug 2008 10:58:06 +0000 (12:58 +0200)]
packaging(RHEL-CTDB): remove duplicate installation of pam_smbpass.so

Michael
(This used to be commit 54e3a6dcb2aaa8dc07d3cfbfb9abb950428b1010)

11 years agopackaging(RHEL-CTDB): remove library packaging hacks due to fixed Makfile.
Michael Adam [Fri, 29 Aug 2008 13:16:42 +0000 (15:16 +0200)]
packaging(RHEL-CTDB): remove library packaging hacks due to fixed Makfile.

Use --libdir instead of --with-libdir .
Use new --with-modulesdir to separate LIBDIR and MODULESDIR.

This makes post "make install" hacks unnecessary.

Michael
(This used to be commit a87c0cc084a583d6eafac9fc83093ef29ba9809a)

11 years agopackaging(RHEL-CTDB): remove unused variable from makerpms.sh
Michael Adam [Wed, 27 Aug 2008 10:10:07 +0000 (12:10 +0200)]
packaging(RHEL-CTDB): remove unused variable from makerpms.sh

Michael
(This used to be commit 8686ceb9ada5ed3239edccd830ab6aeb007e6750)

11 years agopackaging(RHEL-CTDB): auto-detect samba version from spec in makerpms.sh
Michael Adam [Wed, 27 Aug 2008 10:09:40 +0000 (12:09 +0200)]
packaging(RHEL-CTDB): auto-detect samba version from spec in makerpms.sh

Michael
(This used to be commit d18075524fa6b83fbb86aa0010c6190136e99865)

11 years agolibnet_join: streamline logic of libnet_join_post_processing()
Michael Adam [Fri, 29 Aug 2008 15:55:28 +0000 (17:55 +0200)]
libnet_join: streamline logic of libnet_join_post_processing()

Michael
(This used to be commit 81cc1af1e699e454fbb1d12636d002f845231006)

11 years agolibnet: fix join by creating keytab after changing the config.
Michael Adam [Fri, 29 Aug 2008 15:43:12 +0000 (17:43 +0200)]
libnet: fix join by creating keytab after changing the config.

Michael
(This used to be commit 96d1c780bf9524b929e6026776602a5288aea73d)

11 years agowbinfo: add change-user-password command.
Günther Deschner [Fri, 15 Aug 2008 00:01:14 +0000 (02:01 +0200)]
wbinfo: add change-user-password command.

Guenther
(This used to be commit e572ede9995a66ae452ab25018b8df16101a2c2a)

11 years agolibwbclient: add wbcChangeUserPassword and wbcChangeUserPasswordEx.
Günther Deschner [Fri, 15 Aug 2008 00:00:46 +0000 (02:00 +0200)]
libwbclient: add wbcChangeUserPassword and wbcChangeUserPasswordEx.

Guenther
(This used to be commit 62e7b4aa32051bce34c890cb41270e5fe31111ca)

11 years agonetapi: fix NetGetJoinableOUs_l.
Günther Deschner [Fri, 29 Aug 2008 11:31:55 +0000 (13:31 +0200)]
netapi: fix NetGetJoinableOUs_l.

It needs to try the dns domain name for the
ads connection.

Guenther
(This used to be commit 918eae8221bb8c24084cad96556e4d8c3685e314)

11 years agonetapi: fix some warnings in netdomjoin-gui.
Günther Deschner [Fri, 29 Aug 2008 10:59:56 +0000 (12:59 +0200)]
netapi: fix some warnings in netdomjoin-gui.

Guenther
(This used to be commit e69eb09c1819eb4ea4bba7c3b3b0f8b6da789632)

11 years agonetapi: use NETSETUP join flags in examples.
Günther Deschner [Fri, 29 Aug 2008 10:52:23 +0000 (12:52 +0200)]
netapi: use NETSETUP join flags in examples.

Guenther
(This used to be commit 2f6f888d9cf89abf55767dc43a9e3d5de68bbcfb)

11 years agonetapi: add NetJoinFlags to public header.
Günther Deschner [Fri, 29 Aug 2008 10:46:38 +0000 (12:46 +0200)]
netapi: add NetJoinFlags to public header.

Guenther
(This used to be commit 3babf758f49d6b08af8bd41c1dc8bd8de11a3893)

11 years agore-run make idl.
Günther Deschner [Fri, 29 Aug 2008 10:46:18 +0000 (12:46 +0200)]
re-run make idl.

Guenther
(This used to be commit 11a2eecf2a92dceef2b89bbfa08abcfb71bcaf7a)

11 years agonetapi: add NetJoinFlags to IDL.
Günther Deschner [Fri, 29 Aug 2008 10:46:01 +0000 (12:46 +0200)]
netapi: add NetJoinFlags to IDL.

Guenther
(This used to be commit 10345cb987f8652f5e94e612910bfcd0478b26bc)

11 years agonetapi: add info21_to_USER_INFO_11 and support level 11 in NetUserEnum/GetInfo.
Günther Deschner [Thu, 28 Aug 2008 10:22:19 +0000 (12:22 +0200)]
netapi: add info21_to_USER_INFO_11 and support level 11 in NetUserEnum/GetInfo.

Guenther
(This used to be commit c022ec38521e7ff655fc12807fcfd0e4f056e18b)

11 years agonetapi: add info21_to_USER_INFO_4 and support level 4 in NetUserEnum/GetInfo.
Günther Deschner [Thu, 28 Aug 2008 10:21:13 +0000 (12:21 +0200)]
netapi: add info21_to_USER_INFO_4 and support level 4 in NetUserEnum/GetInfo.

Guenther
(This used to be commit b3ccc9a447c380e2898606b8f392f8bec9f40dc9)

11 years agonetapi: add info21_to_USER_INFO_3 and support level 3 in NetUserEnum/GetInfo.
Günther Deschner [Thu, 28 Aug 2008 10:20:04 +0000 (12:20 +0200)]
netapi: add info21_to_USER_INFO_3 and support level 3 in NetUserEnum/GetInfo.

Guenther
(This used to be commit 6b56b70a47823ab482f0c2a5fb55a759857b99f0)

11 years agonetapi: add info21_to_USER_INFO_2 and support level 2 in NetUserEnum/GetInfo.
Günther Deschner [Thu, 28 Aug 2008 10:18:01 +0000 (12:18 +0200)]
netapi: add info21_to_USER_INFO_2 and support level 2 in NetUserEnum/GetInfo.

Guenther
(This used to be commit 1f1587423b7e01be552ae7cfc89f1334b32b124a)

11 years agonetapi: add info21_to_USER_INFO_1 and support level 1 NetUserEnum/GetInfo.
Günther Deschner [Thu, 28 Aug 2008 10:15:23 +0000 (12:15 +0200)]
netapi: add info21_to_USER_INFO_1 and support level 1 NetUserEnum/GetInfo.

Guenther
(This used to be commit 391aaf16272aad09f8e2f1b1afb78a2535c0faaf)

11 years agonetapi: add info21_to_USER_INFO_23.
Günther Deschner [Thu, 28 Aug 2008 10:08:31 +0000 (12:08 +0200)]
netapi: add info21_to_USER_INFO_23.

Guenther
(This used to be commit 62871cb3829f5b9cd15211030fa409dbaf3b906f)

11 years agonetapi: add info21_to_USER_INFO_20.
Günther Deschner [Thu, 28 Aug 2008 10:07:25 +0000 (12:07 +0200)]
netapi: add info21_to_USER_INFO_20.

Guenther
(This used to be commit 93a5844814714cf07341bc2962dfac5c3e51d788)

11 years agonetapi: add info21_to_USER_INFO_10.
Günther Deschner [Thu, 28 Aug 2008 10:05:43 +0000 (12:05 +0200)]
netapi: add info21_to_USER_INFO_10.

Guenther
(This used to be commit 3e0c5d4154a730fd9e4430d3e64f9c7bb654dc54)

11 years agonetapi: add builtin handle to NetUserEnum.
Günther Deschner [Thu, 28 Aug 2008 10:00:07 +0000 (12:00 +0200)]
netapi: add builtin handle to NetUserEnum.

Guenther
(This used to be commit f71b0808bec002f616fc451eddb7e19dd242a138)

11 years agonetapi: prepare libnetapi_samr_lookup_user to lookup priv levels.
Günther Deschner [Thu, 28 Aug 2008 09:57:43 +0000 (11:57 +0200)]
netapi: prepare libnetapi_samr_lookup_user to lookup priv levels.

Guenther
(This used to be commit f61bf5db5ff4a1d051999712dd76788d6a113545)

11 years agore-run make idl.
Günther Deschner [Thu, 28 Aug 2008 09:54:32 +0000 (11:54 +0200)]
re-run make idl.

Guenther
(This used to be commit 227fd242d1a3c911b704208694be6d1ffd1aee67)

11 years agonetapi: add USER_MAXSTORAGE_UNLIMITED to IDL.
Günther Deschner [Thu, 28 Aug 2008 09:54:16 +0000 (11:54 +0200)]
netapi: add USER_MAXSTORAGE_UNLIMITED to IDL.

Guenther
(This used to be commit 71623f853d475eac8b4293d454706c3288bcbc10)

11 years agonetapi: add NetShareAdd example code.
Günther Deschner [Wed, 27 Aug 2008 23:02:42 +0000 (01:02 +0200)]
netapi: add NetShareAdd example code.

Guenther
(This used to be commit 4ec041e38a7dd2d89b182ab9e03ab85a060778d3)

11 years agonetapi: implement NetShareAdd_r.
Günther Deschner [Wed, 27 Aug 2008 23:02:01 +0000 (01:02 +0200)]
netapi: implement NetShareAdd_r.

Guenther
(This used to be commit d430d2fbd8746c8bcdb16e027d45a939c4976524)

11 years agonetapi: add NetShareAdd to public header.
Günther Deschner [Wed, 27 Aug 2008 23:06:12 +0000 (01:06 +0200)]
netapi: add NetShareAdd to public header.

Guenther
(This used to be commit 5a036a431f4a8c686ddcd72df476acc6befddba0)

11 years agonetapi: add NetShareAdd skeleton.
Günther Deschner [Wed, 27 Aug 2008 23:01:11 +0000 (01:01 +0200)]
netapi: add NetShareAdd skeleton.

Guenther
(This used to be commit 6e22bcc1f5cba9bc37ecf193bbc7e031b69134f5)

11 years agore-run make idl.
Günther Deschner [Wed, 27 Aug 2008 22:58:50 +0000 (00:58 +0200)]
re-run make idl.

Guenther
(This used to be commit 72c660757fd3a5b20ec6de0e4ada361e0aa9e2c4)

11 years agonetapi: add NetShareAdd to IDL.
Günther Deschner [Wed, 27 Aug 2008 22:58:24 +0000 (00:58 +0200)]
netapi: add NetShareAdd to IDL.

Guenther
(This used to be commit 58d3a682631aa1fc3d90078db7c301de77cb7e73)

11 years agonetapi: add samr_rid_to_priv_level().
Günther Deschner [Wed, 27 Aug 2008 22:56:25 +0000 (00:56 +0200)]
netapi: add samr_rid_to_priv_level().

Guenther
(This used to be commit 51afae499974f3ad73a1c9bdfbc41e3130966ebc)

11 years agonetapi: better point out what levels are unknown in NetUserEnum.
Günther Deschner [Wed, 27 Aug 2008 22:23:51 +0000 (00:23 +0200)]
netapi: better point out what levels are unknown in NetUserEnum.

Guenther
(This used to be commit d85182aa54b936f8c85c6dcd10d5df613de4bb21)

11 years agonetapi: add AF_OP constants to public header.
Günther Deschner [Wed, 27 Aug 2008 21:43:01 +0000 (23:43 +0200)]
netapi: add AF_OP constants to public header.

Guenther
(This used to be commit a06e21782a4970840f5a8c65b633c9654443161d)

11 years agore-run make idl.
Günther Deschner [Wed, 27 Aug 2008 21:41:55 +0000 (23:41 +0200)]
re-run make idl.

Guenther
(This used to be commit 1c8bec98456dbd5bcc319a9d7378e4a9399db40d)

11 years agonetapi: add AF_OP constants to IDL.
Günther Deschner [Wed, 27 Aug 2008 21:40:44 +0000 (23:40 +0200)]
netapi: add AF_OP constants to IDL.

Guenther
(This used to be commit 2bd24258782811a014a191650883d50d4bf7d0b0)

11 years agonetapi: add USER_PRIV_* constants to public header.
Günther Deschner [Wed, 27 Aug 2008 20:38:32 +0000 (22:38 +0200)]
netapi: add USER_PRIV_* constants to public header.

Guenther
(This used to be commit 2274e5d8a8236b15558507289a8a455c15ca2633)

11 years agore-run make idl.
Günther Deschner [Wed, 27 Aug 2008 20:36:19 +0000 (22:36 +0200)]
re-run make idl.

Guenther
(This used to be commit cb1236dd50d0511d8ad2be30c1d9b7b8191ec83c)

11 years agonetapi: add USER_PRIV_* constants to IDL.
Günther Deschner [Wed, 27 Aug 2008 20:35:14 +0000 (22:35 +0200)]
netapi: add USER_PRIV_* constants to IDL.

Guenther
(This used to be commit 3bb042d0e14e8a4f1feaace7f310143ff44a933a)

11 years agonetapi: give more correct error code in NetUserGetInfo.
Günther Deschner [Wed, 27 Aug 2008 17:28:34 +0000 (19:28 +0200)]
netapi: give more correct error code in NetUserGetInfo.

Guenther
(This used to be commit c66651b6fb023e5b0952fd135589eb955f51fa12)

11 years agonetapi: always return correct account name in NetUserGetInfo/NetUserEnum.
Günther Deschner [Wed, 27 Aug 2008 17:26:37 +0000 (19:26 +0200)]
netapi: always return correct account name in NetUserGetInfo/NetUserEnum.

Guenther
(This used to be commit 47768bfb01815f7b6bf687fe04ca7d19385aea59)

11 years agonetapi: add samr_acb_flags_to_netapi_flags for NetUserEnum and NetUserGetInfo.
Günther Deschner [Wed, 27 Aug 2008 17:25:07 +0000 (19:25 +0200)]
netapi: add samr_acb_flags_to_netapi_flags for NetUserEnum and NetUserGetInfo.

Guenther
(This used to be commit 2f2c60bf91e1e2b3b24c4bb39ac598cb3c704158)

11 years agonetapi: display all available levels in NetUserGetInfo example.
Günther Deschner [Wed, 27 Aug 2008 17:16:30 +0000 (19:16 +0200)]
netapi: display all available levels in NetUserGetInfo example.

Guenther
(This used to be commit 814c9a4f663ea354291456407accbc3fe7edccf6)

11 years agonetapi: fix public header for USER_INFO_4.
Günther Deschner [Wed, 27 Aug 2008 17:15:32 +0000 (19:15 +0200)]
netapi: fix public header for USER_INFO_4.

Guenther
(This used to be commit f54b24c70afb28b6897ce258929ab2c97f255d86)

11 years agore-run make idl.
Günther Deschner [Wed, 27 Aug 2008 17:15:02 +0000 (19:15 +0200)]
re-run make idl.

Guenther
(This used to be commit 9d33627d723c582f723982d090858e01bf5bd8c8)

11 years agonetapi: fix IDL for USER_INFO_4.
Günther Deschner [Wed, 27 Aug 2008 17:14:32 +0000 (19:14 +0200)]
netapi: fix IDL for USER_INFO_4.

Guenther
(This used to be commit ca69c442f2007d46729a6fce920800d25195e946)

11 years agonet: now that "net rpc user" uses netapi calls exclusivly, net rpc shell needs
Günther Deschner [Wed, 27 Aug 2008 11:54:49 +0000 (13:54 +0200)]
net: now that "net rpc user" uses netapi calls exclusivly, net rpc shell needs
to use netapi as well.

Guenther
(This used to be commit 2f730649b73dcd11734d12921bfdad982fe75717)

11 years agonet: use netapi for "net rpc user info" to enumerate user group membership.
Günther Deschner [Wed, 27 Aug 2008 11:47:04 +0000 (13:47 +0200)]
net: use netapi for "net rpc user info" to enumerate user group membership.

Guenther
(This used to be commit 77ecfff216b24b0d4b1ce79bee13c18bffa7b533)

11 years agonetapi: implement NetUserGetGroups_r.
Günther Deschner [Wed, 27 Aug 2008 11:37:56 +0000 (13:37 +0200)]
netapi: implement NetUserGetGroups_r.

Guenther
(This used to be commit 1ed8fefdae85e9b9f2794e502c8c1c41d9ba0615)

11 years agonetapi: add NetUserGetGroups example code.
Günther Deschner [Wed, 27 Aug 2008 11:14:24 +0000 (13:14 +0200)]
netapi: add NetUserGetGroups example code.

Guenther
(This used to be commit 33e9baeb26a469445b6750c4bd2f00b4140f0554)

11 years agonetapi: add NetUserGetGroups to public headers.
Günther Deschner [Wed, 27 Aug 2008 11:13:57 +0000 (13:13 +0200)]
netapi: add NetUserGetGroups to public headers.

Guenther
(This used to be commit 2f95b7d9b5ad513e43d7d41ce9fb87300ec357a8)

11 years agonetapi: fix NetUserSetInfo return code for currently unsupported levels.
Günther Deschner [Wed, 27 Aug 2008 09:55:57 +0000 (11:55 +0200)]
netapi: fix NetUserSetInfo return code for currently unsupported levels.

Guenther
(This used to be commit 10bd55d68a91b76e82c3ba1d113729f97830a46a)

11 years agonetapi: add skeleton for NetUserGetGroups.
Günther Deschner [Wed, 27 Aug 2008 09:49:55 +0000 (11:49 +0200)]
netapi: add skeleton for NetUserGetGroups.

Guenther
(This used to be commit a21ec57b2887012777f9580959a37cd23a412029)

11 years agore-run make idl.
Günther Deschner [Wed, 27 Aug 2008 09:48:06 +0000 (11:48 +0200)]
re-run make idl.

Guenther
(This used to be commit 334a90072318407313057b1c2df5e367e957309b)

11 years agonetapi: add NetUserGetGroups to IDL.
Günther Deschner [Wed, 27 Aug 2008 09:47:39 +0000 (11:47 +0200)]
netapi: add NetUserGetGroups to IDL.

Guenther
(This used to be commit 4d15d1ff20dee216b2fc064bc19712bd3a9cec70)

11 years agonet: use netapi function to set user password.
Günther Deschner [Wed, 27 Aug 2008 09:19:49 +0000 (11:19 +0200)]
net: use netapi function to set user password.

Guenther
(This used to be commit f31fd1e112ec6477ae0e0eeeede0317c0cdfcbfd)

11 years agonet: use netapi function to list users.
Günther Deschner [Wed, 27 Aug 2008 09:14:15 +0000 (11:14 +0200)]
net: use netapi function to list users.

Guenther
(This used to be commit 6bc8e229192f0bdd1154c6dd0901e4c739647c90)

11 years agonetapi: support level 1014 in NetUserSetInfo.
Günther Deschner [Wed, 27 Aug 2008 00:18:30 +0000 (02:18 +0200)]
netapi: support level 1014 in NetUserSetInfo.

Guenther
(This used to be commit 38178965a2f641978b666452f86fdcd258e8709b)

11 years agonetapi: support level 1024 in NetUserSetInfo.
Günther Deschner [Wed, 27 Aug 2008 00:11:54 +0000 (02:11 +0200)]
netapi: support level 1024 in NetUserSetInfo.

Guenther
(This used to be commit 84bc7bf1adcde270ad20bba67345c0beed0b1d66)

11 years agonetapi: support level 1051 in NetUserSetInfo.
Günther Deschner [Wed, 27 Aug 2008 00:02:30 +0000 (02:02 +0200)]
netapi: support level 1051 in NetUserSetInfo.

Guenther
(This used to be commit 8da3b1cacb4ffa7ce8932dc0e9ceb78395d49b98)

11 years agonetapi: support level 1053 in NetUserSetInfo.
Günther Deschner [Tue, 26 Aug 2008 23:53:10 +0000 (01:53 +0200)]
netapi: support level 1053 in NetUserSetInfo.

Guenther
(This used to be commit 039904f601755678fcbdef7d6bdc1c6da0082b83)

11 years agonetapi: support level 1052 in NetUserSetInfo.
Günther Deschner [Tue, 26 Aug 2008 23:47:33 +0000 (01:47 +0200)]
netapi: support level 1052 in NetUserSetInfo.

Guenther
(This used to be commit ff8dede3b369d39ec5638eec8a73bd6397e3d94b)

11 years agore-run make idl.
Günther Deschner [Tue, 26 Aug 2008 23:44:40 +0000 (01:44 +0200)]
re-run make idl.

Guenther
(This used to be commit 3235ac063bca3805b749ee7ce27028a6828af3e9)

11 years agonetapi: add usriX_profile/usriX_home_dir_drive/usriX_primary_group_id to USER_INFO_X...
Günther Deschner [Tue, 26 Aug 2008 23:43:52 +0000 (01:43 +0200)]
netapi: add usriX_profile/usriX_home_dir_drive/usriX_primary_group_id to USER_INFO_X in IDL.

Guenther
(This used to be commit 59e27519adebd45cbd5207cfa5df212d11ca648b)

11 years agonetapi: support level 1006 in NetUserSetInfo.
Günther Deschner [Tue, 26 Aug 2008 23:40:46 +0000 (01:40 +0200)]
netapi: support level 1006 in NetUserSetInfo.

Guenther
(This used to be commit 9c5ea4e8e8deb0a2be5f894fb5de96f0dea48120)

11 years agonetapi: support level 1012 in NetUserSetInfo.
Günther Deschner [Tue, 26 Aug 2008 23:36:49 +0000 (01:36 +0200)]
netapi: support level 1012 in NetUserSetInfo.

Guenther
(This used to be commit db650e9b6ead70152b2640415477bb26d0b16097)

11 years agonetapi: fix acct_flags handling in convert_USER_INFO_X_to_samr_user_info21.
Günther Deschner [Tue, 26 Aug 2008 23:36:06 +0000 (01:36 +0200)]
netapi: fix acct_flags handling in convert_USER_INFO_X_to_samr_user_info21.

Guenther
(This used to be commit d3625b321f666bd506603b7c58ee89cd6b902d86)

11 years agonetapi: support level 1009 in NetUserSetInfo.
Günther Deschner [Tue, 26 Aug 2008 23:15:21 +0000 (01:15 +0200)]
netapi: support level 1009 in NetUserSetInfo.

Guenther
(This used to be commit 3a6c784284c8eb7e2b05afa6db16b27ee26ff352)

11 years agonetapi: support level 1011 in NetUserSetInfo.
Günther Deschner [Tue, 26 Aug 2008 23:04:21 +0000 (01:04 +0200)]
netapi: support level 1011 in NetUserSetInfo.

Guenther
(This used to be commit b3680c0482ae05b32e9cf9fbddea57f0dd6e2bd3)

11 years agonetapi: fix convert_USER_INFO_X_to_samr_user_info21.
Günther Deschner [Tue, 26 Aug 2008 22:57:07 +0000 (00:57 +0200)]
netapi: fix convert_USER_INFO_X_to_samr_user_info21.

Guenther
(This used to be commit 3f726952eb9a1fed0f4a990c82a2c47a5c0775be)

11 years agonetapi: support level 1003 in NetUserSetInfo.
Günther Deschner [Tue, 26 Aug 2008 22:33:49 +0000 (00:33 +0200)]
netapi: support level 1003 in NetUserSetInfo.

Guenther
(This used to be commit 863827eb2d5210350011055dda4319070bd1c520)

11 years agonetapi: process level 1003 in construct_USER_INFO_X as well.
Günther Deschner [Tue, 26 Aug 2008 22:33:16 +0000 (00:33 +0200)]
netapi: process level 1003 in construct_USER_INFO_X as well.

Guenther
(This used to be commit cf381b9f08cae32b62d7bd6f7dfe5210e732eeb2)

11 years agonetapi: make set_user_info_USER_INFO_X a separate function.
Günther Deschner [Tue, 26 Aug 2008 22:32:08 +0000 (00:32 +0200)]
netapi: make set_user_info_USER_INFO_X a separate function.

Guenther
(This used to be commit 529dd675bde3ac944ca69e4dbe2fc4beeeb9aab8)

11 years agonetapi: add more infolevels to NetUserSetInfo example.
Günther Deschner [Tue, 26 Aug 2008 22:31:20 +0000 (00:31 +0200)]
netapi: add more infolevels to NetUserSetInfo example.

Guenther
(This used to be commit 5ad217be7a12211a8340052f7f4481cf2f239f8d)

11 years agonetapi: add ENCRYPTED_PWLEN to public header.
Günther Deschner [Tue, 26 Aug 2008 22:30:51 +0000 (00:30 +0200)]
netapi: add ENCRYPTED_PWLEN to public header.

Guenther
(This used to be commit 7010230c4af667b4197c9bd58685dc5a0b2b7c4f)

11 years agore-run make idl.
Günther Deschner [Tue, 26 Aug 2008 22:30:22 +0000 (00:30 +0200)]
re-run make idl.

Guenther
(This used to be commit 77058447f2a61e8830763866c46db71dadf1a82a)

11 years agonetapi: fix ENCRYPTED_PWLEN in IDL.
Günther Deschner [Tue, 26 Aug 2008 22:30:04 +0000 (00:30 +0200)]
netapi: fix ENCRYPTED_PWLEN in IDL.

Guenther
(This used to be commit 2c6b3208d3bf3d44b58248e9068924657897c917)

11 years agonetapi: add all USER_INFO structs to public header.
Günther Deschner [Tue, 26 Aug 2008 19:12:23 +0000 (21:12 +0200)]
netapi: add all USER_INFO structs to public header.

Guenther
(This used to be commit d19c06d7d055e4b1e8e47cc2df1a192a0a19eb14)

11 years agonet: use netapi for rpc_user_rename.
Günther Deschner [Tue, 26 Aug 2008 19:10:19 +0000 (21:10 +0200)]
net: use netapi for rpc_user_rename.

Guenther
(This used to be commit fe28ea1afd4024673f847fc8880910b1f7f0385a)

11 years agokerberos: fix HAVE_KRB5 related build issue.
Günther Deschner [Fri, 29 Aug 2008 09:38:02 +0000 (11:38 +0200)]
kerberos: fix HAVE_KRB5 related build issue.

Guenther
(This used to be commit 7d7ba8397743af52a74d00fd717bdeb5e3e12a28)

11 years agokerberos: use KRB5_KT_KEY macro where appropriate.
Günther Deschner [Fri, 22 Aug 2008 12:58:01 +0000 (14:58 +0200)]
kerberos: use KRB5_KT_KEY macro where appropriate.

Guenther
(This used to be commit a042dffd7121bda3dbc9509f69fcfae06ed4cc22)

11 years agokerberos: add KRB5_KT_KEY abstraction macro.
Günther Deschner [Fri, 22 Aug 2008 12:52:10 +0000 (14:52 +0200)]
kerberos: add KRB5_KT_KEY abstraction macro.

Guenther
(This used to be commit be846d5383ef31136cca6b11eb6181736fb2e29d)

11 years agokerberos: move the KRB5_KEY* macros to header file.
Günther Deschner [Fri, 22 Aug 2008 14:08:00 +0000 (16:08 +0200)]
kerberos: move the KRB5_KEY* macros to header file.

Guenther
(This used to be commit c28fa17ffffee3e6fd4897c9c6b4937388a19600)

11 years agoClarify usage of "force create mode".
Jeremy Allison [Thu, 28 Aug 2008 23:06:23 +0000 (16:06 -0700)]
Clarify usage of "force create mode".
Jeremy.
(This used to be commit 1d252ffd313e0cd6fcb3d7cb2c99f2daf56728c1)

11 years agoRemove cli_request_get()
Volker Lendecke [Thu, 28 Aug 2008 13:44:14 +0000 (15:44 +0200)]
Remove cli_request_get()

req->private_data==NULL at this point is definitely a bug.
(This used to be commit ce3dc9f616cafc1289a94ac7cae0beca967d836e)

11 years agoAdd async smbecho client support
Volker Lendecke [Wed, 27 Aug 2008 17:30:57 +0000 (19:30 +0200)]
Add async smbecho client support
(This used to be commit c1d645fbe39433541d8bfe6b818c855cee318dc5)

11 years agoAdd cli_request->recv_helper
Volker Lendecke [Wed, 27 Aug 2008 17:26:40 +0000 (19:26 +0200)]
Add cli_request->recv_helper

Necessary for requests with multiple replies
(This used to be commit cb2e338eb33dfb4627f9b43456af0c86d7d268c6)

11 years agoActivate code to enable chained requests
Volker Lendecke [Mon, 25 Aug 2008 13:59:36 +0000 (15:59 +0200)]
Activate code to enable chained requests

Add the CHAIN1 torture test
(This used to be commit 82992d74a99b056bbfe90e1b79190e0b7c0bf2bd)

11 years agoThis adds the code to allow chained requests in libsmb/
Volker Lendecke [Mon, 25 Aug 2008 13:56:26 +0000 (15:56 +0200)]
This adds the code to allow chained requests in libsmb/

This is not compiled yet, but it makes the patches much easier to read if it is
add in bulk.
(This used to be commit b4c539ba041bab8856c83816f08a35b5f5b21740)

11 years agoMove "struct cli_request" from client.h to async_smb.h
Volker Lendecke [Mon, 25 Aug 2008 12:40:15 +0000 (14:40 +0200)]
Move "struct cli_request" from client.h to async_smb.h

Also add some comments
(This used to be commit 2ecc311f785317caf5b60051147dcd085c80d64f)

11 years agoAdd cli_pull_reply
Volker Lendecke [Mon, 25 Aug 2008 11:33:41 +0000 (13:33 +0200)]
Add cli_pull_reply

Along the lines of cli_request_send this abstracts away the smb-level buffer
handling when parsing replies we got from the server.
(This used to be commit 253134d3aaa359fdfb665709dd5686f69af7f8fd)

11 years agoRemove cli->event_ctx, pass it explicitly
Volker Lendecke [Sun, 24 Aug 2008 12:17:43 +0000 (14:17 +0200)]
Remove cli->event_ctx, pass it explicitly

Storing the event_context as permanent state in struct cli_state creates more
complex code than necessary IMO.
(This used to be commit debb37f703075008e5ea7d34d214cfa4d0f8f916)

11 years agoAdd async open&x
Volker Lendecke [Sat, 2 Aug 2008 16:44:39 +0000 (18:44 +0200)]
Add async open&x
(This used to be commit faf353edd60967efac4d5c222db14fa730866273)

11 years agoAdd async cli_close
Volker Lendecke [Fri, 1 Aug 2008 21:18:15 +0000 (23:18 +0200)]
Add async cli_close
(This used to be commit f84a2b5dbf8a072a9e356fa39523f65d042a2643)

11 years agoRefactoring: Add the routine cli_request_send()
Volker Lendecke [Fri, 1 Aug 2008 21:14:51 +0000 (23:14 +0200)]
Refactoring: Add the routine cli_request_send()

cli_request_send() is supposed to bundle all generic SMB-header handling. This
makes cli_request_new static to async_smb.c.
(This used to be commit 7e73dd4e7622db64d30d48ba106892e0895fc188)

11 years agowinbindd: fix invalid sid copy (hit when enumerating sibling domains).
Günther Deschner [Thu, 28 Aug 2008 10:29:24 +0000 (12:29 +0200)]
winbindd: fix invalid sid copy (hit when enumerating sibling domains).

Guenther
(This used to be commit 5eee7423351ffd05486e33ff8eb905babcbc9422)

11 years agoFix the wcache_invalidate_samlogon calls.
Jeremy Allison [Thu, 28 Aug 2008 00:29:10 +0000 (17:29 -0700)]
Fix the wcache_invalidate_samlogon calls.
Jeremy.
(This used to be commit 7c820899ed1364fdaeb7b49e8ddd839e67397ec0)

11 years agoCorrect the netsamlogon_clear_cached_user function.
Ephi Dror [Thu, 28 Aug 2008 00:28:34 +0000 (17:28 -0700)]
Correct the netsamlogon_clear_cached_user function.
(This used to be commit bb13312d9d53b1e048b3a0bfeeca088f9db84cd3)

11 years agoAdd st_birthtime and friends for accurate create times on systems that support it...
Jeremy Allison [Wed, 27 Aug 2008 22:06:14 +0000 (15:06 -0700)]
Add st_birthtime and friends for accurate create times on systems that support it (*BSD and MacOSX).
Should have done this ages ago, sorry.
Jeremy.
(This used to be commit 4c3a9558906f213948c3bdc081be73f8fed148cb)