I'm not sure if it's possible, but what if there will be possible to look for Groups by cn's like:
$group = Group::where('cn', 'group_name');
Like in User model case... I'm now trying to search for groups, using base dn and I couldn't make it. Of course if I put whole "dn" path into the Group::find method it will work.
I'm not sure if it's possible, but what if there will be possible to look for
Groups
by cn's like:$group = Group::where('cn', 'group_name');
Like in
User
model case... I'm now trying to search for groups, using base dn and I couldn't make it. Of course if I put whole "dn" path into theGroup::find
method it will work.Is it a good idea?