Samba

Linux log error – Could not receive trustdoms : xxx Time(s)

When using Samba with Linux, Red Hat Enterprise Linux attempts to connect to a Windows server that acts as the domain controller. This is called a trustdom; as Linux is attempting to build a trust relationship with a Windows Domain Controller. You will see the following message in your log:

——————— samba Begin ————————

**Unmatched Entries**

nsswitch/winbindd_util.c:trustdom_recv(243) Could not receive trustdoms : 288 Time(s)

———————- samba End ————————-

To stop this error message, you need to stop the winbind service. To do this, run the following commands:

chkconfig winbind off
service winbind stop

This will ensure that upon reboot, the service does not start. And the second command ensures that the service is stopped immediately.

Check your log tomorrow to ensure that you are no longer receiving this message.

Be the first to comment - What do you think?  Posted by David Dietrich - May 4, 2009 at 4:32 pm

Categories: Linux, Samba, Security   Tags: ,

How to mount a Windows share in Linux

Here is an example of how to connect to a Windows share from Linux:

>mkdir -p /mnt/winShare
>mount -t cifs //192.168.x.x/e$ /mnt/winShare -o username=Administrator

First put in the connection information in Linux style notation //IP/ShareName. The share can be a root directory, like the e$ above, or it can be any other defined share on the server.

Be the first to comment - What do you think?  Posted by David Dietrich - March 1, 2009 at 4:27 pm

Categories: Linux, Samba, Security, Windows   Tags:

  • Twitter
  • Facebook
  • LinkedIn