1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

Fixed lookup of entire /etc/{passwd,group} file line.

(This used to be commit b208d74e0524514fdb48f80c76192df12238a64e)
This commit is contained in:
Tim Potter 2001-05-15 01:54:22 +00:00
parent 5d72464a56
commit b10ae68700

View File

@ -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: