The [homes] section of smb.conf is generally setup so that the user only see's their 
own folder and no one elses.

[homes]
  comment = Home Directories
  writeable = yes
  valid users = %S  #The key for only the current users folder to show
  create mode = 0644
  directory mode = 0775

-Jeff

-----Original Message-----

On Thu, 2003-03-13 at 20:20, pedro noticioso wrote:
> I have been requested to "make linux workstations work
> like the windows clients" reffering to the fact that
> SAMBA shares only the users directory
> 
> //server/unly-one-user
> 
> and they where concerned for security reasons, that
> 
> /home/all
> /home/users
> /home/are
> /home/visible
> 
> lists all users instead of listing only the logged in
> user like it is see on windows (smaba that is)
> 
> anybody have tips and tricks to make this ilusion
> happen? 8)

You could explain to those people how Linux/Unix works and how Linux is
not windows (TM).

You could make their wish come true using a little crappy scripts that
basically does this:

Make up a list with users who are supposed to be seen in your network
when they are logged in. 
When it starts it gathers info about what users are logged in.
(something based on "who/watch")
When someone logs in or out it searches the user in your accepted users
list, if the user is among those in the list the script then comments or
uncomments the line in smb.conf where that user has his home folder
defined, and then quickly:) restart samba using the new config file.

Of course doing such thing is <almost> stupid, and I'm not sure of the
implication of samba restarts is to others who use samba at that moment,
I also don't know much about how and when the Windows machines will
update the users list. Anyway, it does what those people want (and they
better be ready to pay for such a "feature":).

My advice is to try to persuade them not to ask for such a thing, as it
is not common sense compliant. You could try another approach: My way or
the high way! Or just do what they want (for the right price).

Best regards,
Dragos




-- 
I'm sorry if the correct way of doing things offends you.




_______________________________________________
K12OSN mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to