/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Administration/Linux/daemons/samba.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2009-04-09 03:21:08 UTC
  • Revision ID: csa@dside.dyndns.org-20090409032108-w4edamdh4adrgdu3
import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
smbmount //server/share password -U username -c 'mount /mountpoint -l local-charset -r remote-charset'
 
2
smbmount //lomega/c XXX -U guest -c 'mount /mnt/c -l koi8-r -r cp866'
 
3
 
 
4
Unix Extensions
 
5
===============
 
6
The Unix Extensions can be disabled on the client by setting 
 
7
    echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled
 
8
before the mount (and can be reenabled for subsequent mounts by 
 
9
    echo 1 > /proc/fs/cifs/LinuxExtensionsEnabled
 
10
 
 
11
Unix Extensions are negotiated at mount time.  It is usually easiest to 
 
12
disable the Unix Extensions on the client in the case you described (in which 
 
13
the uids/gids differ between client and server) or to run a nss module on
 
14
the client and server (such as winbind) to make sure that the uids/gids 
 
15
are the same.