[PATCH] Allow posixUser LDAP attributes to be optional on classicupgrade

Chirana Gheorghita Eugeniu Theodor office at adaptcom.ro
Sun Nov 11 04:58:04 MST 2012


Hello,
The patch seemed to work but now:

Reading WINS database
Cannot open wins database, Ignoring: [Errno 2] No such file or directory:
'/samba/s3/private/wins.dat'
lpcfg_load: refreshing parameters from /samba/etc/smb.conf
params.c:pm_process() - Processing configuration file "/samba/etc/smb.conf"
Processing section "[globals]"
Processing section "[netlogon]"
Processing section "[sysvol]"
pm_process() returned Yes
lpcfg_load: refreshing parameters from /samba/etc/smb.conf
params.c:pm_process() - Processing configuration file "/samba/etc/smb.conf"
Processing section "[global]"
Processing section "[netlogon]"
Processing section "[sysvol]"
pm_process() returned Yes
ERROR(<class 'samba.provision.ProvisioningError'>): uncaught exception -
ProvisioningError: guess_names: Realm 'AVIAMOTORS.RO' must not be equal to
short domain name 'AVIAMOTORS.RO'!
  File "/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
line 175, in _run
    return self.run(*args, **kwargs)
  File "/samba/lib64/python2.6/site-packages/samba/netcmd/domain.py", line
1318, in run
    useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
  File "/samba/lib64/python2.6/site-packages/samba/upgrade.py", line 841,
in upgrade_from_samba3
    use_ntvfs=use_ntvfs, skip_sysvolacl=True)
  File "/samba/lib64/python2.6/site-packages/samba/provision/__init__.py",
line 1868, in provision
    sitename=sitename, rootdn=rootdn)
  File "/samba/lib64/python2.6/site-packages/samba/provision/__init__.py",
line 560, in guess_names
    raise ProvisioningError("guess_names: Realm '%s' must not be equal to
short domain name '%s'!" % (realm, domain))
The connection to the LDAP server was closed


Is there anything related to my smb.conf?

On Sun, Nov 11, 2012 at 3:33 AM, Andrew Bartlett <abartlet at samba.org> wrote:

> The attached patch should make all the LDAP attributes optional, that we
> hope to possibly migrate from a ldapsam backend.
>
> Please let me know if it works so I can get jelmer or another member of
> the team to review it for me.
>
> Thanks,
>
> Andrew Bartlett
>
> --
> Andrew Bartlett                                http://samba.org/~abartlet/
> Authentication Developer, Samba Team           http://samba.org
>
>


-- 
___________________________________________________
Cu stima/Best regards/Mit freundlichen Grüßen/最好的问候,

Chirana-Gheorghita Eugeniu-Theodor
Bucharest, Romania

e-mail : office at adaptcom.ro
mobile: 0743 698721
            0747 447675


More information about the samba-technical mailing list