diff options
author | Jeremy Allison <jra@samba.org> | 2000-10-13 01:59:14 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-10-13 01:59:14 +0000 |
commit | 330d678fbad70fabd9712c56ad15bd215f950255 (patch) | |
tree | df834b65049fb3c675119cf6acfefa167cb96376 /source3/libsmb | |
parent | a7f8d8b6362f4c2970fee63130963734528bcb6e (diff) | |
download | samba-330d678fbad70fabd9712c56ad15bd215f950255.tar.gz samba-330d678fbad70fabd9712c56ad15bd215f950255.tar.bz2 samba-330d678fbad70fabd9712c56ad15bd215f950255.zip |
Fix to allow smbd to call winbindd if it is running for all group enumeration,
falling back to the UNIX calls on error. This should fix all problems with
smbd enumerating all users in all groups in all trusted domains via winbindd.
Also changed GETDC to query 1C name rather than 1b name as only the PDC
registers 1b.
Jeremy.
(This used to be commit 5b0038a2afd8abbd6fd4a58f5477a40d1926d498)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/namequery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 41924d4631..52ff6287c4 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -891,7 +891,7 @@ BOOL lookup_pdc_name(const char *srcname, const char *domain, struct in_addr *pd dgram->header.packet_offset = 0; make_nmb_name(&dgram->source_name,srcname,0); - make_nmb_name(&dgram->dest_name,domain,0x1B); + make_nmb_name(&dgram->dest_name,domain,0x1C); ptr = &dgram->data[0]; |