[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Fri Jan 17 08:46:03 MST 2014


The branch, master has been updated
       via  c20753c selftest: Use the absolute path to libnss_winbind.so.
       via  5daf540 s3-smbd: Log user change information.
       via  fa8c2b1 libcli: Fix the comment for the address.
      from  741cb24 s3:lib/tldap: make use of tevent_req_set_cleanup_fn()

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c20753ce7aea9562f3731e2e749d8267a526db4f
Author: Andreas Schneider <asn at samba.org>
Date:   Fri Nov 8 09:49:25 2013 +0100

    selftest: Use the absolute path to libnss_winbind.so.
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Günther Deschner <gd at samba.org>
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Fri Jan 17 16:45:27 CET 2014 on sn-devel-104

commit 5daf5407826464e650f363ca02ca3c55dce9cabc
Author: Andreas Schneider <asn at samba.org>
Date:   Wed Jul 31 15:52:44 2013 +0200

    s3-smbd: Log user change information.
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Günther Deschner <gd at samba.org>

commit fa8c2b1578bfb94dbe229d1da889d310cb130d1e
Author: Andreas Schneider <asn at samba.org>
Date:   Mon Jul 1 20:04:29 2013 +0200

    libcli: Fix the comment for the address.
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Günther Deschner <gd at samba.org>

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

Summary of changes:
 libcli/named_pipe_auth/npa_tstream.c |    2 +-
 selftest/target/Samba.pm             |    2 ++
 source3/smbd/uid.c                   |    6 ++++++
 3 files changed, 9 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/libcli/named_pipe_auth/npa_tstream.c b/libcli/named_pipe_auth/npa_tstream.c
index 2728e04..3d3f55e 100644
--- a/libcli/named_pipe_auth/npa_tstream.c
+++ b/libcli/named_pipe_auth/npa_tstream.c
@@ -1321,7 +1321,7 @@ static void tstream_npa_accept_existing_reply(struct tevent_req *subreq)
 						i4.client_port,
 						&state->client);
 	if (ret != 0) {
-		DEBUG(2, ("Invalid server address[%s:%u] - %s\n",
+		DEBUG(2, ("Invalid client address[%s:%u] - %s\n",
 			  i4.client_addr, i4.client_port,
 			  strerror(errno)));
 		pipe_reply.status = NT_STATUS_INVALID_ADDRESS;
diff --git a/selftest/target/Samba.pm b/selftest/target/Samba.pm
index ab3851f..d33c1d6 100644
--- a/selftest/target/Samba.pm
+++ b/selftest/target/Samba.pm
@@ -9,6 +9,7 @@ use strict;
 use target::Samba3;
 use target::Samba4;
 use POSIX;
+use Cwd qw(abs_path);
 
 sub new($$$$$) {
 	my ($classname, $bindir, $binary_mapping,$ldap, $srcdir, $server_maxtime) = @_;
@@ -69,6 +70,7 @@ sub nss_wrapper_winbind_so_path($) {
 	my $ret = $ENV{NSS_WRAPPER_WINBIND_SO_PATH};
         if (not defined($ret)) {
 	    $ret = bindir_path($object, "default/nsswitch/libnss-winbind.so");
+	    $ret = abs_path($ret);
 	}
 	return $ret;
 }
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index 5e09e6b..8e5e6d8 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -445,6 +445,12 @@ bool smbd_become_authenticated_pipe_user(struct auth_session_info *session_info)
 		    session_info->unix_token->ngroups, session_info->unix_token->groups,
 		    session_info->security_token);
 
+	DEBUG(5, ("Impersonated user: uid=(%d,%d), gid=(%d,%d)\n",
+		 (int)getuid(),
+		 (int)geteuid(),
+		 (int)getgid(),
+		 (int)getegid()));
+
 	return True;
 }
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list