Samba Help

Tags
fstab, samba, smb.conf, smbclient, ubuntu

 
Thread Tools Search this Thread
# 1  
Old 06-29-2018
Samba Help

All;

I've done this before, but sure I'm typing in the wrong search terms, so not finding the help I need.

What I have to do: Set up Samba, smb.conf, smbclient, fstab and all other settings so I see both the Windows and Linux servers and their shares in the network, via Samba.

It's been a good five years since I've done this last, so had many brain-farts since then and not finding what I need, so if you know the right HOWTOs, please pass them along, so I get this right!

Cheers!

OMR/TBNK

---------- Post updated at 01:05 PM ---------- Previous update was at 12:49 PM ----------

PS,

Must come up on boot (think that where fstab uses smbclient mounts, I think),

I'm setting this up on Aspire 7739 Laptop running Kubuntu 16.04 LTS.

Must share, via smb.conf, my shares on the network as well.

Cheers!

OMR/TBNK
# 2  
Old 06-29-2018
Samba is no longer needed for as many things as it used to be. It's still the go-to to serve shares, but native client support has popped up in many operating systems. In Linux you can do

Code:
mount -t cifs -o username=USERNAME,password=PASSWD //192.168.1.88/shares /mnt/share

...and bam, you're a CIFS client, no Samba required.

What specific application were you using to browse shares and in what way did it not work? Knowing that would help me figure out what it's trying to do and why it's not working.

We need more details on what your shares are.
This User Gave Thanks to Corona688 For This Post:
RudiC (07-02-2018)
# 3  
Old 07-03-2018
Quote:
Originally Posted by Corona688
Samba is no longer needed for as many things as it used to be. It's still the go-to to serve shares, but native client support has popped up in many operating systems. In Linux you can do

Code:
mount -t cifs -o username=USERNAME,password=PASSWD //192.168.1.88/shares /mnt/share

...and bam, you're a CIFS client, no Samba required.

What specific application were you using to browse shares and in what way did it not work? Knowing that would help me figure out what it's trying to do and why it's not working.

We need more details on what your shares are.
Corona688,

I need the SAMBA as i explained it must come up on bootup, and therefore has to be in the fstab to auto load with all required passwords. Additionally this process has to be repeated on other machines to have fully functional network, sharing with the Linux and Windows servers.

Cheers!

OMR/TBNK



PS

If it's not SAMBA, then the Windows computers on the network will not see any of the shares.

OMR/TBNK
# 4  
Old 07-04-2018
Quote:
Originally Posted by TBotNik
Corona688,

I need the SAMBA as i explained it must come up on bootup, and therefore has to be in the fstab to auto load with all required passwords.
To repeat:

Samba serves shares. I don't know what purpose putting it in fstab would serve.

Your question remains too large and vague to effectively answer. "how do I do everything" is not a good question. Try a little on your own and narrow it down.
# 5  
Old 07-10-2018
Quote:
Originally Posted by Corona688
To repeat:

Samba serves shares. I don't know what purpose putting it in fstab would serve.

Your question remains too large and vague to effectively answer. "how do I do everything" is not a good question. Try a little on your own and narrow it down.
Corona688,

Ok, more research and I see they replaced samba with cifs, but it seems totally confusing to me, and all the mount cmds, I've tried have some syntax errors, so it's always showing the man help page, everytime I issue a cmd for it.

Cheers!

OMR/TBNK

Last edited by TBotNik; 07-11-2018 at 05:14 PM..
# 6  
Old 07-21-2018
Quote:
Originally Posted by Corona688
Samba is no longer needed for as many things as it used to be. It's still the go-to to serve shares, but native client support has popped up in many operating systems. In Linux you can do

Code:
mount -t cifs -o username=USERNAME,password=PASSWD //192.168.1.88/shares /mnt/share

...and bam, you're a CIFS client, no Samba required.

What specific application were you using to browse shares and in what way did it not work? Knowing that would help me figure out what it's trying to do and why it's not working.

We need more details on what your shares are.
Corona688,

Tried your command, doesn't work! Checked and CIFS is installed. Has a syntax error.

Not sure what to do next.

Cheers!

TBNK
# 7  
Old 07-21-2018
Quote:
Originally Posted by TBotNik
Corona688,

Tried your command, doesn't work! Checked and CIFS is installed. Has a syntax error.

Not sure what to do next.

Cheers!

TBNK
Maybe you'll want to fix the syntax error in your CIFS installation???

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Help with Samba please! mgreen81 UNIX for Dummies Questions & Answers 9 09-26-2014 10:32 AM
Samba moudmm AIX 2 09-23-2014 11:27 AM
samba issue: one samba share without password prompting and the others with. ideal2545 Solaris 0 01-12-2012 03:45 PM
SAMBA lawsongeek UNIX for Dummies Questions & Answers 2 10-06-2011 11:15 AM
samba vinay_ks Solaris 0 05-11-2010 12:26 PM
samba treds UNIX for Dummies Questions & Answers 0 04-12-2010 09:16 AM
samba user23 UNIX for Dummies Questions & Answers 0 05-21-2008 02:08 PM
Samba Gegestic Solaris 1 05-30-2006 03:49 PM
SAMBA - need help BG_JrAdmin Solaris 3 04-08-2006 12:07 AM
Samba help net555 UNIX for Dummies Questions & Answers 0 04-14-2005 08:05 AM
SAMBA - where? nEuRoMaNcEr Solaris 3 10-31-2003 05:29 AM
samba cubicle^dweller UNIX for Dummies Questions & Answers 2 07-10-2003 03:11 AM
Why use Samba? champion UNIX for Dummies Questions & Answers 3 10-21-2002 03:58 PM