NIS/Samba authentication question

NIS/Samba authentication question

Post by asya » Wed, 27 Jun 2007 01:43:47


I have a samba (Version 3.0.25a) setup on our solaris box. I have
been upgrading it from a previous older version of samba...

I can't get authentication to work....

Here is my smb.conf file:

server string = foil samba server
log file = /usr/local/samba/var/log.%m
max log size = 50
hosts allow =, 198.49.114., 216.73.62., 10.,
172.16., 128.222.

comment = Temporary file space
path = /tmp
read only = No
guest ok = Yes

I've tried many different options....

When I try to mount to the keeps asking me for a password.
I know for sure that the password I'm typing is correct. /tmp
directory exists as well.

For some reason, our private directory has two files (passwd db). In
our older version samba servers...private directory is empty. I've
tried removing the files, but they keep reappearing.

How do I tell it to authentication using NIS? Our nsswitch.conf file
has the following:

passwd: files nis

No shadow line.

What could be the problem?

Thank you!

1. What's the better user authentication server (Linux Samba, NIS, Win AD, etc)?

2. NIS : auth problem with Linux nis server and SUN sparc nis client


I'v found some very old message about this problem in this group, but
there was no solution.

I' ve set up a NIS server on a Linux machine ( ubuntu 5.01)
following this howto

everything seems to be ok
my sun machine is binded to ypserv on linux

inv09748 ( my linux nis server)


but when i try to log with cao8 => " incorrect login"

i can only log with root

loggued with root in can do :
su - cao8
and it works fine

so ... if someone can help, i will be very gracefull

(sorry for my english, i'm french)

3. Has Samba lost NIS support?

4. Samba x NIS x LDAP in a pure client/server Linux env

5. NIS, Samba, and Linux

6. NIS, netgroups & Samba

7. A few questions regarding samba from a samba and windows rookie

8. Best Distro for Samba PDC + Squid Authenication to Samba PDC + Samba File Server

9. NIS authentication for KnowledgeTree

10. Irix NIS authentication problems! Help!

11. how to implement nis if you have mixed environment for user authentication

12. help with Solaris 8 secure RPC and NIS+ authentication

13. secure RPC - DH authentication without NIS ??

14. Solaris authentication using LDAP vs NIS+