Lines Matching refs:repository

190 static pwu_repository_t	repository;  variable
248 repository.type = NULL; in main()
249 repository.scope = NULL; in main()
250 repository.scope_len = 0; in main()
303 auth_rep.type = repository.type; in main()
304 auth_rep.scope = repository.scope; in main()
305 auth_rep.scope_len = repository.scope_len; in main()
315 retval = get_namelist(repository, &namelist, &num_user); in main()
326 (void) get_attr(namelist[i], &repository, in main()
336 if (get_attr(usrname, &repository, &attributes) == in main()
371 repository.type); in main()
452 input = userinput(usrname, &repository, ATTR_SHELL); in main()
459 input = userinput(usrname, &repository, ATTR_GECOS); in main()
466 input = userinput(usrname, &repository, ATTR_HOMEDIR); in main()
477 &repository, attributes, &updated_reps); in main()
699 if (repository.type != NULL) { in ckarg()
707 repository.type = optarg; in ckarg()
709 repository.type = optarg; in ckarg()
711 repository.type = optarg; in ckarg()
724 if (repository.type == NULL) in ckarg()
725 repository = __REPFILES; in ckarg()
731 if (IS_FILES(repository) == FALSE && in ckarg()
732 IS_LDAP(repository) == FALSE) { in ckarg()
757 if (repository.type == NULL) in ckarg()
758 repository = __REPFILES; in ckarg()
760 if (IS_FILES(repository) == FALSE && in ckarg()
761 IS_LDAP(repository) == FALSE) { in ckarg()
774 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
789 if (repository.type == NULL) in ckarg()
790 repository = __REPFILES; in ckarg()
792 if (IS_FILES(repository) == FALSE && in ckarg()
793 IS_LDAP(repository) == FALSE) { in ckarg()
806 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
821 if (repository.type == NULL) in ckarg()
822 repository = __REPFILES; in ckarg()
824 if (IS_FILES(repository) == FALSE && in ckarg()
825 IS_LDAP(repository) == FALSE) { in ckarg()
838 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
854 if (repository.type == NULL) in ckarg()
855 repository = __REPFILES; in ckarg()
857 if (IS_FILES(repository) == FALSE && in ckarg()
858 IS_LDAP(repository) == FALSE) { in ckarg()
871 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
895 if (repository.type == NULL) in ckarg()
896 repository = __REPFILES; in ckarg()
898 if (IS_FILES(repository) == FALSE && in ckarg()
899 IS_LDAP(repository) == FALSE) { in ckarg()
912 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
934 if (repository.type == NULL) in ckarg()
935 repository = __REPFILES; in ckarg()
937 if (IS_FILES(repository) == FALSE && in ckarg()
938 IS_LDAP(repository) == FALSE) { in ckarg()
951 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
975 if (repository.type == NULL) in ckarg()
976 repository = __REPFILES; in ckarg()
980 if (IS_FILES(repository) == FALSE && in ckarg()
981 IS_LDAP(repository) == FALSE) { in ckarg()
994 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
1007 if (repository.type == NULL) in ckarg()
1008 repository = __REPFILES; in ckarg()
1010 if (IS_FILES(repository) == FALSE && in ckarg()
1011 IS_LDAP(repository) == FALSE) { in ckarg()
1024 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
1037 if (repository.type == NULL) in ckarg()
1038 repository = __REPFILES; in ckarg()
1040 if (IS_FILES(repository) == FALSE && in ckarg()
1041 IS_LDAP(repository) == FALSE) { in ckarg()
1054 if ((IS_FILES(repository) || IS_LDAP(repository)) && in ckarg()
1068 if (repository.type == NULL) in ckarg()
1069 repository = __REPFILES; in ckarg()
1081 if (repository.type == NULL) in ckarg()
1082 repository = __REPFILES; in ckarg()
1088 if (IS_FILES(repository) && (ckuid() != SUCCESS)) { in ckarg()
1102 if (repository.type == NULL) in ckarg()
1103 repository = __REPFILES; in ckarg()
1108 if (IS_FILES(repository) && (ckuid() != SUCCESS)) { in ckarg()
1112 if (IS_NIS(repository)) { in ckarg()
1211 get_attr(char *username, pwu_repository_t *repository, attrlist **attributes) in get_attr() argument
1221 res = __get_authtoken_attr(username, repository, *attributes); in get_attr()
1484 get_namelist(pwu_repository_t repository, char ***namelist, int *num_user) in get_namelist() argument
1486 if (IS_LDAP(repository)) { in get_namelist()
1489 } else if (IS_FILES(repository)) in get_namelist()