Problem in setting up samba server


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Problem in setting up samba server
# 1  
Old 08-10-2012
Problem in setting up samba server

Hi,

I am trying to set-up a samba server at my red-hat machine in order to be accessed via windows, below are my current configuration

Code:
Linux IP : 192.168.1.6
Windows IP : 192.168.1.2

-- I am able to ping from windows to linux machine :

Code:
Pinging 192.168.1.6 with 32 bytes of data:
Reply from 192.168.1.6: bytes=32 time=3ms TTL=64
Reply from 192.168.1.6: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.1.6:
    Packets: Sent = 2, Received = 2, Lost = 0 (0% lo
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 3ms, Average = 1ms
Control-C
^C

-- Below is the smb.conf configuration :

Code:
[share]
 comment = Samba Server
 path  = /home/user1
 valid users = user1, user2
 read only = no
 public = yes
 writable = yes
 hosts allow = 192.168.1.
 browseable = yes

-- I have allotted password to user1 using : smbpasswd -a user1

-- IP tables at linux is off and firewall at windows is off

When I try to access /home/user1 (\\192.168.1.6\home\user1) thru windows, I get the below error :

"the folder you entered does not appear to be valid. Please choose another"


Please help!!


Moderator's Comments:
Mod Comment Please use code tags next time for your code and data.

Last edited by zaxxon; 08-10-2012 at 05:42 PM.. Reason: code tags
# 2  
Old 08-12-2012
Using the limited info you provided, your connection would be to the [share], so the connection syntax would be;

Code:
\\192.168..1.6\share

The version of win (XP vs 7 vs Vista) and the version of samba need to be known (2.x vs 3.x).

Are you configured to authenticate against the domain or local?
What's the security setting in samba?
What version of SMB are you wanting to run? (SMBv1 vs SMBv2)
etc.

---------- Post updated at 11:00 PM ---------- Previous update was at 11:28 AM ----------

I see the moderator is a bit overzealous and INCORRECTLY modified my post.

Your connection syntax would be "\\192.168.1.6\share"
# 3  
Old 08-12-2012
raggmopp : Thanks man.... it worked "\\192.168.1.6\share" Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Proxy Server

Samba on AIX, issues setting read-only flag on files?

Hello, I am having issues setting the "read-only" flag via Windows Explorer on my AIX Samba share... I have on my AIX 7.1 system installed Samba 3.6.24 and configured, joined to our Windows domain successfully. The samba binaries I got from perzl.org/aix In my smb.conf I have... ... (1 Reply)
Discussion started by: c3rb3rus
1 Replies

2. UNIX and Linux Applications

Server migration from samba+ldap to windows server 2003

Hi, i have a server installed samba+openldap (pdc). Need to migration windows server 2003 (active directory) object users, computers. Where you can read how to do it? Or can tell me how to do it? Thanks. P.S. Sorry for bad english (0 Replies)
Discussion started by: ap0st0l
0 Replies

3. Solaris

LDAP Problem during Kerberos setting for Win server 03 Active Directory

Hi, FYI, I'm new in Solaris I'm trying to use Kerberos on authenticating LDAP Client with the Active Directory on Windows Server 2003 on both Solaris 10 5/08 and Solaris 10 9/10 by referring to the pdf file kerberos_s10.pdf available at sun official site. ... (0 Replies)
Discussion started by: chongzh
0 Replies

4. UNIX for Dummies Questions & Answers

Help with setting Samba on CentOS

Hello folks; i have Linux CentOS server that is already on my corporate domain and I'm trying to configure Samba so i can browse or see it from my Windows machine. i followed a lot of threads but still can't login when trying to map a drive. Is there a way to setup Samba on that server (with... (2 Replies)
Discussion started by: Katkota
2 Replies

5. Red Hat

Samba server

Hi everyone, I am trying to set up a samba server using either the interface or the command line. However, I am unable to access the files found on the server. Can anyone tell me how to set up this server? Thanks in advance (2 Replies)
Discussion started by: shakshakshuk
2 Replies

6. UNIX for Dummies Questions & Answers

Problem setting up SSH keys between my laptop and a server.

This is probably somewhat trivial but it's driving me crazy. I have 6 servers with identical configurations. I'm trying to set up ssh keys between my laptop (windows XP using cygwin) and these servers (rhel). On 5 of the machines this works perfectly, but on one, no matter what I do, it gives me a... (2 Replies)
Discussion started by: DeCoTwc
2 Replies

7. UNIX for Advanced & Expert Users

Samba server configurations

Hi, I am using Enterprise Linux Server release 5.2, now i am configuring Samba server, i want to access linux directories from Windows xp/2003 desktops. I installed and configured but i am unable to access them, could you please give me suggestion about configurations. Thanks. (2 Replies)
Discussion started by: marmam
2 Replies

8. Linux

Server with Samba

Hello everybody. The problem deals with a schoolserver with linux running on it. Samba is running so that everybody has his own homedirectory on the server. Now the Problem: A directory should be created on which one everybody can write, but not read the files. We are at the point that... (1 Reply)
Discussion started by: JP_II
1 Replies

9. AIX

Setting Up Samba for AIX

Hi all I want to know how do I create a print queue using samba on AIX enviroment to print to file. Setup step require. Anyone please help me on this. Vincent (2 Replies)
Discussion started by: vwong
2 Replies

10. Linux

Samba Server

I set up Samba so Windows can Access Linux, but how can I access my windows machine from linux (preferably using samba).? (6 Replies)
Discussion started by: erhan_j
6 Replies
Login or Register to Ask a Question