Author: jerry Date: 2005-08-25 20:10:31 +0000 (Thu, 25 Aug 2005) New Revision: 775
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=775 Log: adding group enumeration patch for 3.0.20 Added: trunk/patches/groupname_enumeration_v2.patch Modified: trunk/patches/index.html Changeset: Added: trunk/patches/groupname_enumeration_v2.patch =================================================================== --- trunk/patches/groupname_enumeration_v2.patch 2005-08-25 14:46:11 UTC (rev 774) +++ trunk/patches/groupname_enumeration_v2.patch 2005-08-25 20:10:31 UTC (rev 775) @@ -0,0 +1,26 @@ +Index: source/rpc_server/srv_samr_nt.c +=================================================================== +--- source/rpc_server/srv_samr_nt.c (revision 9276) ++++ source/rpc_server/srv_samr_nt.c (revision 9594) +@@ -670,7 +670,7 @@ + /* + * JRA. I think this should include the null. TNG does not. + */ +- init_unistr2(&uni_name[i], entries[i].account_name, ++ init_unistr2(&uni_name[i], entries[i].fullname, + UNI_STR_TERMINATE); + init_sam_entry(&sam[i], &uni_name[i], entries[i].rid); + } +Index: source/rpc_parse/parse_samr.c +=================================================================== +--- source/rpc_parse/parse_samr.c (revision 9276) ++++ source/rpc_parse/parse_samr.c (revision 9594) +@@ -1720,7 +1720,7 @@ + DEBUG(11, ("init_sam_dispinfo_3: entry: %d\n",i)); + + init_unistr2(&(*sam)->str[i].uni_grp_name, +- entries[i].account_name, UNI_FLAGS_NONE); ++ entries[i].fullname, UNI_FLAGS_NONE); + init_unistr2(&(*sam)->str[i].uni_grp_desc, + entries[i].description, UNI_FLAGS_NONE); + Modified: trunk/patches/index.html =================================================================== --- trunk/patches/index.html 2005-08-25 14:46:11 UTC (rev 774) +++ trunk/patches/index.html 2005-08-25 20:10:31 UTC (rev 775) @@ -4,14 +4,31 @@ <h2>Patches for Recent Releases</h2> -<p>JERRY WILL DROP A HOW TO HERE</p> +<p>In order to better support the Samba community, this page + contains recommended patches for the most recent production + releases. These patches have been integrated into the + main Samba development trees for the next version of Samba + 3.0.x.</p> +<p>Follow these instructions for applying patches:</p> +<pre>$ tar zxvf samba-3.0.x.tar.gz +$ cd samba-3.0.x +$ patch -p0 < <path to downloaded patchfile> +$ cd source +....build Samba as normal.... +</pre> +<p>Please note that in some cases it will be necessary to regenerate + the configure script by executing autogen.sh located in the + source/ directory. In all cases, it is best to do a full build + after applying any patches.</p> + + <!-- Each release gets its own table. --> <table class="real"> <thead> - <tr><th colspan="2"><b>RELEASE NUMBER</b></th></tr> + <tr><th colspan="2"><b>Samba 3.0.20</b></th></tr> </thead> <tbody> <tr> @@ -19,8 +36,9 @@ </tr> <tr> - <td>Patch Link</td> - <td>Followed by a short description of the bug fixed by this patch.</td> + <td><a href="/samba/patches/groupname_enumeration_v2.patch">group_enum_v2</a></td> + <td>Fixes a regression in which groups in the mapping table where displayed by the + Unix group name and no the display name (e.g. ntadmin rather that 'Domain Admins')</td> </tr> </tbody> </table>
