Re: preventing amd from fetch files from nis server
On Thu, Feb 28, 2013 at 12:30 PM, Friedrich Locke wrote: ... > But for a particular client machine, while it should retrieve the list > of users/groups/etc from the nis server i don't want it to retrieve > the amd.home from the nis server, but instead, uses the amd.home from > /etc/amd/amd.home. > Is that possible ? > Do you know if it may be done? amd uses the amd.home map because that's what /etc/amd/master indicates. To change what it uses, change that file. Philip Guenther
preventing amd from fetch files from nis server
Hi folks, i have a set of computer on my network that is configured as a nis client. The nis server is working 100% ok, and it is serving a map called amd.home. But for a particular client machine, while it should retrieve the list of users/groups/etc from the nis server i don't want it to retrieve the amd.home from the nis server, but instead, uses the amd.home from /etc/amd/amd.home. Is that possible ? Do you know if it may be done? Thanks in advance.
Re: NIS server
On Tue, Oct 03, 2006 at 07:02:30PM +0200, Rogier Krieger wrote: > On 10/3/06, Joachim Schipper <[EMAIL PROTECTED]> wrote: > >[...] note that at least OpenBSD can authenticate > >directly against LDAP, using sysutils/login_ldap. > > Personally, I suspect the OP has a specific interest in implementing > NIS. Through NIS, OpenBSD can obtain the information it would > otherwise get from the password file (i.e. user entries). IIRC, there > is no alternative 'nsswitch-like' tool available for OpenBSD. If I'm > wrong on this, feel free to correct me (you'd make me happy). > > As nice a tool as login_ldap may be, it still requires you to add such > entries, limiting scalability. Unfortunately, I do not know of an > LDAP-based NIS working on OpenBSD, so this probably isn't too much > help to the OP either. Sorry for wasting the bandwidth. While the full-on NIS might be useful, something like login_ldap would at least allow authentication to stay synchronized. Simply pulling/syncing the LDAP entries every so often could supplement this into a usable, if far from elegant, solution. (The same sort of mechanism could be used to sync a NIS server from a LDAP server, come to think of it.) Joachim
Re: NIS server
On 10/3/06, Joachim Schipper <[EMAIL PROTECTED]> wrote: [...] note that at least OpenBSD can authenticate directly against LDAP, using sysutils/login_ldap. Personally, I suspect the OP has a specific interest in implementing NIS. Through NIS, OpenBSD can obtain the information it would otherwise get from the password file (i.e. user entries). IIRC, there is no alternative 'nsswitch-like' tool available for OpenBSD. If I'm wrong on this, feel free to correct me (you'd make me happy). As nice a tool as login_ldap may be, it still requires you to add such entries, limiting scalability. Unfortunately, I do not know of an LDAP-based NIS working on OpenBSD, so this probably isn't too much help to the OP either. Sorry for wasting the bandwidth. Cheers, Rogier -- If you don't know where you're going, any road will get you there.
Re: NIS server
On Tue, Oct 03, 2006 at 01:30:11AM -0300, Gustavo Rios wrote: > I wonder if some here knows a NIS server (ypserv) that uses openldap > as information source! > > If so, please, let me know. I am desperately searching for a nis > server that uses ldap. This may not be useful, but note that at least OpenBSD can authenticate directly against LDAP, using sysutils/login_ldap. (And so can Linux, and I assume FreeBSD, NetBSD, and I assume Solaris. And most other *NIX systems.) (Disclaimer: I've never tried any of the above.) Joachim
NIS server
I wonder if some here knows a NIS server (ypserv) that uses openldap as information source! If so, please, let me know. I am desperately searching for a nis server that uses ldap. Thanks in advance.
Re: NIS server/client on OpenBSD
Edd Barrett wrote: On 2/10/06, Budhi Setiawan <[EMAIL PROTECTED]> wrote: Dear All, Can you give me a link HOWTO/FAQ/tutorial to create a NIS server/client on OpenBSD. Found this on google, but dont know how accurate it is. http://www.openbsdsupport.org/sharedhomes.html I could have swore it was in the FAQ. Regards Edd For some general theory, which makes the man pages easier to understand: http://docs.sun.com/app/docs/doc/806-4077/6jd6blbd7?a=view
Re: NIS server/client on OpenBSD
On 2/10/06, Budhi Setiawan <[EMAIL PROTECTED]> wrote: > > Dear All, > > Can you give me a link HOWTO/FAQ/tutorial to create a NIS > server/client on OpenBSD. Found this on google, but dont know how accurate it is. http://www.openbsdsupport.org/sharedhomes.html I could have swore it was in the FAQ. Regards Edd
NIS server/client on OpenBSD
Dear All, Can you give me a link HOWTO/FAQ/tutorial to create a NIS server/client on OpenBSD. thanks b.s
Re: FreeBSD NIS client X OpenBSD NIS server: yppasswd
On Thu, Feb 02, 2006 at 06:08:52PM -0500, Jose Fragoso wrote: > > yppasswd: pam_chauthtok(): error in service module > > and the change fails. Now if I instead use the following command: > > yppasswd -h `ypwhich` > > It works immediatelly. > > With an OpenBSD client, it always work. > > So I guess the FreeBSD box is trying to talk to the rpc.ypasswdd from another > server. perhaps you could tcpdump and find out which server it's trying, or if it is sending broadcasts? does freebsd allow for something similar to the /etc/yp/DOMAINNAME file? i've gotten quite fond of using that file. my quick suggestion is to watch the network interfaces and see what is different on the wire between 'yppasswd' and the one with ypwhich. also, don't know what the ramification of the PAM is... perhaps nothing ? did a quick peek at the freebsd yppasswd(1) page and didn't see much mention. -- jared [ openbsd 3.9-beta GENERIC ( jan 30 ) // i386 ]
FreeBSD NIS client X OpenBSD NIS server: yppasswd
Hi, I have set up a NIS server using OpenBSD and a NIS client using FreeBSD. I can authenticate without problems. But when I try to change a user password with yppasswd on the FreeBSD client, after retyping the new password, after a somewhat long period, I get an error like: yppasswd: pam_chauthtok(): error in service module and the change fails. Now if I instead use the following command: yppasswd -h `ypwhich` It works immediatelly. With an OpenBSD client, it always work. So I guess the FreeBSD box is trying to talk to the rpc.ypasswdd from another server. I would be thankful to anyone who can help to find what is going on. Best regards, Josi -- ___ Play 100s of games for FREE! http://games.mail.com/