password entries in latest cvs

Andy Smith abs at maunsell.co.uk
Thu Feb 4 15:29:16 GMT 1999


This on solaris 2.4 with gcc 2.7.2 from the HEAD branch (2.1.0-prealpha) :-

# smbpasswd -a -m lon1
Added user lon1$.
Password changed for user lon1$

# cat /usr/local/etc/smbpasswd
abs:10648:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U          ]:LCT-XXXXXXXX:
nobody:60001:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[W          ]:LCT-XXXXXXXX:

(I did the X's)

# smbpasswd -a -m lon1
add_smbfilepwd_entry: entry with unix name nobody already exists
Failed to add entry for user lon1$.
Failed to change password entry for lon1$

# grep '^lon1' /etc/passwd
lon1$:x:62994:200:WinCenter Server:/usr/local/lib/samba:/bin/true
# grep nobody /etc/passwd
nobody:x:60001:60001:uid no body:/:

Needless to say, I cant log into the domain from NT workstations, the
log says :-

# tail /var/log/samba/lon1.log
[1999/02/04 14:46:05, 0] passdb/sampassdb.c:pwdb_sam_map_names(472)
  pwdb_sam_map_names: no unix password entry for 11153
[1999/02/04 14:46:05, 0] passdb/sampassdb.c:pwdb_sam_map_names(513)
  pwdb_sam_map_names: could not find Primary Group for 11153
[1999/02/04 14:46:05, 0] passdb/sampassdb.c:pwdb_sam_map_names(472)
  pwdb_sam_map_names: no unix password entry for 11153
[1999/02/04 14:46:05, 0] passdb/sampassdb.c:pwdb_sam_map_names(513)
  pwdb_sam_map_names: could not find Primary Group for 11153

where [11153] is the uid of the first entry in /usr/local/etc/smbpasswd

-- 
  _          __         Maunsell Ltd, IT Unit    Tel  : 0181-663-6565
 /_|   _/   (  _  '_//  160 Croydon Road,        Fax  : 0181-663-6723
(  |/)(/(/ __)//)/ //)  Beckenham, Kent BR3 4DE  Email: abs at maunsell.co.uk
        /               England.                 -or- abs at maunsl00.demon.co.uk


More information about the samba-ntdom mailing list