Samba Help


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 8  
Quote:
Originally Posted by Don Cragun
Maybe you'll want to fix the syntax error in your CIFS installation???
Don Cragun,

What? Please explain!

Cheers!

OMR/TBNK
# 9  
Quote:
Originally Posted by TBotNik
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
Quote:
Originally Posted by TBotNik
Don Cragun,

What? Please explain!

Cheers!

OMR/TBNK
How can I explain?

You say you have syntax errors in your Samba configuration. You don't show us your Samba configuration files and you don't tell us what syntax errors you're getting. Therefore, all I can suggest is that you fix your syntax errors and try again.

If you would show us the exact errors that you are seeing and you would show us the files that are generating those errors, we might be able to help you further. Without seeing the actual errors you are receiving and the code/data that is producing those errors, there is absolutely no way that we can guess at what might be wrong!
# 10  
Command line only

Quote:
Originally Posted by Don Cragun
How can I explain?

You say you have syntax errors in your Samba configuration. You don't show us your Samba configuration files and you don't tell us what syntax errors you're getting. Therefore, all I can suggest is that you fix your syntax errors and try again.

If you would show us the exact errors that you are seeing and you would show us the files that are generating those errors, we might be able to help you further. Without seeing the actual errors you are receiving and the code/data that is producing those errors, there is absolutely no way that we can guess at what might be wrong!
Don Cragun,


No just issuing the command via cmd line/terminal and does not go! Cmd I'm using is:

Code:
mount -t cifs -o username=$user,password=$pwd //server/shares /media/myshare


According to the "man cifs" help pages this is correct syntax, but not working! Shows errors:
Code:
password specified twice, ignoring second
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

The specified "password" twice is because the password to this share is actually 'password'


Cheers!


OMR/TBNKI
# 11  
What be the contents of $user and $password?
# 12  
Quote:
Originally Posted by RudiC
What be the contents of $user and $password?
R,


$user=tech
$pwd-password


Cheers!


TBNK
# 13  
I appreciate that I'm coming to this thread very late (and I'm no expert in Windows) but I think you'd better tell us all what version of Windows you have. Different Windows versions have different cifs versions (e.g. 1, 2.x, or 3). You have said the Linux is Kubuntu and I don't know what version of cifs that has. However, my point is that if the cifs versions are mis-matched, then they won't talk to each other. You might be able to fix that by specifying a 'vers=' parameter on your command line.

Anybody know how to quiz a Kubuntu box for its cifs version?
# 14  
Quote:
Originally Posted by hicksd8
I appreciate that I'm coming to this thread very late (and I'm no expert in Windows) but I think you'd better tell us all what version of Windows you have. Different Windows versions have different cifs versions (e.g. 1, 2.x, or 3). You have said the Linux is Kubuntu and I don't know what version of cifs that has. However, my point is that if the cifs versions are mis-matched, then they won't talk to each other. You might be able to fix that by specifying a 'vers=' parameter on your command line.

Anybody know how to quiz a Kubuntu box for its cifs version?
hicksd8,


In my original post I did explain I'm on Kubuntu 16.04 trying to reach our Windows 10 shop server for file sharing of quotes, etc.


Cheers!


Nyle
Login or Register for Dates, Times and to Reply

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

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help with Samba please!

I am having a nightmare getting a new Solaris server to join a domain in order to access some samba shares. I am a newbie to Unix so am learning as I go. Every time I try the net ads join -U administrator command, I get: # net ads join -U administrator Enter administrator's password: ... (9 Replies)
Discussion started by: mgreen81
9 Replies

2. AIX

Samba

Hello, i install samba on AIX 5.3 and when i try to connect to the shared folder from windows it give me a prompt authentication window to access the server, anyway to allow any user to access that shared folder? i need to access it without the prompt authentication window. Thanks (2 Replies)
Discussion started by: moudmm
2 Replies

3. 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

4. UNIX for Dummies Questions & Answers

samba

hi all having lots of issues with Macs connecting to samba servers being published via Red Hat 5.1. Seems to be varring problems depending on what OSX version we run from 10.5 to 6.3. I found a not on one of the forums about adding the unix extenstions= no and that has cured a few macs but not.... (0 Replies)
Discussion started by: treds
0 Replies

5. Solaris

Samba

I am trying to install samba on a unix box solaris 8. I got the gcc compiler fron sunfreeware,. I nstalled the compiler in /opt/temp but whe I do pkkgadd it tells me there were no packages found. I had suceess before in installing samba. What am i doing wrong? pkgadd: ERROR: no packages were... (1 Reply)
Discussion started by: Gegestic
1 Replies

6. Solaris

SAMBA - need help

I have installed samba and all the required libraries from sunfreeware.com I have it running, and I've done everything I've done in the past on Linux boxes to make it work, but with solaris 9 SPARC, I keep getting the error of "you are not permitted to login from this station" I modified the... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

7. 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

8. 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

9. UNIX for Dummies Questions & Answers

samba

Hello World, Can samba run on Aix 3.2 ? \/ (2 Replies)
Discussion started by: cubicle^dweller
2 Replies

10. 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

Featured Tech Videos