summaryrefslogtreecommitdiff
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
commitb10ae68700e7642c237deaa8fd11da36694e7384 (patch)
tree3419c206dbfa9bfc5c7ff9e9533a4c8d49f62b72
parent5d72464a56bd2c28b19c169cd4b5febb4cc1091c (diff)
downloadsamba-b10ae68700e7642c237deaa8fd11da36694e7384.tar.gz
samba-b10ae68700e7642c237deaa8fd11da36694e7384.tar.bz2
samba-b10ae68700e7642c237deaa8fd11da36694e7384.zip
Fixed lookup of entire /etc/{passwd,group} file line.
(This used to be commit b208d74e0524514fdb48f80c76192df12238a64e)
-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 81ac14b78f..3518db387b 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: