[tech] New accounts are being created with spaces in the uid
John Hodge
tpg at ucc.asn.au
Tue Apr 19 09:55:55 AWST 2016
I've been digging into why this is happening - I've found where in the
source for `cpu useradd` it gets the value for `uid`, but haven't
figured out what changed to break ucc-adduser.
A workaround (which has been implemented) is to pass
`--cn_value=$NEWUSER` in ucc-adduser which appears to fix the format of
newly created entries.
On 18/04/2016 8:11 PM, James Andrewartha wrote:
> Something about ucc-adduser is creating accounts with the uid equal to the
> full name, rather than the username:
>
> dn: uid=Test User,ou=People,dc=ucc,dc=gu,dc=uwa,dc=edu,dc=au
> uid: testem99
> uid: Test User
>
> This messes up the apache member config. I deleted the following accounts
> before realising that there was only one LDAP entry, they'll need to be
> recreated: James Griffey, Hsien Jet Lee
>
> Other affected accounts:
> xuland3r Liyang Xu
> ivan Ivan Roncevich
> icecoldbb Benjamin Bell
>
More information about the tech
mailing list