Solved

Linux system cannot utilize NIS usernames served by Microsoft SFU 3.5

Posted on 2004-04-12
3
801 Views
Last Modified: 2012-08-14
Hello,

Background:
I have a system with Windows 2003 server installed on which I also installed Microsoft's SFU 3.5 (latest version).   I have set up NIS on the SFU server, and it is set up to serve out the passwd, group, and hosts parameters.

The Linux system has Red Hat Enterprise Workstation 3.0, with the latest updates.  After binding to the domain, I can see the passwd, group and hosts files from the SFU server:
----------------------------------------------------------------
root@cicero home]# ypwhich
sfusrvr.muos-dev.lmms.lmco.com
[root@cicero home]# ypcat passwd
drparmen:ABCD!efgh12345$67890:10000:10000::/home/drparmen:/bin/csh
sdavidov:ABCD!efgh12345$67890:10001:10000::/home/sdavidov:/bin/sh
donrpar:ABCD!efgh12345$67890:10002:10001::/home/donrpar:/bin/sh
[root@cicero home]# ypcat group
Domain Users::10000:sdavidov,drparmen
Domain Admins::10001:donrpar
[root@cicero home]# ypcat hosts
129.197.16.114 SFUSRVR sfusrvr.muos-dev.lmms.lmco.com        sfusrvr.lmms.lmco.com
129.197.16.114 SFUSRVR sfusrvr.muos-dev.lmms.lmco.com        sfusrvr.lmms.lmco.com
129.197.16.114 SFUSRVR sfusrvr.muos-dev.lmms.lmco.com        sfusrvr.lmms.lmco.com
129.197.163.25 cicero cicero.muos-dev.lmms.lmco.com        cicero.lmms.lmco.com
129.197.163.25 cicero cicero.muos-dev.lmms.lmco.com        cicero.lmms.lmco.com
129.197.163.25 cicero cicero.muos-dev.lmms.lmco.com        cicero.lmms.lmco.com
[root@cicero home]#
--------------------------------------------------
However, which I try to use the NIS passwd entries to, say, change ownership of a directory, it tells me the NIS user is invalid, as:
--------------------------------------------------
[root@cicero home]# ls -l
total 8
drwxr-x---   17 donp     users        4096 Apr  6 17:27 donp
drwxr-xr-x    2 root     root         4096 Apr  7 16:09 drparmen
[root@cicero home]# chown drparmen drparmen
chown: `drparmen': invalid user
[root@cicero home]#
--------------------------------------------------

Does anyone have any ideas about what is going on here?  I have checked and rechecked my settings  on the Win 2K3 and Linux systems, and also
combed the Web for some answers, but there appears to be nothing like this.

Thanks for any help!

"donpar"


0
Comment
Question by:donpar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 400 total points
ID: 10809824
Does /etc/nsswitch.conf include nis in the list of resources for passwd, group, hosts, etc? For example:

passwd:    files nis
0
 
LVL 1

Author Comment

by:donpar
ID: 10810766
Hello,

I think you're on to something--don't even remember looking at that file.   I'll check the nsswitch.conf file when I get to work in the morning...

Thanks,

donpar
0
 
LVL 1

Author Comment

by:donpar
ID: 10816215

Hello,

That was the problem...  Edited the nsswitch.conf file to add nis to  passwd, group, etc. and the Windows users and Groups are now recognized as valid on the Linux system.  

(Now that nis is fixed, can look into an issue with permissions accessing an NFS mounted file system (from NFS server on Windows system).  I'll pose that as a separate question, though, once I find out more about what might be going on...)

Thanks for your help!

"donpar"
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question