[Samba] samba file server

Walter Mautner retlaw.rentuam at gmail.com
Sat Feb 21 07:57:32 GMT 2009


Am Saturday 21 February 2009 05:51:39 schrieb yudi shiddiq:
> Hello everybody,
>
> I'm really need help, i'm using samba server as file server and using
> samba-3.2.6-1 on my file server.
>
> My pc client using win xp pro and win ME, the problem is when we work using
> open office 2 and want to save our modified document sometimes show error
> message "general input/output error" i have tried to upgrade open office
> from version 2 to version 3 but the error still happen, this problem happen
> most on pc using win ME, and if the error happen i couldn't save anywhere
> even on my local drive, is there any problem on my configuration or bug on
> samba version 3.2.6-1....
>
This can be anything from a dying harddrive to a flakey (network) 
switch/router or a broken cable.
Without debugging basic network functions and viewing samba logs we are just 
as clueless ...

> thx b4..
>
> this is my /etc/samba/smb.conf
>
> [global]
>         netbios name = BETA
>         os level = 20
>         preferred master = no
>         security = user
>         workgroup = BETA-SERVER
>         hosts allow = 10.10.0.0/255.255.0.0
>         encrypt passwords = yes
>         ldap passwd sync = yes
>         passdb backend = ldapsam:ldap://10.10.0.10
>         lanman auth = yes
>         smb ports = 139
>
>         dos filemode = yes
>         getwd cache = yes
>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>         unix extensions = no
>         wide links = yes
>         wins support = no
>
>         ##################################
>         # Defining logging facility      #
>         ##################################
>         log file = /var/log/samba/%m.log
>         log level = 1 vfs:0
>         # log level = 4
>
>
>         ### These enable symlinks ###
>         # follow symlinks = yes
>
>         ##################################
>         # OpenLDAP stuff is defined here #
>         ##################################
>
>         ldap ssl = no
>         ldap suffix = dc=beta,dc=ind
>         ldap admin dn = cn=Manager,dc=beta,dc=ind
>         ldap user suffix = ou=Users
>         ldap machine suffix = ou=Computers
>         ldap group suffix = ou=Groups
>         ldap idmap suffix = ou=Users
>    idmap uid = 10000-20000
>    idmap gid = 10000-20000
>
>    template shell = /bin/false
>    winbind use default domain = no
>         ########### Autodesk/Autocad things ###########
>         csc policy = disable
>         force security mode = 777
>         nt acl support = no
>
Streamline your samba config file. I doubt you are actually using ldap and 
winbind both together?

> [sys]
>         path = /alpha
>         comment = beta
> #       level2 oplocks = no
> #       oplocks = no
>         browseable = yes
>         read only = no
>         create mode = 0775
>         directory mode = 0777
>         vfs objects = full_audit

Full audit takes a performance hit.

>         full_audit:failure = none
>         full_audit:success = mkdir rename unlink rmdir pwrite write open
>         full_audit:prefix = %u|%I|%m
>
> [data]
>         path = /data
>         comment = beta
>         read only = no
>         browseable = no




More information about the samba mailing list