Univention Bugzilla – Attachment 4630 Details for
Bug 28373
3.0-2: Nach samba4 DC rejoin können lokal keine samba Benutzer angelegt werden
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch liest rIDNextRID aus und gibt es beim join vor
keep-existing-rIDNextRID.patch (text/plain), 1.32 KB, created by
Arvid Requate
on 2012-08-30 10:44:26 CEST
(
hide
)
Description:
Patch liest rIDNextRID aus und gibt es beim join vor
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2012-08-30 10:44:26 CEST
Size:
1.32 KB
patch
obsolete
>diff -Nuarp src/samba4-4.0.0~beta4/source4/scripting/python/samba/join.py samba4-4.0.0~beta4/source4/scripting/python/samba/join.py >--- src/samba4-4.0.0~beta4/source4/scripting/python/samba/join.py 2011-12-13 19:42:56.000000000 +0100 >+++ samba4-4.0.0~beta4/source4/scripting/python/samba/join.py 2011-12-23 03:51:11.000000000 +0100 >@@ -141,6 +141,14 @@ class dc_join(object): > ctx.managedby = None > ctx.subdomain = False > >+ ctx.next_rid = None >+ if ctx.keep_existing: >+ res = ctx.samdb.search(base=ctx.promote_from_dn, >+ expression='(&(CN=RID Set)(rIDNextRID=*))', >+ attrs=["rIDNextRID"]) >+ if res: >+ ctx.next_rid = res[0]["rIDNextRID"][0] >+ > def del_noerror(ctx, dn, recursive=False): > if recursive: > try: >@@ -648,6 +656,7 @@ class dc_join(object): > schemadn=ctx.schema_dn, configdn=ctx.config_dn, > serverdn=ctx.server_dn, domain=ctx.domain_name, > hostname=ctx.myname, domainsid=ctx.domsid, >+ next_rid=ctx.next_rid, > machinepass=ctx.acct_pass, serverrole="domain controller", > sitename=ctx.site, lp=ctx.lp, ntdsguid=ctx.ntds_guid, > use_ntvfs=ctx.use_ntvfs, dns_backend=ctx.dns_backend)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 28373
: 4630