author | Mahlon E. Smith <mahlon@martini.nu> |
Tue, 06 Sep 2011 16:05:34 -0700 | |
changeset 35 | 3e5572aeee55 |
parent 34 | 40c3719c87d4 |
child 36 | 2e78218b8045 |
--- a/shelldap Tue Sep 06 16:05:31 2011 -0700 +++ b/shelldap Tue Sep 06 16:05:34 2011 -0700 @@ -1513,7 +1513,8 @@ # if this entry is a container for other entries, append a # trailing slash. - $dn .= '/' if ($e->get_value('hasSubordinates') eq 'TRUE'); + $dn .= '/' if $e->get_value('hasSubordinates') && + $e->get_value('hasSubordinates') eq 'TRUE'; # additional arguments/attributes were given; show their values #