1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00
Andrew Tridgell 909ca3a887 added basic chmod(), chown() and utime() support (not fully
implemented).

this is enough to be able to edit files using emacs on the smbwrapper
filesystem
(This used to be commit e5c3f36ef2e8fc0195d70b2f5db7d88d9ae4507a)
1998-10-03 10:24:49 +00:00
..

This is a prelodable shared library that provides SMB client services
for existing executables. Using this you can simulate a smb
filesystem.

Currently this code only works on Linux with glibc2. Eventually I hope
to make it portable to lots of OSes but at the moment if you don't
have Linux then don't even try to use it.

To use it you need to do this:

export SMBW_USER=username
export SMBW_PASSWORD=username
export LD_PRELOAD=full_path_to_smbwrapper.so

then try to access /smb/SERVER/SHARE/ and see what happens.

For debugging you can set SMBW_DEBUG to an integer debug level.

This is code under development. Lots of things don't work yet. Quite a
few things do though, for example I've successfully run tar, less, ls,
bash, cmp, cat, du and a bunch of other utilities on files accessed
via this library.

If you want to help with the development of this code then join the
samba-technical mailing list.