Displaying 14 results from an estimated 14 matches for "logoff_time".
2004 Apr 13
0
v3.0.2a: can't login into domain after switching to pdb_mysql
...;s registering of Windows 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_passwor...
2003 Sep 23
0
[PATCH] tdb multiple format
...for your comments :)
TIA
Aur?lien Degr?mont
-------------- next part --------------
--- ../samba-clean/source/passdb/passdb.c Mon Sep 15 01:57:54 2003
+++ source/passdb/passdb.c Tue Sep 23 16:55:46 2003
@@ -78,6 +78,7 @@
user->private.pass_can_change_time = (time_t)0;
user->private.logoff_time =
user->private.kickoff_time =
+ user->private.lockout_time = (time_t)0;
user->private.pass_must_change_time = get_time_t_max();
user->private.unknown_3 = 0x00ffffff; /* don't know */
user->private.logon_divs = 168; /* hours per week */
@@...
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...
2009 Oct 06
0
Update from pdbsql (MySQL) to LDAP
...add machine script = /usr/sbin/adduser -d /dev/null -s /bin/false "%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...
2009 Jun 12
1
SAMBA+PDC+Mysql authentication Backend
...0.51
-- PHP Version: 5.2.4-2ubuntu5.6
SET SQL_MODE="NO_AUTO_VALUE_ON_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,...
2005 Dec 11
1
how to use MySQL-backend !?
...n each database column separately ?
i have seen examples without separate mentioning...
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(...
2003 Jul 03
0
patch to fix silly bug in 3.0.0beta2
....2.11 parse_net.c
--- rpc_parse/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
+ trust...
2005 Apr 10
0
Trouble adding users with pdbedit
...following error:
"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_coun...
2002 Jul 17
0
user password expiration patch (Samba 2.2.4/2.2.5 PDC with LDAP)
...if (samlogon_user[strlen(samlogon_user)-1] != '$')
diff -ur --new-file samba.org/source/passdb/pdb_tdb.c
samba-2.2.4/source/passdb/pdb_tdb.c
--- samba.org/source/passdb/pdb_tdb.c Fri May 3 03:03:27 2002
+++ samba-2.2.4/source/passdb/pdb_tdb.c Fri Jun 7 14:48:27 2002
@@ -289,7 +289,7 @@
logoff_time = (uint32)pdb_get_logoff_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_pas...
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...
2007 Feb 28
2
samba problems. accounts expire after a hour, but work after reset
...27 12:09:16, 3] smbd/uid.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_...
2006 Sep 01
0
[Fwd: Re: Authentication fails (sometimes)]
...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 use...
2006 Aug 30
1
Authentication fails (sometimes)
...)
NT user token: (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 use...
2007 Feb 19
3
Problems Samba, Kerberos, Win2003
...ime
[2007/02/17 16:28:04, 5] rpc_parse/parse_prs.c:prs_uint32(642)
005c low : e1f4ca1a
[2007/02/17 16:28:04, 5] rpc_parse/parse_prs.c:prs_uint32(642)
0060 high: 01c752a7
[2007/02/17 16:28:04, 8] rpc_parse/parse_prs.c:prs_debug(82)
000064 smb_io_time logoff_time
[2007/02/17 16:28:04, 5] rpc_parse/parse_prs.c:prs_uint32(642)
0064 low : ffffffff
[2007/02/17 16:28:04, 5] rpc_parse/parse_prs.c:prs_uint32(642)
0068 high: 7fffffff
[2007/02/17 16:28:04, 8] rpc_parse/parse_prs.c:prs_debug(82)
00006c smb_io_time kic...