[Samba] X flag in smbpasswd?

Ow Mun Heng ow.mun.heng at wdc.com
Mon May 26 03:46:03 GMT 2003


Well, doing a fresh install of Redhat 8 samba 2.2.7a, it states that I need
to create the smbpasswd file and thus need to use mksmbpasswd.sh on
/etc/passwd and redirect the output into smbpasswd.

That's just to create the initial smbpasswd database. To add any
new/additional users I use smbpasswd -a newuser.

So, if mksmbpasswd.sh use is discouraged, does that mean I'll have to add
the users 1 by one?

Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia 
DID : 03-7870 5168


-----Original Message-----
From: John H Terpstra [mailto:jht at samba.org]
Sent: Monday, May 26, 2003 11:43 AM
To: Ow Mun Heng
Cc: Ryan Novosielski; Samba Mailing List
Subject: RE: [Samba] X flag in smbpasswd?


On Mon, 26 May 2003, Ow Mun Heng wrote:

> If that is the case, then what should be used to migrate current passwords
> into smbpasswd?

What current passwords are you trying to migrate? What form are they in
now?

- John T.

>
> Cheers,
> Mun Heng, Ow
> H/M Engineering
> Western Digital M'sia
> DID : 03-7870 5168
>
>
> -----Original Message-----
> From: John H Terpstra [mailto:jht at samba.org]
> Sent: Friday, May 23, 2003 11:39 PM
> To: Ryan Novosielski
> Cc: Samba Mailing List
> Subject: Re: [Samba] X flag in smbpasswd?
>
>
> On Thu, 22 May 2003, Ryan Novosielski wrote:
>
> > mksmbpasswd.sh does not create accounts with the X flag in the password
> > flags field. Does this X matter, and if so, what does it mean? It's not
in
> > the man page.
>
> The 'X' flag is not used at this time, but please note that with Samba-3
> there can be many passwd back ends - only smbpasswd (a legacy database) is
> plain text based. Use of mksmbpasswd.sh should be discouraged.
>
> - John T.
>

-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list