AD attributes queried by 'id DOMAIN/user'

C.J. Adams-Collier KF7BMP cjac at colliertech.org
Tue May 28 11:24:12 MDT 2013


Hey folks,

We're experiencing some long delays getting responses back from winbind
via nsswitch.  Do any of you know off the top of your head which AD
attributes are being queried by id via nsswitch?  I could walk through
nss_winbind_linux.c with gdb, but that doesn't sound like a fun way to
spend my day.

Thanks in advance,

C.J.

-- some timing statistics below --

t-s-freebsd7# time wbinfo -r DOMAIN/cjac
707
101
0.000u 0.006s 0:00.14 0.0%      0+0k 0+0io 0pf+0w
t-s-freebsd7# time sh -c 'for gid in 707 101 ; do wbinfo --gid-info=$gid > /dev/null ; done'
0.018u 0.000s 0:00.23 4.3%      1524+2380k 0+0io 0pf+0w
t-s-freebsd7# time wbinfo -i DOMAIN/cjac
cjac:*:29906:707:Carl Adams-Collier:/homes/cjac:/bin/bash
0.000u 0.006s 0:00.01 0.0%      0+0k 0+0io 0pf+0w
t-s-freebsd7# time id DOMAIN/cjac
uid=29906(cjac) gid=707(unix-support1) groups=707(unix-support1)
0.009u 0.079s 0:04.36 1.6%      10+1100k 0+0io 0pf+0w

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130528/f9f5b802/attachment.pgp>


More information about the samba-technical mailing list