Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Problem in setting up samba server Post 302685075 by chander_1987 on Friday 10th of August 2012 03:59:19 PM
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
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
MASKTEST(1)							    Test Suite							       MASKTEST(1)

NAME
masktest - Find differences in wildcard matching between Samba's implementation and that of a remote server. SYNOPSIS
masktest {//server/share} [-U user%pass] [-d debuglevel] [-W workgroup] [-n numloops] [-s seed] [-a] [-E] [-M max protocol] [-f filechars] [-m maskchars] [-v] DESCRIPTION
masktest is a utility for detecting differences in behaviour between Samba's own implementation and that of a remote server. It will run generate random filenames/masks and check if these match the same files they do on the remote file as they do on the local server. It will display any differences it finds. This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers. OPTIONS
-U user%pass Specify the user and password to use when logging on on the shares. This parameter can be specified twice (once for the first server, once for the second). -s seed Seed the random number generator with the specified value. -n numops Set the number of operations to perform. -a Print the operations that are performed. -M max_protocol Maximum protocol to use. -f Specify characters that can be used when generating file names. Default: abcdefghijklm. -E Abort when difference in behaviour is found. -m maskchars Specify characters used for wildcards. -v Be verbose VERSION
This man page is correct for version 4.0 of the Samba suite. SEE ALSO
Samba AUTHOR
This utility is part of the Samba[1] suite, which is developed by the global Samba Team[2]. masktest was written by Andrew Tridgell. This manpage was written by Jelmer Vernooij. NOTES
1. Samba http://www.samba.org/ 2. Samba Team http://www.samba.org/samba/team/ Samba 4.0 06/17/2014 MASKTEST(1)
All times are GMT -4. The time now is 07:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy