Linux/NIS+

Aaron Dewell acd at woods.net
Tue Oct 5 01:25:56 GMT 1999


Hello,

I'm having a problem configuring samba (2.0.5a) on a Linux
system using NIS+ as the password system.  Samba complains that
it cannot find the smbpasswd file, which is not surprising as
I'm not using one.  I tried 'smb password file = passwd.org_dir' 
that sort of worked, except that it creates a directory called
passwd.org_dir from whatever directory I ran the smbd from.
However, it still can't find any users.

Obviously, I'm missing a concept here.  Any hints?  Basically, I 
do not want to use a smbpasswd file (too much of a pain to keep
it synchonized); I want to do all authentication off of the
existing NIS+ password system.  Nothing fancy, just all valid
NIS+ users should be able to log into samba with the same
password.

I did recompile with -DWITH_NISPLUS, that is the version I've
been playing with above.

Thanks for any suggestions,

Aaron

(output from smbd -d10)

[1999/10/04 17:18:51, 10] passdb/nispass.c:getnisp21pwnam(554)
  getnisppwnam: search by name: aaron
[1999/10/04 17:18:51, 10] passdb/nispass.c:getnisp21pwnam(555)
  getnisppwnam: using NIS+ table /usr/private/smbpasswd
[1999/10/04 17:18:51, 0] passdb/nispass.c:make_sam_from_nisp(491)
  make_smb_from_nisp: NIS+ lookup failure: Database for table does not exist
[1999/10/04 17:18:51, 1] smbd/password.c:pass_check_smb(504)
  Couldn't find user 'aaron' in smb_passwd file.
[1999/10/04 17:18:51, 2] smbd/reply.c:reply_sesssetup_and_X(830)
  NT Password did not match for user 'aaron' ! Defaulting to Lanman
[1999/10/04 17:18:51, 10] passdb/nispass.c:getnisp21pwnam(554)
  getnisppwnam: search by name: aaron
[1999/10/04 17:18:51, 10] passdb/nispass.c:getnisp21pwnam(555)
  getnisppwnam: using NIS+ table /usr/private/smbpasswd
[1999/10/04 17:18:51, 0] passdb/nispass.c:make_sam_from_nisp(491)
  make_smb_from_nisp: NIS+ lookup failure: Database for table does not exist
[1999/10/04 17:18:51, 1] smbd/password.c:pass_check_smb(504)
  Couldn't find user 'aaron' in smb_passwd file.


The above is without any smb passwd file entry in the
smb.conf, below is with smb passwd file = passwd.org_dir.

[1999/10/04 17:21:25, 10] passdb/nispass.c:getnisp21pwnam(554)
  getnisppwnam: search by name: aaron
[1999/10/04 17:21:25, 10] passdb/nispass.c:getnisp21pwnam(555)
  getnisppwnam: using NIS+ table passwd.org_dir
[1999/10/04 17:21:25, 0] passdb/nispass.c:make_sam_from_nisp(514)
  make_smb_from_nisp: malformed LM pwd entry.
[1999/10/04 17:21:25, 1] smbd/password.c:pass_check_smb(504)
  Couldn't find user 'aaron' in smb_passwd file.
[1999/10/04 17:21:25, 2] smbd/reply.c:reply_sesssetup_and_X(830)
  NT Password did not match for user 'aaron' ! Defaulting to Lanman
[1999/10/04 17:21:25, 10] passdb/nispass.c:getnisp21pwnam(554)
  getnisppwnam: search by name: aaron
[1999/10/04 17:21:25, 10] passdb/nispass.c:getnisp21pwnam(555)
  getnisppwnam: using NIS+ table passwd.org_dir
[1999/10/04 17:21:25, 0] passdb/nispass.c:make_sam_from_nisp(514)
  make_smb_from_nisp: malformed LM pwd entry.
[1999/10/04 17:21:25, 1] smbd/password.c:pass_check_smb(504)
  Couldn't find user 'aaron' in smb_passwd file.


_______________________________________________________________________
|Aaron Dewell			===>		acd at woods.net         |
|http://www.woods.net/~acd			http://www.woods.net/ |
|PGP keyid 0x0D12A6B9 available from http://keys.pgp.com/	      |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the samba mailing list