Visit The New, Modern Unix Linux Community


Samba Help


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Samba Help
# 1  
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  
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:
# 3  
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  
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  
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  
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  
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???

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #863
Difficulty: Medium
Vue features a reactivity system that uses jQuery objects and optimized re-rendering.
True or False?

8 More Discussions You Might Find Interesting

1. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

2. UNIX for Dummies Questions & Answers

SAMBA

currently, we are using SAMBA for our ftp way. can SAMBA be encrypted aka sftp ? (2 Replies)
Discussion started by: lawsongeek
2 Replies

3. UNIX for Dummies Questions & Answers

Samba

after creating username/passwd, vi /usr/lib/smb.conf file comment = dropoff location path = /tmp/droloc browsable = No available = yes public = no writable = yes printable = no create mode = 777 valid users = tjmann,palexander,bmartin,.... instead of using... (2 Replies)
Discussion started by: tjmannonline
2 Replies

4. UNIX for Dummies Questions & Answers

Samba help

Hey. I have a question about adding users and maping theirs dirictorys. Main Folder | -User1 Folder -User2 Folder -User3 Folder ...... How can I add this users to have folders in the Main Folder ? any simple script? And I... (0 Replies)
Discussion started by: net555
0 Replies

5. Solaris

SAMBA - where?

Greetings.. I need SAMBA to implement a backup strategy , the problem is that i cant find it anywhere... can u guys gimme a link to a sun compatilble version of samba ? thanx thanx htanx..... :rolleyes: (3 Replies)
Discussion started by: nEuRoMaNcEr
3 Replies

6. UNIX for Dummies Questions & Answers

Why use Samba?

Hi, I am sorry I am total dummy in Unix. I am starting to explore a thing call "Samba". From my initial and rough finding, I think Samba is only useful in providing Print services to PC platform users. That is to say, The Unix machine which has Samba installed, is able to provide print... (3 Replies)
Discussion started by: champion
3 Replies

7. UNIX for Dummies Questions & Answers

Need Samba Help

Hi, I am very new to Unix, do know some RedHat linux. I am wanting to install samba on my unix machine. Not sure where to start, any help would be very much appreciated. Thanks, Chris Lewis (4 Replies)
Discussion started by: lewy33
4 Replies

8. Programming

Samba 2.2.4

Has any setup samba 2.2.4 inside of unix ver 11.0, i am trying to mount a nfs mount on a w2k, and wxp box, and i was told that i had to upgrade to sambe 2.2.4, but the c compiler on ver 11.0 isnt ansii compatable, I could please use any help or directions on this matter... thanks (0 Replies)
Discussion started by: marvin51796
0 Replies

Featured Tech Videos