Hi everybody,
I have a big problem:
I have to upgrade Samba server (Samba 3.0.x @ OpenSuSE 10.1) in our company.
First attempt was with Samba 3.2/3.3 on OpenSuSE 10.3 server. On a first look everything worked fine, but when I tried to access share (write some files), Samba froze and a root filesystem (on a diferrent volume) crashed. When I reboot, everything seems to be OK, And so on. >:(
“Second servis” - I tested OpenSuSE 11.1 with Samba 3.3.4 and 3.4.0 also (OpenSuSE .rpm build). Samba works fime (I have to enabled vfs acl_xattr module for correct acls ), but disk quotas over Samba doesn’t. Quotas are enabled on underlying filesystem (reiserfs), but in Windows explorer I don’t see the “Quota tab”. When I tried “smbcquotas //server/share -F -U administrator”, the system returned: “Quotas are not enebled on this share.” :\
On Samba 3.0.x @ OpenSuse 10.1 everything works fine on first attempt - sharing, acls, quotas. Here are the smb.conf, nswitch.conf and pam.d.
Did I miss anything important?
[smb.conf]
#[global]
global options needed by samba to communicate with
Windows 2003 Active Directory
log file = /var/log/samba/samba.log
max log size = 50
socket options = TCP_NODELAY
local master = no
os level = 20
domain master = no
preferred master = no
domain logons = no
server string = OpenSuSE 10.3
realm = ourdomain.ourcompany
workgroup = ESA
password server = wserver.ourdomain.ourcompany
security = ADS
encrypt passwords = yes
winbind configuration: mapping ADS users to
uid’s and gid’s, enabling the enumeration of users
and groups.
winbind separator is the character that separates
user or group names from the domain name.
winbind separator = +
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users=yes
winbind enum groups=yes
Share definition
[profiles]
comment = User’s Roaming Profiles
path = /data1/profiles
browseable = yes
read only = no
admin users = root @“OURDOMAIN+Domain Admins”
inherit acls = yes
vfs objects = acl_xattr # On Samba 3.0.x this is omitted
[nsswitch.conf]
passwd: compat winbind
shadow: compat
group: compat winbind
hosts: files dns
networks: files dns
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files nis
publickey: files
bootparams: files
automount: files nis
aliases: files
[etc/fstab]
/dev/sda1 / reiserfs acl,user_xattr 1 1
/dev/sda2 swap swap defaults 0 0
/dev/sda5 /data1 reiserfs acl,user_xattr,usrquota 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
Thanks everybody for help.
Tomas Lajbl, Czech Republic