[Bug 289299] [NEW] winbind (samba 3.2) does not populate pw_gecos information for domain users

Timothy Pearson kb9vqf at pearsoncomputing.net
Sat Oct 25 23:39:08 BST 2008


Public bug reported:

Binary package hint: winbind

Intrepid's new Winbind version (Samba 3.2) does not populate pw_gecos
information for domain users.  This prevents the user's real name from
showing up in certain applications that read pw_gecos information, such
as the KDE unlock screen.

I have modified an existing program to demonstrate this behavior, and it
is attached.

Expected output (what happens when Samba 3.0.x is running on an Ubuntu Hardy system):
doTest: Entered with username testuser
doTest: calling getpwnam_r
doTest: errno after call to getpwnam_r = 0
doTest: getpwnam_r succeeded for user testuser
     pw_name = testuser
     pw_passwd = *
     pw_uid = 11000
     pw_gid = 10000
     pw_gecos = My Real Name
     pw_shell = /bin/bash
doTest: calling getpwnam
doTest: getpwnam succeeded for user testuser
     pw_name = testuser
     pw_passwd = *
     pw_uid = 11000
     pw_gid = 10000
     pw_gecos =  My Real Name
     pw_shell = /bin/bash

Actual output (Samba 3.2.x on Ubuntu Intrepid):
doTest: Entered with username testuser
doTest: calling getpwnam_r
doTest: errno after call to getpwnam_r = 0
doTest: getpwnam_r succeeded for user testuser
     pw_name = eldarion
     pw_passwd = *
     pw_uid = 11000
     pw_gid = 10000
     pw_gecos =
     pw_shell = /bin/bash
doTest: calling getpwnam
doTest: getpwnam succeeded for user testuser
     pw_name = eldarion
     pw_passwd = *
     pw_uid = 11000
     pw_gid = 10000
     pw_gecos =
     pw_shell = /bin/bash

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
winbind (samba 3.2) does not populate pw_gecos information for domain users
https://bugs.launchpad.net/bugs/289299
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list