Project

General

Profile

« Previous | Next » 

Revision 8563

Added by Jing Tao almost 11 years ago

Use a DN name for the group in the usage message printout.

View differences:

src/edu/ucsb/nceas/metacat/authentication/AuthFile.java
1000 1000
                        "  The hash string usually has $ signs which messes the command line arguments. You should use two SINGLE quotes to wrap the entire hashed string.\n"+
1001 1001
                        "2. The user-distinguish-name must look like \"uid=john,o=something,dc=something,dc=something\" and the group-name must look like \"cn=dev,o=something,dc=something,dc=something\".\n"+
1002 1002
                        "3. if a value of an option has spaces, the value should be enclosed by the double quotes.\n"+
1003
                        "  For example: ./authFileManager.sh groupadd -g nceas-dev -d \"Developers at NCEAS\"\n"+
1003
                        "  For example: ./authFileManager.sh groupadd -g cn=dev,o=something,dc=something,dc=something -d \"Developers at NCEAS\"\n"+
1004 1004
                        "4. \"-d description\" in groupadd is optional; \"-g groupname -e email-address -s surname -f given-name -o organizationName\" in useradd are optional as well.");
1005 1005
                       
1006 1006
                        

Also available in: Unified diff