search for: pass_last_set_tim

Displaying 16 results from an estimated 16 matches for "pass_last_set_tim".

Did you mean: pass_last_set_time
2004 Apr 13
0
v3.0.2a: can't login into domain after switching to pdb_mysql
...Workstation (NUA) at domain: everything's OK! (for debugging purpose samba user is mysql root) 040413 12:29:53 59 Connect root@localhost on samba 60 Connect root@localhost on samba 60 Query SELECT logon_time,logoff_time,kickoff_time,pass_last_set_time,pass_can_change_time, pass_must_change_time,username,domain,nt_username,nt_fullname,home_dir,dir_d rive,logon_script,profile_path,acct_desc,workstations,unknown_str,munged_dia l,user_sid,group_sid,lm_pw,nt_pw,NULL,acct_ctrl,unknown_3,logon_divs,hours_l en,bad_password_count,logon_count,unknown_6 F...
2003 Sep 23
0
[PATCH] tdb multiple format
...the most recent version +#define TDB_FORMAT_NEWEST_VERSION 1 + /********************************************************************** Intialize a SAM_ACCOUNT struct from a BYTE buffer of size len @@ -1284,6 +1300,7 @@ uint32 logon_time, logoff_time, kickoff_time, + lockout_time, pass_last_set_time, pass_can_change_time, pass_must_change_time; @@ -1304,12 +1321,13 @@ fullname_len, homedir_len, logon_script_len, profile_path_len, acct_desc_len, workstations_len; - uint32 user_rid, group_rid, unknown_3, hours_len, unknown_5, unknown_6; + uint32 user_rid, group_rid, unknown_3, h...
2005 Mar 27
1
problem with listing users on winXP/2k+3
...-----+------+-------------------------------------------------+------------------------------------------------+----------------------------------+----------------------------------+-----------+-----------+------------+-----------+-----------+-----------+ | logon_time | logoff_time | kickoff_time | pass_last_set_time | pass_can_change_time | pass_must_change_time | username | domain | nt_username | nt_fullname | home_dir | dir_drive | logon_script | profile_path | acct_desc | workstations | unknown_str | munged_dial | uid | gid | user_sid | group_...
2005 Apr 10
0
Trouble adding users with pdbedit
...Username not found!" My command looks like this: pdbedit -d 20 -a -u <username> -f "<Users name>" -c U Doing a little debugging I can tell that pdbedit tries to do a select statement after adding the user: Executing query SELECT logon_time,logoff_time,kickoff_time,pass_last_set_time,pass_can_change_time, pass_must_change_time,username,domain,nt_username,nt_fullname,home_dir,dir_d rive,logon_script,profile_path,acct_desc,workstations,unknown_str,munged_dia l,user_sid,group_sid,lm_pw,nt_pw,NULL,acct_ctrl,logon_divs,hours_len,bad_pas sword_count,logon_count,unknown_6 FROM us...
2005 Aug 21
2
pdb_mysql.c | SQL insert command missing data
...a username causes 2 queries to be performed. The first of the two looks for an existing user and that does check all of the appropriate fields, but the next command which is for inserting information runs the following command. INSERT INTO user (acct_ctrl,pass_can_change_time,pass_must_change_time,pass_last_set_time,lm_pw,nt_pw) VALUES (16,1124620545,2147483647,1124620545,'AAAAAAA71AA612E1ED5A6FED37AAAAAA','AAAAAAA6293F6293129F9BE9EBAAAAAA') You will note that there is no username, domain, nt_username, nt_fullname, home_dir, dir_drive, logon_script, profile_path, uid, gid, user_sid, or group_...
2009 Jan 08
0
Wrong behaviour in pdb_get_set.c: pdb_get_pass_can_change_time?
...the time, but before this time is checked, pdb_get_pass_can_change (passdb/pdb_get_set.c) is called. There, if sampass->pass_can_change_time is equal to get_time_t_max() (which is I think the maximum 32bit number, correct me if I'm wrong) and the time the password was last set (sampass->pass_last_set_time) is not nil, it refuses to change the password. So it seems there is the magic value 2147483648 (which results in around 3 o'clock in the morning of the 19th January 2038) that can be set to refuse password changes out flat. After that, back in change_oem_password it's checked if can_cha...
2009 Oct 06
0
Update from pdbsql (MySQL) to LDAP
...uot;%u" # grep rodrigo /etc/passwd rodrigo:x:7821:100::/home/rodrigo:/bin/bash # grep rodrigo /etc/shadow rodrigo:$1$iv7a45PI$3HkB6lqM0kF7I2K/u/bki.:14488:0:99999:7::: CREATE TABLE user ( logon_time int(9) default NULL, logoff_time int(9) default NULL, kickoff_time int(9) default NULL, pass_last_set_time int(9) default NULL, pass_can_change_time int(9) default '0', pass_must_change_time int(9) default '2147483647', username varchar(255) default NULL, domain varchar(255) default NULL, nt_username varchar(255) default NULL, nt_fullname varchar(255) default NULL, home_dir varch...
2009 Jun 12
1
SAMBA+PDC+Mysql authentication Backend
...ZERO"; -- -- Database: `samba_auth` -- -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE IF NOT EXISTS `user` ( `logon_time` int(9) default NULL, `logoff_time` int(9) default NULL, `kickoff_time` int(9) default NULL, `pass_last_set_time` int(9) default NULL, `pass_can_change_time` int(9) default '0', `pass_must_change_time` int(9) default '2147483647', `username` varchar(255) default NULL, `domain` varchar(255) default NULL, `nt_username` varchar(255) default NULL, `nt_fullname` varchar(255) default NU...
2005 Dec 11
1
how to use MySQL-backend !?
...entioning... i appended a dump of my mysql-table and my smb.conf file thanks in advance Florian Stichlberger Hall in Tirol, Austria ##### MySQL-Dump of Database CREATE TABLE `user` ( `logon_time` int(9) default NULL, `logoff_time` int(9) default NULL, `kickoff_time` int(9) default NULL, `pass_last_set_time` int(9) default NULL, `pass_can_change_time` int(9) default NULL, `pass_must_change_time` int(9) default NULL, `username` varchar(255) default NULL, `domain` varchar(255) default NULL, `nt_username` varchar(255) default NULL, `nt_fullname` varchar(255) default NULL, `home_dir` varcha...
2003 Jul 03
0
patch to fix silly bug in 3.0.0beta2
.../parse_net.c 26 May 2003 06:59:38 -0000 1.85.2.11 +++ rpc_parse/parse_net.c 3 Jul 2003 03:49:09 -0000 @@ -1283,6 +1283,7 @@ /* need to count the number of space-delimited sids */ unsigned int i; int num_other_sids = 0; + char *username; NTTIME logon_time, logoff_time, kickoff_time, pass_last_set_time, pass_can_change_time, @@ -1294,7 +1295,21 @@ int len_logon_srv = strlen(logon_srv); int len_logon_dom = strlen(logon_dom); - len_user_name = strlen(user_name ); + + /* do some cleanup on the user name here to deal with users from a + trusted domain logging onto a client in ou...
2002 Jul 17
0
user password expiration patch (Samba 2.2.4/2.2.5 PDC with LDAP)
...ff_time(sampass); kickoff_time = (uint32)pdb_get_kickoff_time(sampass); pass_can_change_time = (uint32)pdb_get_pass_can_change_time(sampass); - pass_must_change_time = (uint32)pdb_get_pass_must_change_time(sampass); + pass_must_change_time = (uint32) time(NULL)+lp_user_password_expiration(); pass_last_set_time = (uint32)pdb_get_pass_last_set_time(sampass);
2005 Oct 25
1
Authentication problem with Mysql backend
...----------- +---------------------------------------------- +----------------------------------+---------------------------------- +-----------+-----------+------------+-----------+----------- +-----------+--------------------+-------------+-------------+ | logon_time | logoff_time | kickoff_time | pass_last_set_time | pass_can_change_time | pass_must_change_time | username | domain | nt_username | nt_fullname | home_dir | dir_drive | logon_script | profile_path | acct_desc | workstations | unknown_str | munged_dial | uid | gid | user_sid | group_sid...
2007 Feb 28
2
samba problems. accounts expire after a hour, but work after reset
...c:push_conn_ctx(345) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2007/02/27 12:09:16, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2007/02/27 12:09:16, 2] pdb_mysql.c:mysqlsam_select_by_field(292) Executing query SELECT logon_time,logoff_time,kickoff_time,pass_last_set_time,pass_can_change_time,pass_must_change_time,username,domain,nt_username,nt_fullname,home_dir,dir_drive,logon_script,profile_path,acct_desc,workstations,unknown_str,munged_dial,user_sid,group_sid,lm_pw,nt_pw,NULL,acct_ctrl,logon_divs,hours_len,bad_password_count,logon_count,unknown_6,logon_hours,pas...
2006 Sep 01
0
[Fwd: Re: Authentication fails (sometimes)]
...6/08/27 20:03:03, 5, pid=18112] auth/auth_util.c:debug_unix_user_token(474) > UNIX token of user 0 > Primary group is 0 and contains 0 supplementary groups >[2006/08/27 20:03:03, 5, pid=18112] pdb_mysql.c:mysqlsam_select_by_field(292) > Executing query SELECT logon_time,logoff_time,0,pass_last_set_time,pass_can_change_time,pass_must_change_time,username,'GSB',username,gecos,home_smb,NULL,logon_script,profile_path,NULL,NULL,NULL,NULL,user_sid,group_sid,pass_lm,pass_nt,NULL,acct_ctrl,logon_divs,NULL,NULL,NULL,NULL,'?????????????????????',NULL FROM user WHERE username = 'law'...
2006 Aug 30
1
Authentication fails (sometimes)
...ken: (NULL) [2006/08/27 20:03:03, 5, pid=18112] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2006/08/27 20:03:03, 5, pid=18112] pdb_mysql.c:mysqlsam_select_by_field(292) Executing query SELECT logon_time,logoff_time,0,pass_last_set_time,pass_can_change_time,pass_must_change_time,username,'GSB',username,gecos,home_smb,NULL,logon_script,profile_path,NULL,NULL,NULL,NULL,user_sid,group_sid,pass_lm,pass_nt,NULL,acct_ctrl,logon_divs,NULL,NULL,NULL,NULL,'?????????????????????',NULL FROM user WHERE username = 'law'...
2007 Feb 19
3
Problems Samba, Kerberos, Win2003
...ime [2007/02/17 16:28:04, 5] rpc_parse/parse_prs.c:prs_uint32(642) 006c low : ffffffff [2007/02/17 16:28:04, 5] rpc_parse/parse_prs.c:prs_uint32(642) 0070 high: 7fffffff [2007/02/17 16:28:04, 8] rpc_parse/parse_prs.c:prs_debug(82) 000074 smb_io_time pass_last_set_time [2007/02/17 16:28:04, 5] rpc_parse/parse_prs.c:prs_uint32(642) 0074 low : f803717e [2007/02/17 16:28:04, 5] rpc_parse/parse_prs.c:prs_uint32(642) 0078 high: 01c65c9e [2007/02/17 16:28:04, 8] rpc_parse/parse_prs.c:prs_debug(82) 00007c smb_io_time pa...