Author: jra
Date: 2007-05-16 22:52:17 +0000 (Wed, 16 May 2007)
New Revision: 22956

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

Log:
Fix security=server (bug #4622). Volker's patch
(slightly truncated by me). Will be in 3.0.25a.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/auth/auth_server.c
   branches/SAMBA_3_0_25/source/auth/auth_server.c
   branches/SAMBA_3_0_26/source/auth/auth_server.c


Changeset:
Modified: branches/SAMBA_3_0/source/auth/auth_server.c
===================================================================
--- branches/SAMBA_3_0/source/auth/auth_server.c        2007-05-16 22:34:58 UTC 
(rev 22955)
+++ branches/SAMBA_3_0/source/auth/auth_server.c        2007-05-16 22:52:17 UTC 
(rev 22956)
@@ -268,12 +268,6 @@
        BOOL locally_made_cli = False;
        struct server_security_state *state;
 
-       /* 
-        * Check that the requested domain is not our own machine name.
-        * If it is, we should never check the PDC here, we use our own local
-        * password file.
-        */
-
        state = talloc_get_type_abort(
                private_data, struct server_security_state);
 

Modified: branches/SAMBA_3_0_25/source/auth/auth_server.c
===================================================================
--- branches/SAMBA_3_0_25/source/auth/auth_server.c     2007-05-16 22:34:58 UTC 
(rev 22955)
+++ branches/SAMBA_3_0_25/source/auth/auth_server.c     2007-05-16 22:52:17 UTC 
(rev 22956)
@@ -230,17 +230,6 @@
        NTSTATUS nt_status = NT_STATUS_NOT_IMPLEMENTED;
        BOOL locally_made_cli = False;
 
-       /* 
-        * Check that the requested domain is not our own machine name.
-        * If it is, we should never check the PDC here, we use our own local
-        * password file.
-        */
-
-       if(is_myname(user_info->domain)) {
-               DEBUG(3,("check_smbserver_security: Requested domain was for 
this machine.\n"));
-               return nt_status;
-       }
-
        cli = (struct cli_state *)my_private_data;
        
        if (cli) {

Modified: branches/SAMBA_3_0_26/source/auth/auth_server.c
===================================================================
--- branches/SAMBA_3_0_26/source/auth/auth_server.c     2007-05-16 22:34:58 UTC 
(rev 22955)
+++ branches/SAMBA_3_0_26/source/auth/auth_server.c     2007-05-16 22:52:17 UTC 
(rev 22956)
@@ -230,17 +230,6 @@
        NTSTATUS nt_status = NT_STATUS_NOT_IMPLEMENTED;
        BOOL locally_made_cli = False;
 
-       /* 
-        * Check that the requested domain is not our own machine name.
-        * If it is, we should never check the PDC here, we use our own local
-        * password file.
-        */
-
-       if(is_myname(user_info->domain)) {
-               DEBUG(3,("check_smbserver_security: Requested domain was for 
this machine.\n"));
-               return nt_status;
-       }
-
        cli = (struct cli_state *)my_private_data;
        
        if (cli) {

Reply via email to