strajo (IS/IT--Management) (OP)
18 Jul 11 6:52
we are using samba & linux for more than 10 years in newspaper company. Linux distribution is OpenSuSE, and recently, samba 3.5.7. Clients are using winXP, and QuarkXPress 4.1. We implemented LDAP and samba as PDC. As there is large company network there are more PDC-s e.t.c.Each Samba uses local ldap for authentification, not remote. Linux also. There is remote master ldap which is distributing changes. Each samba sits in its own network.
Recently, we decided to upgrade 3 PDC-s with OpenSUSE 11.4 and samba 3.5.7. cause we will have some W7 clients (unfortunately)
What we have discovered is strange situation which follows:
Client using QuarkXpress (on WinXP) tries to open .eps file from samba share. He has all permissions (POSIX, ACL, and propertly configured [share] in smb.conf). He is able to open, but very slow. Situation is changed when he is in list of admin users in smb.conf, or he is file owner.
For example: username is fred. Fred belongs to group called quark. Let's assume that there is file called test.eps on some samba share. Test.eps has 777 file permissions, but owner is mark. Mark also belongs to quark group, so ls -la test.eps looks like this -rwxrwxrwx mark quark test.eps.
If situation is like this, fred slow opens test.eps. But if fred belongs to list of admin users in smb.conf, or he is owner of test.eps file speed drastically inproves.
No mater what we tried (guest access, remove acl-s, do not use md raid, try reiser instead of ext4, do not use quotas..extended attributes) situation is the same.
As you can see we narrowed problem..We well try if this is ldap problem..for example try samba share level, not using ldap on linux/samba. If someone has some other guidelines we will be happy to hear, and of course, we will share results upon success.
Thank you for reading, best regards.