summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-05-15 01:54:22 +0000
committerTim Potter <tpot@samba.org>2001-05-15 01:54:22 +0000
commitb208d74e0524514fdb48f80c76192df12238a64e (patch)
tree4e82675e2e59e8ba618e4b6f2f5f1bbee2373038 /testsuite
parentd090ae63aebbbbb4e1d2dbe438005742ed216e31 (diff)
downloadsamba-b208d74e0524514fdb48f80c76192df12238a64e.tar.gz
Fixed lookup of entire /etc/{passwd,group} file line.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/nsswitch/wbinfo.exp4
1 files 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: