ira/wip.git
12 years agoAdd workaround for docs build and dependency on parameters.all.xml
Gerald (Jerry) Carter [Mon, 25 Aug 2008 21:08:28 +0000 (16:08 -0500)]
Add workaround for docs build and dependency on parameters.all.xml
(cherry picked from commit d4f5b5255f9b95050ddd9d67bd3958402be77918)
(This used to be commit c8154142d97ccf973feb36d77f932c893fda0af5)

12 years agoFix winbindd crash bug with trusted domains. Bug #5736
James Ding [Thu, 4 Sep 2008 22:13:12 +0000 (15:13 -0700)]
Fix winbindd crash bug with trusted domains. Bug #5736
(This used to be commit d4f5caa3d38b5afc1e8b3d0e0c6d7d68a152fe0a)

12 years agoMerge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
Herb Lewis [Thu, 4 Sep 2008 21:48:27 +0000 (14:48 -0700)]
Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
(This used to be commit 0311d171970e888754cf614adfdfc1f8e0f5b04e)

12 years agoUse different variable names for talloc and tdb object file names than
Jelmer Vernooij [Thu, 4 Sep 2008 21:43:58 +0000 (23:43 +0200)]
Use different variable names for talloc and tdb object file names than
Samba 4.
(This used to be commit 3f821e8c88665a1e6a3d07a438cd978527306221)

12 years agoget rid of unneeded argument in get_methods and get_alloc_methods
Herb Lewis [Thu, 4 Sep 2008 21:35:27 +0000 (14:35 -0700)]
get rid of unneeded argument in get_methods and get_alloc_methods
(This used to be commit 07b0323472b78d49cff06b78924c3015bea52a30)

12 years agoIgnore unused pidl-generated files.
Jelmer Vernooij [Thu, 4 Sep 2008 21:05:48 +0000 (23:05 +0200)]
Ignore unused pidl-generated files.
(This used to be commit 7eb6bfca40d9ecc225e40661093697edd07699e6)

12 years agoMerge branch 'v3-devel' of ssh://jra@git.samba.org/data/git/samba into v3-devel
Jeremy Allison [Thu, 4 Sep 2008 18:51:55 +0000 (11:51 -0700)]
Merge branch 'v3-devel' of ssh://jra@git.samba.org/data/git/samba into v3-devel
(This used to be commit 98b2fbef5273b055242e24490736b0c9677b1732)

12 years agoCleanup of DC enumeration in get_dcs()
Steven Danneman [Wed, 3 Sep 2008 22:31:39 +0000 (15:31 -0700)]
Cleanup of DC enumeration in get_dcs()

This is a fix for a few small inefficiencies/bugs in the get_dcs() path.

* because the third add_one_dc_unique() loop was outside the ADS check all DCs
  returned from the non-sitename lookup were being tacked onto the dc_name_ip
  list twice.
* add_one_dc_unique() now checks if the given IP address already exists before
  adding it to the list, making the returned list actually unique
* added more thorough doxygen comment headers
(This used to be commit cb2d488e1dbd90953c496c5e25d648977884f7e3)

12 years agokerberos: fix indent of enc type lines in generated krb5.conf files.
Günther Deschner [Thu, 4 Sep 2008 13:11:22 +0000 (15:11 +0200)]
kerberos: fix indent of enc type lines in generated krb5.conf files.

Guenther
(This used to be commit 18a26f08b6fab4119a1421a7ca59c32dde8bb8cb)

12 years agoman pages: Several fixes for man wbinfo.
Karolin Seeger [Thu, 4 Sep 2008 09:25:55 +0000 (11:25 +0200)]
man pages: Several fixes for man wbinfo.

-Tag replaceables
-Fix typos
-Unify indentation

Karolin
(This used to be commit 872defd1d29e1d7a4fc8aba90f689110599444e5)

12 years agoFix bug #5729. Explicitly allow "-valid".
Jeremy Allison [Wed, 3 Sep 2008 20:06:36 +0000 (13:06 -0700)]
Fix bug #5729. Explicitly allow "-valid".
Jeremy
(This used to be commit 4f2de29723bb7e588e6c9440649b57d56d10b587)

12 years agoRevert "Split lookup_name() and create a new functiong called"
Simo Sorce [Wed, 3 Sep 2008 18:36:43 +0000 (14:36 -0400)]
Revert "Split lookup_name() and create a new functiong called"

This reverts commit 8594edf666c29fd4ddf1780da842683dd81483b6.
(This used to be commit ad462e2e2d025a7fc23e7dea32b2b442b528970b)

12 years agoThe msync manpage reports that msync *must* be called before munmap. Failure to do...
Simo Sorce [Wed, 3 Sep 2008 14:44:09 +0000 (10:44 -0400)]
The msync manpage reports that msync *must* be called before munmap. Failure to do so may result in lost data. Fix an ifdef check, I really think we meant to check HAVE_MMAP here.
(This used to be commit 74c8575b3f3b90ea21ae6aa7ccd95947838af956)

12 years agoMerge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
Simo Sorce [Wed, 3 Sep 2008 15:52:54 +0000 (11:52 -0400)]
Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
(This used to be commit 8e4dca3b9416d9b5e535bda5e4befc073bfc1641)

12 years agofactor prs_append_some_data out of prs_append_some_prs_data
Volker Lendecke [Wed, 3 Sep 2008 12:22:48 +0000 (14:22 +0200)]
factor prs_append_some_data out of prs_append_some_prs_data
(This used to be commit 32cb45c962c822bd79a7d0f666f2f6037060b324)

12 years agoTiny logic simplification: remove an else branch
Volker Lendecke [Wed, 3 Sep 2008 10:52:29 +0000 (12:52 +0200)]
Tiny logic simplification: remove an else branch
(This used to be commit 9c4905ed6703a38ff72be5990a036d0a79aebb9f)

12 years agowinbindd: the ad trusted_domains call should return talloced strings.
Günther Deschner [Tue, 2 Sep 2008 19:51:30 +0000 (21:51 +0200)]
winbindd: the ad trusted_domains call should return talloced strings.

Guenther
(This used to be commit b57cbf62e8180c8fdb8f541c43358d36d8dbbdfa)

12 years agoRemove unused CLI_DO_RPC macros
Volker Lendecke [Tue, 2 Sep 2008 07:44:39 +0000 (09:44 +0200)]
Remove unused CLI_DO_RPC macros
(This used to be commit f5212c64d23a28fa40a14b45a8d1c0181f01a6da)

12 years agodoserr: add WERR_WRONG_PASSWORD.
Günther Deschner [Mon, 1 Sep 2008 15:07:33 +0000 (17:07 +0200)]
doserr: add WERR_WRONG_PASSWORD.

Guenther
(This used to be commit 977fec76b77639403ba9ab7bb00c57601e23493d)

12 years agoFix some nonempty blank lines
Volker Lendecke [Mon, 1 Sep 2008 19:28:57 +0000 (21:28 +0200)]
Fix some nonempty blank lines
(This used to be commit 9336cd1c5e5b5d113cd4912d4479dfe609fe261e)

12 years agoSlightly simplify logic: remove an else branch
Volker Lendecke [Mon, 1 Sep 2008 16:42:44 +0000 (18:42 +0200)]
Slightly simplify logic: remove an else branch
(This used to be commit 56ecec50130aa948a431427285aed4b28a5647e8)

12 years agoFix typo
Volker Lendecke [Mon, 1 Sep 2008 14:22:04 +0000 (16:22 +0200)]
Fix typo
(This used to be commit 544d1fd19a7e85af5f522c5b6b4b68c6beb093a6)

12 years agoFix Coverity ID 587
Volker Lendecke [Mon, 1 Sep 2008 11:46:27 +0000 (13:46 +0200)]
Fix Coverity ID 587

The following test program prints "8" on 64-bit :-)

static void print_size(const char lenbuf[4])
{
        printf("sizeof(lenbuf) = %d\n", (int)sizeof(lenbuf));
}
int main(void)
{
        const char lenbuf[4];
        print_size(lenbuf);
        return 0;
}

Jeremy, please check :-)

Volker
(This used to be commit 9daea0ccfdda58450be3c9a9a94c016f5900c319)

12 years agoFix Coverity ID 589, dead code
Volker Lendecke [Sun, 31 Aug 2008 10:15:35 +0000 (12:15 +0200)]
Fix Coverity ID 589, dead code
(This used to be commit 67c0835226e189deba5856710a1dea19ac5f30fd)

12 years agoRemove a duplicate retval check
Volker Lendecke [Sun, 31 Aug 2008 09:45:12 +0000 (11:45 +0200)]
Remove a duplicate retval check

Jeremy, please check!
(This used to be commit 6579005e6490f1a99b3860627ba51decaeb864bd)

12 years agoFix Coverity ID 592
Volker Lendecke [Sun, 31 Aug 2008 09:34:01 +0000 (11:34 +0200)]
Fix Coverity ID 592

The scanner did not figure out that we always have a primary domain, so it
complained about us potentially passing a NULL pointer down to
set_domain_online_request() where it is dereferenced.

Make the code a bit clearer.
(This used to be commit e6e8d108f95ed974f98f3f57adcfbbde4e00fad9)

12 years agoMerge branch 'v3-devel' of ssh://jra@git.samba.org/data/git/samba into v3-devel
Jeremy Allison [Fri, 29 Aug 2008 16:29:21 +0000 (09:29 -0700)]
Merge branch 'v3-devel' of ssh://jra@git.samba.org/data/git/samba into v3-devel
(This used to be commit 882297edc024c146f24fc9f847d2b0b813f93fc7)

12 years agoDeal with systems that don't initialize birthtime correctly.
Jeremy Allison [Fri, 29 Aug 2008 16:29:07 +0000 (09:29 -0700)]
Deal with systems that don't initialize birthtime correctly.
Pointed out by SATOH Fumiyasu <fumiyas@osstech.jp>.
Jeremy.
(This used to be commit 4f60348c0a934123a8e15bc741076366f6713390)

12 years agopackaging(RHEL-CTDB): add the cifs.upcall manpage to package.
Michael Adam [Thu, 28 Aug 2008 15:36:48 +0000 (17:36 +0200)]
packaging(RHEL-CTDB): add the cifs.upcall manpage to package.

Michael
(This used to be commit 8343dd5c3a124b9c705f2b71e3747542e193da7e)

12 years agopackaging(RHEL-CTDB): Add the ldbtools' manpages to the package.
Michael Adam [Thu, 28 Aug 2008 15:14:45 +0000 (17:14 +0200)]
packaging(RHEL-CTDB): Add the ldbtools' manpages to the package.

Michael
(This used to be commit f570071e558f09a3155e9065ec7c73c83e27fd1a)

12 years agopackaging(RHEL-CTDB): fix direction of symlink for libnss_winbind.so.2
Michael Adam [Wed, 27 Aug 2008 13:53:00 +0000 (15:53 +0200)]
packaging(RHEL-CTDB): fix direction of symlink for libnss_winbind.so.2

This is a workaround, until we have proper creation
of libnss_winbind.so.2 and .so as a symlink from the Makefile.

Michael
(This used to be commit f48070b8798db7be1197dba18b759cf50eb121d8)

12 years agopackaging(RHEL-CTDB): move libnss_winbind.so bits closer together
Michael Adam [Wed, 27 Aug 2008 13:52:03 +0000 (15:52 +0200)]
packaging(RHEL-CTDB): move libnss_winbind.so bits closer together

and comment on commented out libnss_wins.so installation

Michael
(This used to be commit 590744d6ca78624334a1b351bb7ade2de3047afc)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)