[SCM] Samba Shared Repository - branch v4-2-test updated

Karolin Seeger kseeger at samba.org
Fri Nov 6 13:58:07 UTC 2015


The branch, v4-2-test has been updated
       via  95232e6 Changing log level of two entries to from 1 to 3
       via  2aded40 lib: util: Make non-critical message a warning.
      from  6f95e55 manpage: corrected small typo error

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-2-test


- Log -----------------------------------------------------------------
commit 95232e6fa289530a00ed1be04c4f488e85b113aa
Author: Marc Muehlfeld <mmuehlfeld at samba.org>
Date:   Wed Nov 4 20:47:24 2015 +0100

    Changing log level of two entries to from 1 to 3
    
    On domain members using RFC2307, machine acccounts without an uidNumber
    attribute are not retrieved via idmap_ad. This leads to many of the following
    two error messages:
       Username DOMAIN\machineaccountname$ is invalid on this system
    and
       Failed to map kerberos principal to system user (NT_STATUS_LOGON_FAILURE)
    Machine accounts don't have an uidNumber attribute, if not set manually. To
    avoid flooding the logs, raising the level 1 to 3 for these messages.
    
    Bugreport: https://bugzilla.samba.org/show_bug.cgi?id=9912
    
    Signed-off-by: Marc Muehlfeld <mmuehlfeld at samba.org>
    
    Autobuild-User(v4-2-test): Karolin Seeger <kseeger at samba.org>
    Autobuild-Date(v4-2-test): Fri Nov  6 14:57:14 CET 2015 on sn-devel-104

commit 2aded40588c363a6e4c8100667e7614895f98b7a
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Oct 27 17:08:50 2015 -0700

    lib: util: Make non-critical message a warning.
    
    Non-root utilities (e.g. bin/net) call this via messaging_init().
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=11566
    
    Signed-off-by: Jeremy Allison <jra at samba.org>
    Reviewed-by: Andreas Schneider <asn at samba.org>
    (back-ported from commit 859e3415b38538ff6c023e4a56570d94a4fe4432)

-----------------------------------------------------------------------

Summary of changes:
 lib/util/util.c             | 2 +-
 source3/auth/auth_generic.c | 2 +-
 source3/auth/user_krb5.c    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/util/util.c b/lib/util/util.c
index 157a4aa..21d55c6 100644
--- a/lib/util/util.c
+++ b/lib/util/util.c
@@ -275,7 +275,7 @@ _PUBLIC_ bool directory_create_or_exist_strict(const char *dname,
 		return false;
 	}
 	if (st.st_uid != uid && !uid_wrapper_enabled()) {
-		DEBUG(0, ("invalid ownership on directory "
+		DEBUG(3, ("invalid ownership on directory "
 			  "%s\n", dname));
 		return false;
 	}
diff --git a/source3/auth/auth_generic.c b/source3/auth/auth_generic.c
index 1da4961..ad7bf2f 100644
--- a/source3/auth/auth_generic.c
+++ b/source3/auth/auth_generic.c
@@ -95,7 +95,7 @@ static NTSTATUS auth3_generate_session_info_pac(struct auth4_context *auth_ctx,
 					     &ntuser, &ntdomain,
 					     &username, &pw);
 	if (!NT_STATUS_IS_OK(status)) {
-		DEBUG(1, ("Failed to map kerberos principal to system user "
+		DEBUG(3, ("Failed to map kerberos principal to system user "
 			  "(%s)\n", nt_errstr(status)));
 		status = NT_STATUS_ACCESS_DENIED;
 		goto done;
diff --git a/source3/auth/user_krb5.c b/source3/auth/user_krb5.c
index 7442ea4..7ffd7ab 100644
--- a/source3/auth/user_krb5.c
+++ b/source3/auth/user_krb5.c
@@ -160,7 +160,7 @@ NTSTATUS get_user_from_kerberos_info(TALLOC_CTX *mem_ctx,
 
 		/* extra sanity check that the guest account is valid */
 		if (!pw) {
-			DEBUG(1, ("Username %s is invalid on this system\n",
+			DEBUG(3, ("Username %s is invalid on this system\n",
 				  fuser));
 			return NT_STATUS_LOGON_FAILURE;
 		}


-- 
Samba Shared Repository



More information about the samba-cvs mailing list