mirror of
https://github.com/samba-team/samba.git
synced 2025-09-18 09:44:19 +03:00
Some mods for recent coding conventions
This commit is contained in:
@@ -382,7 +382,8 @@ void winbindd_lookupname_async(TALLOC_CTX *mem_ctx,
|
|||||||
struct winbindd_domain *domain;
|
struct winbindd_domain *domain;
|
||||||
struct lookupname_state *s;
|
struct lookupname_state *s;
|
||||||
|
|
||||||
if ( (domain = find_lookup_domain_from_name(dom_name)) == NULL ) {
|
domain = find_lookup_domain_from_name(dom_name);
|
||||||
|
if (domain == NULL) {
|
||||||
DEBUG(5, ("Could not find domain for name '%s'\n", dom_name));
|
DEBUG(5, ("Could not find domain for name '%s'\n", dom_name));
|
||||||
cont(private_data, False, NULL, SID_NAME_UNKNOWN);
|
cont(private_data, False, NULL, SID_NAME_UNKNOWN);
|
||||||
return;
|
return;
|
||||||
|
@@ -462,8 +462,10 @@ void winbindd_getpwnam(struct winbindd_cli_state *state)
|
|||||||
if (domain == NULL) {
|
if (domain == NULL) {
|
||||||
DEBUG(7, ("could not find domain entry for domain %s. "
|
DEBUG(7, ("could not find domain entry for domain %s. "
|
||||||
"Using primary domain\n", domname));
|
"Using primary domain\n", domname));
|
||||||
if ( (domain = find_our_domain()) == NULL ) {
|
domain = find_our_domain();
|
||||||
DEBUG(0,("Cannot find my primary domain structure!\n"));
|
if (domain == NULL) {
|
||||||
|
DEBUG(0, ("Cannot find my primary domain "
|
||||||
|
"structure!\n"));
|
||||||
request_error(state);
|
request_error(state);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user