Bug 27111 - sambaRID direkt ändern
sambaRID direkt ändern
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 3.0
Other Linux
: P5 enhancement (vote)
: UCS 3.0-2
Assigned To: Stefan Gohmann
Felix Botner
: interim-1
Depends on:
Blocks: 27112
  Show dependency treegraph
 
Reported: 2012-05-14 08:00 CEST by Stefan Gohmann
Modified: 2012-07-20 15:24 CEST (History)
0 users

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 Stefan Gohmann univentionstaff 2012-05-14 08:00:19 CEST
Für Bug #27105 wäre es gut, wenn die Samba RID direkt per UDM Lib geändert werden kann.
Comment 1 Stefan Gohmann univentionstaff 2012-05-14 08:20:56 CEST
Das wurde implementiert.
Comment 2 Stefan Gohmann univentionstaff 2012-05-15 12:20:27 CEST
Für Windows Rechner ist die RID jetzt auch änderbar.
Comment 3 Felix Botner univentionstaff 2012-06-14 15:17:37 CEST
Bei computers/windows_domaincontroller Objekten kann die RID zwar gesetzt werden, im LDAP ist dann auch eine korrekte SID, der UDM kann dann jedoch die RID nicht mehr ermittelt.

-> univention-ldapsearch -LLL cn=windom sambaSID
dn: cn=windom,cn=computers,dc=i386,dc=de
sambaSID: S-1-5-21-2677020960-2779081959-2014209857-2408

-> udm computers/windows_domaincontroller list --filter name=windom| grep RID
  sambaRID: None


Sonst ok, an den UDM Objekten

users/user
groups/group
computers/memberserver
computers/windows_domaincontroller
computers/windows
computers/domaincontroller_slave
computers/domaincontroller_backup
computers/domaincontroller_master

kann die sambaRID gesetzt werden. Das LDAP Attribut sambaSID wird dann entsprechend angepasst.


Changelog OK
Comment 4 Stefan Gohmann univentionstaff 2012-06-15 06:48:45 CEST
Ist angepasst:

root@master1711:~# udm computers/windows_domaincontroller list --filter cn=w1 | grep sambaRID
  sambaRID: 5040
root@master1711:~# udm computers/windows_domaincontroller modify --dn "cn=w1,dc=deadlock171,dc=local" --set sambaRID=5041
Object modified: cn=w1,dc=deadlock171,dc=local
root@master1711:~# udm computers/windows_domaincontroller list --filter cn=w1 | grep sambaRID
  sambaRID: 5041
root@master1711:~#
Comment 5 Felix Botner univentionstaff 2012-06-15 09:18:26 CEST
OK, funktioniert.
Comment 6 Stefan Gohmann univentionstaff 2012-07-20 15:24:12 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

If this error occurs again, please use "Clone This Bug".