Use Solaris10 as NIS-Server??

Added by Werner Frerichs about 1 year ago

Hello Forum

State in the moment: In the moment we have the following enviroment:

Clients:

  • Linux: Suse and Ubuntu
  • Windows 2000, XP, 7

Server:

  • NexentaStor Community 3.2.2
  • special NIS Server working as NIS-MasterServer
  • other servers like firewall etc.

Thinks are working: The NexentaStor-Server and the other Linux Clients are working as NIS-Clients. But for the Windows Clients we need local users on NexentaStor. This works, but we don't like to have our users on two machines.

Possible Solution for the future Clients:

  • Linux: Suse and Ubuntu
  • Windows 2000, XP, 7

Server:

  • NexentaStor Community 3.2.2. It shall also work as as a NIS-MasterServer
  • other servers like firewall etc.

We thought,it was a good idea to do it in that way, and indeed we can see the users and groups, provided by the NIS-Server, in the WEB-GUI of NexentaStor. Very fine. We can get access from all Linux clients to NexentaStor.

But we can get no access from our Windows-Clients. The access is always denied. Also anonymous access ist not possible. We can't understand why. Every things seems okay.

Our questions Should the second solution run in principle? Why it doesn't


Replies

RE: Use Solaris10 as NIS-Server?? - Added by Linda Kateley about 1 year ago

Are the windows clients running a nis client? This should work in theory, if the nis clients are setup correctly.

I am not sure what the commercial nexentastor support policy is on running the nis on nexentastor. It is supposed to be an "appliance" but solaris has been running nis for decades..

The more supported version of this is to use the smb tools for user mappings. We interop well with ad.

RE: Use Solaris10 as NIS-Server?? - Added by Werner Frerichs about 1 year ago

Yes the Windows clients are NIS-Clients.

But the problem may be, that we use NFS4 to connect from Linux Clients, becaused IdMapping has to be used, which seems to be a problem together with CIFS

RE: Use Solaris10 as NIS-Server?? - Added by Linda Kateley about 1 year ago

Are the windows clients trying to do nfsv4 also? Then they will also need kerboros.

RE: Use Solaris10 as NIS-Server?? - Added by Werner Frerichs about 1 year ago

Hi Linda,

the clients use CICS not NFS

RE: Use Solaris10 as NIS-Server?? - Added by Werner Frerichs about 1 year ago

It works now.

The problem was, that you have to change the password for each user on NexentaStor.

There are two files

  • /etc/passwd
  • /var/smab/smbpasswd

#

The first one ist for Linux Access. We copied it from our old NIS-Server.

The second one is for Windows-Access. The file is empty.

#

But if you change a password in nexentaStor with "passwd ", the user will appear in the second file. It's not really necessary to change the password, you can also set "newPassword= oldPassword".