Re: NIS problems

1997-10-24 Thread Swen Thuemmler
On Wed, 22 Oct 1997, Bao C. Ha wrote:

 I have the plus entries in /etc/passwd and /etc/group in the client, not
 in the master.
 
 /etc/passwd
 +:*
^-- This is your problem.
You must remove the asterisk, since it will overwrite the pw_passwd entry
from NIS (this is unlike SunOS). A single 
+
ist enough.

Greetings, Swen



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


Re: adduser and NIS

1997-08-14 Thread Swen Thuemmler
On Wed, 13 Aug 1997, Jens B. Jorgensen wrote:

 It's unlikely this will be fixed. I've noticed that something has to
 be a pretty serious bug to be put in 1.3 now. I think (hope) that
 libc6 uses the more modern /etc/nsswitch.conf rather than putting
 weird entries into /etc/passwd, group, etc. to dictate the use of
 NIS, DNS, etc.
 
 Looking forward to Hamm and libc6,

You still might want to have these weird entries in /etc/passwd for
supporting netgroups, for example. The [EMAIL PROTECTED], [EMAIL PROTECTED], 
-user,
+user entries in /etc/passwd ar IMHO much more flexible than to have only
the choice between all or nothing. And you can have this (I assume)  with
libc6, too, just use
passwd: compat
group: compat
in /etc/nsswitch.conf.  At least this does work with the NYS-enable libc.

Greetings, Swen



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Any AMD users ? troubles with direct mount

1997-07-15 Thread Swen Thuemmler
On 15 Jul 1997, Dale Martin wrote:

 Oliver Landsmann [EMAIL PROTECTED] writes:
 
  Any hints or maps for me ?
 
 Here are my maps:

 amd.home -cache:=inc /cad amd.direct -type:=direct

[...]

Just insert a -- before $AMDARGS in /etc/init.d/amd, the line should look
remotely like this one:
  eval start-stop-daemon --start --verbose --exec /usr/sbin/amd \
-- -l $LOGFILE -a $AUTODIR -r -- $AMDARGS
  ^
  |
  +-here

This works for me (and in case you might want to use NIS maps, you might
want to change the ypcat $NISMAP to ypcat -k $NISMAP).

Hope this helps.

--Swen



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Ypbind problem

1997-06-23 Thread Swen Thuemmler
On Mon, 23 Jun 1997, Sami Laine wrote:

 I have a small problem with ypbind. Master NIS server is running at
 192.168.1.100 (network 192.168.96/255.255.255.224) and client machine
 is at 192.168.1.37 (network 192.168.1.32/255.255.255.224).
 
 When I start ypbind it tries to find out master server by broadcasts, even
 if I specify domain and server with 'ypbind -S office,192.168.1.100'.
 
 I have also placed following info into /etc/yp.conf:
 
 domain office
 nisserver 192.168.1.100
 
 But I assume /etc/yp.conf doesn't do anything because Debian 1.3.0 doesn't
 have NIS support compiled into C-library.
 
 I found syntax of /etc/nsswitch.conf a bit confusing too, but I assume
 following entries enable NIS lookups for passwd and group:
 
 passwd:   files db
 group:files db
 
 I other systems I've seen 'db' replaced with 'nis', but this should do same
 thing?
 
 Maybe someone has solved my problem and has been able to use NIS server from
 another subnetwork?

You need a different ypbind. Debian comes with the ported BSD ypbind,
which does not support binding to servers in another subnet. I currently
have no debian package of my ypbind (I'm planning on doing this, but lack
the time at the moment), but you should be able to compile and install it
without problems (you find it on
ftp://ftp.uni-paderborn.de/pub/linux/local/yp/ypbind-3.2.tar.gz). This
version is much more stable than older versions, perhaps it can be
included into the standard Debian NIS package. 

Before you make install, you might want to 
dpkg-divert --add --rename --divert /usr/sbin/ypbind.bsd /usr/sbin/ypbind
dpkg-divert --add --rename --divert /usr/man/man8/ypbind.bsd.8.gz 
/usr/man/man8/ypbind.8.gz

Hope this helps.

--Swen



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: NIS documentation wrong?

1997-03-05 Thread Swen Thuemmler
On Wed, 5 Mar 1997, Karl Ferguson wrote:

 Hi.
 
 It the nis documentation it says I can + and - users in the passwd file (I
 take it that it should be on the fly and it used to work with debian 0.93
 in this case...) - however I can't seem to do this.  The following two
 lines are in my /etc/passwd file:
 
 +::/bin/bash
 -karl

[...]

You must reverse the lines. The pw routines will stop when a name is
found, so -karl is useless when there is a + preceding it.

Greetings, Swen



Re: Weird NFS/automounter problem.

1996-11-11 Thread Swen Thuemmler
-BEGIN PGP SIGNED MESSAGE-

On Fri, 8 Nov 1996, Stan Brown wrote:

   I have set my Debian Linux box up with the sutmounter so that
 I can access all the machines on my local network. After I boot the
 machine, all this works fine. I can change directory to /net(name_of_machine)
 and see everything.
 
   But over night something weird happens. First I get the folowing
 error message:
 NFS server [EMAIL PROTECTED]:/net not responding, still trying.
[...]

This problem should be fixed with amd_upl102-4.deb. It is a bug in amd.
amd will die, when trying a readdir in /net (probably find from cron.daily
in your case).

Hope this helps.

- --Swen


-BEGIN PGP SIGNATURE-
Version: 2.6.3i
Charset: latin1

iQCVAwUBMocefUTyQF8U8wFLAQFiKwP9HsR2zCGEdNfnHAajKH3MVjibi8IrQrMV
GhtQP1lyv8c5Fh0+QnFEhs5iAxNoUGRMzHh+UMpoeJioogm+kVgfn1nq/3sv1pm8
1clPbW1uttddfj6bV/K5rdzsvVMkwLfOYC3X/VodwKIB7NV75mYPRKaCOIU6xbHW
kUNd1ICzO4w=
=LwEj
-END PGP SIGNATURE-

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Need help with NIS: close, but it don't work yet

1996-10-22 Thread Swen Thuemmler
On Fri, 11 Oct 1996, Rick Macdonald wrote:

[...]
 ypbind checks that the NIS server is still there every minute (the period
 in the old version. The new man page just says periodically).
 
 The man page doesn't show an option to override this, so I may just
 put one in myself. Do you see any problem with this?

No, there should be no problem. I've just been too lazy to add it myself.

Greetings, Swen


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Does Linux NIS needs plus-entries?

1996-10-22 Thread Swen Thuemmler
-BEGIN PGP SIGNED MESSAGE-

On Wed, 16 Oct 1996, Christian Hudon wrote:

 I seem to faintly remember someone saying on this list that Linux NIS
 doesn't need plus-entries in /etc/passwd and friends...
 
 Is that really true? Because the latest nis package still says:

No, this is wrong. It was a bug in old versions of libc (4.5.x, I think).
This has been fixed, and now you need the entries (unless you have a NYS
enabled libc and use /etc/nsswitch.conf).

Greetings, Swen

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: latin1

iQCVAwUBMmz8V0TyQF8U8wFLAQHIlQP9FkGYJCwLk0CqttBVKzIDunaKze47u4un
2oiYu1nvtJ+4qrw6u8RReMjX2i/+bHicHN3O37sQMVIz15u7dw3XkCsCIolq69IK
HAW4H8v6dghII00iWZ4tTB8D78IqoT+Dp5r566dWRRFpYVrJxi2tQfY7yrybOv0m
aJ8MPV3cL+4=
=hu0v
-END PGP SIGNATURE-

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: argh, NIS!

1996-10-09 Thread Swen Thuemmler
On 26 Sep 1996, Miquel van Smoorenburg wrote:

 Nope, that doesn't work. I replaced ypbind-2.99 with a hacked version
 of the BSD ypbind. The Linux ypbind-2.99 tends
 to die when it wants to switch servers, which is a problem if you
 have more then one NIS server and the one you're currently listening
 goes down.

I've just released ypbind-3.0, and I'd be interested in bugreports of this
version. There were some small quirks in 2.99beta, but it should not have
died...

Greetings, Swen


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]