Lines Matching refs:repository
188 static pwu_repository_t repository; variable
246 repository.type = NULL; in main()
247 repository.scope = NULL; in main()
248 repository.scope_len = 0; in main()
301 auth_rep.type = repository.type; in main()
302 auth_rep.scope = repository.scope; in main()
303 auth_rep.scope_len = repository.scope_len; in main()
313 retval = get_namelist(repository, &namelist, &num_user); in main()
324 (void) get_attr(namelist[i], &repository, in main()
334 if (get_attr(usrname, &repository, &attributes) == in main()
369 repository.type); in main()
450 input = userinput(usrname, &repository, ATTR_SHELL); in main()
457 input = userinput(usrname, &repository, ATTR_GECOS); in main()
464 input = userinput(usrname, &repository, ATTR_HOMEDIR); in main()
475 &repository, attributes, &updated_reps); in main()
697 if (repository.type != NULL) { in ckarg()
705 repository.type = optarg; in ckarg()
707 repository.type = optarg; in ckarg()
709 repository.type = optarg; in ckarg()
722 if (repository.type == NULL) in ckarg()
723 repository = __REPFILES; in ckarg()
729 if (IS_FILES(repository) == FALSE && in ckarg()
730 IS_LDAP(repository) == FALSE) { in ckarg()
755 if (repository.type == NULL) in ckarg()
756 repository = __REPFILES; in ckarg()
758 if (IS_FILES(repository) == FALSE && in ckarg()
759 IS_LDAP(repository) == FALSE) { in ckarg()
772 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
787 if (repository.type == NULL) in ckarg()
788 repository = __REPFILES; in ckarg()
790 if (IS_FILES(repository) == FALSE && in ckarg()
791 IS_LDAP(repository) == FALSE) { in ckarg()
804 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
819 if (repository.type == NULL) in ckarg()
820 repository = __REPFILES; in ckarg()
822 if (IS_FILES(repository) == FALSE && in ckarg()
823 IS_LDAP(repository) == FALSE) { in ckarg()
836 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
852 if (repository.type == NULL) in ckarg()
853 repository = __REPFILES; in ckarg()
855 if (IS_FILES(repository) == FALSE && in ckarg()
856 IS_LDAP(repository) == FALSE) { in ckarg()
869 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
893 if (repository.type == NULL) in ckarg()
894 repository = __REPFILES; in ckarg()
896 if (IS_FILES(repository) == FALSE && in ckarg()
897 IS_LDAP(repository) == FALSE) { in ckarg()
910 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
932 if (repository.type == NULL) in ckarg()
933 repository = __REPFILES; in ckarg()
935 if (IS_FILES(repository) == FALSE && in ckarg()
936 IS_LDAP(repository) == FALSE) { in ckarg()
949 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
973 if (repository.type == NULL) in ckarg()
974 repository = __REPFILES; in ckarg()
978 if (IS_FILES(repository) == FALSE && in ckarg()
979 IS_LDAP(repository) == FALSE) { in ckarg()
992 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
1005 if (repository.type == NULL) in ckarg()
1006 repository = __REPFILES; in ckarg()
1008 if (IS_FILES(repository) == FALSE && in ckarg()
1009 IS_LDAP(repository) == FALSE) { in ckarg()
1022 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
1035 if (repository.type == NULL) in ckarg()
1036 repository = __REPFILES; in ckarg()
1038 if (IS_FILES(repository) == FALSE && in ckarg()
1039 IS_LDAP(repository) == FALSE) { in ckarg()
1052 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
1066 if (repository.type == NULL) in ckarg()
1067 repository = __REPFILES; in ckarg()
1079 if (repository.type == NULL) in ckarg()
1080 repository = __REPFILES; in ckarg()
1086 if (IS_FILES(repository) && (ckuid() != SUCCESS)) { in ckarg()
1100 if (repository.type == NULL) in ckarg()
1101 repository = __REPFILES; in ckarg()
1106 if (IS_FILES(repository) && (ckuid() != SUCCESS)) { in ckarg()
1110 if (IS_NIS(repository)) { in ckarg()
1209 get_attr(char *username, pwu_repository_t *repository, attrlist **attributes) in get_attr() argument
1219 res = __get_authtoken_attr(username, repository, *attributes); in get_attr()
1482 get_namelist(pwu_repository_t repository, char ***namelist, int *num_user) in get_namelist() argument
1484 if (IS_LDAP(repository)) { in get_namelist()
1487 } else if (IS_FILES(repository)) in get_namelist()