Sponsored Content
Operating Systems Linux Red Hat Problem mounting SAMBA please help Post 302801447 by nokia3310 on Thursday 2nd of May 2013 03:30:30 AM
Old 05-02-2013
RedHat Problem mounting SAMBA please help

I am trying to mount SAMBA/CIFS and it just won't work
Here are my settings...please let me know what i did wrong
This is Centos 6.4 box
Thanks!


cat /etc/samba/smb.conf
Code:
[samba]
    comment = Samba
        path = /home/vm1/Desktop/samba
        writable = yes
        public = yes

findsmb
Code:
                               *=DMB
                                +=LMB
IP ADDR         NETBIOS NAME     WORKGROUP/OS/VERSION 
---------------------------------------------------------------------
192.168.1.34    VM1            [MYGROUP] [Unix] [Samba 3.6.9-151.el6]


mount -v -t cifs -o username=BUSARI,password=dadon4u //home/vm1/Desktop/samba /home/vm1/Desktop/samba-mount
Code:
mount.cifs kernel mount options: ip=67.63.55.3,unc=\\home\vm1,,ver=1,user=BUSARI,prefixpath=Desktop/samba,pass=********

and then it hangs!!!

i have to press ctrl+c to cancel it and nothing gets mounted
now i went to dmesg

dmesg | tail
Code:
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
SELinux: initialized (dev sr0, type iso9660), uses genfs_contexts
Registering the dns_resolver key type
Slow work thread pool: Starting up
Slow work thread pool: Ready
CIFS VFS: Error connecting to socket. Aborting operation
CIFS VFS: cifs_mount failed w/return code = -512
CIFS VFS: Error connecting to socket. Aborting operation
CIFS VFS: cifs_mount failed w/return code = -113

ofcourse ports for Samba and Samba Client are both turned on in system-config-firewall

Also

service smb status
Code:
smbd (pid  2039) is running...

service nmb status
Code:
nmbd (pid  2031) is running...


What am i doing wrong here?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mounting disk problem

i am using Interactive Unix 4.1.1 and i have a disk from a another unix machine which is Unix Slackware 2.1 i'm having problem mounting the disk. it gives me an error message, ??? is there any solution to this ??? it say the disk has invalid file system (1 Reply)
Discussion started by: mharck29
1 Replies

2. UNIX for Dummies Questions & Answers

Problem with mounting

Hi people, I've made some search about it but i didn't find anything. I tried to mount my floppy, mount -t /dev/fd0 /mnt but it didn't work... it says : "Device not configured". Can you help me please??? And mounting my dos partiton... mount -t vfat /dev/hdc1... (6 Replies)
Discussion started by: Erythro73
6 Replies

3. Shell Programming and Scripting

Mounting problem.

Hi, I wanted to mount my windows folder under linux using samba server.. I just run this command : $mount -t smbfs -o fmask=666,ajay //16.100.225.179/Build_stage /mnt/share ajay is user name .. it prompted for password i have given that now i saw error message like 27893: session setup... (1 Reply)
Discussion started by: ajayyadavmca
1 Replies

4. UNIX for Dummies Questions & Answers

CD mounting problem

I have a Sun9 server. When I put a CD into it, I keep getting: Server1{root}:$PWD=> mount: Permission denied mount: cannot mount /vol/dev/dsk/c0t6d0/roxio1 It mounts fine in my Sun8 boxes. What am I doing wrong? (I'm logged in as root). Thanks! (0 Replies)
Discussion started by: FredSmith
0 Replies

5. UNIX for Dummies Questions & Answers

mounting problem

I have successfully installed redhat linux in my PC. But when i am trying to mount cdrom with the command "mount /dev/sda1 /mnt/cdrom" I am getting the following error "Unknown device /dev/sda1". Can anyone help me in this regard. cheers RRK (3 Replies)
Discussion started by: ravi raj kumar
3 Replies

6. Ubuntu

Problem mounting harddisk

Hi all I am having a great deal of trouble mounting a harddisk on my Ubuntu 9.10 desktop. Output from "fdisk -l": Disk /dev/sda: 640.1 GB, 640135028736 bytes 86 heads, 15 sectors/track, 969196 cylinders Units = cylinders of 1290 * 512 = 660480 bytes Disk identifier: 0x00000001 ... (5 Replies)
Discussion started by: jnymarkp
5 Replies

7. HP-UX

Having problem with mounting in HPUX

Hi Gurus, I'm using HP-UX B.11.23 system. I've been having some problem in mounting a filesystem that has been defined in /etc/fstab as shown below. fstab entries: /dev/vgsap/ora10264 /oracle/PRD/102_64 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2 /dev/vgsap/orasapreog... (2 Replies)
Discussion started by: superHonda123
2 Replies

8. UNIX for Dummies Questions & Answers

Help mounting Samba shares

I have these two shares on my Ubuntu Server: path = /media/share read only = no guest ok = yes path = /var/www read only = noI want to mount them to the directories that I created on my Desktop called "shared" and "www" how do I do this? I ran the command: smbclient -L... (1 Reply)
Discussion started by: shadowcat
1 Replies

9. Solaris

Problem mounting iscsi filesystem

Hi, I have a strange problem with iscsi. My vfstab entry looks like this: /dev/md/dsk/d100 /dev/md/rdsk/d100 /zones/ssapp0895v01 ufs 2 iscsi - After rebooting, the filesystem gets mounted with the option "nosetuid". I believe the default should be "suid" /zones/ssapp0895v01 on... (0 Replies)
Discussion started by: alvaro66
0 Replies

10. UNIX for Advanced & Expert Users

Mounting a samba share

Hi, I need to mount a directory from a Windows server to a CentOS box. The Windows server used is Windows Server 2003, and the path to the directory that I want to mount on CentOS is C:\Tomcat6\webapps\NASApp\logs. I am not sure of the correct way to mount this on CentOS, as most of the... (2 Replies)
Discussion started by: anaigini45
2 Replies
SAMBA(7)							    Miscellanea 							  SAMBA(7)

NAME
samba - A Windows SMB/CIFS fileserver for UNIX SYNOPSIS
samba DESCRIPTION
The Samba software suite is a collection of programs that implements the Server Message Block (commonly abbreviated as SMB) protocol for UNIX systems. This protocol is sometimes also referred to as the Common Internet File System (CIFS). For a more thorough description, see http://www.ubiqx.org/cifs/. Samba also implements the NetBIOS protocol in nmbd. smbd(8) The smbd daemon provides the file and print services to SMB clients, such as Windows 95/98, Windows NT, Windows for Workgroups or LanManager. The configuration file for this daemon is described in smb.conf(5) nmbd(8) The nmbd daemon provides NetBIOS nameservice and browsing support. The configuration file for this daemon is described in smb.conf(5) smbclient(1) The smbclient program implements a simple ftp-like client. This is useful for accessing SMB shares on other compatible servers (such as Windows NT), and can also be used to allow a UNIX box to print to a printer attached to any SMB server (such as a PC running Windows NT). testparm(1) The testparm utility is a simple syntax checker for Samba's smb.conf(5) configuration file. testprns(1) The testprns utility supports testing printer names defined in your printcap file used by Samba. smbstatus(1) The smbstatus tool provides access to information about the current connections to smbd. nmblookup(1) The nmblookup tools allows NetBIOS name queries to be made from a UNIX host. smbpasswd(8) The smbpasswd command is a tool for changing LanMan and Windows NT password hashes on Samba and Windows NT servers. smbcacls(1) The smbcacls command is a tool to set ACL's on remote CIFS servers. smbsh(1) The smbsh command is a program that allows you to run a unix shell with with an overloaded VFS. smbtree(1) The smbtree command is a text-based network neighborhood tool. smbtar(1) The smbtar can make backups of data on CIFS/SMB servers. smbspool(8) smbspool is a helper utility for printing on printers connected to CIFS servers. smbcontrol(1) smbcontrol is a utility that can change the behaviour of running samba daemons. rpcclient(1) rpcclient is a utility that can be used to execute RPC commands on remote CIFS servers. pdbedit(8) The pdbedit command can be used to maintain the local user database on a samba server. findsmb(1) The findsmb command can be used to find SMB servers on the local network. net(8) The net command is supposed to work similar to the DOS/Windows NET.EXE command. swat(8) swat is a web-based interface to configuring smb.conf. winbindd(8) winbindd is a daemon that is used for integrating authentication and the user database into unix. wbinfo(1) wbinfo is a utility that retrieves and stores information related to winbind. profiles(1) profiles is a command-line utility that can be used to replace all occurences of a certain SID with another SID. log2pcap(1) log2pcap is a utility for generating pcap trace files from Samba log files. vfstest(1) vfstest is a utility that can be used to test vfs modules. ntlm_auth(1) ntlm_auth is a helper-utility for external programs wanting to do NTLM-authentication. smbmount(8), smbumount(8), smbmnt(8) smbmount,smbumount and smbmnt are commands that can be used to mount CIFS/SMB shares on Linux. smbcquotas(1) smbcquotas is a tool that can set remote QUOTA's on server with NTFS 5. COMPONENTS
The Samba suite is made up of several components. Each component is described in a separate manual page. It is strongly recommended that you read the documentation that comes with Samba and the manual pages of those components that you use. If the manual pages and documents aren't clear enough then please visit http://devel.samba.org for information on how to file a bug report or submit a patch. If you require help, visit the Samba webpage at http://www.samba.org/ and explore the many option available to you. AVAILABILITY
The Samba software suite is licensed under the GNU Public License(GPL). A copy of that license should have come with the package in the file COPYING. You are encouraged to distribute copies of the Samba suite, but please obey the terms of this license. The latest version of the Samba suite can be obtained via anonymous ftp from samba.org in the directory pub/samba/. It is also available on several mirror sites worldwide. You may also find useful information about Samba on the newsgroup comp.protocol.smb and the Samba mailing list. Details on how to join the mailing list are given in the README file that comes with Samba. If you have access to a WWW viewer (such as Mozilla or Konqueror) then you will also find lots of useful information, including back issues of the Samba mailing list, at http://lists.samba.org. VERSION
This man page is correct for version 3 of the Samba suite. CONTRIBUTIONS
If you wish to contribute to the Samba project, then I suggest you join the Samba mailing list at http://lists.samba.org. If you have patches to submit, visit http://devel.samba.org/ for information on how to do it properly. We prefer patches in diff -u format. CONTRIBUTORS
Contributors to the project are now too numerous to mention here but all deserve the thanks of all Samba users. To see a full list, look at the change-log in the source package for the pre-CVS changes and at http://cvs.samba.org/ for the contributors to Samba post-CVS. CVS is the Open Source source code control system used by the Samba Team to develop Samba. The project would have been unmanageable without it. AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy. Samba 3.5 06/18/2010 SAMBA(7)
All times are GMT -4. The time now is 02:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy