From: alexander on

Hi.

Excuse my English.

I have a huge problem here.

I have the following scenario:

- Gentoo
- Kernel 2.6.31
- Samba 3.0.37
- OpenLDAP
- Samba + OpelLDAP as a PDC
- 600 users
- 20 groups
- 30 simultaneous users in the highest scenario
- It's a very small scenario anyway

Everything works fine, the times to copy files are fine, no delay at all!

But one application, a Delphi + Paradox application, spends more than 5
minutes to open and to do each possible operation.

That application doesn't has any network user, it has its own user
"database" and it's only an *.exe file in a share.

The network is ok, only five users connected and doing nothing.

I've blamed the application at the first time, but I have too a testing
Samba system running in an Slackware, without OpenLDAP, and when I've tried
with that, the application have run fine.

I'm going crazy here...

I've checked my kernel, smb.conf, ldap.conf, slapd.conf, everything seems
ok.

So, I'll put here all my configuration files, sorry if it is an abuse.

Can someone help me? I'm desperate...


== smb.conf ==

[global]
workgroup = EXAMPLE
netbios name = REALM
server string = REALM %v
security = user
smb ports = 139
encrypt passwords = yes
use sendfile = no
lock spin time = 15
strict locking = no
getwd cache = yes
oplocks = no
level2 oplocks = no
wins support = yes
load printers = yes
log level = 2
log file = /var/log/samba/log.%m
max log size = 50
os level = 64
local master = yes
domain master = yes
preferred master = yes
domain logons = yes
logon script = %g.bat
logon path = \\%L\profiles\%U
dns proxy = no
ldap passwd sync = yes
interfaces = 10.0.0.246 127.0.0.1
ldap delete dn = yes
passdb backend = ldapsam:ldap://127.0.0.1
ldap admin dn = cn=admin,dc=example,dc=com
ldap suffix = dc=example,dc=com
ldap group suffix = ou=grupos
ldap user suffix = ou=people
ldap machine suffix = ou=computers
create mask = 600
directory mask = 0700
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add user script = /usr/sbin/smbldap-useradd '%u'
delete user script = /usr/sbin/smbldap-userdel '%u'
add user to group script = /usr/sbin/smbldap-groupmod -m '%u' '%g'
delete user from group script = /usr/sbin/smbldap-groupmod -x '%u' '%g'
set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'
add group script = /usr/sbin/smbldap-groupadd '%g' &&
/usr/sbin/smbldap-groupshow %g|awk '/^gidNumber:/ {print $2}'
delete group script = /usr/sbin/smbldap-userdel '%g'
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
dos charset = UTF-8
unix charset = UTF-8


== ldap.conf ==

base dc=example,dc=com
uri ldap://127.0.0.1
ldap_version 3
binddn cn=admin,dc=example,dc=com
bindpw mysecret
rootbinddn cn=admin,dc=example,dc=com
scope sub
bind_policy soft
pam_filter objectclass=posixAccount
pam_login_attribute uid
pam_check_host_attr yes
pam_member_attribute memberUid
pam_password md5
nss_base_passwd ou=people,dc=example,dc=com?sub
nss_base_passwd ou=computers,dc=example,dc=com?sub
nss_base_group ou=groups,dc=example,dc=com?sub


== slapd.conf ==

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/collective.schema
include /etc/openldap/schema/corba.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/duaconf.schema
include /etc/openldap/schema/dyngroup.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/java.schema
include /etc/openldap/schema/misc.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/openldap.schema
include /etc/openldap/schema/pmi.schema
include /etc/openldap/schema/ppolicy.schema
#include /etc/openldap/schema/samba.schema
include /etc/openldap/schema/edem.schema

include /etc/openldap/schema/gosa/samba3.schema
include /etc/openldap/schema/gosa/gosystem.schema
include /etc/openldap/schema/gosa/gofon.schema
include /etc/openldap/schema/gosa/goto.schema
include /etc/openldap/schema/gosa/goto-mime.schema
include /etc/openldap/schema/gosa/gosa-samba3.schema
include /etc/openldap/schema/gosa/gofax.schema
include /etc/openldap/schema/gosa/openssh-lpk.schema
include /etc/openldap/schema/gosa/goserver.schema
include /etc/openldap/schema/gosa/sudo.schema

pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args

database hdb
suffix "dc=example,dc=com"
checkpoint 32 30
rootdn "cn=admin,dc=example,dc=com"
rootpw {MD5}mpyPHbsbsDwVEh4iNAAAA==
directory /var/lib/openldap-data

index objectClass eq



== .config kernel ==

# DOS/FAT/NT Filesystems
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set

# Pseudo filesystems
#
CONFIG_SMB_FS=y
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp437"
CONFIG_CIFS=y
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_EXPERIMENTAL is not set
CONFIG_PROC_FS=y
# CONFIG_PROC_KCORE is not set
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_CONFIGFS_FS=m
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
CONFIG_HFS_FS=y
CONFIG_HFSPLUS_FS=y
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_NILFS2_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
# CONFIG_NFS_V4_1 is not set
CONFIG_ROOT_NFS=y
CONFIG_NFSD=y
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_RPCSEC_GSS_KRB5=y
CONFIG_RPCSEC_GSS_SPKM3=m
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set


Thanks for any idea...

[]s
Alexander

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba