Samba and $

Micheas Herman micheas at freep.org
Tue Aug 5 00:10:59 PDT 2003


On Mon, 2003-08-04 at 17:41, Jon Reynolds wrote:
> On Mon, 2003-08-04 at 12:25, Bob Collins wrote:
> > At 02:07 PM 8/4/2003 -0500, gfsd wrote:
> > >Why can't i create a user with a $ on the end? For machine trust accounts 
> > >i need to add each one by hand, instead of on the fly creation. When I use 
> > >adduser it will not let me add a user with a $ on the end, is there a way 
> > >around that?

        adduser is a perl script in 4.x. You can edit the file to allow
        '$' in the user name. Or further hack it so that it knows that
        any name that ends in '$' is a samba machine name and have it
        execute the correct smbpasswd command as well.
        
        
        A quick visit to an active irc channel should get you any help
        you need. (it did me a long time ago.)
        
        good luck,
        
        
        Micheas

> > >_______________________________________________
> > >freebsd-questions at freebsd.org mailing list
> > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > >To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> > 
> > 
> > That is to be expected in FreeBSD and Samba. It is in the notes. So, what 
> > you do, is make your user. The edit, by hand, the password file. vipw is 
> > the command to use. Add the $ and save the file.
> > 
> > No real way around it that I know of.
> > 
> > -- Bob
> > 
> > NOTICE TO BULK E-MAILERS: Pursuant to US Code, Title 47, Chapter 5,
> > Subchapter II, 227, and all unsolicited commercial e-mail sent to this
> > address is subject to a download and archival fee in the amount of $500 US
> 
> Is there a good howto for setting up freebsd as a pdc with winxp? I am
> having a helluva time trying to get the xp box to logon.
> 
> Jon
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list