Bug 154754

Summary: Bug in useradd with --service ldap
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Reinhard Moosauer <rm>
Component: SecurityAssignee: Thorsten Kukuk <kukuk>
Status: RESOLVED WORKSFORME QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: security-team
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Reinhard Moosauer 2006-03-02 16:59:50 UTC
Hello,

when trying useradd --service ldap
I found the following bug:

if you specify a 'gecos'-field with -c, the program dies 
with this error message:

useradd: encode.c:335: ber_put_string: Zusicherung »str != ((void *)0)« nicht erfüllt.
(means: assertion failed: »str != ((void *)0)«)

Would be nice, if somebody could fix this.

Two extra items for this wishlist:
- the bind_dn for ldap-operation could be extracted from /etc/ldap.conf "rootbinddn" or in /etc/defaults/useradd
- same for the secret /etc/ldap.secret

Thanks

R.
Comment 1 Thorsten Kukuk 2006-03-06 13:26:14 UTC
Can you please try the version from 10.1 tree?
Comment 2 Thorsten Kukuk 2006-03-07 07:29:41 UTC
Works in 10.1.