RE: [Samba] Two Questions concerning samba - file access times - two instances on one server

2004-10-13 Thread Laurenz, Dirk
Hi,

-|  
-|  Da wäre dann noch von Interesse was sich den sonst noch 
-|  unterscheidet,
-|  1. Dateisystem
-|  2. Filelocking
-|  3. Ist dos filetime gesetzt?
-|  
-|  Wurde mit dem gleichen Client getestet?
-|  Bei 3.0.7 wie unterschiedlich sind die Zeiten denn?

i compared the share options and applied an additional share option
to the 3.0.7 box. It was: nt acl support = yes and now it works...

Mit freundlichem Gruß,



Dirk Laurenz
Systems Engineer

Fujitsu Siemens Computers
Sales Central Europe Deutschland 
Professional Service Organisation Nord / Ost

Hildesheimer Strasse 25
30880 Laatzen
Germany

Telephone:  +49 (511) 84 89 - 18 08
Telefax:+49 (511) 84 89 - 25 18 08
Mobile: +49 (170) 22 10 781
Email:  mailto:[EMAIL PROTECTED]
Internet:   http://www.fujitsu-siemens.com

http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleistungen/competencecenter.html
***
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Two Questions concerning samba - file access times - two instances on one server

2004-10-13 Thread Laurenz, Dirk
Hello,
  

-|  -Original Message-
-|  From: Holger Krull [mailto:[EMAIL PROTECTED] 
-|  Sent: Tuesday, October 12, 2004 9:57 AM
-|  To: Laurenz, Dirk
-|  Subject: Re: [Samba] Two Questions concerning samba - file 
-|  access times - two instances on one server
-|  
-|  
-| a file. If i access a file on a samba share,
-| the access time will be modified correctly,
-| but if i resave a file, the create time is
-| also changed although i would expect that only
-| the change time will be modified.
-|  
-|  That's because most applications (all MS Office apps) 
-|  create a new file, 
-|  delete the old one and rename the new one. The in reality 
-|  it is a new 
-|  file, therefore new create time.
-|  MS Servers cache the old attributes for some while, and 
-|  reapply them, 
-|  samba does not.

on another box (in this case 3.0.4) this happens not.
on the other (3.0.7) times won't be set correctly...

Mit freundlichem Gruß,



Dirk Laurenz
Systems Engineer

Fujitsu Siemens Computers
Sales Central Europe Deutschland 
Professional Service Organisation Nord / Ost

Hildesheimer Strasse 25
30880 Laatzen
Germany

Telephone:  +49 (511) 84 89 - 18 08
Telefax:+49 (511) 84 89 - 25 18 08
Mobile: +49 (170) 22 10 781
Email:  mailto:[EMAIL PROTECTED]
Internet:   http://www.fujitsu-siemens.com

http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleistungen/competencecenter.html
***
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Two Questions concerning samba - file access times - two instances on one server

2004-10-12 Thread Laurenz, Dirk
Hello everybody,

i have two questions concerning samba.

1st Topic - file times
NTFS has three file times for each file,
the create time, the change time and the
access time. The create time will never be
modified, the change time will be changed
every time you save a file, the access time
will be changed every time you access (read)
a file. If i access a file on a samba share,
the access time will be modified correctly,
but if i resave a file, the create time is
also changed although i would expect that only
the change time will be modified. I found some
parameters concerning file times, but none
of them changes the behaviour. I used the following
parameters:
dos filetimes = yes
dos filetime resolution = yes
Has anyone a suggestion, which parameters must be
set, to get the NTFS behaviour? B.t.w., the underlying
filesystem is an ext3 with acl,user_xattr mount options.

2nd Topic - two instances on one server
I have successfully running two instances on one server.
Both are members in an NT4 Domain and every thing works
right, but local username resolution and groupmappings.
Normal startup order is:
- Instance A
- Instance B
Setting some groupmappings works fine for Instance B.
if i restart Instance A but not B, the groupmappings/usermappings 
from Instance A get effective. And thats very bad
If i restart afterwards Instance B, everything is fine.
I guess, this is a winbind issue. The problem is, I think,
the last started winbindd wins...

Here are my conf's (INSTANCE A and B)

INSTANCE A
##
[global]
name resolve order = lmhosts, wins, bcast
private dir = /samba/ages001/conf/private/
idmap gid = 1-4
debug uid = yes
host msdfs = yes
wtmp directory = /samba/ages001/conf/wtmp
lock directory = /samba/ages001/conf/locks/
netbios name = ages001
printing = none
idmap uid = 1-4
workgroup = XX
os level = 20
socket address = 192.168.84.34
security = domain
winbind separator = +
log file = /samba/ages001/conf/log/%m.log
load printers = yes
smb passwd file = /samba/ages001/conf/private/smbpasswd
loglevel = 10
wins server = 193.29.124.81 193.29.122.75
pid directory = /samba/ages001/conf/pids/
interfaces = 192.168.84.34/24
username map = /samba/ages001/conf/private/smbusers
domain master = No
encrypt passwords = yes
template shell = /bin/bash
winbind enum users = yes
password server = SRVA SRVB SRVC
template homedir = /samba/ages001/data/winbindjail
winbind enum groups = yes
preferred master = no
unix charset = UTF-8
utmp directory = /samba/ages001/conf/utmp
winbind cache time = 300
socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT

[dfsroot]
comment = XX
msdfs root  = yes
path= /samba/ages001/data/dfsroot/dfsroot_a
hide files  = /lost+found/
hide dot files = yes
read only   = yes
###

INSTANCE B
###
[global]
private dir = /samba/ages002/conf/private
name resolve order = lmhosts, wins, bcast
idmap gid = 1-2
wtmp directory = /samba/ages002/conf/wtmp
lock directory = /samba/ages002/conf/locks
netbios name = AGES002
writeable = yes
idmap uid = 1-2
workgroup = X
os level = 20
socket address = 192.168.84.35
security = domain
winbind separator = +

log level = 1
log file = /samba/ages002/conf/log/%m.log
smb passwd file = /samba/ages002/conf/private/smbpasswd
load printers = No
map hidden = yes
socket options = SO_SNDBUF=4096 SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY 
IPTOS_THROUGHPUT
pid directory = /samba/ages002/conf/pids
wins server = 193.29.124.81, 193.29.122.75
username map = /samba/ages002/conf/private/smbusers
interfaces = 192.168.84.35/255.255.255.0
domain master = No
encrypt passwords = yes
template shell = /bin/bash
password server = SRVA SRVB SRVC
winbind nested groups = Yes
template homedir = /samba/ages002/data/tmp/winbindjail
preferred master = no
unix charset = UTF8
utmp directory = /samba/ages002/conf/utmp
winbind enum users = no
winbind