Skip to content

Commit 186848b

Browse files
committed
Fix comment
1 parent 0079b01 commit 186848b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/group/manager/ldap/ldap.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ type config struct {
6666
type attributes struct {
6767
// DN is the distinguished name in ldap, e.g. `cn=admins,ou=groups,dc=example,dc=org`
6868
DN string `mapstructure:"dn"`
69-
// UID is an immutable group id, see https://docs.microsoft.com/en-us/azure/active-directory/hybrid/plan-connect-design-concepts
69+
// GID is an immutable group id, see https://docs.microsoft.com/en-us/azure/active-directory/hybrid/plan-connect-design-concepts
7070
GID string `mapstructure:"gid"`
7171
// CN is the group name, typically `cn`, `gid` or `samaccountname`
7272
CN string `mapstructure:"cn"`
@@ -81,7 +81,7 @@ type attributes struct {
8181
// Default attributes (Active Directory)
8282
var ldapDefaults = attributes{
8383
DN: "dn",
84-
GID: "objectGUID", // you can fall back to objectguid or even samaccountname but you will run into trouble when user names change. You have been warned.
84+
GID: "objectGUID", // you can fall back to samaccountname but you will run into trouble when group names change. You have been warned.
8585
CN: "cn",
8686
Mail: "mail",
8787
DisplayName: "displayName",

0 commit comments

Comments
 (0)