Arjit Gupta
2016-Oct-22 02:57 UTC
[Samba] samba 4.5.0 on HPUX(IA-64) make quicktest fails with error Failed to add entry for user.
Hi Team, I have build samba 4.5.0.on hpux. On running make quick test is failing with below error. I am attaching the logs with log level 10. *Workaround:- *I have implemented workaround by adding all the test users(force_user, smbget_user,user1,user2.......) from useradd command. Is it an expected behavior on hpux ? Note:- I am not sure if this issue to be send to samba-technical mail list. Please let me know if that's the case. Arjit Kumar -------------- next part -------------- WAF_MAKE=1 ./buildtools/bin/waf test --quick 'test' finished successfully (0.106s) Waf: Entering directory `/home/arjit/samba-4.5.0/bin' Selected embedded Heimdal build Waf: Leaving directory `/home/arjit/samba-4.5.0/bin' 'build' finished successfully (31.294s) skipping subunit (testscenarios not available) LD_PRELOAD=/home/arjit/samba-4.5.0/bin/default/lib/nss_wrapper/libnss-wrapper.so:/home/arjit/samba-4.5.0/bin/default/lib/resolv_wrapper/libresolv-wrapper.so:/home/arjit/samba-4.5.0/bin/default/lib/socket_wrapper/libsocket-wrapper.so:/home/arjit/samba-4.5.0/bin/default/lib/uid_wrapper/libuid-wrapper.so SOCKET_WRAPPER_DIR=/home/arjit/samba-4.5.0/st/w DNS: Faking nameserver OPTIONS --configfile=$SMB_CONF_PATH --option='fss:sequence timeout=1' --maximum-runtime=$SELFTEST_MAXTIME --basedir=$SELFTEST_TMPDIR --format=subunit --option=torture:progress=no --option=torture:quick=yes PROVISIONING NT4 DC...CREATE TEST ENVIRONMENT IN './st/nt4_dc'... user = root END user = root INFO: Current debug levels: all: 10 tdb: 10 printdrivers: 10 lanman: 10 smb: 10 rpc_parse: 10 rpc_srv: 10 rpc_cli: 10 passdb: 10 sam: 10 auth: 10 winbind: 10 vfs: 10 idmap: 10 quota: 10 acls: 10 locking: 10 msdfs: 10 dmapi: 10 registry: 10 scavenger: 10 dns: 10 ldb: 10 tevent: 10 doing parameter debug pid = yes doing parameter max log size = 0 doing parameter state directory = /home/arjit/samba-4.5.0/st/nt4_dc/lockdir doing parameter cache directory = /home/arjit/samba-4.5.0/st/nt4_dc/lockdir doing parameter passdb backend = tdbsam doing parameter time server = yes doing parameter add user script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --passwd_path /home/arjit/samba-4.5.0/st/nt4_dc/private/passwd --type passwd --action add --name %u --gid 65533 doing parameter add group script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --group_path /home/arjit/samba-4.5.0/st/nt4_dc/private/group --type group --action add --name %g doing parameter add machine script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --passwd_path /home/arjit/samba-4.5.0/st/nt4_dc/private/passwd --type passwd --action add --name %u --gid 65533 doing parameter add user to group script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --passwd_path /home/arjit/samba-4.5.0/st/nt4_dc/private/passwd --type member --action add --member %u --name %g --group_path /home/arjit/samba-4.5.0/st/nt4_dc/private/group doing parameter delete user script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --passwd_path /home/arjit/samba-4.5.0/st/nt4_dc/private/passwd --type passwd --action delete --name %u doing parameter delete group script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --group_path /home/arjit/samba-4.5.0/st/nt4_dc/private/group --type group --action delete --name %g doing parameter delete user from group script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --passwd_path /home/arjit/samba-4.5.0/st/nt4_dc/private/passwd --type member --action delete --member %u --name %g --group_path /home/arjit/samba-4.5.0/st/nt4_dc/private/group doing parameter addprinter command = /home/arjit/samba-4.5.0/source3/script/tests/printing/modprinter.pl -a -s /home/arjit/samba-4.5.0/st/nt4_dc/lib/server.conf -- doing parameter deleteprinter command = /home/arjit/samba-4.5.0/source3/script/tests/printing/modprinter.pl -d -s /home/arjit/samba-4.5.0/st/nt4_dc/lib/server.conf -- doing parameter eventlog list = application "dns server" doing parameter kernel oplocks = no doing parameter kernel change notify = no doing parameter logging = file doing parameter printing = bsd doing parameter printcap name = /dev/null doing parameter winbindd socket directory = /home/arjit/samba-4.5.0/st/nt4_dc/winbindd doing parameter nmbd:socket dir = /home/arjit/samba-4.5.0/st/nt4_dc/nmbd doing parameter idmap config * : range = 100000-200000 doing parameter winbind enum users = yes doing parameter winbind enum groups = yes doing parameter winbind separator = / doing parameter read only = no doing parameter smbd:sharedelay = 100000 doing parameter smbd:writetimeupdatedelay = 500000 doing parameter map hidden = no doing parameter map system = no doing parameter map readonly = no doing parameter store dos attributes = yes doing parameter create mask = 755 doing parameter dos filemode = yes doing parameter strict rename = yes doing parameter strict sync = yes doing parameter vfs objects = acl_xattr fake_acls xattr_tdb streams_depot doing parameter printing = hpux doing parameter print command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb print %p %s doing parameter lpq command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb lpq %p doing parameter lp rm command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb lprm %p %j doing parameter lp pause command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb lppause %p %j doing parameter lp resume command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb lpresume %p %j doing parameter queue pause command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb queuepause %p doing parameter queue resume command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb queueresume %p doing parameter lpq cache time = 0 doing parameter print notify backchannel = yes doing parameter ncalrpc dir = /home/arjit/samba-4.5.0/st/nt4_dc/ncalrpc doing parameter message command = mv %s /home/arjit/samba-4.5.0/st/nt4_dc/share/message.%m doing parameter registry shares = yes doing parameter add share command = /home/arjit/samba-4.5.0/bin/smbaddshare doing parameter change share command = /home/arjit/samba-4.5.0/bin/smbchangeshare doing parameter delete share command = /home/arjit/samba-4.5.0/bin/smbdeleteshare doing parameter fruit:copyfile = yes doing parameter allow insecure wide links = yes doing parameter domain master = yes doing parameter domain logons = yes doing parameter lanman auth = yes doing parameter ntlm auth = yes doing parameter raw NTLMv2 auth = yes doing parameter rpc_server:epmapper = external doing parameter rpc_server:spoolss = external doing parameter rpc_server:lsarpc = external doing parameter rpc_server:samr = external doing parameter rpc_server:netlogon = external doing parameter rpc_server:register_embedded_np = yes doing parameter rpc_server:FssagentRpc = external doing parameter rpc_daemon:epmd = fork doing parameter rpc_daemon:spoolssd = fork doing parameter rpc_daemon:lsasd = fork doing parameter rpc_daemon:fssd = fork doing parameter fss: sequence timeout = 1 pm_process() returned Yes lp_servicenumber: couldn't find homes Netbios name list:- my_netbios_names[0]="LOCALNT4DC2" Attempting to register passdb backend smbpasswd Successfully added passdb backend 'smbpasswd' Attempting to register passdb backend tdbsam Successfully added passdb backend 'tdbsam' Attempting to register passdb backend wbc_sam Successfully added passdb backend 'wbc_sam' Attempting to register passdb backend samba_dsdb Successfully added passdb backend 'samba_dsdb' Attempting to register passdb backend samba4 Successfully added passdb backend 'samba4' Attempting to register passdb backend ldapsam Successfully added passdb backend 'ldapsam' Attempting to register passdb backend NDS_ldapsam Successfully added passdb backend 'NDS_ldapsam' Attempting to register passdb backend IPA_ldapsam Successfully added passdb backend 'IPA_ldapsam' Attempting to find a passdb backend to match tdbsam (tdbsam) Found pdb backend tdbsam pdb backend tdbsam has a valid init tdb(/home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb): tdb_transaction_start: nesting 1 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb 2:<none> 3:<none> Locking key 534543524554532F5349 Allocated locked data 0x21540 Unlocking key 534543524554532F5349 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb lock order: 1:<none> 2:<none> 3:<none> tdb(/home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb): tdb_transaction_start: nesting 1 tdb(/home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb): tdb_transaction_start: nesting 2 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb 2:<none> 3:<none> Locking key 534543524554532F5349 Allocated locked data 0x21540 Unlocking key 534543524554532F5349 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb lock order: 1:<none> 2:<none> 3:<none> tdb(/home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb): tdb_transaction_start: nesting 2 tdb(/home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb): tdb_transaction_start: nesting 1 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb 2:<none> 3:<none> Locking key 534543524554532F5349 Allocated locked data 0x6fdb0 Unlocking key 534543524554532F5349 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/secrets.tdb lock order: 1:<none> 2:<none> 3:<none> tdbsam_open: Converting version 0.0 database to version 4.0. tdbsam_convert_backup: updated /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb file. tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/winbindd_idmap.tdb): tdb_open_ex: could not open file /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/winbindd_idmap.tdb: No such file or directory check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb 2:<none> 3:<none> Locking key 4E4558545F52494400 Allocated locked data 0x38ae0 Unlocking key 4E4558545F52494400 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:<none> 2:<none> 3:<none> check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb 2:<none> 3:<none> Locking key 494E464F2F7665727369 Allocated locked data 0x21540 Unlocking key 494E464F2F7665727369 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:<none> 2:<none> 3:<none> check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb 2:<none> 3:<none> Locking key 494E464F2F6D696E6F72 Allocated locked data 0x21540 Unlocking key 494E464F2F6D696E6F72 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:<none> 2:<none> 3:<none> TDBSAM converted successfully. tdbsam_open: successfully opened /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb pdb_getsampwnam (TDB): error fetching database. Key: USER_root Finding user root Trying _Get_Pwnam(), username as lowercase is root Get_Pwnam_internals did find user [root]! pdb_set_username: setting username root, was pdb_set_full_name: setting full name , was pdb_set_domain: setting domain SAMBA-TEST, was Home server: localnt4dc2 pdb_set_profile_path: setting profile path \\localnt4dc2\root\profile, was Home server: localnt4dc2 pdb_set_homedir: setting home dir \\localnt4dc2\root, was pdb_set_dir_drive: setting dir drive , was NULL pdb_set_logon_script: setting logon script , was check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb 2:<none> 3:<none> Locking key 4E4558545F52494400 Allocated locked data 0x21540 Unlocking key 4E4558545F52494400 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:<none> 2:<none> 3:<none> pdb_set_user_sid: setting user sid S-1-5-21-174231157-127986079-282816800-1000 pdb_set_username: setting username root, was root Opening cache file at /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/gencache.tdb Opening cache file at /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/gencache_notrans.tdb Adding cache entry with key=[IDMAP/GID2SID/3] and timeout=[Thu Jan 1 05:30:00 1970 IST] (-1477104420 seconds in the past) Could not get allrecord lock on gencache_notrans.tdb: Locking error gid_to_sid: winbind failed to find a sid for gid 3 Adding cache entry with key=[IDMAP/SID2XID/S-1-22-2-3] and timeout=[Thu Jan 1 05:30:00 1970 IST] (-1477104420 seconds in the past) Could not get allrecord lock on gencache_notrans.tdb: Locking error Adding cache entry with key=[IDMAP/SID2XID/S-1-22-2-3] and timeout=[Sat Oct 29 08:17:00 2016 IST] (604800 seconds ahead) Adding cache entry with key=[IDMAP/GID2SID/3] and timeout=[Thu Jan 1 05:30:00 1970 IST] (-1477104420 seconds in the past) Adding cache entry with key=[IDMAP/GID2SID/3] and timeout=[Sat Oct 29 08:17:00 2016 IST] (604800 seconds ahead) LEGACY: gid 3 -> sid S-1-22-2-3 Forcing Primary Group to 'Domain Users' for root tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb): tdb_open_ex: could not open file /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb: No such file or directory Could not open tdb: No such file or directory check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 494E464F2F7665727369 Allocated locked data 0x21540 Unlocking key 494E464F2F7665727369 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> account_policy_get: tdb_fetch_uint32_t failed for type 1 (min password length), returning 0 tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb): tdb_transaction_start: nesting 1 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 6D696E2070617373776F Allocated locked data 0x21540 Unlocking key 6D696E2070617373776F release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> account_policy_set: name: min password length, value: 5 account_policy_get: tdb_fetch_uint32_t failed for type 2 (password history), returning 0 tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb): tdb_transaction_start: nesting 1 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 70617373776F72642068 Allocated locked data 0x21540 Unlocking key 70617373776F72642068 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> account_policy_set: name: password history, value: 0 account_policy_get: tdb_fetch_uint32_t failed for type 3 (user must logon to change password), returning 0 tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb): tdb_transaction_start: nesting 1 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 75736572206D75737420 Allocated locked data 0x2e840 Unlocking key 75736572206D75737420 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> account_policy_set: name: user must logon to change password, value: 0 account_policy_get: tdb_fetch_uint32_t failed for type 4 (maximum password age), returning 0 tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb): tdb_transaction_start: nesting 1 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 6D6178696D756D207061 Allocated locked data 0x21540 Unlocking key 6D6178696D756D207061 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> account_policy_set: name: maximum password age, value: -1 account_policy_get: tdb_fetch_uint32_t failed for type 5 (minimum password age), returning 0 tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb): tdb_transaction_start: nesting 1 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 6D696E696D756D207061 Allocated locked data 0x21540 Unlocking key 6D696E696D756D207061 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> account_policy_set: name: minimum password age, value: 0 account_policy_get: tdb_fetch_uint32_t failed for type 6 (lockout duration), returning 0 tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb): tdb_transaction_start: nesting 1 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 6C6F636B6F7574206475 Allocated locked data 0x21540 Unlocking key 6C6F636B6F7574206475 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> account_policy_set: name: lockout duration, value: 30 account_policy_get: tdb_fetch_uint32_t failed for type 7 (reset count minutes), returning 0 tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb): tdb_transaction_start: nesting 1 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 726573657420636F756E Allocated locked data 0x21540 Unlocking key 726573657420636F756E release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> account_policy_set: name: reset count minutes, value: 30 account_policy_get: tdb_fetch_uint32_t failed for type 8 (bad lockout attempt), returning 0 tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb): tdb_transaction_start: nesting 1 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 626164206C6F636B6F75 Allocated locked data 0x21540 Unlocking key 626164206C6F636B6F75 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> account_policy_set: name: bad lockout attempt, value: 0 account_policy_get: tdb_fetch_uint32_t failed for type 9 (disconnect time), returning 0 tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb): tdb_transaction_start: nesting 1 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 646973636F6E6E656374 Allocated locked data 0x21540 Unlocking key 646973636F6E6E656374 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> account_policy_set: name: disconnect time, value: -1 account_policy_get: tdb_fetch_uint32_t failed for type 10 (refuse machine password change), returning 0 tdb(/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb): tdb_transaction_start: nesting 1 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 726566757365206D6163 Allocated locked data 0x2e840 Unlocking key 726566757365206D6163 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> account_policy_set: name: refuse machine password change, value: 0 get_privileges: No privileges assigned to SID [S-1-1-0] grant_privilege: S-1-1-0 original privilege mask: 0x0 new privilege mask: 0x0 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 505249565F532D312D31 Allocated locked data 0x21540 Unlocking key 505249565F532D312D31 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> get_privileges: No privileges assigned to SID [S-1-5-32-548] grant_privilege: S-1-5-32-548 original privilege mask: 0x0 new privilege mask: 0x0 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 505249565F532D312D35 Allocated locked data 0x21540 Unlocking key 505249565F532D312D35 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> get_privileges: No privileges assigned to SID [S-1-5-32-549] grant_privilege: S-1-5-32-549 original privilege mask: 0x0 new privilege mask: 0x0 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 505249565F532D312D35 Allocated locked data 0x21540 Unlocking key 505249565F532D312D35 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> get_privileges: No privileges assigned to SID [S-1-5-32-550] grant_privilege: S-1-5-32-550 original privilege mask: 0x0 new privilege mask: 0x0 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 505249565F532D312D35 Allocated locked data 0x21540 Unlocking key 505249565F532D312D35 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> get_privileges: No privileges assigned to SID [S-1-5-32-551] grant_privilege: S-1-5-32-551 original privilege mask: 0x0 new privilege mask: 0x0 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 505249565F532D312D35 Allocated locked data 0x21540 Unlocking key 505249565F532D312D35 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> get_privileges: No privileges assigned to SID [S-1-5-32-544] grant_privilege: S-1-5-32-544 original privilege mask: 0x1ffffff0 new privilege mask: 0x1ffffff0 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb 2:<none> 3:<none> Locking key 505249565F532D312D35 Allocated locked data 0x21540 Unlocking key 505249565F532D312D35 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/lockdir/account_policy.tdb lock order: 1:<none> 2:<none> 3:<none> account_policy_get: name: password history, val: 0 Storing (new) account root with RID 1000 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb 2:<none> 3:<none> Locking key 555345525F726F6F7400 Allocated locked data 0x38d80 Unlocking key 555345525F726F6F7400 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:<none> 2:<none> 3:<none> tdb_update_sam: Inserting key for RID 1000 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb 2:<none> 3:<none> Locking key 5249445F303030303033 Allocated locked data 0x21540 Unlocking key 5249445F303030303033 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:<none> 2:<none> 3:<none> pdb_set_username: setting username root, was pdb_set_domain: setting domain SAMBA-TEST, was pdb_set_nt_username: setting nt username , was pdb_set_full_name: setting full name , was Home server: localnt4dc2 pdb_set_homedir: setting home dir \\localnt4dc2\root, was pdb_set_dir_drive: setting dir drive , was NULL pdb_set_logon_script: setting logon script , was Home server: localnt4dc2 pdb_set_profile_path: setting profile path \\localnt4dc2\root\profile, was pdb_set_workstations: setting workstations , was account_policy_get: name: password history, val: 0 pdb_set_user_sid: setting user sid S-1-5-21-174231157-127986079-282816800-1000 pdb_set_user_sid_from_rid: setting user sid S-1-5-21-174231157-127986079-282816800-1000 from rid 1000 Finding user root Trying _Get_Pwnam(), username as lowercase is root Get_Pwnam_internals did find user [root]! gid 3 -> sid S-1-22-2-3 Forcing Primary Group to 'Domain Users' for root account_policy_get: name: password history, val: 0 pdb_set_username: setting username root, was pdb_set_domain: setting domain SAMBA-TEST, was pdb_set_nt_username: setting nt username , was pdb_set_full_name: setting full name , was Home server: localnt4dc2 pdb_set_homedir: setting home dir \\localnt4dc2\root, was pdb_set_dir_drive: setting dir drive , was NULL pdb_set_logon_script: setting logon script , was Home server: localnt4dc2 pdb_set_profile_path: setting profile path \\localnt4dc2\root\profile, was pdb_set_workstations: setting workstations , was account_policy_get: name: password history, val: 0 pdb_set_user_sid: setting user sid S-1-5-21-174231157-127986079-282816800-1000 pdb_set_user_sid_from_rid: setting user sid S-1-5-21-174231157-127986079-282816800-1000 from rid 1000 pdb_set_group_sid: setting group sid S-1-5-21-174231157-127986079-282816800-513 account_policy_get: name: password history, val: 0 pdb_set_username: setting username root, was pdb_set_domain: setting domain SAMBA-TEST, was pdb_set_nt_username: setting nt username , was pdb_set_full_name: setting full name , was Home server: localnt4dc2 pdb_set_homedir: setting home dir \\localnt4dc2\root, was pdb_set_dir_drive: setting dir drive , was NULL pdb_set_logon_script: setting logon script , was Home server: localnt4dc2 pdb_set_profile_path: setting profile path \\localnt4dc2\root\profile, was pdb_set_workstations: setting workstations , was account_policy_get: name: password history, val: 0 pdb_set_user_sid: setting user sid S-1-5-21-174231157-127986079-282816800-1000 pdb_set_user_sid_from_rid: setting user sid S-1-5-21-174231157-127986079-282816800-1000 from rid 1000 account_policy_get: name: maximum password age, val: -1 account_policy_get: name: password history, val: 0 Storing account root with RID 1000 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb 2:<none> 3:<none> Locking key 555345525F726F6F7400 Allocated locked data 0x318c0 Unlocking key 555345525F726F6F7400 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:<none> 2:<none> 3:<none> tdb_update_sam: Updating key for RID 1000 check lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:/home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb 2:<none> 3:<none> Locking key 5249445F303030303033 Allocated locked data 0x21540 Unlocking key 5249445F303030303033 release lock order 1 for /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb lock order: 1:<none> 2:<none> 3:<none> user = force_user END user = force_user INFO: Current debug levels: all: 10 tdb: 10 printdrivers: 10 lanman: 10 smb: 10 rpc_parse: 10 rpc_srv: 10 rpc_cli: 10 passdb: 10 sam: 10 auth: 10 winbind: 10 vfs: 10 idmap: 10 quota: 10 acls: 10 locking: 10 msdfs: 10 dmapi: 10 registry: 10 scavenger: 10 dns: 10 ldb: 10 tevent: 10 doing parameter debug pid = yes doing parameter max log size = 0 doing parameter state directory = /home/arjit/samba-4.5.0/st/nt4_dc/lockdir doing parameter cache directory = /home/arjit/samba-4.5.0/st/nt4_dc/lockdir doing parameter passdb backend = tdbsam doing parameter time server = yes doing parameter add user script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --passwd_path /home/arjit/samba-4.5.0/st/nt4_dc/private/passwd --type passwd --action add --name %u --gid 65533 doing parameter add group script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --group_path /home/arjit/samba-4.5.0/st/nt4_dc/private/group --type group --action add --name %g doing parameter add machine script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --passwd_path /home/arjit/samba-4.5.0/st/nt4_dc/private/passwd --type passwd --action add --name %u --gid 65533 doing parameter add user to group script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --passwd_path /home/arjit/samba-4.5.0/st/nt4_dc/private/passwd --type member --action add --member %u --name %g --group_path /home/arjit/samba-4.5.0/st/nt4_dc/private/group doing parameter delete user script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --passwd_path /home/arjit/samba-4.5.0/st/nt4_dc/private/passwd --type passwd --action delete --name %u doing parameter delete group script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --group_path /home/arjit/samba-4.5.0/st/nt4_dc/private/group --type group --action delete --name %g doing parameter delete user from group script = /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --passwd_path /home/arjit/samba-4.5.0/st/nt4_dc/private/passwd --type member --action delete --member %u --name %g --group_path /home/arjit/samba-4.5.0/st/nt4_dc/private/group doing parameter addprinter command = /home/arjit/samba-4.5.0/source3/script/tests/printing/modprinter.pl -a -s /home/arjit/samba-4.5.0/st/nt4_dc/lib/server.conf -- doing parameter deleteprinter command = /home/arjit/samba-4.5.0/source3/script/tests/printing/modprinter.pl -d -s /home/arjit/samba-4.5.0/st/nt4_dc/lib/server.conf -- doing parameter eventlog list = application "dns server" doing parameter kernel oplocks = no doing parameter kernel change notify = no doing parameter logging = file doing parameter printing = bsd doing parameter printcap name = /dev/null doing parameter winbindd socket directory = /home/arjit/samba-4.5.0/st/nt4_dc/winbindd doing parameter nmbd:socket dir = /home/arjit/samba-4.5.0/st/nt4_dc/nmbd doing parameter idmap config * : range = 100000-200000 doing parameter winbind enum users = yes doing parameter winbind enum groups = yes doing parameter winbind separator = / doing parameter read only = no doing parameter smbd:sharedelay = 100000 doing parameter smbd:writetimeupdatedelay = 500000 doing parameter map hidden = no doing parameter map system = no doing parameter map readonly = no doing parameter store dos attributes = yes doing parameter create mask = 755 doing parameter dos filemode = yes doing parameter strict rename = yes doing parameter strict sync = yes doing parameter vfs objects = acl_xattr fake_acls xattr_tdb streams_depot doing parameter printing = hpux doing parameter print command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb print %p %s doing parameter lpq command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb lpq %p doing parameter lp rm command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb lprm %p %j doing parameter lp pause command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb lppause %p %j doing parameter lp resume command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb lpresume %p %j doing parameter queue pause command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb queuepause %p doing parameter queue resume command = /home/arjit/samba-4.5.0/bin/vlp tdbfile=/home/arjit/samba-4.5.0/st/nt4_dc/lockdir/vlp.tdb queueresume %p doing parameter lpq cache time = 0 doing parameter print notify backchannel = yes doing parameter ncalrpc dir = /home/arjit/samba-4.5.0/st/nt4_dc/ncalrpc doing parameter message command = mv %s /home/arjit/samba-4.5.0/st/nt4_dc/share/message.%m doing parameter registry shares = yes doing parameter add share command = /home/arjit/samba-4.5.0/bin/smbaddshare doing parameter change share command = /home/arjit/samba-4.5.0/bin/smbchangeshare doing parameter delete share command = /home/arjit/samba-4.5.0/bin/smbdeleteshare doing parameter fruit:copyfile = yes doing parameter allow insecure wide links = yes doing parameter domain master = yes doing parameter domain logons = yes doing parameter lanman auth = yes doing parameter ntlm auth = yes doing parameter raw NTLMv2 auth = yes doing parameter rpc_server:epmapper = external doing parameter rpc_server:spoolss = external doing parameter rpc_server:lsarpc = external doing parameter rpc_server:samr = external doing parameter rpc_server:netlogon = external doing parameter rpc_server:register_embedded_np = yes doing parameter rpc_server:FssagentRpc = external doing parameter rpc_daemon:epmd = fork doing parameter rpc_daemon:spoolssd = fork doing parameter rpc_daemon:lsasd = fork doing parameter rpc_daemon:fssd = fork doing parameter fss: sequence timeout = 1 pm_process() returned Yes lp_servicenumber: couldn't find homes Netbios name list:- my_netbios_names[0]="LOCALNT4DC2" Attempting to register passdb backend smbpasswd Successfully added passdb backend 'smbpasswd' Attempting to register passdb backend tdbsam Successfully added passdb backend 'tdbsam' Attempting to register passdb backend wbc_sam Successfully added passdb backend 'wbc_sam' Attempting to register passdb backend samba_dsdb Successfully added passdb backend 'samba_dsdb' Attempting to register passdb backend samba4 Successfully added passdb backend 'samba4' Attempting to register passdb backend ldapsam Successfully added passdb backend 'ldapsam' Attempting to register passdb backend NDS_ldapsam Successfully added passdb backend 'NDS_ldapsam' Attempting to register passdb backend IPA_ldapsam Successfully added passdb backend 'IPA_ldapsam' Attempting to find a passdb backend to match tdbsam (tdbsam) Found pdb backend tdbsam pdb backend tdbsam has a valid init tdbsam_open: successfully opened /home/arjit/samba-4.5.0/st/nt4_dc/private/passdb.tdb pdb_getsampwnam (TDB): error fetching database. Key: USER_force_user Finding user force_user Trying _Get_Pwnam(), username as lowercase is force_user Trying _Get_Pwnam(), username as uppercase is FORCE_USER Checking combinations of 0 uppercase letters in force_user Get_Pwnam_internals didn't find user [force_user]! account[force_user] already exists in '/home/arjit/samba-4.5.0/st/nt4_dc/private/passwd' at /home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl line 409. _samr_create_user: Running the command `/home/arjit/samba-4.5.0/lib/nss_wrapper/nss_wrapper.pl --passwd_path /home/arjit/samba-4.5.0/st/nt4_dc/private/passwd --type passwd --action add --name force_user --gid 65533' gave 255 Finding user force_user Trying _Get_Pwnam(), username as lowercase is force_user Trying _Get_Pwnam(), username as uppercase is FORCE_USER Checking combinations of 0 uppercase letters in force_user Get_Pwnam_internals didn't find user [force_user]! Could not find user force_user, add script did not work Failed to add entry for user force_user. Unable to set password for force_user account UID_WRAPPER_ROOT=1 ./bin/smbpasswd -c /home/arjit/samba-4.5.0/st/nt4_dc/lib/server.conf -L -s -a force_user > /dev/null at /home/arjit/samba-4.5.0/selftest/target/Samba3.pm line 1108. Unable to create force_user at /home/arjit/samba-4.5.0/selftest/target/Samba3.pm line 1894. ALL OK (0 tests in 0 testsuites) A summary with detailed information can be found in: ./st/summary TOP 10 slowest tests test: running (/usr/bin/perl /home/arjit/samba-4.5.0/selftest/selftest.pl --target=samba --prefix=./st --srcdir=/home/arjit/samba-4.5.0 --exclude=/home/arjit/samba-4.5.0/selftest/skip --testlist="/usr/local/bin/python /home/arjit/samba-4.5.0/selftest/tests.py|" --testlist="/usr/local/bin/python /home/arjit/samba-4.5.0/source3/selftest/tests.py|" --testlist="/usr/local/bin/python /home/arjit/samba-4.5.0/source4/selftest/tests.py|" --exclude=/home/arjit/samba-4.5.0/selftest/slow --quick --include=/home/arjit/samba-4.5.0/selftest/quick --nss_wrapper_so_path=/home/arjit/samba-4.5.0/bin/default/lib/nss_wrapper/libnss-wrapper.so --resolv_wrapper_so_path=/home/arjit/samba-4.5.0/bin/default/lib/resolv_wrapper/libresolv-wrapper.so --socket_wrapper_so_path=/home/arjit/samba-4.5.0/bin/default/lib/socket_wrapper/libsocket-wrapper.so --uid_wrapper_so_path=/home/arjit/samba-4.5.0/bin/default/lib/uid_wrapper/libuid-wrapper.so --use-dns-faking --socket-wrapper && touch ./st/st_done) | /usr/local/bin/python -u /home/arjit/samba-4.5.0/selftest/filter-subunit --expected-failures=/home/arjit/samba-4.5.0/selftest/knownfail --flapping=/home/arjit/samba-4.5.0/selftest/flapping | tee ./st/subunit | /usr/local/bin/python -u /home/arjit/samba-4.5.0/selftest/format-subunit --prefix=./st --immediate ERROR: test command failed to complete *** Error exit code 1 Stop.
Reasonably Related Threads
- samba 4.5.0 on HPUX(IA-64) make quicktest fails as not able to recognize vlp as valid printing value.
- selftest, help with a single test
- samba 4.5.0 on HPUX(IA-64) make quicktest fails as not able to pick workgroup and netbios name.
- samba 4.5.0 on HPUX(IA-64) make quicktest fails as not able to pick workgroup and netbios name.
- Inconsistency with LANMAN1 and Samba 4.9