File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,12 @@ public function getNextOrgGIDNumber($UnitySQL)
159
159
160
160
private function UIDNumInUse ($ id )
161
161
{
162
+ if ($ id >= 100 && $ id <= 999 ){
163
+ return true ;
164
+ }
165
+ if ($ id >= 60000 && $ id <= 64999 ){
166
+ return true ;
167
+ }
162
168
$ users = $ this ->userOU ->getChildrenArray (true );
163
169
foreach ($ users as $ user ) {
164
170
if ($ user ["uidnumber " ][0 ] == $ id ) {
@@ -173,6 +179,12 @@ private function UIDNumInUse($id)
173
179
// one should conform to the other
174
180
private function GIDNumInUse ($ id )
175
181
{
182
+ if ($ id >= 100 && $ id <= 999 ){
183
+ return true ;
184
+ }
185
+ if ($ id >= 60000 && $ id <= 64999 ){
186
+ return true ;
187
+ }
176
188
$ groups = $ this ->groupOU ->getChildrenArray (true );
177
189
foreach ($ groups as $ group ) {
178
190
if ($ group ["gidnumber " ][0 ] == $ id ) {
You can’t perform that action at this time.
0 commit comments