Bug 12958 - Make check fails in AIX
Make check fails in AIX
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Test infrastructure
4.6.6
PPC AIX
: P5 normal
: ---
Assigned To: Jelmer Vernooij
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-10 10:51 UTC by Ayappan
Modified: 2017-08-10 10:53 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ayappan 2017-08-10 10:51:52 UTC
I am building Samba 4.6.6 in AIX 6.1 machine using xlc compiler. Configure and make is successful. But while doing "make check", it fails with "account [force_user] already exists in /samba/samba-4.6.6/st/nt4_dc/private/passwd" error. I am not seeing this error in linux machine. Below are the configuration options i have used.

./configure --without-ntvfs-fileserver --enable-selftest --without-ad-dc

make 

make install 
....
....
[42(0)/2024 at 0s] samba.tests.kcc.ldif_import_export
[43(0)/2024 at 0s] wafsamba.duplicate_symbols
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /samba/samba-4.6.6/st/nt4_dc/private/passdb.tdb file.
account[force_user] already exists in '/samba/samba-4.6.6/st/nt4_dc/private/passwd' at /samba/samba-4.6.6/lib/nss_wrapper/nss_wrapper.pl line 404.
_samr_create_user: Running the command `/samba/samba-4.6.6/lib/nss_wrapper/nss_wrapper.pl --passwd_path /samba/samba-4.6.6/st/nt4_dc/private/passwd --type passwd --action add --name force_user --gid 65533' gave 2
Failed to add entry for user force_user.
Unable to set password for force_user account
UID_WRAPPER_ROOT=1 ./bin/smbpasswd -c /samba/samba-4.6.6/st/nt4_dc/lib/server.conf -L -s -a force_user > /dev/null at /samba/samba-4.6.6/selftest/target/Samba3.pm line 1260.
Unable to create force_user at /samba/samba-4.6.6/selftest/target/Samba3.pm line 2087.

ALL OK (0 tests in 0 testsuites)
Comment 1 Ayappan 2017-08-10 10:53:05 UTC
It's actually "Make check" that fails. I mistakenly put "make install"