Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2003 22:05:29 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Per olof Ljungmark <peo@intersonic.se>, fozekizer@attbi.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: machine accounts and samba
Message-ID:  <p05200f39ba887667acc9@[128.113.24.47]>
In-Reply-To: <3E61E16B.7020908@intersonic.se>
References:  <001f01c2e09a$5dbfee00$05040101@socrates> <3E61E16B.7020908@intersonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:48 AM +0100 3/2/03, Per olof Ljungmark wrote:
>charles pelletier wrote:
>>how do you add a machine account in samba? i've already added
>>users using 'smbpasswd -a username password' but cannot for
>>the life of me remember how to add a machine to the samba
>>domain.
>
>man smbpasswd
>
>smbpasswd -m <machine name>
>Then vipw to add a "$" before the name. I don't think you can add
>the "$" with smbpasswd in FreeBSD. Somebody correct me if I'm wrong.

It depends on what version of freebsd you are running.  I recently
committed a change to freebsd-stable so 'pw' will accept userids
and groups with a last-character of '$'.  That change is also in
the freebsd-current branch.  4.8-release will probably be the
first official release which will have that change.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05200f39ba887667acc9>