Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server
#22
Cool so far...
I would add the at the end of the smb.conf
Quote:include = /etc/samba/smbshared.conf

You can just add the "smbshared to the bottom of the main "smb.conf" if you like but the way you have it should work fine... Big Grin

Did you create the "media" folder in your folder?
Quote:# This folder is made in the /home/bruce <----- Look familiar...Lol
####


[3487]
   comment = 3487 Directories

   path = /home/3487/media <--------
   browseable = yes
   available = yes
   valid users = phillip
   read only = no
   public = yes
   writeable = yes

Just want to make sure....

Just some advice before the modiator pokes ya... When posting large lines of test like the "smb.conf", 
be sure to use the little "blue notepad with the <> on top bar near the right side.
that will set the "Code" command and the system will set the text in a scrolling bar section...
Just click on it and a small window will popup and you can past your test there.... That way it is scrollable.... Back to the issue....... Sorry for the digression...Big Grin

Quote:This works as well and everything shows up only I can't log in with OR without a password. I am SO close!

Yes you are close....
You will always have to add your password the first time in the popup when you try to log into the system the first time as a network user and tick the "remember forever"....

Did you use the links  I posted, and set the "samba" password?

You have to add you user password to "samba" so it will know who you are when you try to access the shared drives on the "network"...

In a "terminal" use this command...

Code:
sudo smbpasswd -a phillip

Then enter your "root" password followed by entering your "New Samba Password" Twice and you have a smb password now and samba will ask you for it when you try to log into the you shared folder in a popup.

You may have to set your "firewall ports" also. I don't use one because I am behind a router and a pfsence box to access the internet. My intranet is open in a sense...

Code:
sudo ufw allow in 192.0.0.0/24 any app samba

This should get you pass your firewall if you used the standard "192.168.0.0 or 192.168.1.0" installation and did not change to something else, otherwise use that net for the "192.0.0.0" part of the command....

Please look that the links I posted earlier they should shed more light on this than I can explain... Later!
My lawn is calling "Mow me".... LOL

Oh! I forgot to mention that I commit out the "bad user"...


Code:
This is my smb.conf:
[global]
server string = 3847
workgroup = 3847
client max protocol = NT1
security = user
map to guest = Bad User <-------- with a "#"
name resolve order = bcast host wins
include = /etc/samba/smbshared.conf
 
I do this with a "#" in front of the "map to bad guest = Bad user"...
For a local and one user network it is not needed anymore...

I am sure if I am wrong someone will point out my errors....

After all I am 66 and my brain is a dull pencil and not a sharp tack! Lol
Later!
**********************************************************
Taglines of the BBS Days:
Today is the tomorrow you worried about yesterday. 
  Everybody remember where we parked. - Kirk
    Not everything in life is a 1 or a 0.
       Experience enables you to recognise a mistake when you make it again...
Reply


Messages In This Thread
Server - by muddy - 05-28-2019, 11:18 PM
RE: Server - by spudnuts - 05-29-2019, 07:11 PM
RE: Server - by muddy - 05-30-2019, 08:46 AM
RE: Server - by spudnuts - 05-31-2019, 01:46 AM
RE: Server - by muddy - 06-01-2019, 01:26 PM
RE: Server - by spudnuts - 06-01-2019, 05:47 PM
RE: Server - by muddy - 06-01-2019, 06:06 PM
RE: Server - by spudnuts - 06-02-2019, 07:40 PM
RE: Server - by bescott9944 - 06-03-2019, 12:20 AM
RE: Server - by bescott9944 - 06-02-2019, 06:13 PM
RE: Server - by bescott9944 - 06-02-2019, 07:25 PM
RE: Server - by muddy - 06-02-2019, 08:02 PM
RE: Server - by henrysay - 06-03-2019, 02:12 AM
RE: Server - by muddy - 06-03-2019, 12:42 PM
RE: Server - by bescott9944 - 06-03-2019, 07:16 PM
RE: Server - by muddy - 06-20-2019, 09:58 PM
RE: Server - by bescott9944 - 06-21-2019, 02:51 AM
RE: Server - by muddy - 06-21-2019, 04:44 AM
RE: Server - by bescott9944 - 06-21-2019, 05:13 AM
RE: Server - by muddy - 06-21-2019, 05:35 AM
RE: Server - by muddy - 06-21-2019, 11:37 AM
RE: Server - by bescott9944 - 06-21-2019, 01:09 PM
RE: Server - by muddy - 06-23-2019, 01:13 AM
RE: Server - by bescott9944 - 06-25-2019, 05:14 PM
RE: Server - by muddy - 06-25-2019, 11:43 PM
RE: Server - by bescott9944 - 06-26-2019, 02:43 AM
RE: Server - by bescott9944 - 06-26-2019, 10:17 PM
RE: Server - by muddy - 07-04-2019, 10:16 AM
RE: Server - by muddy - 07-05-2019, 12:36 AM
RE: Server <SOLVED> - by muddy - 07-05-2019, 06:32 PM
RE: Server <SOLVED> - by bescott9944 - 07-10-2019, 02:08 AM
RE: Server - by dps - 07-26-2019, 04:22 PM
RE: Server - by johnsmith101 - 04-21-2020, 08:04 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)