Author: jerry
Date: 2006-07-24 12:00:03 +0000 (Mon, 24 Jul 2006)
New Revision: 1017

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=1017

Log:
adding fix for usrmgr.exe and local groups to the patches page
Added:
   trunk/patches/patch-3.0.23a-samr_alias.patch
   trunk/patches/series
   trunk/patches/series-3.0.23a
Removed:
   trunk/patches/series
   trunk/patches/series-3.0.21c
Modified:
   trunk/patches/index.html


Changeset:
Modified: trunk/patches/index.html
===================================================================
--- trunk/patches/index.html    2006-07-22 17:26:15 UTC (rev 1016)
+++ trunk/patches/index.html    2006-07-24 12:00:03 UTC (rev 1017)
@@ -35,26 +35,26 @@
    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. -->
 
-<!-- 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 
&quot;passdb 
+        backend = ldapsam&quot;</td>
   </tr>
   </tbody>
 </table>
--->
 
+
 <p>&nbsp;</p>
 
 

Added: trunk/patches/patch-3.0.23a-samr_alias.patch
===================================================================
--- trunk/patches/patch-3.0.23a-samr_alias.patch        2006-07-22 17:26:15 UTC 
(rev 1016)
+++ trunk/patches/patch-3.0.23a-samr_alias.patch        2006-07-24 12:00:03 UTC 
(rev 1017)
@@ -0,0 +1,26 @@
+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;
+       }
+ 

Deleted: trunk/patches/series
===================================================================
--- trunk/patches/series        2006-07-22 17:26:15 UTC (rev 1016)
+++ trunk/patches/series        2006-07-24 12:00:03 UTC (rev 1017)
@@ -1 +0,0 @@
-link series-3.0.21c
\ No newline at end of file

Added: trunk/patches/series
===================================================================
--- trunk/patches/series        2006-07-22 17:26:15 UTC (rev 1016)
+++ trunk/patches/series        2006-07-24 12:00:03 UTC (rev 1017)
@@ -0,0 +1 @@
+link series-3.0.23a
\ No newline at end of file


Property changes on: trunk/patches/series
___________________________________________________________________
Name: svn:special
   + *

Deleted: trunk/patches/series-3.0.21c
===================================================================
--- trunk/patches/series-3.0.21c        2006-07-22 17:26:15 UTC (rev 1016)
+++ trunk/patches/series-3.0.21c        2006-07-24 12:00:03 UTC (rev 1017)
@@ -1,5 +0,0 @@
-# File to be used with the quilt tool to apply the patches in the right order.
-#
-# See http://savannah.nongnu.org/projects/quilt and 
-# http://www.suse.de/~agruen/quilt.pdf
-

Copied: trunk/patches/series-3.0.23a (from rev 1016, 
trunk/patches/series-3.0.21c)

Reply via email to