/*
Winbind client API - SSSD version
Copyright (C) Sumit Bose <sbose@redhat.com> 2014
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* Required Headers */
#include "libwbclient.h"
#include "wbc_sssd_internal.h"
/** @brief Ping winbindd to see if the daemon is running
*
* @return #wbcErr
**/
{
/* TODO: add real check */
return WBC_ERR_SUCCESS;
}
{
free(i->winbind_version);
free(i->netbios_name);
free(i->netbios_domain);
free(i->dns_domain);
}
/**
* @brief Query useful information about the winbind service
*
* @param *_details pointer to hold the struct wbcInterfaceDetails
*
* @return #wbcErr
*/
{
1, sizeof(struct wbcInterfaceDetails),
return WBC_ERR_NO_MEMORY;
}
/* TODO: currently this call just returns a suitable winbind_separator
* for wbinfo. */
goto done;
}
goto done;
}
goto done;
}
goto done;
}
done:
return wbc_status;
}
/** @brief Lookup the current status of a trusted domain, sync wrapper
*
* @param domain Domain to query
* @param *dinfo Pointer to returned struct wbcDomainInfo
*
* @return #wbcErr
*/
{
}
/* Get the list of current DCs */
{
}
/* Resolve a NetbiosName via WINS */
{
/* SSSD does not support WINS */
}
/* Resolve an IP address via WINS into a NetbiosName */
{
/* SSSD does not support WINS */
}
/* Enumerate the domain trusts known by Winbind */
{
}
/* Enumerate the domain trusts known by Winbind */
struct wbcDomainControllerInfo **dc_info)
{
}
/* Get extended domain controller information */
const char *site,
struct wbcDomainControllerInfoEx **dc_info)
{
}