diff options
author | Jeremy Allison <jra@samba.org> | 2008-05-30 23:49:36 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-05-30 23:49:36 -0700 |
commit | 346dbc62b826dd126d147107396154c31919da1b (patch) | |
tree | 70821f474353fb2716e0f47c56ad90245f477310 /source3/winbindd/winbindd_ndr.c | |
parent | 70b37891f9f3f065254c61ec6c5741592d0b3735 (diff) | |
download | samba-346dbc62b826dd126d147107396154c31919da1b.tar.gz samba-346dbc62b826dd126d147107396154c31919da1b.tar.bz2 samba-346dbc62b826dd126d147107396154c31919da1b.zip |
Split the winbindd_passdb backend into a 'builtin' and a 'sam'
backend. This allows winbindd when running on a Samba PDC to
correctly answer wbinfo -u lists and other queries.
Jeremy.
(This used to be commit e61ad0c1586733ae1d3518ce56d95094d1ac5ef9)
Diffstat (limited to 'source3/winbindd/winbindd_ndr.c')
-rw-r--r-- | source3/winbindd/winbindd_ndr.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_ndr.c b/source3/winbindd/winbindd_ndr.c index 9d1502afa7..3e3ca3225c 100644 --- a/source3/winbindd/winbindd_ndr.c +++ b/source3/winbindd/winbindd_ndr.c @@ -74,7 +74,8 @@ void ndr_print_winbindd_cm_conn(struct ndr_print *ndr, extern struct winbindd_methods ads_methods; #endif extern struct winbindd_methods msrpc_methods; -extern struct winbindd_methods passdb_methods; +extern struct winbindd_methods builtin_passdb_methods; +extern struct winbindd_methods sam_passdb_methods; extern struct winbindd_methods reconnect_methods; extern struct winbindd_methods cache_methods; @@ -97,8 +98,10 @@ void ndr_print_winbindd_methods(struct ndr_print *ndr, } else if (r == &ads_methods) { ndr_print_string(ndr, name, "ads_methods"); #endif - } else if (r == &passdb_methods) { - ndr_print_string(ndr, name, "passdb_methods"); + } else if (r == &builtin_passdb_methods) { + ndr_print_string(ndr, name, "builtin_passdb_methods"); + } else if (r == &sam_passdb_methods) { + ndr_print_string(ndr, name, "sam_passdb_methods"); } else if (r == &reconnect_methods) { ndr_print_string(ndr, name, "reconnect_methods"); } else if (r == &cache_methods) { |