LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2012, 11:39 PM   #1
nickn0ck
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Rep: Reputation: Disabled
About Samba


help me please

I have installed samba and its now working i think

I can access my home directories but when i share a folder the added user i have cant access it please help me with this problem.

it asks for authentication i have tried every account on my system and smb account but still i cannot access it what is missing on my smb.conf? or what should i do
 
Old 10-25-2012, 12:38 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Quote:
I can access my home directories but when i share a folder the added user i have cant access it please help me with this problem.
Please explain it, how are you sharing a folder? and how are you allowing a user to access it.

Quote:
it asks for authentication i have tried every account on my system and smb account but still i cannot access it what is missing on my smb.conf? or what should i do
As far as I know, in order to access Samba share, a user's Windows and Unix accounts should be mapped in /etc/samba/smbusers files, in form of -
<Windows-username>==<Unix-username>
So did you check that? Also cross check with what user account you're logged in into your Windows machine and is that account mapped with user's Unix account.
One more thing, one Unix account should be mapped with one Unix account only in smbusers file. So check that also.

Last edited by shivaa; 10-25-2012 at 12:39 AM.
 
Old 10-25-2012, 01:52 AM   #3
nickn0ck
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
is there a secondary authentication for the share folder? besides from the one that i logged in on? i created a new smb user but still i cannot access it
 
Old 10-25-2012, 01:57 AM   #4
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Quote:
Originally Posted by nickn0ck View Post
is there a secondary authentication for the share folder? besides from the one that i logged in on? i created a new smb user but still i cannot access it
If you're logged in as different user in Windows machine, and accessing some other user's file, then it will ask you to enter that user's Unix login/passwd to access the file. But take a note, that user's Win/Unix names must be mapped in smbusers.
Could you share the error message?
 
Old 10-25-2012, 02:11 AM   #5
nickn0ck
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
here is inside my smbusers


# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest

cant understand why cant i access my shared folder the only thing i can access is the default config of the smb.conf

[homes]
comment = Home Directories
browseable = no
writable = yes
; valid users = %S
; valid users = MYDOMAIN\%S

and here is a copy of mine that i copied from that

[sample folder]
comment = sample directories
path = /tmp/"testing Folder"
browseable = yes
writable = yes
inherit acls = yes
inherit permissions = yes
guest ok = yes
; valid users = %S
; valid users = MYDOAMIN\%S
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
[SOLVED] SAMBA problem ?? rebuilding server ?? How to configure SAMBA share with writing - Win Alvin88 Linux - Newbie 5 04-04-2012 01:51 AM
[Samba] Samba as PDC stopped trusting my Win 7 clients after a server update martdj Linux - Networking 1 01-14-2011 11:30 AM
Is there any way to log user samba who delete or move files/folders on samba server ? b-RAM Linux - Server 1 02-09-2010 01:33 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration