Problems login on (NIS)

This is a discussion on Problems login on (NIS) within the Linux Networking forums, part of the Linux Forums category; Hi. We've set up a computers lab w/: 1) RH Linux 9 server (Samba, NIS, DNS, DHCP) 2) Dual ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-05-2004
Jorge L. Davila-Laureano
 
Posts: n/a
Default Problems login on (NIS)

Hi. We've set up a computers lab w/:

1) RH Linux 9 server (Samba, NIS, DNS, DHCP)
2) Dual boot (RH Linux 9/Windows XP) workstations

(Almost) everything was working ok: users could log from Windows or
Linux using the same username (Samba/Linux user creation/modification
sync enabled).

The problem now is that new users can logon under Windows (samba) but
no under Linux (NIS?).

TIA for your comments.
Reply With Quote
  #2 (permalink)  
Old 04-07-2004
Cameron Kerr
 
Posts: n/a
Default Re: Problems login on (NIS)

Jorge L. Davila-Laureano <j_davila@webmail.uprh.edu> wrote:
> Hi. We've set up a computers lab w/:
>
> 1) RH Linux 9 server (Samba, NIS, DNS, DHCP)
> 2) Dual boot (RH Linux 9/Windows XP) workstations
>
> (Almost) everything was working ok: users could log from Windows or
> Linux using the same username (Samba/Linux user creation/modification
> sync enabled).
>
> The problem now is that new users can logon under Windows (samba) but
> no under Linux (NIS?).


You need to give up much more information about your NIS setup,
including the following.

1) contents of /etc/hosts.{allow,deny}, and securenets file (somewhere
in /etc)

2) the output of the following commands.

client# rpcinfo -p <NISSERVER>
client# ypcat passwd.byname

3) the contents of /etc/nsswitch.conf for the passwd and groups entry.

--
Cameron Kerr
cameron.kerr@paradise.net.nz : http://nzgeeks.org/cameron/
Empowered by Perl!
Reply With Quote
  #3 (permalink)  
Old 04-11-2004
Antoine EMERIT
 
Posts: n/a
Default Re: Problems login on (NIS)

j_davila@webmail.uprh.edu (Jorge L. Davila-Laureano) wrote
news:d7918682.0404050931.71215446@posting.google.c om:
> (Almost) everything was working ok: users could log from Windows or
> Linux using the same username (Samba/Linux user creation/modification
> sync enabled).


What do you mean by sync enabled ? "unix password sync" ?

> The problem now is that new users can logon under Windows (samba) but
> no under Linux (NIS?).


If you use the "unix password sync", it means that modification on any
samba password is also applied to the unix password, nothing else.

And so the samba account (in the smbpasswd file) must be already valid. You
must use the smbpasswd command to create these new user account.

You can also synchonize the smbpasswd with a PDC (Windows or Samba). In
this case the missing account are searched in the PDC database if it failed
on the samba file.


Regards

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:31 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0