Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Mounting Windows Share to Linux Server Post 302991689 by Corona688 on Wednesday 15th of February 2017 10:50:14 AM
Old 02-15-2017
It looks reasonably accurate. Mounting a share without a password isn't the greatest idea though. You may want to tailor it a bit more to your own needs; rather than giving access to everyone (dangerous for obvious reasons), open the share as your user and give it a password. -o user=linuxuser,username=winuser,password=pass

See man mount.cifs for more options you can put in -o to control permissions and the like.

Depending on your distro, cifs-utils may be the wrong package, or unnecessary - CIFS share mounting is a device driver, part of the Linux kernel, and might just be there already. If you don't have mount.cifs, try mount -t cifs.

Hosting a CIFS share on Linux is a totally different story, that requires the Samba package.
This User Gave Thanks to Corona688 For This Post:
 

8 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Mounting a windows share on AIX

Hi, How can I mount a Windows share (over samba) on an AIX machine? I know there is a utility called smbmount on Linux, but alas, I cannot find out how to the same thing on AIX. anyone have any ideas? thanks! (3 Replies)
Discussion started by: szahir1
3 Replies

2. UNIX for Advanced & Expert Users

Help mounting Windows share in UNIX

We recently upgraded one of our engineering servers, and now the lone UNIX box that houses older CAD files can not connect to it. I have tried every variation of mount I can find, but to no avail. Help is appreciated. Here are the specs: Server: Windows 2003 x64 with Unix Services for Windows... (8 Replies)
Discussion started by: shatterstorm
8 Replies

3. Solaris

mounting windows share folder

please help me,,i need step to mount windows share folder,,i try samba and nfs and it didnt work (in my linux server the command is fine),,can somenone give me an example for this to be done? (0 Replies)
Discussion started by: Cellscript
0 Replies

4. UNIX for Dummies Questions & Answers

[Solved] error while mounting windows share on linux

Hi whan i am trying to mount a windows share on linux i received the following error can some one help me with thsi # mount -t cifs \\\\servername\testdata -o username=xw27,password=*es*feed /test Mounting the DFS root for a particular server not implemented yet No ip address specified... (5 Replies)
Discussion started by: robo
5 Replies

5. UNIX for Dummies Questions & Answers

Mounting a standard user, windows share at login

I know how to mount my share via /etc/fstab automatically when the system boots but since I do not have root permission to access the /etc/fstab nor do I think that the system admin wants me to add an entry in /etc/fstab all together. So what file could I add my mount entry in? mount -t cifs... (8 Replies)
Discussion started by: metallica1973
8 Replies

6. Red Hat

Mounting NFS filesystem on Windows server

Hello Can someone please suggest how should I configure Samba to share the drive from Linux to Window server, and Windows server is in AD environment. is this require winbind to be installed ?? Thanks, (0 Replies)
Discussion started by: bobby320
0 Replies

7. Linux

Mounting windows drive into linux server

Dear Experts, My buissness requierment is to place some automated files in Windows server, Now Can you help me to map the Windows folder into Linux server. Windows Details:-windows 2003 Linux Details:- $ uname -a Linux testdb.mawarid.local 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007... (3 Replies)
Discussion started by: Mohammed Fareed
3 Replies

8. UNIX for Beginners Questions & Answers

Sub-folder in share disappears when mounting to other server

Hello, I have 3 solaris 11.2 servers: 1 and 2: are just fileservers with 1 zfs-share server 3: i want to use this one to connect to the rest of our network (windows machines and a few solaris machines) I created the shares on all servers like this (x needs to be replace with the number... (9 Replies)
Discussion started by: Wim_123
9 Replies
Module::Install::Share(3)				User Contributed Perl Documentation				 Module::Install::Share(3)

NAME
Module::Install::Share - Install non-code files for use during run-time SYNOPSIS
# Put everything inside ./share/ into the distribution 'auto' path install_share 'share'; # Same thing as above using the default directory name install_share; DESCRIPTION
As well as Perl modules and Perl binary applications, some distributions need to install read-only data files to a location on the file system for use at run-time. XML Schemas, YAML data files, and SQLite databases are examples of the sort of things distributions might typically need to have available after installation. "Module::Install::Share" is a Module::Install extension that provides commands to allow these files to be installed to the applicable location on disk. To locate the files after installation so they can be used inside your module, see this extension's companion module File::ShareDir. TO DO
Currently "install_share" installs not only the files you want, but if called by the author will also copy .svn and other source-control directories, and other junk. Enhance this to copy only files under share that are in the MANIFEST, or possibly those not in MANIFEST.SKIP. AUTHORS
Audrey Tang <autrijus@autrijus.org> Adam Kennedy <adamk@cpan.org> SEE ALSO
Module::Install, File::ShareDir COPYRIGHT
Copyright 2006 Audrey Tang, Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html> perl v5.16.3 2012-03-01 Module::Install::Share(3)
All times are GMT -4. The time now is 05:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy