[Gllug] samba problem
will
will at hellacool.co.uk
Fri Aug 23 08:56:15 UTC 2002
John Edwards wrote:
> On Thu, Aug 22, 2002 at 06:02:42PM +0100, will wrote:
>>Post Office Owner
>>Unprivileged user
>>Mister Man Pages
>>Owner of many system processes
>>
>>And stuff like that.
>>
>>Will.
>
>
> Hi
> From looking at 'man 5 smbpasswd' on a machine running 2.2.3, the fields are:
> 1: username
> 2: uid
> 3: Lanman hash
> 4: NT hash
> 5: Accounts flags inside [ ] - valid entries are U N D or W
> fixed field length of 13 characters including the brackets
>
> All other fields are ignored - which would your 'Post Office Owner' et al,
> suggesting that the file may have been hand edited as some point.
Not to the extent of adding comments, all I have ever done is add and remove the
X. I can't remember how the file was generated originaly unfortunatly.
> I would think that the X in the account flags section of user1 is invalid.
> Try replacing it with a space so that the 13 character field length is
> presersed and see if that helps.
I removed the smbpasswd file and then added the two users again, using smbpasswd
-a. Both the entries now have the X but the 'will' user still works. Not
tested the 'user1' user as I didn't have time.
will:1000:snip enc. passwd:snip enc. passwd:[UX ]:LCT-00000000:
Will.
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list