LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba Server not Working (https://www.linuxquestions.org/questions/linux-server-73/samba-server-not-working-4175432830/)

dushyantgohil 10-18-2012 01:16 AM

Samba Server not Working
 
hi,

i have created samba users and also shared directories for the specific user but when i connect from client machine it shows me the shared directories and when i try to open it, it asks me for authentication but after giving proper username and password i am not able to access that directory.

Nikosis 10-18-2012 01:41 AM

Well, at first check your permissions of that directory.
Code:

ls -l

dushyantgohil 10-18-2012 01:46 AM

directory permission is 755

centos123 10-18-2012 04:59 AM

is your problem solve on giving permission

dushyantgohil 10-18-2012 05:04 AM

No its not solved yet.

centos123 10-18-2012 06:48 AM

tell me your fileserver architecture then only i can guide u..

---------- Post added 10-18-12 at 06:48 AM ----------

well i knew it that only changing permission issue will not resolved...

dushyantgohil 10-18-2012 06:57 AM

server is Cent os 5.7 with the LAMP environment.
all the firewalls are disabled.
configured samba server and created users for that.

Want to share directory with specific users only.

deep27ak 10-18-2012 07:13 AM

Quote:

Originally Posted by dushyantgohil (Post 4809015)
server is Cent os 5.7 with the LAMP environment.
all the firewalls are disabled.
configured samba server and created users for that.

Want to share directory with specific users only.

I donot see any relevant important details provided by you in all the posts. You need to be more descriptive for the issue with all the details to save yours and ours time

Show your smb.conf
Check and show log messages for any related info

centos123 10-18-2012 07:16 AM

Quote:

Originally Posted by dushyantgohil (Post 4809015)
server is Cent os 5.7 with the LAMP environment.
all the firewalls are disabled.
configured samba server and created users for that.

Want to share directory with specific users only.



u did not mentioned how you had added your client with server and your client have windows operating system or else.

dushyantgohil 10-18-2012 07:58 AM

i have created simple users and added in samba using

smbpasswd -a username

other client machines are having ubuntu 12.04, windows 7 and mountain lion

zafar_dandoti 10-18-2012 08:43 AM

hi dushyant
the samba share u are accessing with the samba user ,is that user have appropriate rights to that share?
have u enabled the user?
ie smbpasswd -e userame.

Nikosis 10-18-2012 01:00 PM

Ok, can you tell us what exacty did you do, what permissions did you set up for your share file, also send output of yours smb.conf

dushyantgohil 10-19-2012 12:23 AM

Quote:

Originally Posted by Nikosis (Post 4809305)
Ok, can you tell us what exacty did you do, what permissions did you set up for your share file, also send output of yours smb.conf

hi please read above post i have mentioned all the things

dushyantgohil 10-19-2012 12:24 AM

Quote:

Originally Posted by zafar_dandoti (Post 4809096)
hi dushyant
the samba share u are accessing with the samba user ,is that user have appropriate rights to that share?
have u enabled the user?
ie smbpasswd -e userame.


hi zafar,

i have created one directory and one user. permission assigned to the directory is 755 so i dont think there is any issue with the permission

centos123 10-19-2012 12:25 AM

can you tell me how you map windows user to samba server and also ubantu user to samba server. which folder you has mapped with server.beside permission their is one more reason that after getting your reply i can come to conclusion.so reply me .

---------- Post added 10-19-12 at 12:26 AM ----------

post your smb.conf file


All times are GMT -5. The time now is 11:15 PM.