Bug 1218 - "net rpc vampire" import problem with mixed-case usernames
Summary: "net rpc vampire" import problem with mixed-case usernames
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: net utility (show other bugs)
Version: 3.0.2a
Hardware: All Linux
: P3 normal
Target Milestone: none
Assignee: Andrew Bartlett
QA Contact:
Depends on:
Reported: 2004-03-26 21:08 UTC by Ed Ravin
Modified: 2005-08-24 10:20 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ed Ravin 2004-03-26 21:08:16 UTC
Importing from a Windows 2000 server, I have an NT user, let's call him 
"Jonathan Harker" and his username is "JHarker".

I run "net rpc vampire" to import the users.  My "add user script" is NOT
called for user "JHarker" because I already have a Unix account named "jharker"
(i.e. the Unix account is all lower case, the NT username is in mixed case).

When the user tries to log in, they get an error message.  If I change the 
/etc/passwd entry to "JHarker", they can.  Running "pdbedit -v jharker" shows:

   NT username:   JHarker
   Unix username: JHarker

I didn't want to use mixed case usernames in /etc/password, so I fired up emacs 
on passdb.tdb and manually lower-cased the three instances of "JHarker" in the 
file, and that worked too.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-02-08 20:45:00 UTC
is this still an issue in 3.0.11 ?  Please reopen if so.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:20:42 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.