Add domain to lookupGroupEntryByUID/ByEmail

This commit is contained in:
Jesús García Sáez authored and Carlos Pérez-Aradros Herce committed 2015-11-05 19:11:19 +01:00
1 parent 180269e39e
commit 48832a4878
3 files changed
+11 -7

No files matched your search

+2
View File
@@ -1339,12 +1339,14 @@ groupObjectClasses: (NSArray *) newGroupObjectClasses
}
- (NGLdapEntry *) lookupGroupEntryByUID: (NSString *) theUID
inDomain: (NSString *) domain
{
return [self _lookupGroupEntryByAttributes: [NSArray arrayWithObject: UIDField]
andValue: theUID];
}
- (NGLdapEntry *) lookupGroupEntryByEmail: (NSString *) theEmail
inDomain: (NSString *) domain
{
return [self _lookupGroupEntryByAttributes: mailFields
andValue: theEmail];