Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7541053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:47:40+00:00 2026-05-30T07:47:40+00:00

Setting up a Samba share has got to be one of the most complex

  • 0

Setting up a Samba share has got to be one of the most complex and convoluted things I’ve ever engaged myself in doing – and yet it is so incredibly simplistic in terms of the program’s complexity. I think the difficulty in setting it up is owing to the absolutely unbelievable amount of tutorials and ‘configuration’ guides available on the internet. I think I’ve found about 25 different ways to set up the samba share – all of them different and none of them working correctly.

Here is what IVE done so far and tell me if I’m out of my mind – at this point nothing would surprise me. So I already had samba installed on my CentOS distro. The following directory contains the location where I’d like the samba share to point to: “/x2”

I was told to do the following:

1) edit the smb.conf file and add the following configuration only:

[global]

workgroup = wrkgrp

netbios name = smbserver

security = SHARE
load printers = No
default service = global

path = /home
available = No
encrypt passwords = yes
[share]
writeable = yes

admin users = smbuser
path = /home/share (changed to “/x2”)
force user = root
valid users = smbuser
public = yes
available = yes

2) Add user ‘smbuser’ and update password
3) Add user to samba server with “smbpasswd -a smbuser” and use same passwd as user
4) Restart samba server “/etc/init.d/smb restart”
5) Go to windows machine and run command “\”

After completing step 5 a folder shows up with a folder inside named “share”. I double click on the folder and I am challenged for credentials. By default, the credentials are presented as “smbuser”. I attempt to use the password I used for both the account creation and the samba account creation (steps 2 and 3) and I get the message “the specified network password is not correct” with the added bonus that now the user field for the login prompt is now prefaced with the domain name of my computer “\smbuser” and of course using the password I provided in steps 2 and 3 give me the same result as before.

There is an option to use another account, however I tried using the DOMAIN/account_name that I use to login to my computer in general and still no luck.

Does anyone have any insight? What am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T07:47:41+00:00Added an answer on May 30, 2026 at 7:47 am

    I cannot believe after all this – how simple and ridiculous the problem was. The password I was using was apparently the source of all my problems. The username “smbuser” and the password “SMBuser1” were not compatable.

    I changed the password, then changed it with the samba service, restarted samba server and re-added the share mapping using:

    NET USE Z: \192.168.1.250\share /USER:smbuser

    And that was it. Worked like a charm. Now I have a mapped drive and I believe I can run the IP host from the run prompt and use the username/password to scoot right in.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been setting up a samba share on a Redhat box, and am able
Setting default values is one of my favourite things to do when creating JavaScript
Setting up new git installations. On one Windows laptop, I'm running (under cygwin): git
Setting: Multiplayer team game. Problem: Each player has a 1 to 5 star rating
Setting: A pseudo-random pattern has to be generated. There are several ways / or
Setting up a new database that has a comments table. I've been told to
Setting up a WCF service that uses the webHttpBinding... I can return complex types
Setting: Java 5 - no upgrade possible. I have a large application that has
Setting <compilation debug=true/false> in Web.config seems to do things that you can also set
Setting up a Windows based web application on Amazon's cloud has definitely been a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.