Koozali.org: home of the SME Server

Linux Workstations on SME

Damian

Linux Workstations on SME
« Reply #75 on: January 30, 2005, 11:02:52 AM »
Did you remember to cd to the directory first ?

cd /var/yp; ./push

Damian

Damian

Linux Workstations on SME
« Reply #76 on: January 30, 2005, 11:05:53 AM »
Or better still, change the second line of /var/yp/push to be:

cd /var/yp;make

Damian

crimsonline

Linux Workstations on SME
« Reply #77 on: January 30, 2005, 11:17:14 AM »
yes i did  :-)

i copied the Makefile, push and exports form my working server and it sorted out the push problem
but.. now i did an new suse installation it shows my users but wont log in and is very slow permision problems i think

crimsonline

Linux Workstations on SME
« Reply #78 on: January 30, 2005, 11:23:29 AM »
my log file:
Jan 30 14:01:57 fileserver dhcpd: DHCPDISCOVER from 00:0d:61:18:de:40 via eth0
Jan 30 14:01:58 fileserver dhcpd: DHCPOFFER on 192.168.0.60 to 00:0d:61:18:de:40 via eth0
Jan 30 14:01:58 fileserver dhcpd: DHCPREQUEST for 192.168.0.60 from 00:0d:61:18:de:40 via eth0
Jan 30 14:01:58 fileserver dhcpd: DHCPACK on 192.168.0.60 to 00:0d:61:18:de:40 via eth0
Jan 30 14:16:49 fileserver rpc.mountd: refused mount request from 192.168.0.60 for /home/e-smith/files/user/louis/home (/): no export entry

when i do an exportfs
/home/e-smith/files/users
192.160.0.0/24

my server ip is 192.168.0.101

Damian

Linux Workstations on SME
« Reply #79 on: January 30, 2005, 12:03:39 PM »
Check your /etc/auto.home
It should say users and not user.
Then re-push
If not there, then there's a user/users mismatch somewhere.

Damian

crimsonline

Linux Workstations on SME
« Reply #80 on: January 30, 2005, 12:15:01 PM »
damian,
sorry to ask again but can we chat online?

Damian

Linux Workstations on SME
« Reply #81 on: January 30, 2005, 12:16:37 PM »
Here's a cool extra. Don't know if this is the right way to do it (probably need to template it) but .....

To have the user password changes automatically available via NIS whenever the're changed on SME (by admin password reset or by users changing it themselves in the user panel contrib):

On SME:

ln -s /var/yp/push /etc/e-smith/events/password-modify/S90push

Damian

dave_d

Linux Workstations on SME
« Reply #82 on: June 08, 2005, 03:07:56 PM »
Hello NIS experts!

I've read the foregoing with great interest and thought I'd have a go myself.

However, I get virtually nowhere! I've followed Knuddies HowTo exactly (two or three times now!) and when I get to ....

# /usr/lib/yp/ypinit -m    ... all I get is the following:
Quote

The current list of NIS servers looks like this:

lto-server.symans.cawood

Is this correct?  [y/n: y]  y
We need a few minutes to build the databases...
Building /var/yp/symans.cawood/ypservers...
Running /var/yp/Makefile...
gmake[1]: Entering directory /var/yp/symans.cawood'
gmake[1]: *** No rule to make target all'.  Stop.
gmake[1]: Leaving directory /var/yp/symans.cawood'
make: *** [target] Error 2
Error running Makefile.
Please try it by hand.



Can some kind soul out there tell me what's going on here?

I think that the relevant bit of the Makefile is:

Quote

# If you don't want some of these maps built, feel free to comment
# them out from this list.

#all:  passwd group hosts rpc services netid protocols mail \
all:  passwd group hosts shadow
        # netgrp shadow publickey networks ethers bootparams printcap \
        # amd.home auto.master auto.home auto.local passwd.adjunct \
        # timezone locale netmasks



BTW SME 6.0.1-01 with no modifications (except this one!)

Regards,

Dave

Damian

Linux Workstations on SME
« Reply #83 on: June 10, 2005, 07:14:03 AM »
Hi Dave,
I haven't looked at knuddi's howto but if you're following that I will and see if I can help.
Meanwhile can you post the contents of your /etc/yp.conf and /var/yp/Makefile.
Damian

Damian

Linux Workstations on SME
« Reply #84 on: June 12, 2005, 06:52:06 PM »
Hi Dave,
I find NIS domains which include "." confusing and unnecessary. If you want to use "." then you'll confuse NIS with DNS and they aren't the same thing.
That said it's probably not your issue here. I can't check Knuddi's howto as it isn't online (for the last 3 days). So I'd ask you to email the yp.conf and your Makefile to me (see http://wiki.contribs.org/userinfo.php?uid=1826).
Damian