LINUX LITE 7.4 RC1 RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need help with samba
#11
(03-03-2019, 01:38 AM)bitsnpcs link Wrote: For host it needs the Ip address, folder name is the name of the directory of the shared files, user is the username , as the conf file specifies %U, so the username of admin user on the machine running Samba.
During the searches I noticed about the Ip, dns it says on a multiple machine shares then it needs to be different for each one so they can be uniquely identified as which machine they are. I'll look for which link explained it. https://wiki.samba.org/index.php/Multipl..._Instances
Explains for multiple servers but looking at the adresses format is what I meant.

sorry but your talking over my head.  What ip address?
Reply
#12
The systems each need to know the other system exists, and where to find it to connect to it, the route to it.
See this preparing the installing, it explains - https://wiki.samba.org/index.php/Setting...stallation

About using the LL Manual as [member=5414]firenice03[/member] wrote, you had said you are reusing the conf file from a previous install. 
Have you tried the manual from the start on this new computer, without using the conf from the previous machine ?
The link in this post also shows how to clean the environment to do a new install.
Reply
#13
OMG I finally got it.  I have seriously put 18 hours into getting this to work today.  I HATE SAMBA.  Anyway the problem was that I never set the second hard drive to auto mount.  Once I did that the directory info changes.  You just have to change smb.conf to match.  This is what it looks like now.
Code:
#======================= Global Settings ====================================
[global]
workgroup = WORKGROUP
server string = Linux Lite Shares
netbios name = Server
security = user
encrypt passwords = true
username map = /etc/samba/smbusers
map to guest = bad user
guest account = nobody
dns proxy = no
#======================= Share Definitions ===================================
[liteshare]
path = /home/%U/linux_share
available = yes
valid users = %U %G
write list = %U
browsable = yes
public = yes
writable = yes
guest ok = yes
read only = no
printable = no
locking = no
strict locking = no

[Gunroom]
path = /mnt/11390a57-b9fd-4fbb-849a-a1006275139d/shares/
available = yes
valid users = %U %G
write list = %U
browsable = yes
public = yes
writable = yes
guest ok = yes
read only = no
printable = no
locking = no
strict locking = no

Thanks everyone for giving me pointers.  If nothing else I learned a lot about samba today.
Reply
#14
Great work [member=9112]Phobos84[/member] for sticking at it Smile
Reply
#15
(03-03-2019, 03:22 AM)Phobos84 link Wrote: OMG I finally got it.  I have seriously put 18 hours into getting this to work today.  I HATE SAMBA.  Anyway the problem was that I never set the second hard drive to auto mount.  Once I did that the directory info changes.  You just have to change smb.conf to match.  This is what it looks like now.
Code:
#======================= Global Settings ====================================
[global]
workgroup = WORKGROUP
server string = Linux Lite Shares
netbios name = Server
security = user
encrypt passwords = true
username map = /etc/samba/smbusers
map to guest = bad user
guest account = nobody
dns proxy = no
#======================= Share Definitions ===================================
[liteshare]
path = /home/%U/linux_share
available = yes
valid users = %U %G
write list = %U
browsable = yes
public = yes
writable = yes
guest ok = yes
read only = no
printable = no
locking = no
strict locking = no

[Gunroom]
path = /mnt/11390a57-b9fd-4fbb-849a-a1006275139d/shares/
available = yes
valid users = %U %G
write list = %U
browsable = yes
public = yes
writable = yes
guest ok = yes
read only = no
printable = no
locking = no
strict locking = no

Thanks everyone for giving me pointers.  If nothing else I learned a lot about samba today.

Hello and sorry for the bump on this old topic, but I am having major issues with my USB-drive connected to my router.
I can't seem to edit the smb.conf file. I don't have the permissions  Sad
Reply
#16
Starting a fresh thread is fine - but you need to provide more information.

The post reads like you are trying to access a drive connected to a router.  If that is correct, then you may need to review the router's resource sharing documentation/setup before looking at the client.

stevef
clueless
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)