diff options
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_misc.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_misc.c b/source3/nsswitch/winbindd_misc.c index 883f9a4e22..64eaea3153 100644 --- a/source3/nsswitch/winbindd_misc.c +++ b/source3/nsswitch/winbindd_misc.c @@ -167,7 +167,7 @@ enum winbindd_result winbindd_info(struct winbindd_cli_state *state) return WINBINDD_OK; } -/* List various tidbits of information */ +/* Tell the client the current interface version */ enum winbindd_result winbindd_interface_version(struct winbindd_cli_state *state) { @@ -178,3 +178,15 @@ enum winbindd_result winbindd_interface_version(struct winbindd_cli_state *state return WINBINDD_OK; } + +/* What domain are we a member of? */ + +enum winbindd_result winbindd_domain_name(struct winbindd_cli_state *state) +{ + + DEBUG(3, ("[%5d]: request domain name\n", state->pid)); + + fstrcpy(state->response.data.domain_name, lp_workgroup()); + + return WINBINDD_OK; +} |