You are not logged in.
Pages: 1
I've Googled my fingers sore and can't solve this one.
I have a Slackware 12.0 server in my classroom with 10 PCs running either Ubuntu, Lubuntu or Xubuntu. Pupils log on with NIS and then have their home directories on the server shared by NFS. Works great!
I recently decided to try SliTaz 4.0 and am stunned by the speed!! This is what we need. It is superb. So I installed it on the hard drive of a test client PC, then installed the portmap, nfs, ypbind and yp-tools. I can mount shares on the server - great. But I cannot get loggins to work. ypcat passwd, ypwhich, ypmatch nisuser passwd work great. su and id do not find a match - unknown user. I have spent a while on this and I'm used to setting up NIS. I have tinkered with nsswitch.conf, hosts, put all the +...s in passwd, group and shadow.
I set up a server at home to test and see if its a school server error. My dual (at least) boot computer can login to my server in Xubuntu but gives the same problems as at school when booted into SliTaz.
Any NIS on SliTaz expert out there?
Hugh
Offline
Use rpcbind and not portmap.
Offline
A huge thank you Bellard for getting back to me - I have tried that but its still the same. Here is some info-
root@slitaz:/home/hugh# rpcbind
root@slitaz:/home/hugh# rpcinfo -p localhost
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
root@slitaz:/home/hugh# ypdomainname hugh-IBM
root@slitaz:/home/hugh# ypbind -debug
1582: parsing config file
1582: Trying entry: ypserver 192.168.1.5
1582: parsed ypserver 192.168.1.5
1582: add_server() domain: hugh-IBM, host: 192.168.1.5, slot: 0
1582: [Welcome to ypbind-mt, version 1.31]
1582: ping interval is 20 seconds
1584: ping host '192.168.1.5', domain 'hugh-IBM'
1584: Answer for domain 'hugh-IBM' from server '192.168.1.5'
1584: Pinging all active servers.
1584: Pinging all active servers.
1584: Pinging all active servers.
1582: ypbindproc_domain_2_svc (hugh-IBM)
1582: Pinging all active servers.
1582: YPBINDPROC_DOMAIN: server '192.168.1.5', port 1021
1582: Status: YPBIND_SUCC_VAL
1584: Pinging all active servers.
1584: Pinging all active servers.
hugh@slitaz:~$ rpcinfo -p localhost
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100007 2 udp 912 ypbind
100007 1 udp 912 ypbind
100007 2 tcp 915 ypbind
100007 1 tcp 915 ypbind
hugh@slitaz:~$ ypcat passwd
hugh:x:1000:1000::/home/hugh:/bin/bash
fred:x:1001:100::/home/fred:/bin/sh
hugh@slitaz:~$ ypmatch fred passwd
fred:x:1001:100::/home/fred:/bin/sh
hugh@slitaz:~$ ypwhich
192.168.1.5
hugh@slitaz:~$ id fred
id: unknown user fred
hugh@slitaz:~$ su fred
su: unknown user fred
hugh@slitaz:~$
Sorry if I'm bothering you - I'm lost!
Hugh
Offline
I'll try bringing this to notice again. I am wondering if the person who built the packages yp-tools and ypbind-mt could be contacted to see how they set up SliTaz as an NIS client. Is it possible?
Hugh
Offline
Pages: 1
[ Generated in 0.017 seconds, 8 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]