[Samba] Problem with 3.0.7 - set_filetime

Laurenz, Dirk Dirk.Laurenz at fujitsu-siemens.com
Mon Nov 1 15:03:28 GMT 2004


Hi,

it seems to if the user has the primary group Domänen-Benutzer 
(missdisplayed as:
	getent group | awk -F':' '{print $1 "," $3}' | grep Benutzer |grep 10000
	DOM+Domänen-Benutzer,10000 
)
and here the id output of the user:
AGESTT74:/etc/samba # su - DOM+testuser
DOM+testuser at AGESTT74:/etc/samba> id
uid=10000(DOM+fscadmin) gid=10000(DOM+Domänen-Benutzer) groups=....

If the primary group is something else like e.g. "DOM+testgroup" everything seems to be fine.
I'm working on that issue.....

How can i get the Group DOM+Domänen-Benutzer displayed correctly as Domänen-Benutzer?


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:dirk.laurenz at fujitsu-siemens.com
Internet:	http://www.fujitsu-siemens.com
            http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleistungen/competencecenter.html
*******************************************************************************************************************
  

-|  -----Original Message-----
-|  From: Laurenz, Dirk 
-|  Sent: Monday, November 01, 2004 3:03 PM
-|  To: Laurenz, Dirk; 'samba at lists.samba.org'
-|  Subject: RE: [Samba] Problem with 3.0.7 - set_filetime
-|  
-|  Hi,
-|  
-|  what i found is, that samba really tries to set the old time:
-|  
-|  14:54:09 utime("PATH/file", [2004/11/01-14:53:16, 
-|  2004/11/01-14:53:16]) = -1 EPERM (Operation not permitted)
-|  
-|  but it is not allowed. Why?
-|  
-|  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:dirk.laurenz at fujitsu-siemens.com
-|  Internet:	http://www.fujitsu-siemens.com
-|              
-|  http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleis
-|  tungen/competencecenter.html
-|  ************************************************************
-|  *******************************************************
-|    
-|  
-|  -|  -----Original Message-----
-|  -|  From: Laurenz, Dirk 
-|  -|  Sent: Monday, November 01, 2004 2:01 PM
-|  -|  To: Laurenz, Dirk; samba at lists.samba.org
-|  -|  Subject: RE: [Samba] Problem with 3.0.7 - set_filetime
-|  -|  
-|  -|  Hi,
-|  -|  
-|  -|  a more specific subject...
-|  -|    
-|  -|  
-|  -|  -|  -----Original Message-----
-|  -|  -|  From: 
-|  -|  -|  samba-bounces+dirk.laurenz=fujitsu-siemens.com at lists.samba.o
-|  -|  -|  rg 
-|  -|  -|  [mailto:samba-bounces+dirk.laurenz=fujitsu-siemens.com at lists
-|  -|  -|  .samba.org] On Behalf Of Laurenz, Dirk
-|  -|  -|  Sent: Monday, November 01, 2004 1:48 PM
-|  -|  -|  To: samba at lists.samba.org
-|  -|  -|  Subject: [Samba] Problem with 3.0.7
-|  -|  -|  
-|  -|  -|  Hello everybody,
-|  -|  -|  
-|  -|  -|  when accessing a file, (opening and closing it, excel tries 
-|  -|  -|  to restore old times.
-|  -|  -|  
-|  -|  -|  I can delete the file, rename and everything else, but i'm 
-|  -|  -|  not able to reset the times....
-|  -|  -|  Owner of the file is user2 which is also member of group 1.
-|  -|  -|  
-|  -|  -|  If i create a file and user1 opens it, the access times are 
-|  -|  -|  reset correctly. (same share, directory)
-|  -|  -|  
-|  -|  -|  i have the following error message:
-|  -|  -|  
-|  -|  -|  xxxxxxxx.log.old:[2004/11/01 13:36:03, 4, effective(10000, 
-|  -|  -|  10000), real(10000, 0)] smbd/dosmode.c:set_filetime(491)
-|  -|  -|  xxxxxxxx.log.old:  set_filetime(Test/owner - ob 
-|  -|  -|  -laurenz.xls) failed: Operation not permitted
-|  -|  -|  xxxxxxxx.log.old:[2004/11/01 13:36:03, 4, effective(10000, 
-|  -|  -|  10000), real(10000, 0)] smbd/dosmode.c:set_filetime(491)
-|  -|  -|  xxxxxxxx.log.old:  set_filetime(Test/owner - ob 
-|  -|  -|  -laurenz.xls) failed: Operation not permitted
-|  -|  -|  
-|  -|  -|  The share it self has the following options:
-|  -|  -|          browseable = yes
-|  -|  -|          inherit permissions = yes
-|  -|  -|          writable = yes
-|  -|  -|          admin users = XXXXXXXX
-|  -|  -|          hide unreadable = yes
-|  -|  -|          path = /somepath 				--> all 
-|  -|  -|  lower case
-|  -|  -|          hide files = /lost+found/
-|  -|  -|          hide dot files = yes
-|  -|  -|          hide special files = yes
-|  -|  -|          inherit acls = yes
-|  -|  -|          dos filetimes = yes
-|  -|  -|          dos filemode = yes
-|  -|  -|          fake directory create times = yes
-|  -|  -|          dos filetime resolutions = yes
-|  -|  -|          store dos attributes = yes
-|  -|  -|          map hidden = no
-|  -|  -|          map archive = no
-|  -|  -|          map system = no
-|  -|  -|  
-|  -|  -|  The user wich access the file has full control via acl: 
-|  -|  -|  (user with uid 10000 is member of samba group group1
-|  -|  -|  
-|  -|  -|  $SERVER:$PATH # getfacl owner\ -\ ob\ -laurenz.xls
-|  -|  -|  # file: owner - ob -laurenz.xls
-|  -|  -|  # owner: XXXXXX+user1
-|  -|  -|  # group: XXXXXX+XXXXXX
-|  -|  -|  user::rwx
-|  -|  -|  user:XXXXXX+user1:rwx
-|  -|  -|  group::rwx
-|  -|  -|  group:group1:rwx
-|  -|  -|  mask::rwx
-|  -|  -|  other::---
-|  -|  -|  
-|  -|  -|  Any ideas?
-|  -|  -|  
-|  -|  -|  
-|  -|  -|  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:dirk.laurenz at fujitsu-siemens.com
-|  -|  -|  Internet:	http://www.fujitsu-siemens.com
-|  -|  -|              
-|  -|  -|  http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleis
-|  -|  -|  tungen/competencecenter.html
-|  -|  -|  ************************************************************
-|  -|  -|  *******************************************************
-|  -|  -|   
-|  -|  -|  -- 
-|  -|  -|  To unsubscribe from this list go to the following URL 
-|  -|  and read the
-|  -|  -|  instructions:  http://lists.samba.org/mailman/listinfo/samba
-|  -|  -|  


More information about the samba mailing list