ahoi.
Hast du windows Clients im Netzwerk? Ansonsten nimm NFS => Viel preformanter als sambe
Wenns denn doch samba sein muss halte dich an dieses howto
http://www.debianhelp.co.uk/samba.htm Poste bitte die sambe config und die ausgabe von "testparm".
EDIT: Ich habe in meiner persönlichen Sammlung noch was aufgestöbert. Vielleicht hilfts
smb.conf explained netbios name - Name by which the Samba server is known on the network. Same as the Windows NT Computer Name. If you don’t specify it, it will default to the server’s hostname.
workgroup - This parameter tells samba which Window NT Domain or Workgroup it will join. It is equivalent to the Windows NT Domain or Workgroup name.
server string - The description string of the Samba server. It is equivalent to the Windows NT Description field.
security - four possible values: share, user, server, domain
Share - clients need to supply only the password for the resource. This mode of security is the default for the Windows 95 file/print server. It is not recommended for use in UNIX environments, because it violates the UNIX security scheme.
User - the user/password validation is done on the server which is offering the resource. This mode is most widely used.
Server - user/password validation is done on the specified authentication server. This server can be a Windows NT server or another Samba server.
Domain - this security level is basically the same as server security, with the exception that the Samba server becomes a member of a Windows NT domain. In this case the Samba server can also participate in such things as trust relationships
encrypt passwords - If set to yes, Samba uses the encrypted password protocol. It is used in Windows NT (starting with Service Pack 3) and Windows 95/98.
smb passwd file - This tells Samba where encrypted passwords are saved. By default, it will use /etc/smbpasswd.
name resolve order - This parameter specifies how the Samba server resolves NetBIOS names into IP addresses. The preferred value is wins lmhosts bcast.
WINS support Only one of the parameters (wins support or wins server) can be set at the same time. If you specify the IP address of WINS server then, wins support must be set to “no”.
wins server - With this parameter, you tell Samba which WINS server to use.
wins support - This option tells Samba to act as a WINS server
Share options admin users - Specify the users who have administrative privileges for the share. When they access the share, they perform all operations as root.
printable - This parameter specifies if the share is a print share. If the share is printable, then it is also writable by default
write list - Specifies the list of people who have write access to the share. If the name begins with @ it means a group name.
writable -This parameter specifies if the share is writable. (yes/no)
read list-List of people who have read access to the share. If the name begins with @ it means a group name.
read only -If this is set to yes, the share is read only.
valid users -This parameter specifies which users can access the share.
create mask -This is used for file creation to mask against UNIX mask calculated from the DOS mode requested. Default: 0744
directory mask -This is used for directory creation to mask against UNIX mask calculated from the DOS mode requested. Default: 0755
Homes Special share section called [homes] will affect all home folders. You don't need to create one seperate for each user. When client requests a connection to a file share, existing file shares are scanned. If a match is found, that share is used. If no match is found, the requested share is treated as a username and validated by security. If the name exists and the password is correct, a share with that name is created by cloning the [homes] section.
Home Folder Structure in smb.conf
[homes]
comment = Home Directories
path = %H
valid users = %S
browseable = no
writable = yes
create mode = 0700
directory mode = 0700
%H - Represents the home directory of the user.
%S - Represents the name of the current service which, in the case of home share, is equal to the username.
Add Shared Folder to Samba Here is a sample share folder structure.
[share]
path = /path/to/data
comment = Data Directory on servername
read only= yes
valid users = @users
write list = manager
This shares the data in a directory as a share. You can access this share by \\servername\share. Only valid users who are part of users group are permited to read this data. The user named manager is allowed to write.
Add Writable share Folder Following previous procedure. Add this to the smb.conf
[everybody]
comment = Everybody files
path = /path/to/folder
browseable = yes
printable = no
writable = yes
write list = @users