The Samba-Bugzilla – Attachment 3548 Details for
Bug 5747
winbind segfaults
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
use the new created ad connection
fix (text/plain), 1.20 KB, created by
Guenther Deschner
on 2008-09-10 05:33:36 UTC
(
hide
)
Description:
use the new created ad connection
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2008-09-10 05:33:36 UTC
Size:
1.20 KB
patch
obsolete
>commit d9be1d082ab7134d368d9dee6d30cc20debd9660 >Author: Günther Deschner <gd@samba.org> >Date: Wed Sep 10 12:31:39 2008 +0200 > > winbindd: fix #5747 (segfault in winbind). > > Guenther > >diff --git a/source/winbindd/idmap_ad.c b/source/winbindd/idmap_ad.c >index 9fefb1b..82845cc 100644 >--- a/source/winbindd/idmap_ad.c >+++ b/source/winbindd/idmap_ad.c >@@ -749,12 +749,12 @@ static NTSTATUS nss_ad_get_info( struct nss_domain_entry *e, > if ( !homedir || !shell || !gecos ) > return NT_STATUS_INVALID_PARAMETER; > >- *homedir = ads_pull_string( ads, ctx, msg, ad_schema->posix_homedir_attr ); >- *shell = ads_pull_string( ads, ctx, msg, ad_schema->posix_shell_attr ); >- *gecos = ads_pull_string( ads, ctx, msg, ad_schema->posix_gecos_attr ); >+ *homedir = ads_pull_string( ads_internal, ctx, msg, ad_schema->posix_homedir_attr ); >+ *shell = ads_pull_string( ads_internal, ctx, msg, ad_schema->posix_shell_attr ); >+ *gecos = ads_pull_string( ads_internal, ctx, msg, ad_schema->posix_gecos_attr ); > > if ( gid ) { >- if ( !ads_pull_uint32(ads, msg, ad_schema->posix_gidnumber_attr, gid ) ) >+ if ( !ads_pull_uint32(ads_internal, msg, ad_schema->posix_gidnumber_attr, gid ) ) > *gid = (uint32)-1; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5747
: 3548