typedef struct winbindd_pw WINBINDD_PW |
typedef struct winbindd_gr WINBINDD_GR |
enum winbindd_cmd |
winbindd_nss.h の 53 行で定義されています。
00053 { 00054 00055 WINBINDD_INTERFACE_VERSION, /* Always a well known value */ 00056 00057 /* Get users and groups */ 00058 00059 WINBINDD_GETPWNAM, 00060 WINBINDD_GETPWUID, 00061 WINBINDD_GETGRNAM, 00062 WINBINDD_GETGRGID, 00063 WINBINDD_GETGROUPS, 00064 00065 /* Enumerate users and groups */ 00066 00067 WINBINDD_SETPWENT, 00068 WINBINDD_ENDPWENT, 00069 WINBINDD_GETPWENT, 00070 WINBINDD_SETGRENT, 00071 WINBINDD_ENDGRENT, 00072 WINBINDD_GETGRENT, 00073 00074 /* PAM authenticate and password change */ 00075 00076 WINBINDD_PAM_AUTH, 00077 WINBINDD_PAM_AUTH_CRAP, 00078 WINBINDD_PAM_CHAUTHTOK, 00079 WINBINDD_PAM_LOGOFF, 00080 WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP, 00081 00082 /* List various things */ 00083 00084 WINBINDD_LIST_USERS, /* List w/o rid->id mapping */ 00085 WINBINDD_LIST_GROUPS, /* Ditto */ 00086 WINBINDD_LIST_TRUSTDOM, 00087 00088 /* SID conversion */ 00089 00090 WINBINDD_LOOKUPSID, 00091 WINBINDD_LOOKUPNAME, 00092 WINBINDD_LOOKUPRIDS, 00093 00094 /* Lookup functions */ 00095 00096 WINBINDD_SID_TO_UID, 00097 WINBINDD_SID_TO_GID, 00098 WINBINDD_SIDS_TO_XIDS, 00099 WINBINDD_UID_TO_SID, 00100 WINBINDD_GID_TO_SID, 00101 00102 WINBINDD_ALLOCATE_UID, 00103 WINBINDD_ALLOCATE_GID, 00104 WINBINDD_SET_MAPPING, 00105 WINBINDD_SET_HWM, 00106 00107 /* Miscellaneous other stuff */ 00108 00109 WINBINDD_DUMP_MAPS, 00110 00111 WINBINDD_CHECK_MACHACC, /* Check machine account pw works */ 00112 WINBINDD_PING, /* Just tell me winbind is running */ 00113 WINBINDD_INFO, /* Various bit of info. Currently just tidbits */ 00114 WINBINDD_DOMAIN_NAME, /* The domain this winbind server is a member of (lp_workgroup()) */ 00115 00116 WINBINDD_DOMAIN_INFO, /* Most of what we know from 00117 struct winbindd_domain */ 00118 WINBINDD_GETDCNAME, /* Issue a GetDCName Request */ 00119 00120 WINBINDD_SHOW_SEQUENCE, /* display sequence numbers of domains */ 00121 00122 /* WINS commands */ 00123 00124 WINBINDD_WINS_BYIP, 00125 WINBINDD_WINS_BYNAME, 00126 00127 /* this is like GETGRENT but gives an empty group list */ 00128 WINBINDD_GETGRLST, 00129 00130 WINBINDD_NETBIOS_NAME, /* The netbios name of the server */ 00131 00132 /* find the location of our privileged pipe */ 00133 WINBINDD_PRIV_PIPE_DIR, 00134 00135 /* return a list of group sids for a user sid */ 00136 WINBINDD_GETUSERSIDS, 00137 00138 /* Various group queries */ 00139 WINBINDD_GETUSERDOMGROUPS, 00140 00141 /* Initialize connection in a child */ 00142 WINBINDD_INIT_CONNECTION, 00143 00144 /* Blocking calls that are not allowed on the main winbind pipe, only 00145 * between parent and children */ 00146 WINBINDD_DUAL_SID2UID, 00147 WINBINDD_DUAL_SID2GID, 00148 WINBINDD_DUAL_SIDS2XIDS, 00149 WINBINDD_DUAL_UID2SID, 00150 WINBINDD_DUAL_GID2SID, 00151 WINBINDD_DUAL_SET_MAPPING, 00152 WINBINDD_DUAL_SET_HWM, 00153 WINBINDD_DUAL_DUMP_MAPS, 00154 00155 /* Wrapper around possibly blocking unix nss calls */ 00156 WINBINDD_DUAL_UID2NAME, 00157 WINBINDD_DUAL_NAME2UID, 00158 WINBINDD_DUAL_GID2NAME, 00159 WINBINDD_DUAL_NAME2GID, 00160 00161 WINBINDD_DUAL_USERINFO, 00162 WINBINDD_DUAL_GETSIDALIASES, 00163 00164 /* Complete the challenge phase of the NTLM authentication 00165 protocol using cached password. */ 00166 WINBINDD_CCACHE_NTLMAUTH, 00167 00168 WINBINDD_NUM_CMDS 00169 };
enum winbindd_result |
winbindd_nss.h の 334 行で定義されています。
00334 { 00335 WINBINDD_ERROR, 00336 WINBINDD_PENDING, 00337 WINBINDD_OK 00338 };