Operating System - HP-UX
1748003 Members
4582 Online
108757 Solutions
New Discussion юеВ

Re: CIFS/Samba & Outlook PST Files

 
RolandH
Honored Contributor

CIFS/Samba & Outlook PST Files

Hi all,

I have a problem with outlook files on a samba share. Outlook is very slow and copy from emails to the personal folder, which reside on the samba share is very slow. My samba server is in domain mode (security=domain). If I work in security mode server (security=server) it works fine.

Here is my smb.conf:
[global]
realm = DOM
workgroup = DOM
netbios name = samba1
server string = SMB %v
security = domain
encrypt passwords = yes
password server = server1, server2, server3
password level = 6
username level = 6
lanman auth = No

socket options = TCP_NODELAY SO_REUSEPORT SO_KEEPALIVE SO_SNDBUF=32768 SO_RCVBUF=32768 IPTOS_LOWDELAY
local master = yes
preferred master = auto
domain logons = no
domain master = auto
browse list = No
os level = 21
wins support = no
dns proxy = no
username map = /etc/opt/samba/username.map
Kernel oplocks = no


lock dir = /var/opt/samba/locks
pid directory = /var/opt/samba/locks
log file = /var/opt/samba/log.%m
log level = 3
syslog = 0
debug uid = Yes
max log size = 1500

case sensitive = Yes
default case = lower
preserve case = Yes
short preserve case = No
hide files = /lost+found/
hide dot files = Yes

level2 oplocks = yes
oplocks = yes
strict allocate = yes
veto oplock files = /*.pst/*.PST/

[homes]
comment = HP-UX home directory for pc-user '%U' at '%h'
path = %H/
browseable = yes
read only = no
writeable = yes
create mode = 0750
valid users = %S
write list = %S
Sometimes you lose and sometimes the others win
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: CIFS/Samba & Outlook PST Files

Shalom,

What is the OS?

Is the latest version of CIFS/9000 Samba installed?

Does syslog report errors?

Samba logs?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
RolandH
Honored Contributor

Re: CIFS/Samba & Outlook PST Files

OS: HP-UX 11.23
CIFS:Samba version 3.0.22 based HP CIFS Server A.02.03.02

I have tried with an older version, too. Same effect. No error messages found.

The smbstatus command looks a little bit confusing.

Locked files:
Pid DenyMode Access R/W Oplock Name
--------------------------------------------------------------
16328 DENY_WRITE 0x2019f RDWR NONE /userX/home/WindowsNT/Msoffice/Outlook_test/test.pst Tue Oct 9 17:40:55 2007


Why is the DenyMode "DENY_WRITE"?

Other phenomena is the size of a outlook file.
If I create a new Outlook pst file on a Windows share, the size is 32KB. On the Unix Samba share the starting size is 1024KB.

Roland


Sometimes you lose and sometimes the others win
Geoff Wild
Honored Contributor

Re: CIFS/Samba & Outlook PST Files

Couple of things that stand out from your conf file:

local master = yes
preferred master = auto
domain master = auto

I set mine to:

preferred master = No
local master = No
domain master = No

Also, I use the following for sockets:

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192


I see you have realm set - are you running Active Directory at your site?

If yes, then why not configure samba to be:

security = ADS


Here's a thread with how I got it to work:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=949365

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
RolandH
Honored Contributor

Re: CIFS/Samba & Outlook PST Files

Found the Problem.
The option
strict allocate = yes

Changed it to strict allocate = no and created new outlook files on the samba share and everything works fine now

Roland


Sometimes you lose and sometimes the others win
RolandH
Honored Contributor

Re: CIFS/Samba & Outlook PST Files

Closed!
Sometimes you lose and sometimes the others win