From b208d74e0524514fdb48f80c76192df12238a64e Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 15 May 2001 01:54:22 +0000 Subject: [PATCH] Fixed lookup of entire /etc/{passwd,group} file line. --- testsuite/nsswitch/wbinfo.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/nsswitch/wbinfo.exp b/testsuite/nsswitch/wbinfo.exp index 81ac14b78f0..3518db387be 100644 --- a/testsuite/nsswitch/wbinfo.exp +++ b/testsuite/nsswitch/wbinfo.exp @@ -295,10 +295,10 @@ proc check_errcode { args } { } } -set gooduser_name [lindex $user_list 0] +set gooduser_name [lindex [split [lindex $user_list 0] ":"] 0] set gooduser_sid [util_start "bin/wbinfo" "-n $gooduser_name"] -set goodgroup_name [lindex $group_list 0] +set goodgroup_name [lindex [split [lindex $group_list 0] ":"] 0] set goodgroup_sid [util_start "bin/wbinfo" "-n $goodgroup_name"] # Some conditions not tested: -- 2.25.1