Red Hat Bugzilla – Bug 433067
traceback when creating a new user with a login name of "4"
Last modified: 2015-01-04 18:30:50 EST
Description of problem:
See summary and steps to reproduce.
Steps to Reproduce:
1. configure a client to connect to a ipa server.
2. As root, kinit as admin.
3. run ipa-adduser
4. specify firstname: 1
5. lastname: 2
6. Login name: 3
7. Password: 4
Traceback (most recent call last):
File "/usr/share/ipa/ipaserver/ipaxmlrpc.py", line 171, in _marshaled_dispatch
response = self._dispatch(method, params)
File "/usr/share/ipa/ipaserver/ipaxmlrpc.py", line 204, in _dispatch
ret = func(*args)
File "/usr/lib/python2.4/site-packages/ipaserver/funcs.py", line 492, in add_user
dn="uid=%s,%s,%s" % (ldap.dn.escape_dn_chars(user['uid']),
If this is expected behavior as the login name is very short, throw a error
message that states this to the console, or the log, or both.
This was fixed in 432136.
The difference is that bug reported it in the UI and this one the CLI, same
Fixed in changeset 642
*** This bug has been marked as a duplicate of 432136 ***