Patch submission version 4 (make test not work)
Jelmer Vernooij
jelmer at samba.org
Thu Dec 5 19:06:07 MST 2013
At a first glance, I'm not sure what's going wrong here. You should
still be able to run the samba_tool tests as they don't require
winbind.
You can do this by running "make check TESTS=samba_tool"
Cheers,
Jelmer
On Tue, Dec 03, 2013 at 04:21:05PM +0100, Stéphane PURNELLE wrote:
> Output of make test :
>
> ./buildtools/wafsamba/samba_utils.py:397: DeprecationWarning: the md5
> module is deprecated; use hashlib instead
> import md5
> 'test' finished successfully (0.067s)
> Waf: Entering directory `/rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/bin'
> Selected embedded Heimdal build
> [ 168/3858] Generating smbd/build_options.c
> Waf: Leaving directory `/rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/bin'
> 'build' finished successfully (24.904s)
> smbtorture 4.1.2
> Version 4.1.2
> OPTIONS --configfile=$SMB_CONF_PATH --maximum-runtime=$SELFTEST_MAXTIME
> --basedir=$SELFTEST_TMPDIR --format=subunit --option=torture:progress=no
> smbtorture 4.1.2
> Version 4.1.2
> WARNING: allowing empty subunit output from
> samba4.urgent_replication.python(dc)
> WARNING: allowing empty subunit output from samba4.blackbox.samba3dump
> /rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/bin/python/samba/tests/__init__.py:62:
> RuntimeWarning: tempnam is a potential security risk to your program
> self.filename = os.tempnam()
> A transaction is still active in ldb context [0x82af620] on
> /tmp/tmptivaU0/secrets.ldb
> ...
> Opening cache file at /srv/samba/cache/gencache.tdb
> Opening cache file at /tmp/tmpz6a_qL/samba3/gencache_notrans.tdb
> lookup_global_sam_rid: looking up RID 3001.
> startsmbfilepwent_internal: file ../testdata/samba3/smbpasswd
> tdbsam:../testdata/samba3/passdb.tdb ldapsam:tdb://samba3.ldb did not
> exist. Couldn't create new one. Error was: No such file or directoryUnable
> to open passdb database.
> Home server: BEDWYR
> Home server: BEDWYR
> lookup_global_sam_rid: looking up RID 1001.
> startsmbfilepwent_internal: file ../testdata/samba3/smbpasswd
> tdbsam:../testdata/samba3/passdb.tdb ldapsam:tdb://samba3.ldb did not
> exist. Couldn't create new one. Error was: No such file or directoryUnable
> to open passdb database.
> Can't find a unix id for an unmapped group
> SID S-1-5-21-2470180966-3899876309-2637894779-1001 is or domain, but is
> unmapped
> Home server: BEDWYR
> Home server: BEDWYR
> lookup_global_sam_rid: looking up RID 514.
> startsmbfilepwent_internal: file ../testdata/samba3/smbpasswd
> tdbsam:../testdata/samba3/passdb.tdb ldapsam:tdb://samba3.ldb did not
> exist. Couldn't create new one. Error was: No such file or directoryUnable
> to open passdb database.
> Can't find a unix id for an unmapped group
> SID S-1-5-21-2470180966-3899876309-2637894779-514 is or domain, but is
> unmapped
> check lock order 1 for /tmp/tmpz6a_qL/samba3/passdb.tdb
> release lock order 1 for /tmp/tmpz6a_qL/samba3/passdb.tdb
> check lock order 1 for /tmp/tmpz6a_qL/samba3/passdb.tdb
> release lock order 1 for /tmp/tmpz6a_qL/samba3/passdb.tdb
> TDBSAM converted successfully.
> tdbsam_open: successfully opened /tmp/tmpz6a_qL/samba3/passdb.tdb
> Home server: BEDWYR
> Home server: BEDWYR
> Finding user root
> Trying _Get_Pwnam(), username as lowercase is root
> Get_Pwnam_internals did find user [root]!
> gid_to_sid: winbind failed to find a sid for gid 0
> Forcing Primary Group to 'Domain Users' for root
> lp_load_ex: refreshing parameters
> Freeing parametrics:
> params.c:pm_process() - Processing configuration file
> "/tmp/tmpD3mR2r/samba3/smb.conf"
> Processing section "[global]"
> doing parameter workgroup = SAMBA
> doing parameter security = user
> doing parameter passdb backend = smbpasswd:../testdata/samba3/smbpasswd
> tdbsam:../testdata/samba3/passdb.tdb ldapsam:tdb://samba3.ldb
> doing parameter debug level = 5
> INFO: Current debug levels:
> all: 5
> tdb: 5
> printdrivers: 5
> lanman: 5
> smb: 5
> rpc_parse: 5
> rpc_srv: 5
> rpc_cli: 5
> passdb: 5
> sam: 5
> auth: 5
> winbind: 5
> vfs: 5
> idmap: 5
> quota: 5
> acls: 5
> locking: 5
> msdfs: 5
> dmapi: 5
> registry: 5
> scavenger: 5
> dns: 5
> ldb: 5
> doing parameter netbios name = BEDWYR
> Processing section "[cd1]"
> doing parameter path = /mnt/cd1
> doing parameter public = yes
> Processing section "[cd2]"
> doing parameter path = /mnt/cd2
> doing parameter public = yes
> Processing section "[media]"
> doing parameter path = /media
> doing parameter public = yes
> Processing section "[tmp]"
> doing parameter path = /tmp
> doing parameter guest only = yes
> doing parameter public = yes
> doing parameter read only = no
> pm_process() returned Yes
> Attempting to find a passdb backend to match tdbsam (tdbsam)
> Found pdb backend tdbsam
> pdb backend tdbsam has a valid init
> lp_load_ex: refreshing parameters
> Freeing parametrics:
> params.c:pm_process() - Processing configuration file
> "/tmp/tmpVR0bUZ/samba3/smb.conf"
> Processing section "[global]"
> doing parameter workgroup = SAMBA
> doing parameter security = user
> doing parameter passdb backend = smbpasswd:../testdata/samba3/smbpasswd
> tdbsam:../testdata/samba3/passdb.tdb ldapsam:tdb://samba3.ldb
> doing parameter debug level = 5
> INFO: Current debug levels:
> all: 5
> tdb: 5
> printdrivers: 5
> lanman: 5
> smb: 5
> rpc_parse: 5
> rpc_srv: 5
> rpc_cli: 5
> passdb: 5
> sam: 5
> auth: 5
> winbind: 5
> vfs: 5
> idmap: 5
> quota: 5
> acls: 5
> locking: 5
> msdfs: 5
> dmapi: 5
> registry: 5
> scavenger: 5
> dns: 5
> ldb: 5
> doing parameter netbios name = BEDWYR
> Processing section "[cd1]"
> doing parameter path = /mnt/cd1
> doing parameter public = yes
> Processing section "[cd2]"
> doing parameter path = /mnt/cd2
> doing parameter public = yes
> Processing section "[media]"
> doing parameter path = /media
> doing parameter public = yes
> Processing section "[tmp]"
> doing parameter path = /tmp
> doing parameter guest only = yes
> doing parameter public = yes
> doing parameter read only = no
> pm_process() returned Yes
> Attempting to find a passdb backend to match tdbsam (tdbsam)
> Found pdb backend tdbsam
> pdb backend tdbsam has a valid init
> lp_load_ex: refreshing parameters
> Freeing parametrics:
> params.c:pm_process() - Processing configuration file
> "/tmp/tmp2zJy7q/samba3/smb.conf"
> Processing section "[global]"
> doing parameter workgroup = SAMBA
> doing parameter security = user
> doing parameter passdb backend = smbpasswd:../testdata/samba3/smbpasswd
> tdbsam:../testdata/samba3/passdb.tdb ldapsam:tdb://samba3.ldb
> doing parameter debug level = 5
> INFO: Current debug levels:
> all: 5
> tdb: 5
> printdrivers: 5
> lanman: 5
> smb: 5
> rpc_parse: 5
> rpc_srv: 5
> rpc_cli: 5
> passdb: 5
> sam: 5
> auth: 5
> winbind: 5
> vfs: 5
> idmap: 5
> quota: 5
> acls: 5
> locking: 5
> msdfs: 5
> dmapi: 5
> registry: 5
> scavenger: 5
> dns: 5
> ldb: 5
> doing parameter netbios name = BEDWYR
> Processing section "[cd1]"
> doing parameter path = /mnt/cd1
> doing parameter public = yes
> Processing section "[cd2]"
> doing parameter path = /mnt/cd2
> doing parameter public = yes
> Processing section "[media]"
> doing parameter path = /media
> doing parameter public = yes
> Processing section "[tmp]"
> doing parameter path = /tmp
> doing parameter guest only = yes
> doing parameter public = yes
> doing parameter read only = no
> pm_process() returned Yes
> Attempting to find a passdb backend to match tdbsam (tdbsam)
> Found pdb backend tdbsam
> pdb backend tdbsam has a valid init
> lp_load_ex: refreshing parameters
> Freeing parametrics:
> params.c:pm_process() - Processing configuration file
> "/tmp/tmpFf5EJx/samba3/smb.conf"
> Processing section "[global]"
> doing parameter workgroup = SAMBA
> doing parameter security = user
> doing parameter passdb backend = smbpasswd:../testdata/samba3/smbpasswd
> tdbsam:../testdata/samba3/passdb.tdb ldapsam:tdb://samba3.ldb
> doing parameter debug level = 5
> INFO: Current debug levels:
> all: 5
> tdb: 5
> printdrivers: 5
> lanman: 5
> smb: 5
> rpc_parse: 5
> rpc_srv: 5
> rpc_cli: 5
> passdb: 5
> sam: 5
> auth: 5
> winbind: 5
> vfs: 5
> idmap: 5
> quota: 5
> acls: 5
> locking: 5
> msdfs: 5
> dmapi: 5
> registry: 5
> scavenger: 5
> dns: 5
> ldb: 5
> doing parameter netbios name = BEDWYR
> Processing section "[cd1]"
> doing parameter path = /mnt/cd1
> doing parameter public = yes
> Processing section "[cd2]"
> doing parameter path = /mnt/cd2
> doing parameter public = yes
> Processing section "[media]"
> doing parameter path = /media
> doing parameter public = yes
> Processing section "[tmp]"
> doing parameter path = /tmp
> doing parameter guest only = yes
> doing parameter public = yes
> doing parameter read only = no
> pm_process() returned Yes
> Attempting to find a passdb backend to match tdbsam (tdbsam)
> Found pdb backend tdbsam
> pdb backend tdbsam has a valid init
> lp_load_ex: refreshing parameters
> Freeing parametrics:
> params.c:pm_process() - Processing configuration file
> "/tmp/tmpVU8bHK/samba3/smb.conf"
> Processing section "[global]"
> doing parameter workgroup = SAMBA
> doing parameter security = user
> doing parameter passdb backend = smbpasswd:../testdata/samba3/smbpasswd
> tdbsam:../testdata/samba3/passdb.tdb ldapsam:tdb://samba3.ldb
> doing parameter debug level = 5
> INFO: Current debug levels:
> all: 5
> tdb: 5
> printdrivers: 5
> lanman: 5
> smb: 5
> rpc_parse: 5
> rpc_srv: 5
> rpc_cli: 5
> passdb: 5
> sam: 5
> auth: 5
> winbind: 5
> vfs: 5
> idmap: 5
> quota: 5
> acls: 5
> locking: 5
> msdfs: 5
> dmapi: 5
> registry: 5
> scavenger: 5
> dns: 5
> ldb: 5
> doing parameter netbios name = BEDWYR
> Processing section "[cd1]"
> doing parameter path = /mnt/cd1
> doing parameter public = yes
> Processing section "[cd2]"
> doing parameter path = /mnt/cd2
> doing parameter public = yes
> Processing section "[media]"
> doing parameter path = /media
> doing parameter public = yes
> Processing section "[tmp]"
> doing parameter path = /tmp
> doing parameter guest only = yes
> doing parameter public = yes
> doing parameter read only = no
> pm_process() returned Yes
> Attempting to find a passdb backend to match tdbsam (tdbsam)
> Found pdb backend tdbsam
> pdb backend tdbsam has a valid init
> Home server: BEDWYR
> Home server: BEDWYR
> Home server: BEDWYR
> Home server: BEDWYR
> Home server: BEDWYR
> Home server: BEDWYR
> /rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/bin/python/samba/netcmd/__init__.py:229:
> DeprecationWarning: BaseException.message has been deprecated as of Python
> 2.6
> self.message = message
> /rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/bin/python/samba/netcmd/__init__.py:97:
> DeprecationWarning: BaseException.message has been deprecated as of Python
> 2.6
> message = e.message
> Searching for dsServiceName in rootDSE failed: operations error at
> ../source4/dsdb/samdb/ldb_modules/rootdse.c:501
> Failed to find our own NTDS Settings DN in the ldb!
> Searching for dsServiceName in rootDSE failed: operations error at
> ../source4/dsdb/samdb/ldb_modules/rootdse.c:501
> Failed to find our own NTDS Settings DN in the ldb!
> Searching for dsServiceName in rootDSE failed: operations error at
> ../source4/dsdb/samdb/ldb_modules/rootdse.c:501
> Failed to find our own NTDS Settings DN in the ldb!
> Searching for dsServiceName in rootDSE failed: operations error at
> ../source4/dsdb/samdb/ldb_modules/rootdse.c:501
> Failed to find our own NTDS Settings DN in the ldb!
> Searching for dsServiceName in rootDSE failed: operations error at
> ../source4/dsdb/samdb/ldb_modules/rootdse.c:501
> Failed to find our own NTDS Settings DN in the ldb!
> ldb_map: Not mapping attribute 'sAMAccountName': 'convert_local' not set
> ldb_map: Not mapping attribute 'sAMAccountName': 'convert_local' not set
> ldb_map: Skipping attribute 'primaryGroupID': 'convert_operator' not set
> ldb_map: Skipping attribute 'primaryGroupID': 'convert_operator' not set
> ldb_map: Skipping attribute 'primaryGroupID': 'convert_operator' not set
> Searching for dsServiceName in rootDSE failed: operations error at
> ../source4/dsdb/samdb/ldb_modules/rootdse.c:501
> Failed to find our own NTDS Settings DN in the ldb!
> Searching for dsServiceName in rootDSE failed: operations error at
> ../source4/dsdb/samdb/ldb_modules/rootdse.c:501
> Failed to find our own NTDS Settings DN in the ldb!
> Searching for dsServiceName in rootDSE failed: operations error at
> ../source4/dsdb/samdb/ldb_modules/rootdse.c:501
> Failed to find our own NTDS Settings DN in the ldb!
> ldb_map: Not mapping attribute 'sambaUnicodePwd': no mapping found
> ldb_map: Not mapping attribute 'sAMAccountName': 'convert_local' not set
> ldb_map: Skipping attribute 'primaryGroupID': 'convert_operator' not set
> Searching for dsServiceName in rootDSE failed: operations error at
> ../source4/dsdb/samdb/ldb_modules/rootdse.c:501
> Failed to find our own NTDS Settings DN in the ldb!
> Searching for dsServiceName in rootDSE failed: operations error at
> ../source4/dsdb/samdb/ldb_modules/rootdse.c:501
> Failed to find our own NTDS Settings DN in the ldb!
> /rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/buildtools/wafsamba/samba_utils.py:397:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
> import md5
> tdbsam_open: Converting version 0.0 database to version 4.0.
> WARNING: database
> '/rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/st/s3dc/private/passdb.tdb.tmp'
> does not end in .[n]tdb: treating it as a TDB file!
> tdbsam_convert_backup: updated
> /rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/st/s3dc/private/passdb.tdb
> file.
> account_policy_get: tdb_fetch_uint32 failed for type 1 (min password
> length), returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 2 (password history),
> returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 3 (user must logon to
> change password), returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 4 (maximum password
> age), returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 5 (minimum password
> age), returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 6 (lockout duration),
> returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 7 (reset count
> minutes), returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 8 (bad lockout
> attempt), returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 9 (disconnect time),
> returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 10 (refuse machine
> password change), returning 0
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> nmbd child process 20354 exited with value 1
> winbindd child process 20355 exited with value 1
> smbd child process 20356 exited with value 0
> failed to start up environment 's3dc' at
> /rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/selftest/target/Samba.pm line
> 48.
> samba can't start up known environment 's3dc' at
> /rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/selftest/selftest.pl line 766.
> ....
> failed to start up environment 's3dc' at
> /rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/selftest/target/Samba.pm line
> 48.
> samba can't start up known environment 's3dc' at
> /rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/selftest/selftest.pl line 766.
> No IPv6 address will be assigned
> samba version 4.1.2 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2013
> Called with maxruntime 7500 - current ts 1386080743
> samba: using 'standard' process model
> invalid permissions on directory
> '/rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/st/dc/winbindd_socket': has
> 0750 should be 0755
> task_server_terminate: [Cannot create winbindd pipe directory]
> samba_terminate: Cannot create winbindd pipe directory
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> Failed to connect to ldap URL 'ldap://localdc' - LDAP client internal
> error: NT_STATUS_OBJECT_NAME_NOT_FOUND
> Failed to connect to 'ldap://localdc' with backend 'ldap': (null)
> Failed to connect to ldap://localdc - (null)
> tdbsam_open: Converting version 0.0 database to version 4.0.
> WARNING: database
> '/rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/st/s3dc/private/passdb.tdb.tmp'
> does not end in .[n]tdb: treating it as a TDB file!
> tdbsam_convert_backup: updated
> /rsrv/vol1/appinst/cd_coradm01/samba-4.1.2/st/s3dc/private/passdb.tdb
> file.
> account_policy_get: tdb_fetch_uint32 failed for type 1 (min password
> length), returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 2 (password history),
> returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 3 (user must logon to
> change password), returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 4 (maximum password
> age), returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 5 (minimum password
> age), returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 6 (lockout duration),
> returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 7 (reset count
> minutes), returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 8 (bad lockout
> attempt), returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 9 (disconnect time),
> returning 0
> account_policy_get: tdb_fetch_uint32 failed for type 10 (refuse machine
> password change), returning 0
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> could not ping winbindd!
> ...
>
> and to retry this part of code, again, again, again...
>
> I have logfile is you want
>
> thx
>
> Stéphane
>
> -----------------------------------
> Stéphane PURNELLE Admin. Systèmes et Réseaux
> Service Informatique Corman S.A. Tel : 00 32 (0)87/342467
>
> Jelmer Vernooij <jelmer at samba.org> wrote on 02/12/2013 12:07:46:
>
> > De : Jelmer Vernooij <jelmer at samba.org>
> > A : St?phane PURNELLE <stephane.purnelle at corman.be>,
> > Cc : samba-technical at samba.org, Andrew Bartlett <abartlet at samba.org>
> > Date : 02/12/2013 14:24
> > Objet : Re: Patch submission version 4
> >
> > On Mon, Dec 02, 2013 at 10:38:51AM +0100, St?phane PURNELLE wrote:
> > > Hi Jelmer,
> > >
> > > In attached file : correction that you have asked.
> >
> > Thanks!
> > > - I added a test about existing GID and UID for answering to a
> question of
> > > someone about duplicate gid and/or uid.
> > > - About ldbmessage2 construction is copied from user.py that use this
> > > pattern for posixAccount.
> > It would be good to move away from the ldbmessage2 approach at some
> point,
> > rather than using it in more places.
> >
> > > - for make test, I cannot test because for a unknow reason, winbind S3
>
> > > won't start :-(
> > What's the error you're getting?
> >
> > Cheers,
> >
> > Jelmer
> >
> > > -----------------------------------
> > > St?phane PURNELLE Admin. Syst?mes et R?seaux
> > > Service Informatique Corman S.A. Tel : 00 32
> (0)87/342467
> > >
> > > Jelmer Vernooij <jelmer at samba.org> wrote on 01/12/2013 22:13:05:
> > >
> > > > De : Jelmer Vernooij <jelmer at samba.org>
> > > > A : St?phane PURNELLE <stephane.purnelle at corman.be>,
> > > > Cc : Andrew Bartlett <abartlet at samba.org>, samba-technical at samba.org
> > > > Date : 01/12/2013 22:13
> > > > Objet : Re: Patch submission version 4
> > > >
> > > > Hi St?phane,
> > > >
> > > > On Wed, Oct 09, 2013 at 12:20:21PM +0200, St?phane PURNELLE wrote:
> > > > > In attached file, patch in GIT format with some typo correction
> > > > >
> > > > > could you review and push in your master (samba4.1) if ok.
> > > >
> > > > I think the general idea behind this is a good. Some minor
> > > > comments, mostly style related:
> > > >
> > > > +
> > > > + """ if gid_number, we must verify if not already exist
> in
> > > SAM
> > > > + """
> > > >
> > > > Please use # for comments, rather than unassigned strings. The
> latter
> > > > are only used for docstrings.
> > > >
> > > > + if gid_number:
> > > > + domain_dn = samdb.domain_dn()
> > > > + res = samdb.search(domain_dn,
> > > > scope=ldb.SCOPE_SUBTREE,
> > > > + expression=("(&(gidNumber=%i))"
> > > > + % (gid_number)),attrs=["gid"])
> > > > +
> > > > + if (len(res) != 0):
> > > > + raise Exception("gidNumber already exist\n")
> > > >
> > > > Is it actually necessary to check this, or would we just get an
> > > > exception if the gidNumber was already used considering the
> > > >
> > > > + samdb.newgroup(groupname, groupou=groupou, grouptype = gtype,
> > > > Please don't add spaces in between for keyword arguments
> > > > (grouptype=gtype rather than "grouptype = gtype").
> > > >
> > > > Related to this, I realize this might be a pattern you've copied
> from
> > > > elsewhere, but do we really need the ldbmessage2 construction? Is
> > > > there any reason we can't just do those assignments directly in the
> > > LdbMessage
> > > > that is being added?
> > > >
> > > > Cheers,
> > > >
> > > > Jelmer
> > > >
> > > > >
> > > > > -----------------------------------
> > > > > St?phane PURNELLE Admin. Syst?mes et
> R?seaux
> > > > > Service Informatique Corman S.A. Tel : 00 32
> > > (0)87/342467
> > > > >
> > > > > Andrew Bartlett <abartlet at samba.org> wrote on 09/10/2013 04:44:25:
> > > > >
> > > > > > De : Andrew Bartlett <abartlet at samba.org>
> > > > > > A : St?phane PURNELLE <stephane.purnelle at corman.be>,
> > > > > > Cc : samba-technical at samba.org
> > > > > > Date : 09/10/2013 04:51
> > > > > > Objet : Re: Patch submission version 4
> > > > > >
> > > > > > On Wed, 2013-10-02 at 13:32 +0200, St?phane PURNELLE wrote:
> > > > > > > Independent of usage of posixAccount objectclass and RFC2307,
> > > > > uidNumber,
> > > > > > > gidNumber, ...
> > > > > > >
> > > > > > > This patchset permit to set uidNumber and gidNumber using
> > > samba-tool
> > > > > and
> > > > > > > verify if uidNumber or gidNumber is already exist or not.
> > > > > >
> > > > > > Thank you for looking into this.
> > > > > >
> > > > > > One issue is that we cannot know if a uid or gid is in use, if
> the
> > > > > > directory is not in a good replication state right now. So,
> while
> > > a
> > > > > > very valuable too, it isn't able to be a perfect failsafe.
> > > > > >
> > > > > > On the patch itself, you have a number of style and indenting
> > > issues.
> > > > > > In particular, make sure you always have a space after a , and
> that
> > > you
> > > > > > lay the functions out in the same way as other examples in the
> code.
> > > > > >
> > > > > > It would also really help if you could also commit the changes
> into
> > > a
> > > > > > git repository (with git commit -s), and run git-format-patch -1
> to
> > > > > > produce the patch. That way, we have your signed off patch with
>
> > > commit
> > > > > > message all sorted, ready to get into master.
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Andrew Bartlett
> > > > > > --
> > > > > > Andrew Bartlett
> > > > > > http://samba.org/~abartlet/
> > > > > > Authentication Developer, Samba Team http://samba.org
> > > > > > Samba Developer, Catalyst IT
> > > http://catalyst.net.nz
> > > > > >
> > > > > >
> > > >
> > > >
> >
> >
> >
> > --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20131206/2c5bb0e3/attachment.pgp>
More information about the samba-technical
mailing list