git.samba.org
/
jelmer
/
samba4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b110f57
)
Replace backslash with winbind separator before calling parse_domain_user(). Winbind...
author
Jim McDonough
<jmcd@samba.org>
Tue, 11 Dec 2001 19:27:40 +0000
(19:27 +0000)
committer
Jim McDonough
<jmcd@samba.org>
Tue, 11 Dec 2001 19:27:40 +0000
(19:27 +0000)
source/nsswitch/winbindd_ads.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_ads.c
b/source/nsswitch/winbindd_ads.c
index a3188f8a37e1c33271795dcca5d995322f5634bc..e52f448a63737737da64da34f4f521638ad80612 100644
(file)
--- a/
source/nsswitch/winbindd_ads.c
+++ b/
source/nsswitch/winbindd_ads.c
@@
-327,11
+327,13
@@
static NTSTATUS name_to_sid(struct winbindd_domain *domain,
void *res = NULL;
char *exp;
uint32 t;
- fstring name2, dom2;
+ fstring name2, dom2
, fullname2
;
NTSTATUS status = NT_STATUS_UNSUCCESSFUL;
/* sigh. Need to fix interface to give us a raw name */
- if (!parse_domain_user(name, dom2, name2)) {
+ fstrcpy(fullname2, name);
+ fstring_sub(fullname2, "\\", lp_winbind_separator());
+ if (!parse_domain_user(fullname2, dom2, name2)) {
goto done;
}