diff options
author | Tim Potter <tpot@samba.org> | 2001-05-15 01:54:22 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-05-15 01:54:22 +0000 |
commit | b208d74e0524514fdb48f80c76192df12238a64e (patch) | |
tree | 4e82675e2e59e8ba618e4b6f2f5f1bbee2373038 /testsuite | |
parent | d090ae63aebbbbb4e1d2dbe438005742ed216e31 (diff) | |
download | samba-b208d74e0524514fdb48f80c76192df12238a64e.tar.gz samba-b208d74e0524514fdb48f80c76192df12238a64e.tar.xz samba-b208d74e0524514fdb48f80c76192df12238a64e.zip |
Fixed lookup of entire /etc/{passwd,group} file line.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/nsswitch/wbinfo.exp | 4 |
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: |