source/ directory. In all cases, it is best to do a clean build
after applying any patches.</p>
-<p>No patches available at the moment.</p>
-
<!-- Each release gets its own table. -->
-<!--
+
<table class="real">
<thead>
- <tr><th colspan="2"><b>Samba 3.0.21c</b></th></tr>
+ <tr><th colspan="2"><b>Samba 3.0.23a</b></th></tr>
</thead>
<tbody>
<tr>
<td><em>Patch</em></td><td><em>Description</em></td>
</tr>
<tr>
- <td><a href="/samba/patches/<filename>">BUG ID</a></td>
- <td>Fix for ...</td>
+ <td><a href="/samba/patches/patch-3.0.23a-samr_alias.patch">LocalGroups</a></td>
+ <td>User Manage for Domains is unable to view or modify the membership of Local
+ groups such as Administrators on a Samba DC configured to use "passdb
+ backend = ldapsam"</td>
</tr>
</tbody>
</table>
--->
+
<p> </p>
--- /dev/null
+diff -urN --exclude-from=/home/drizzt/jerry/tmp/diff.excludes samba-3.0.23a/source/rpc_server/srv_samr_nt.c samba-3.0.23a-patched/source/rpc_server/srv_samr_nt.c
+--- samba-3.0.23a/source/rpc_server/srv_samr_nt.c 2006-07-21 11:22:56.000000000 -0500
++++ samba-3.0.23a-patched/source/rpc_server/srv_samr_nt.c 2006-07-24 06:50:15.000000000 -0500
+@@ -3758,7 +3758,9 @@
+
+ DEBUG(10, ("sid is %s\n", sid_string_static(&alias_sid)));
+
++ become_root();
+ status = pdb_enum_aliasmem(&alias_sid, &sids, &num_sids);
++ unbecome_root();
+
+ if (!NT_STATUS_IS_OK(status)) {
+ return status;
+@@ -4589,7 +4591,11 @@
+
+ /* get the current group information */
+
+- if ( !pdb_get_aliasinfo( &group_sid, &info ) ) {
++ become_root();
++ ret = pdb_get_aliasinfo( &group_sid, &info );
++ unbecome_root();
++
++ if ( !ret ) {
+ return NT_STATUS_NO_SUCH_ALIAS;
+ }
+
-series-3.0.21c
\ No newline at end of file
+series-3.0.23a
\ No newline at end of file