Skip to content

net: Make 'net gpo linkadd -h' more descriptive

amit kumar requested to merge amitkuma/samba:net-ads-gpo-linkadd into master

I was trying to use 'linkadd' command but everytime I was getting 'link add failed: Invalid DN syntax'

Now it's not clear Which DN? OU DN or GPO DN. I looked into the code and found syntax of GPO DN should be: '!strnequal(gpo_dn, "LDAP://CN={", strlen("LDAP://CN={"))'

and linkadd started working.

This change make description of linkadd command more descriptive stating an example which will help user to use correct syntax for applying the gpo to container.

Signed-off-by: Amit Kumar amitkuma@redhat.com

Merge request reports