Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!
Showing posts with label cifs. Show all posts
Showing posts with label cifs. Show all posts

Thursday, November 18, 2010

Smb4K

Link:  http://smb4k.berlios.de
Depends on  KDE 4.x

Smb4K is a SMB/CIFS (Windows) share browser for KDE. It uses the Samba software suite to access the SMB and CIFS shares of the local network neighborhood. Its purpose is to provide a program that's easy to use and has as many features as possible.

Features:
* Scanning for (active) workgroups, hosts, and shares
* Mounting and unmounting of SMB and CIFS shares, including unmounting all shares at once
* Access to the files of a mounted SMB or CIFS share using Konqueror
* Auto-detection of external mounts/unmounts
* Remounting of recently used shares on program start
* Miscellaneous infos about the mounted SMB and CIFS shares
* Network search
* WINS server support
* Preview of shares
* Selectable look-up and search methods
* Default login
* Ability to execute mount and umount SUID root (using super or sudo)
* Special handling of homes shares
* Ability to bookmark favorite shares
* System tray icon
* Support of advanced Samba options
* Support of printer shares
* KWallet support
* Konqueror plugin (KDE 3 versions only)
* Synchronization of a remote share with a local copy (and vice versa)
* Ability to define custom options for individual servers and shares

The current stable branch (0.10.x) depends on KDE 4 only (KDE >= 4.0, Qt >= 4.3, and Samba >= 3.x).

Linux and FreeBSD are supported. Smb4K might also run under different operating systems.

Mount remote windows shares under Linux

Source
All files accessible in a Linux (and UNIX) system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several devices. The mount command serves to attach the file system found on some device to the big file tree.
Use the mount command to mount remote windows partition or windows share under Linux as follows:
Procedure to mount remote windows partition (NAS share)
1) Make sure you have following information:
== Windows username and password to access share name
== Sharename (such as //server/share) or IP address
== root level access on Linux
2) Login to Linux as a root user (or use su command)
3) Create the required mount point:
# mkdir -p /mnt/ntserver
4) Use the mount command as follows:
# mount -t cifs //ntserver/download -o username=vivek,password=myPassword /mnt/ntserver
Use following command if you are using Old version such as RHEL <=4 or Debian <= 3:
# mount -t smbfs -o username=vivek,password=D1W4x9sw //ntserver/download /mnt/ntserver
5) Access Windows 2003/2000/NT share using cd and ls command:
# cd /mnt/ntserver; ls -l
Where,
  • -t smbfs : File system type to be mount (outdated, use cifs)
  • -t cifs : File system type to be mount
  • -o : are options passed to mount command, in this example I had passed two options. First argument is password (vivek) and second argument is password to connect remote windows box
  • //ntserver/download : Windows 2000/NT share name
  • /mnt/ntserver Linux mount point (to access share after mounting)
See also:
Configure a system to automount a Samba share with /etc/fstab file

man mount.cifs - mount using the Common Internet File System
mount.cifs — mount using the Common Internet File System (CIFS)
Synopsis

mount.cifs {service} {mount-point} [-o options]
DESCRIPTION
This tool is part of the samba(7) suite.
mount.cifs mounts a Linux CIFS filesystem. It is usually invoked indirectly by the mount(8) command when using the "-t cifs" option. This command only works in Linux, and the kernel must support the cifs filesystem. The CIFS protocol is the successor to the SMB protocol and is supported by most Windows servers and many other commercial servers and Network Attached Storage appliances as well as by the popular Open Source server Samba.
The mount.cifs utility attaches the UNC name (exported network resource) specified as service (using //server/share syntax, where "server" is the server name or IP address and "share" is the name of the share) to the local directory mount-point.
Options to mount.cifs are specified as a comma-separated list of key=value pairs. It is possible to send options other than those listed here, assuming that the cifs filesystem kernel module (cifs.ko) supports them. Unrecognized cifs mount options passed to the cifs vfs kernel code will be logged to the kernel log.
mount.cifs causes the cifs vfs to launch a thread named cifsd. After mounting it keeps running until the mounted resource is unmounted (usually via the umount utility).
mount.cifs -V command displays the version of cifs mount helper.
modinfo cifs command displays the version of cifs module.

Sunday, March 28, 2010

SMB & Common Internet File System

Server Message Block o SMB es un Protocolo de red (que pertenece a la capa de aplicación en el modelo OSI) que permite compartir archivos e impresoras (entre otras cosas) entre nodos de una red. Es utilizado principalmente en ordenadores con Microsoft Windows y DOS.
SMB fue originalmente inventado por IBM, pero la versión más común hoy en día es la modificada ampliamente por Microsoft. Microsoft renombró SMB a Common Internet File System (CIFS) en 1998 y añadió más características, que incluyen soporte para enlaces simbólicos, enlaces duros (hard links), y mayores tamaños de archivo.
Hay características en la implementación de SMB de Microsoft que no son parte del protocolo SMB original.
También existe Samba, que es una implementación libre del protocolo SMB con las extensiones de Microsoft. Funciona sobre sistemas operativos GNU/Linux y en otros UNIX.

Friday, March 13, 2009

Using Samba on Debian Linux

Source posted by ltackmann on Thu 26 Jan 2006
This article will show you how to install Samba 3.X on Debian Linux 3.1 (Sarge) and make it authenticate against a Windows server running Active Directory. It is not intended on replacing the actual official Samba 3 manual - which is a quite good read anyway.


Debian Samba Server setup
If you want to configure your server as samba server:

http://www.debianhelp.co.uk/samba.htm

Samba Server Web interface or GUI Tools

http://www.debianhelp.co.uk/sambaweb.htm