From d7454ab25146c32b9993f7c281de2d6f8b74c7b6 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 29 Mar 2013 10:21:03 +0000 Subject: [PATCH] Samba 4 group support --- lam/lib/types/group.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lam/lib/types/group.inc b/lam/lib/types/group.inc index 57665abe..e6345320 100644 --- a/lam/lib/types/group.inc +++ b/lam/lib/types/group.inc @@ -3,7 +3,7 @@ $Id$ This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) - Copyright (C) 2005 - 2012 Roland Gruber + Copyright (C) 2005 - 2013 Roland Gruber This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -112,6 +112,9 @@ class group extends baseType { elseif ($container->getAccountModule('rfc2307bisPosixGroup') != null) { $attributes = $container->getAccountModule('rfc2307bisPosixGroup')->getAttributes(); } + elseif ($container->getAccountModule('windowsGroup') != null) { + $attributes = $container->getAccountModule('windowsGroup')->getAttributes(); + } $gonAttributes = null; if ($container->getAccountModule('groupOfNames') != null) { $gonAttributes = $container->getAccountModule('groupOfNames')->getAttributes(); @@ -153,6 +156,9 @@ class group extends baseType { elseif ($container->getAccountModule('rfc2307bisPosixGroup') != null) { $attributes = $container->getAccountModule('rfc2307bisPosixGroup')->getAttributes(); } + elseif ($container->getAccountModule('windowsGroup') != null) { + $attributes = $container->getAccountModule('windowsGroup')->getAttributes(); + } $gonAttributes = null; if ($container->getAccountModule('groupOfNames') != null) { $gonAttributes = $container->getAccountModule('groupOfNames')->getAttributes();