[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

Passwords on smb-shares (not user-specific)

i want a share from my linuxbox to be available, but password-protected, in windows. the password should be the same for all users and they all should have access.
i.e. i just want to set pass on a smbshare.
1 Solution
Really, the best way is just to create the share and allow access to it by a certain group.  You can create a new group for this and add each of the users who are to have access to the share to that group.  Unless you have NT on all of the other machines, you can't get a username and password prompt for a share anyway.  95 and 98 only give an option to input a password.  This will usually not accept any password at all, and is usually a result of an unrecognized login name.
If you do mean ALL USERS then the correct option is to enable the guest account and give it the proper access to the share directory. This way you do not need to establish individual accounts. This can be done by editing the smb.conf file and enabling the guest parameter or by using SWAT (Samba Web Admin Tool). SWAT is cool and is installed by default on some newer distributions. You access SWAT by typing http://localhost:901 if you use the browser on the Linux server. Otherwise, replace localhost with the Linux servers IP address to access it remotely. Your root account will work when prompted for a login account. Don't forget to set the proper file system rights using chmod.
GrahnAuthor Commented:

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now