Date: Thu, 30 Aug 2007 12:46:47 +0200 From: "Valerio Daelli" <valerio.daelli@gmail.com> To: freebsd-questions@freebsd.org Subject: repquota strange behaviour Message-ID: <27dbfc8c0708300346l686efe22q27ff92f0aae6955d@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi list we have a couple of fileservers (FreeBSD 5.4 and 6.2) with pam_ldap and nss_ldap. They get the users from our openldap server. Suddendly when we run repquota we have a lot of usernames which are not translated: they are shown as numeric userid. About half of the usernames are displayed correctly and half are displayed only as userid: #repquota -u /data/exports/Users ... sburgare -- 10 2097152 2097152 - 5 1000000 1000000 - smurr -- 724008 2097152 2097152 - 1181 1000000 1000000 - giotti -- 1706432 2097152 2097152 - 3646 1000000 1000000 - dpenkov -- 658 2097152 2097152 - 22 1000000 1000000 - pmassa -- 200640 2097152 2097152 - 976 1000000 1000000 - ... 3440 -- 1271682 2097152 2097152 - 2570 1000000 1000000 - 3441 -- 381056 2097152 2097152 - 418 1000000 1000000 - 3442 -- 182236 2097152 2097152 - 227 1000000 1000000 - 3443 -- 314658 2097152 2097152 - 585 1000000 1000000 - This is our nss_ldap.conf: --- uri ldap://ldap1.XXX base dc=ifom-ieo-campus,dc=it binddn uid=pam,ou=Services,ou=Accounts,dc=XXX,dc=XXX bindpw XXX bind_policy soft pam_password SSHA scope sub nss_base_passwd ou=Users,ou=People,ou=Accounts,dc=XXX,dc=XXX --- if we query the openldap server for those userids, we get the correct usernames: # ldapsearch -LLL -h ldap1.XXX -b 'dc=XXX,dc=XXX' '(uidNumber=3440)' uid dn: uid=lverhoef,ou=ifom,ou=Users,ou=People,ou=Accounts,dc=XXX,dc= XXX uid: lverhoef id works as usual: # id lverhoef uid=3440(lverhoef) gid=951(CAMPUS) and the command quota works as usual: # quota lverhoef Disk quotas for user lverhoef (uid 3440): Filesystem usage quota limit grace files quota limit grace /data/exports/Users 1271682 2097152 2097152 2570 1000000 1000000 Any clue? Thanks a lot! Valerio Daelli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27dbfc8c0708300346l686efe22q27ff92f0aae6955d>