Lines Matching defs:cmd
1180 switch (dctx->cmdctx->cmd) {
1202 dctx->cmdctx->cmd, sss_cmd2str(dctx->cmdctx->cmd));
1227 (dctx->cmdctx->cmd == SSS_NSS_INITGR &&
1229 switch (dctx->cmdctx->cmd) {
1254 dctx->cmdctx->cmd, sss_cmd2str(dctx->cmdctx->cmd));
1264 switch (dctx->cmdctx->cmd) {
1320 switch (dctx->cmdctx->cmd) {
1378 dctx->cmdctx->cmd, sss_cmd2str(dctx->cmdctx->cmd));
1384 && (dctx->cmdctx->cmd == SSS_NSS_GETPWNAM
1385 || dctx->cmdctx->cmd == SSS_NSS_INITGR)
1457 static int nss_cmd_getbynam(enum sss_cli_command cmd, struct cli_ctx *cctx);
1464 static int nss_cmd_getbynam(enum sss_cli_command cmd, struct cli_ctx *cctx)
1477 switch(cmd) {
1486 cmd, sss_cmd2str(cmd));
1495 cmdctx->cmd = cmd;
1526 cmd, sss_cmd2str(dctx->cmdctx->cmd), rawname);
1528 if (dctx->cmdctx->cmd == SSS_NSS_GETSIDBYNAME) {
1602 switch (dctx->cmdctx->cmd) {
1643 dctx->cmdctx->cmd, sss_cmd2str(dctx->cmdctx->cmd));
1669 if (ret == EAGAIN && (dctx->cmdctx->cmd == SSS_NSS_GETPWNAM
1670 || dctx->cmdctx->cmd == SSS_NSS_GETSIDBYNAME
1671 || dctx->cmdctx->cmd == SSS_NSS_GETORIGBYNAME
1672 || dctx->cmdctx->cmd == SSS_NSS_INITGR)) {
1706 switch (dctx->cmdctx->cmd) {
1747 dctx->cmdctx->cmd, sss_cmd2str(dctx->cmdctx->cmd));
1892 static int nss_cmd_getbyid(enum sss_cli_command cmd, struct cli_ctx *cctx);
1899 static int nss_cmd_getbyid(enum sss_cli_command cmd, struct cli_ctx *cctx)
1910 switch (cmd) {
1917 cmd, sss_cmd2str(cmd));
1928 cmdctx->cmd = cmd;
1949 dctx->cmdctx->cmd, sss_cmd2str(dctx->cmdctx->cmd), cmdctx->id);
1951 switch(dctx->cmdctx->cmd) {
1987 dctx->cmdctx->cmd, sss_cmd2str(dctx->cmdctx->cmd));
2010 switch(dctx->cmdctx->cmd) {
2033 dctx->cmdctx->cmd, sss_cmd2str(dctx->cmdctx->cmd));
2060 switch(dctx->cmdctx->cmd) {
2101 dctx->cmdctx->cmd, sss_cmd2str(dctx->cmdctx->cmd));
4352 if (cmdctx->cmd == SSS_NSS_GETSIDBYID) {
4387 if (cmdctx->cmd == SSS_NSS_GETSIDBYID) {
4470 if (cmdctx->cmd == SSS_NSS_GETORIGBYNAME
4481 if (cmdctx->cmd == SSS_NSS_GETSIDBYID) {
4581 if (cmdctx->cmd == SSS_NSS_GETSIDBYNAME
4582 || cmdctx->cmd == SSS_NSS_GETORIGBYNAME) {
4611 if (cmdctx->cmd == SSS_NSS_GETSIDBYID) {
4645 if (cmdctx->cmd == SSS_NSS_GETSIDBYID) {
4663 if (cmdctx->cmd == SSS_NSS_GETSIDBYID) {
5148 switch(cmdctx->cmd) {
5203 if (cmdctx->cmd != SSS_NSS_GETNAMEBYSID) {
5241 static int nss_cmd_getbysid(enum sss_cli_command cmd, struct cli_ctx *cctx)
5257 if (cmd != SSS_NSS_GETNAMEBYSID && cmd != SSS_NSS_GETIDBYSID) {
5259 cmd, sss_cmd2str(cmd));
5270 cmdctx->cmd = cmd;
5304 dctx->cmdctx->cmd, sss_cmd2str(dctx->cmdctx->cmd), sid_str);
5360 static int nss_cmd_getbycert(enum sss_cli_command cmd, struct cli_ctx *cctx)
5376 if (cmd != SSS_NSS_GETNAMEBYCERT) {
5378 cmd, sss_cmd2str(cmd));