Urgent Help required

Sapna Alva salva at audible.com
Wed Oct 19 20:11:14 GMT 2005

Hello Team,


I am sorry to mail you directly, but I see that there are many threads
posted in the samba mailing lists for this problem I have enclosed in the
mail below, but there were no responses for any.

I came across one such thread
where you asked the person to get in touch with you after a while. Hence
kindly let me know if there is any solution for this at all.


In brief: I have an NT4.0 PDC and my Samba server is a domain member. Samba
version is 3.0.14a and it's running on a Solaris 10 host. Cups 1.1.21 is
used for printing I have set the SECURITY= Domain. But my error log shows
the following error:


[2005/10/19 15:31:20, 0]

  get_trust_account_password: Malformed trust password file (wrong length -
was 0, should be 45).

[2005/10/19 15:31:20, 0] passdb/smbpassfile.c:trust_get_passwd(294)

  domain_client_validate: unable to read the machine account password for
machine WNJPRT in domain PAPERCLIP.

[2005/10/19 15:31:20, 1] smbd/password.c:pass_check_smb(500)

  Couldn't find user 'salva' in smb_passwd file.


The file *.mac doesn't get created in /usr/local/samba/private folder. And
also when I connect from a Window PC it never accepts my username password

I used the "net join" command to add the system to the domain.


When I use the "Security = Server" in the smb.conf, the clients are able to
connect, but all the other above mentioned problems still persist.


Please help with your valuable inputs, as I am stuck with the
implementation. It would be greatly appreciated!!


Thanks in advance!!






From: Sapna Alva [mailto:salva at audible.com] 
Sent: Tuesday, October 18, 2005 8:50 PM
To: 'samba at lists.samba.org'
Subject: hostname.mac file and some .tdb files not getting created


Hello All,

I have a problem with my newly installed Samba server. (3.0.14a)

Whenever a Windows client reboots and tries to connect to the printer
(hosted on the Samba server), it hangs for a while and then responds after
few minutes. After this it works fine throughout until the next reboot. 
Any clues as to why this problem occurs? It could be something with the fine
tuning of the samba server. 

Can anyone help me with some inputs on this and also another issue which I
had posted few days back that the files "sessionid.tdb" and
"connections.tdb" are not getting created. 

My connection to the samba server gets through without any problem.


I also dont have the <hostname>.mac file created too in the samba private
folder. I am not sure if this is a real issue, or this feature is removed
from 3.0.14a

The SECURITY is set to "server" in the smb.conf and the password server is a
NT Domain Controller.

Thanks in advance!!

More information about the samba-technical mailing list