Univention Bugzilla – Attachment 4431 Details for
Bug 27494
setup-s4: ldapmodify im Samba4 secondary Slave provision scheitert aktuell an referals
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch verwendet ldap_master und ldap_master_port bei ldapmodify
setup-s4.patch1 (text/plain), 1.44 KB, created by
Arvid Requate
on 2012-06-07 11:36:52 CEST
(
hide
)
Description:
Patch verwendet ldap_master und ldap_master_port bei ldapmodify
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2012-06-07 11:36:52 CEST
Size:
1.44 KB
patch
obsolete
>--- /usr/share/univention-samba4/scripts/setup-s4.sh.orig 2012-05-29 18:05:30.000000000 +0200 >+++ /usr/share/univention-samba4/scripts/setup-s4.sh 2012-05-29 18:19:39.000000000 +0200 >@@ -256,14 +256,14 @@ > reverse_ldif_sambaGroupType_2_to_4="${ldif_sambaGroupType_2_to_4//sambaGroupType: 4/sambaGroupType: 2}" > > reverse_sambaGroupType_change() { >- echo "$reverse_ldif_sambaGroupType_5_to_4" | ldapmodify -D "$binddn" -w "$bindpwd" | tee -a "$LOGFILE" >- echo "$reverse_ldif_sambaGroupType_2_to_4" | ldapmodify -D "$binddn" -w "$bindpwd" | tee -a "$LOGFILE" >+ echo "$reverse_ldif_sambaGroupType_5_to_4" | ldapmodify -h "$ldap_master" -p "$ldap_master_port" -D "$binddn" -w "$bindpwd" | tee -a "$LOGFILE" >+ echo "$reverse_ldif_sambaGroupType_2_to_4" | ldapmodify -h "$ldap_master" -p "$ldap_master_port" -D "$binddn" -w "$bindpwd" | tee -a "$LOGFILE" > } > trap reverse_sambaGroupType_change EXIT > > ## now adjust sambaGroupType 2 and 5 >- echo "$ldif_sambaGroupType_5_to_4" | ldapmodify -D "$binddn" -w "$bindpwd" | tee -a "$LOGFILE" >- echo "$ldif_sambaGroupType_2_to_4" | ldapmodify -D "$binddn" -w "$bindpwd" | tee -a "$LOGFILE" >+ echo "$ldif_sambaGroupType_5_to_4" | ldapmodify -h "$ldap_master" -p "$ldap_master_port" -D "$binddn" -w "$bindpwd" | tee -a "$LOGFILE" >+ echo "$ldif_sambaGroupType_2_to_4" | ldapmodify -h "$ldap_master" -p "$ldap_master_port" -D "$binddn" -w "$bindpwd" | tee -a "$LOGFILE" > > ## commit samba3 smb.conf > mkdir -p /var/lib/samba3/etc/samba
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 27494
: 4431