Samba 2.2.0alpha1 snapshot released

Jason Haar Jason.Haar at trimble.co.nz
Fri Nov 24 03:12:58 GMT 2000


On Fri, Nov 24, 2000 at 01:53:49PM +1100, David Bannon wrote:
> I guess I'm unclear about what you are asking. Are you questioning why
> samba is looking for a smbpasswd file or are you questioning why its

Why is it looking for *only* for smbpasswd.

The same smb.conf under 2.0.7 talks to our NT domain controllers. Running
2.2.0 appears to REQUIRE /etc/smbpasswd to even work. 


To be really explicit:

Under 2.0.7, users attach to 2.0.7 box, it authenticates them by querying NT
PDC.

Turn off 2.0.7, start new 2.2.0 WITH SAME smb.conf file

Users attach to 2.2.0 box, it authenticates them off /etc/smbpasswd!!! That
doesn't exist, so they get access denied. It doesn't even attempt to access
the domain controller!

Attached is what debug level 9 reports when "jhaar" attaches via 2.2.0 smbclient
to 2.2.0 server. 

This is RedHat 6.2, 2.2.0alpha1, with Samba box as full domain member.


-- 
Cheers

Jason Haar

Unix/Special Projects, Trimble NZ
Phone: +64 3 9635 377 Fax: +64 3 9635 417
-------------- next part --------------
[2000/11/24 16:05:50, 3] smbd/reply.c:reply_sesssetup_and_X(806)
  Domain=[TNZ]  NativeOS=[Unix] NativeLanMan=[Samba]
[2000/11/24 16:05:50, 3] smbd/reply.c:reply_sesssetup_and_X(810)
  sesssetupX:name=[jhaar]
[2000/11/24 16:05:50, 6] param/loadparm.c:lp_file_list_changed(2097)
  lp_file_list_changed()
  file /etc/smb.conf -> /etc/smb.conf  last mod_time: Fri Nov 24 11:33:27 2000

[2000/11/24 16:05:50, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
  startsmbfilepwent_internal: unable to open file /etc/smbpasswd. Error was No such file or directory
[2000/11/24 16:05:50, 0] passdb/passdb.c:iterate_getsmbpwnam(150)
  unable to open smb password database.
[2000/11/24 16:05:50, 1] smbd/password.c:pass_check_smb(478)
  Couldn't find user 'jhaar' in smb_passwd file.
[2000/11/24 16:05:50, 2] smbd/reply.c:reply_sesssetup_and_X(919)
  NT Password did not match for user 'jhaar' ! Defaulting to Lanman
[2000/11/24 16:05:50, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
  startsmbfilepwent_internal: unable to open file /etc/smbpasswd. Error was No such file or directory
[2000/11/24 16:05:50, 0] passdb/passdb.c:iterate_getsmbpwnam(150)
  unable to open smb password database.
[2000/11/24 16:05:50, 1] smbd/password.c:pass_check_smb(478)
  Couldn't find user 'jhaar' in smb_passwd file.
[2000/11/24 16:05:50, 1] smbd/reply.c:reply_sesssetup_and_X(930)
  Rejecting user 'jhaar': authentication failed



More information about the samba-technical mailing list