Bug 10374 - Samba 4 dies when userParameters is set in primary DC
Samba 4 dies when userParameters is set in primary DC
Status: NEW
Product: Samba 4.0
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
4.0.14
x64 Linux
: P5 critical
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
: 10401 (view as bug list)
Depends on:
Blocks: 8077
  Show dependency treegraph
 
Reported: 2014-01-13 12:44 UTC by Holger
Modified: 2016-07-29 00:00 UTC (History)
1 user (show)

See Also:


Attachments
Patch for ldb_val to lsa_BinaryString conversation (2.34 KB, patch)
2014-05-27 19:45 UTC, Stefan Gohmann
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holger 2014-01-13 12:44:02 UTC
When the LDAP attribute "userParameters" is set in the Primary DC (In my case Windows Server 2008 Small Business Server) than Samba dies when you request Userinformation about the user who has data set in this attribute.

Under SBS the attribute userParameters is set with the following data:

"CtxCfgPresent                                   PCtxCfgPresent㔵攱戰ã¢CtxCfgFlags1〰ã¦ã€²ã€¹"

(I think its UTF-8 encoded)

After deleting this Attributedata I can user the user Account without samba crash.

Best regards,
Holger Martiker
Comment 1 Holger 2014-01-24 10:20:58 UTC
*** Bug 10401 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Gohmann 2014-05-27 19:45:24 UTC
Created attachment 9984 [details]
Patch for ldb_val to lsa_BinaryString conversation

The attached patch should fix this issue.