1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-28 12:23:49 +03:00

r12699: correctly escape invalid DN characters (reported by Steinar H. Gunderson).

this still doesn't work as a bug in ldb causes it to not understand
escaped characters in DNs when parsing DNs
(This used to be commit 10da56fb6c)
This commit is contained in:
Jelmer Vernooij
2006-01-03 19:39:53 +00:00
committed by Gerald (Jerry) Carter
parent 769eb7d3fe
commit 34be0772d2
2 changed files with 31 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ objectSid: %s-%d
lmPwdHash:: %s
ntPwdHash:: %s
", acc.fullname, domaindn, acc.logon_time, acc.logoff_time, acc.username, acc.nt_username, acc.nt_username,
", ldb.dn_escape(acc.fullname), domaindn, acc.logon_time, acc.logoff_time, acc.username, acc.nt_username, acc.nt_username,
acc.fullname, acc.acct_desc, acc.group_rid, acc.bad_password_count, acc.logon_count,
acc.domain, acc.dir_drive, acc.munged_dial, acc.homedir, acc.logon_script,