summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_idmap.c
diff options
context:
space:
mode:
authorDavid O'Neill <dmo@samba.org>2001-01-11 21:22:43 +0000
committerDavid O'Neill <dmo@samba.org>2001-01-11 21:22:43 +0000
commit5c5673149050dcda8a735fc33f1ef74f5292c4a6 (patch)
treef16d32ff6df418e6e482605aac8ff8f1df79897a /source3/nsswitch/winbindd_idmap.c
parent3380ffae9c231a34406dd694c9ab03bb0b6d8070 (diff)
downloadsamba-5c5673149050dcda8a735fc33f1ef74f5292c4a6.tar.gz
samba-5c5673149050dcda8a735fc33f1ef74f5292c4a6.tar.bz2
samba-5c5673149050dcda8a735fc33f1ef74f5292c4a6.zip
Changes from APPLIANCE_HEAD:
source/nsswitch/winbindd_idmap.c - convert tdb key to unix code-page when generating (This used to be commit 3b9e68d6806b039d284533b64f9c41c9d4790a8b)
Diffstat (limited to 'source3/nsswitch/winbindd_idmap.c')
-rw-r--r--source3/nsswitch/winbindd_idmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_idmap.c b/source3/nsswitch/winbindd_idmap.c
index 15a9ac4009..ff0818c456 100644
--- a/source3/nsswitch/winbindd_idmap.c
+++ b/source3/nsswitch/winbindd_idmap.c
@@ -78,6 +78,7 @@ static BOOL get_id_from_rid(char *domain_name, uint32 rid, int *id,
/* Check if rid is present in database */
slprintf(keystr, sizeof(keystr), "%s/%d", domain_name, rid);
+ dos_to_unix(keystr, True); /* Convert key to unix-codepage */
key.dptr = keystr;
key.dsize = strlen(keystr) + 1;