Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.eps file problem, samba ldap

Status
Not open for further replies.

strajo

IS-IT--Management
Jul 18, 2011
3
Hello there...

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.
 
setting kernel oplocks = no will solve the problem.

regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top