Skip to contentSkip to conversation

smb2 unix extensions

DISCUSSION Steve French 1 participant 1 message Jun 19, 2014 4 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 20140409185259.GE14143@samba2

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

I generally like this, although I prefer simple one request field, and the response field to simply match the data we populate in the struct inode that doesn't already come back in the Windows info (the set of fields you return is close to what is needed now), and I think that for the stat case (open file with query of file info returned in unix context on open response) we don't actually need multiple info levels (at least for the Linux case) as symlinks can be done any of three other ways.

Quoted 24 lines · Volker Lendecke
Quoted 3 lines · Jeremy Allison
Quoted 1 line

https://git.samba.org/?p=vl/samba.git/.git;a=shortlog;h=refs/heads/smb2-unix

W00t! Working code always trumps everything :-).

The branch contains some updates. A "chown file 1" now ends up server-side in a debug message saying

[2014/06/18 14:46:46.344109, 10, pid=19107, effective(502, 502), real(502, 502)] ../source3/smbd/smb2_create.c:1183(smbd_smb2_create_send)
smbd_smb2_create_send: Setting uid to 1

Next step is to actually do the chown server-side :-)

Comments?

Volker

--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:[email protected]

Signature · 3 lines
Thanks,

Steve