Samba Error: The following error occurred attempting to join the domain “domain name”. The user name could not be found.

Posted: October 16, 2012 in Front Page, Linux, Technology
Tags: , ,

After setting up the samba make sure you add root

smbpasswd -a root

If you get the above error try this:

smbpasswd -a -m $machinename

(the machine you are trying to join to the domain)

you might get the error the group ‘machines does not exist.

addgroup machines

try again now you should be able to add the machine name and join the doamin.

Look at the /var/log/samba/log.machinename for more details of the errors you get.

  1. jaswant says:

    i have join the domain, but my shared directory does not show the window, how to check file and folder in created by user in window. check in linux

    • hikmatune says:


      In the smb.conf go to Share Definitions and uncomment [homes] and required parameters to allow users store file user /home/username/fileandfolders.

      Hope I have answered you question.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s