Bug 21199 - Probleme bei Samba4 wenn DNS Domain und Windows Domain Name gleich ist
Probleme bei Samba4 wenn DNS Domain und Windows Domain Name gleich ist
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 2.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Arvid Requate
Felix Botner
:
Depends on:
Blocks: 20916
  Show dependency treegraph
 
Reported: 2011-01-14 09:37 CET by Felix Botner
Modified: 2023-03-25 06:49 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2011-01-14 09:37:43 CET
profile:
#### UCS-Profile ####


# [Optionen]
windows_domain='I386'

hostname='samba4'

ldap_base='dc=i386'

#root_password=''

domainname='i386'

97univention-s4-connector.inst join:
Configure 97univention-s4-connector.inst
ERROR(runtime): uncaught exception - NT_STATUS_OBJECT_NAME_NOT_FOUND
  File "/usr/lib/python2.4/site-packages/samba/netcmd/__init__.py", line 134, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/samba/netcmd/user.py", line 46, in run
    net.create_user(name)
ERROR(exceptions.Exception): Failed to add members "ucs-s4sync" to group "Domain Admins" - Unable to find group "Domain Admins"
  File "/usr/lib/python2.4/site-packages/samba/netcmd/group.py", line 146, in run
    samdb.add_remove_group_members(groupname, listofmembers, add_members_operation=True)
  File "/usr/lib/python2.4/site-packages/samba/samdb.py", line 196, in add_remove_group_members
    raise Exception('Unable to find group "%s"' % groupname)
ERROR(assert): uncaught exception
  File "/usr/lib/python2.4/site-packages/samba/netcmd/__init__.py", line 134, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/samba/netcmd/enableaccount.py", line 60, in run
    samdb.enable_account(filter)
  File "/usr/lib/python2.4/site-packages/samba/samdb.py", line 82, in enable_account
    assert(len(res) == 1)
Configure 98univention-pkgdb-tools.inst
Setting repository/online
Create repository/mirror


/var/log/univention/samba4-provision.log:
  import samba.registry
ProvisioningError: guess_names: Realm 'I386' must not be equal to short domain name 'I386'!
Comment 1 Stefan Gohmann univentionstaff 2011-01-17 15:14:08 CET
Ggf
Comment 2 Arvid Requate univentionstaff 2011-01-17 18:27:09 CET
Der univention-installer im release-scope ucs_2.4-0-samba4 enthält jetzt einen entsprechenden Test. DVD ist neu gebaut.
Comment 3 Felix Botner univentionstaff 2011-01-18 10:01:04 CET
OK, funktioniert, wenn die DNS und Windows Domäne gleich lauten, bekommt man nun einen Hinweis und es geht erst weiter, wenn die Einstellungen korrekt sind.