]> arthur.barton.de Git - netatalk.git/commitdiff
Small fixes
authorfranklahm <franklahm>
Sat, 28 Nov 2009 10:13:04 +0000 (10:13 +0000)
committerfranklahm <franklahm>
Sat, 28 Nov 2009 10:13:04 +0000 (10:13 +0000)
libatalk/acl/ldap.c

index d2d6ac2c0d9afa2e589f1a73d25b65b3343c0857..1fb5a23e2b7d9d643826a47f029fd5c3f7712eb8 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  $Id: ldap.c,v 1.3 2009-11-28 10:03:01 franklahm Exp $
+  $Id: ldap.c,v 1.4 2009-11-28 10:13:04 franklahm Exp $
   Copyright (c) 2008,2009 Frank Lahm <franklahm@gmail.com>
 
   This program is free software; you can redistribute it and/or modify
@@ -57,9 +57,9 @@ struct ldap_pref ldap_prefs[] = {
     {&ldap_auth_dn,    "ldap_auth_dn",     0, 0,  0},
     {&ldap_auth_pw,    "ldap_auth_pw",     0, 0,  0},
     {&ldap_userbase,   "ldap_userbase",    0, 0, -1},
-    {&ldap_userscope}, "ldap_userscope",   1 ,1, -1},
+    {&ldap_userscope "ldap_userscope",   1 ,1, -1},
     {&ldap_groupbase,  "ldap_groupbase",   0, 0, -1},
-    {&ldap_groupscope},"ldap_groupscope",  1 ,1, -1},
+    {&ldap_groupscope"ldap_groupscope",  1 ,1, -1},
     {&ldap_uuid_attr,  "ldap_uuid_attr",   0, 0, -1},
     {&ldap_name_attr,  "ldap_name_attr",   0, 0, -1},
     {&ldap_group_attr, "ldap_group_attr",  0, 0, -1},
@@ -74,6 +74,9 @@ struct pref_array prefs_array[] = {
     {"ldap_userscope",   "base",   LDAP_SCOPE_BASE},
     {"ldap_userscope",   "one",    LDAP_SCOPE_ONELEVEL},
     {"ldap_userscope",   "sub",    LDAP_SCOPE_SUBTREE},
+    {"ldap_groupscope",  "base",   LDAP_SCOPE_BASE},
+    {"ldap_groupscope",  "one",    LDAP_SCOPE_ONELEVEL},
+    {"ldap_groupscope",  "sub",    LDAP_SCOPE_SUBTREE},
     {NULL,               NULL,     0}
 };