Hi, I am using a recompiled Samba 2.2.8a with ldapsam. Is it possible that this type of samba is significally slower than smbpasswd Samba? If so, are there any tricks to get it running faster, because I need the LDAP. Thanks Daniel
On Sun, 2003-07-06 at 14:29, Daniel Zeiss wrote:> Hi, > > I am using a recompiled Samba 2.2.8a with ldapsam. > > Is it possible that this type of samba is significally slower than > smbpasswd Samba? > > If so, are there any tricks to get it running faster, because I need the > LDAP.It depends very much how you contact the ldap server, and what indicies you maintain. Try to put the ldap server on localhost, if possible. But this should only matter for logon, particularly in 2.2 Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20030706/e8b630d4/attachment.bin
> It depends very much how you contact the ldap server, and what indicies > you maintain. Try to put the ldap server on localhost, if possible.LDAP is running on localhost, these are my indeces: index objectClass,uid,uidNumber,gidNumber eq index cn,mail,surname,givenname eq,subinitial index rid eq Can I do some optimazation here? Also filetransfer and getting the directory structure is very slow. Like having 50 files and folders in one directory and having a look with explorer it takes some 5-10 seconds. too slow for users who know how working on the local harddrive is. also one windows user can DoS my samba server completely. The server is a PIV 2,8Ghz with 512MB RAM and fast IDE drives. but if one windows user is copying a load of files (~2GB) the servers system load rises to 0.8 and the cpu usage is about 70%. i didnt expect samba to be so resource hungry. Can I optimize there too?> But this should only matter for logon, particularly in 2.2Login is very slow indeed. Thanks Daniel
Daniel Zeiss schrieb:> Is it possible that this type of samba is significally slower than > smbpasswd Samba?No, we use 2.2.8a with LDAP and there are no performance problems at all. Maybe you should increase your Samba log level and see if you find a hint in the log files. A wrong DNS setup would be a possible reason for performance problems. cu, Uwe