Using Samba as an NT-profile-server

Thomas Langås tlan at stud.ntnu.no
Sat Jan 20 03:47:51 GMT 2001


Martin Radford:
> [profile]
> path = %H/.profile/`/usr/local/samba/etc/labdependent %M`/
> where /usr/local/samba/etc/labdependent would be a script taking a
> single argument, and having a string as output.  This could be made
> arbitrarily complex - for example, you could allow certain users to
> connect only from certain machines.

I actually started working on something now that would work like this:

enhanced path = /program/bin/returnpath.sh %I

The value of "enhanced path" will be treated like a program, and popen will
be called on it. popen will read one line, and continue. This means that the
script/program itself can return the whole path as it should be (ie. with %H
etc).

-- 
-Thomas




More information about the samba mailing list