The Samba-Bugzilla – Bug 5350
get_trust_pw_clear: could not fetch clear text trust account password for domain DOMAIN
Last modified: 2008-07-08 05:17:57 UTC
samba 3.0.28a joined to a windows nt 4 domain
trust between nt 4 domain and windows 2003 domain
windows 2003 domain own the user accounts
when clients try to connect to a samba share they are prompted for a username/password box.
This is the output from winbind -d 5
this problem doesn't appear in samba 3.0.28
Created attachment 3211 [details]
This is a "me too".
We have no NT4 domains - all Win2K3-based - and we have the same problem.
Samba-3.0.28a works fine when connected to from users in the same domain as itself, but when someone connects using a trusted domain account, it fails. The only error msg that makes any sense is this "get_trust_pw_clear: could not fetch clear text trust account password for domain DOMAIN" one that occurs.
This all worked before upgrading to 3.0.28a
Can you try the latest v3-0-test code from
It contains some fixes that might help you.
no, it doesn't work.
I'm going to attach full samba logs.
Created attachment 3245 [details]
samba logs (level 5)
Please upload your smb.conf and debug level 10 logs of both smbd and winbind.
Created attachment 3247 [details]
samba logs (level 10) and smb.conf
here is smb.conf and samba log file
Created attachment 3254 [details]
Can you try the attached patch?
same problem: see logs.
Created attachment 3265 [details]
samba logs with proposed patch applied
here is samba logs with patch applied
same problem with samba 3.0.29
this bug is fixed in 3.2.0