a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina Jakub Hrozek <jhrozek@redhat.com>
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina Copyright (C) 2014 Red Hat
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina SSSD tests: User utilities
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina This program is free software; you can redistribute it and/or modify
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina it under the terms of the GNU General Public License as published by
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina the Free Software Foundation; either version 3 of the License, or
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina (at your option) any later version.
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina This program is distributed in the hope that it will be useful,
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina but WITHOUT ANY WARRANTY; without even the implied warranty of
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina GNU General Public License for more details.
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina You should have received a copy of the GNU General Public License
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina along with this program. If not, see <http://www.gnu.org/licenses/>.
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina ret = sss_user_by_name_or_uid("123", &uid, &gid);
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina ret = sss_user_by_name_or_uid("sssd", &uid, &gid);
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina ret = sss_user_by_name_or_uid("sssd", &uid, NULL);
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina ret = sss_user_by_name_or_uid("sssd", NULL, &gid);
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina /* Set debug level to invalid value so we can decide if -d 0 was used. */
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina pc = poptGetContext(argv[0], argc, argv, long_options, 0);
a7e27c11866a48742bb70564b88e15bf15e9367dPavel Březina fprintf(stderr, "\nInvalid option %s: %s\n\n",