The Samba-Bugzilla – Attachment 1232 Details for
Bug 2720
"net usersidlist" returns empty lines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
usersid.diff (text/plain), 925 bytes, created by
Volker Lendecke
on 2005-05-17 05:06:46 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2005-05-17 05:06:46 UTC
Size:
925 bytes
patch
obsolete
>Index: utils/net_rpc.c >=================================================================== >--- utils/net_rpc.c (revision 6848) >+++ utils/net_rpc.c (working copy) >@@ -3491,6 +3491,13 @@ > int i; > struct user_token *result; > >+ if (lp_winbind_use_default_domain() && >+ (opt_target_workgroup == NULL)) { >+ d_printf("winbind use default domain = yes set, please " >+ "specify a workgroup\n"); >+ return False; >+ } >+ > /* Send request to winbind daemon */ > > ZERO_STRUCT(request); >@@ -3533,15 +3540,16 @@ > > DEBUG(3, ("%s\n", name)); > >- if (p == NULL) >- continue; >+ if (p == NULL) { >+ strcpy(domain, opt_target_workgroup); >+ fstrcpy(user, name); >+ } else { >+ *p++ = '\0'; >+ fstrcpy(domain, name); >+ strupper_m(domain); >+ fstrcpy(user, p); >+ } > >- *p++ = '\0'; >- >- fstrcpy(domain, name); >- strupper_m(domain); >- fstrcpy(user, p); >- > get_user_sids(domain, user, &(result[i].token)); > i+=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 2720
: 1232