[OpenIndiana-discuss] idmap timeout
James Relph
james at themacplace.co.uk
Mon Feb 25 19:22:47 UTC 2013
Hi Reg,
> svccfg -s svc:/system/idmap listprop "config/*"
config/list_size_limit count 0
config/stability astring Unstable
config/value_authorization astring solaris.smf.value.idmap
config/machine_sid astring S-1-5-21-3389328288-2012474116-2712525247
config/domain_name astring themacplace.private
config/name_cache_timeout count 31536000
config/id_cache_timeout count 31536000
> Also, did you "svcadm restart idmap" after setting the timeouts?
Yep!
> What are you using to make the query in the cron job?
#/bin/bash
datestring=$(date +"%H:%M:%S")
userdata=$(/usr/bin/id james at themacplace.private)
echo "$datestring" " " "$userdata" >> /root/idtest.log
> Checking idmap.db per the notes in feature #677 shows the expiration time being set properly in the database in oi_151a7.
Yeah, I did that, and the expiration time did change:
INSERT INTO idmap_cache VALUES('S-1-5-21-422489907-454740634-3148902543',1105,'themacplace.private','james','james',2147500059,NULL,1,1,1,1,4,NULL,NULL,NULL,NULL,NULL,NULL,0,1393348328)
The current epoch time is 1361813013, so 1393348328 - 1361813013 gives 31535315, so it looks like it's working absolutely fine in terms of changing the settings, it just doesn't appear to be having much effect. I've left it running and it's still doing it!
17:11:00 uid=2147500057 gid=2147483650(Domain Users at themacplace.private)
17:12:00 uid=2147500058(james at themacplace.private) gid=2147483650(Domain Users at themacplace.private)
17:13:00 uid=2147500058(james at themacplace.private) gid=2147483650(Domain Users at themacplace.private)
17:14:00 uid=2147500058(james at themacplace.private) gid=2147483650(Domain Users at themacplace.private)
17:15:00 uid=2147500058 gid=2147483650(Domain Users at themacplace.private)
17:16:00 uid=2147500058 gid=2147483650(Domain Users at themacplace.private)
17:17:00 uid=2147500058 gid=2147483650(Domain Users at themacplace.private)
17:18:00 uid=2147500058 gid=2147483650(Domain Users at themacplace.private)
17:19:00 uid=2147500058 gid=2147483650(Domain Users at themacplace.private)
17:20:00 uid=2147500058 gid=2147483650(Domain Users at themacplace.private)
17:21:00 uid=2147500058 gid=2147483650(Domain Users at themacplace.private)
17:22:00 uid=2147500059 gid=2147483650(Domain Users at themacplace.private)
17:23:00 uid=2147500059 gid=2147483650(Domain Users at themacplace.private)
17:24:00 uid=2147500059 gid=2147483650(Domain Users at themacplace.private)
Cheers,
James.
More information about the OpenIndiana-discuss
mailing list