Samba 2.2.3a --with-nisplussam

Thomas.Mieslinger at Thomas.Mieslinger at
Tue Apr 30 05:10:01 GMT 2002

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-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").

I created the nis+ table using script/ Then I tried to 
create users in that table with smbpasswd. All I got was a Segementation 
Violation. I figured out that smbpasswd -a -x ... will only work if there 
is at last one entry in the NIS+ table. I think the smbpasswd utility 
should work, even if the table is completely empty.

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



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

More information about the samba-technical mailing list