Antwort: Re: Samba 2.2.3a --with-nisplussam

Thomas.Mieslinger at germanparcel.de Thomas.Mieslinger at germanparcel.de
Mon May 6 14:21:02 GMT 2002


Hi Jerry,

the bug in mentioned in the attached eMail is fixed with the release 
2.2.4.

Another bug in pdb_nisplus.c which SEGV smbpasswd when adding the first 
entry to an empty table was resolved by Toomas Soome. This fix didn't 
appear in 2.2.4 and I'm unsure if it's in the cvs. It is simply changing 
line 1210 to nis_lookup instead of  nisp_get_nis_list.

The Makefile generated by configure won't work for me since I'm using gcc 
which doesn't know about -KPIC. I simply replaced all -KPIC with -fPIC. 

I'm thinking about moving to LDAP, but that is a lot harder to implement 
than NIS+.

regards Thomas 
-- 
German Parcel
Thomas Mieslinger
German-Parcel-Str. 1-7     fon: +49 6677 17 463
36286 Neuenstein            fax: +49 6677 17 111
Germany                           eMail: thomas.mieslinger at germanparcel.de




Gerald Carter <jerry at samba.org>
Gesendet von: samba-technical-admin at lists.samba.org
06.05.02 17:25

 
        An:     Thomas.Mieslinger at germanparcel.de
        Kopie:  samba-technical at samba.org
        Thema:  Re: Samba 2.2.3a --with-nisplussam


On Tue, 30 Apr 2002 Thomas.Mieslinger at germanparcel.de wrote:

> Hi all,
> 
> I'm trying to set up Samba Server that uses NIS+ for user and group 
> information. It's a Solaris 7 intel box. I configured it with the 
> following switches:
> ./configure --prefix=/usr/local --sysconfdir=/etc/samba 
> --localstatedir=/var/samba --with-privatedir=/etc/samba 
> --with-lockdir=/var/samba/locks 
--with-swatdir=/usr/local/share/samba/swat 
> --with-configdir=/etc/samba 
> --with-codepagedir=/usr/local/share/samba/codepages 
> --with-logfilebase=/var/samba/log --with-nisplussam --with-acl-support 
> --without-winbind --with-quotas
> 
> It compiled fine after I corrected passdb/pdb_nisplus.c:346: macro 
> `pstrcpy' used with too many (3) args (just deleted the "false").


This should all be fixed in 2.2.4.  Please retest.  Thanks.

> That's it for now. Is anyone out there using the NIS+ Features in Samba?

Very few.  and it is maintained by people outside the Samba Team.





cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--









More information about the samba-technical mailing list