password API needed

Jean-Francois Micouleau Jean-Francois.Micouleau at utc.fr
Fri May 8 11:46:17 GMT 1998


On Fri, 8 May 1998, Luke Kenneth Casson Leighton wrote:

> struct smb_passwd
> {

you forgot:
	int smb_grpid	/* this is actually the unix gid_t */

> 	uint32 unknown_3; /* 0x00ff ffff */
> 
> 	uint16 logon_divs; /* 168 - number of hours in a week */
> 	uint32 hours_len; /* normally 21 bytes */
> 	uint8 hours[MAX_HOURS_LEN];
> 
> 	uint32 unknown_5; /* 0x0002 0000 */
> 	uint32 unknown_6; /* 0x0000 04ec */
> };
> 
> yes, some of these are "unknown".  but they are unknown in
> SAM_USER_INFO_21, too.  as we work them out, the names can change.
> jean-f, you are in a good position to work some of these out: you probably
> recognise some of them from your schema.

As I already said, I'm guessing unknown_6 is the locale or the code_page
and unknown_3 could be max_storage




-----------------------------------------------------------
Pinky: "What are we going to do tonight, Brain?"
Brain: "The same thing we do every night, Pinky :
	try to install Windows NT !"
-----------------------------------------------------------



More information about the samba-technical mailing list