[Samba] trailing $

David Krovich dkrovich at csee.wvu.edu
Thu Oct 17 22:43:02 GMT 2002

	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                                 abartlet at pcug.org.au
> Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
> Student Network Administrator, Hawker College   abartlet at hawkerc.net
> http://samba.org     http://build.samba.org     http://hawkerc.net

More information about the samba mailing list