Displaying 7 results from an estimated 7 matches for "logon_hours".
2005 Dec 11
0
samba + mysql
...mysql:blah to migrate of course. That yielded
some column entry problem so I tried to add a brand new user which
yielded the exact same column entry mistake.
Using mysql i altered the default table and it worked like a charm! The
problem was 1) a syntax (mysql version?) mistake and 2) both columns
logon_hours AND logon_count must exist. I generated a small patch to the
current samba vanilla and also pasted it in.
Cheers,
r.
p.s. I hope im sending it off to the right list... (Also availible on
http://www.sevenrains.ro/pak/smb_mysql.patch)
--- mysql.dump~ 2005-12-11 02:15:17.000000000 +0200
+++ mysql.d...
2009 Oct 06
0
Update from pdbsql (MySQL) to LDAP
...) default NULL,
nt_pw varchar(255) default NULL,
acct_ctrl int(9) default '528',
logon_divs int(9) default '168',
hours_len int(9) default '21',
unknown_6 int(9) default "1260",
bad_password_count int(9) default NULL,
logon_count int(9) default '0',
logon_hours varchar(42) default NULL,
password_history text default NULL,
KEY username(username)
);
INSERT INTO `user` (`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_dr...
2009 Jun 12
1
SAMBA+PDC+Mysql authentication Backend
..._pw` varchar(255) default NULL,
`acct_ctrl` int(9) default '528',
`logon_divs` int(9) default '168',
`hours_len` int(9) default '21',
`unknown_6` int(9) default '1260',
`bad_password_count` int(9) default NULL,
`logon_count` int(9) default '0',
`logon_hours` varchar(42) default NULL,
`password_history` text,
`palin_pw` varchar(255) default NULL,
`plain_pw` varchar(255) default NULL,
PRIMARY KEY (`uid`),
KEY `username` (`username`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=13009 ;
--
-- Dumping data for table `user`
--
INSERT...
2005 Dec 11
1
how to use MySQL-backend !?
...` int(9) default NULL,
`unknown_3` int(9) default NULL,
`logon_divs` int(9) default NULL,
`hours_len` int(9) default NULL,
`unknown_5` int(9) default NULL,
`unknown_6` int(9) default '1260',
`bad_password_count` int(9) default NULL,
`logon_count` int(9) default '0',
`logon_hours` int(9) default NULL,
PRIMARY KEY (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ;
##### end of MySQL-dump
### dump of smb.conf
[global]
workgroup = WORKGROUP
server string = SAMBA-Server
netbios name = SAMBA
passdb backend = mysql:foo
foo:mysql host = l...
2004 Mar 06
2
citrix stores addition information into SAM on pdc
hi,
we want to replace our nt4 pdc/bdc with samba and we use windows nt4 terminal servers with citrix in our environment.
as far as i know, we will get a problem here. (extensiver reading of the mailing list led me to this conclusion)
regarding: http://ma.ph-freiburg.de/tng/tng-users/2001-05/msg00224.html
>Terminal Server has its own User Manager (which has an extra button -
2005 Oct 25
1
Authentication problem with Mysql backend
...ile_path | acct_desc | workstations | unknown_str |
munged_dial | uid | gid | user_sid |
group_sid | lm_pw | nt_pw
| acct_ctrl | unknown_3 | logon_divs | hours_len | unknown_5 | unknown_6
| bad_password_count | logon_count | logon_hours |
+------------+-------------+--------------+--------------------
+----------------------+-----------------------+------------+---------
+-------------+--------------------+---------------------+-----------
+--------------+--------------+-----------+--------------+-------------
+-------------+-----...
2007 Feb 28
2
samba problems. accounts expire after a hour, but work after reset
...ss_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,password_history
FROM user WHERE username = 'ralph'
[2007/02/27 12:09:16, 3] passdb/lookup_sid.c:fetch_gid_from_cache(1015)
fetch gid from cache 1001 -> S-1-5-21-1968991162-2130249723-1959552931-513
[2007/02/27 12:09:16, 3] passdb/lookup_sid.c:fetch_gid_from_cache(1015)
fetch gid fr...