Re: [Samba] trailing $

2002-10-17 Thread David Krovich
Yeah, the approach I took was to use the %u macro, although I couldn't
get it to work in the service definition, ie [%u$], so I used the
include option and wrote a script to generate an include file for each
user.  With 2000 users, it's ugly and hackish, but it gets the job done.


On Thu, 2002-10-17 at 06:26, Andrew Bartlett wrote:
 David Krovich wrote:
  
  Here is the situation.  I have NT 4.0 acting as a PDC on machine A.  On
  machine B, I have Sun PC Netlink running on a solaris machine.  In the
  PDC all home dirs are mapped to \\pcnetlinkserver\username$
  
  I'm trying to replace PC Netlink with Samba on Machine B.  The problem
  is I can't figure out how to make samba do the right thing when
  presented with username$.  Mounting a username without the trailing $
  works, but I would like Samba to share the user's homedir when it
  receives a request for either \\pcnetlinkserver\username or
  \\pcnetlinkserver\username$.
  
  Any help would be appreciated.  I tried searching, but it's tough for
  me to figure out how to correctly phrase my question to a search
  engine.
 
 Not currently supported, but would not be *too* hard to support if you
 really wanted to add it...
 
 Possibly you could use %u macros for it, but that stuff gets werid fast.
 
 Andrew Bartlett
 
 -- 
 Andrew Bartlett [EMAIL PROTECTED]
 Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
 Student Network Administrator, Hawker College   [EMAIL PROTECTED]
 http://samba.org http://build.samba.org http://hawkerc.net


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] trailing $

2002-10-14 Thread David Krovich

Here is the situation.  I have NT 4.0 acting as a PDC on machine A.  On
machine B, I have Sun PC Netlink running on a solaris machine.  In the
PDC all home dirs are mapped to \\pcnetlinkserver\username$

I'm trying to replace PC Netlink with Samba on Machine B.  The problem
is I can't figure out how to make samba do the right thing when
presented with username$.  Mounting a username without the trailing $
works, but I would like Samba to share the user's homedir when it
receives a request for either \\pcnetlinkserver\username or
\\pcnetlinkserver\username$.

Any help would be appreciated.  I tried searching, but it's tough for
me to figure out how to correctly phrase my question to a search
engine.  


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba