Implementing new features in samba and smbfs

Andrew Bartlett abartlet at
Thu Jan 24 02:24:05 GMT 2002

John Newbigin wrote:
> I am looking at the feasibility of adding some features to the SMB
> protocol to allow UNIX file information so the linux smbfs can access
> things like the file mode and possibly the user and group id.
> I have hacked up a simple solution but I want to retain full
> compatibility with non smbfs clients.
> I can think of 3 ways that this might be achieved but I though someone
> on this list would be able to recommend the best way.
> The 3 ways are
> - Encode the information in extended attributes and use the existing EA API
> - Add new a Info level which would return the required information
> - Create a new message type like SMBunix
> The other issue is the way for the client and server to negotiate to
> use these extensions.  This is I guess related to the way they are
> implemented.
> Any suggestions?

The server side has been done.  HP had 'CIFS Unix extenstions' in their
version of Samba (known as CIFS/9000) for a while, and Jeremy has ported
it to 2.2 and HEAD (at least in part) in the last few weeks.

I'm sure any work on smbfs would be very much apprciated - but contact
the maintainer.

Andrew Bartlett

Andrew Bartlett                                 abartlet at
Manager, Authentication Subsystems, Samba Team  abartlet at
Student Network Administrator, Hawker College   abartlet at

More information about the samba-technical mailing list