Univention Bugzilla – Attachment 7802 Details for
Bug 41765
ucs-school-create_windows_computer picks a random school
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
41765.patch (text/plain), 776 bytes, created by
Florian Best
on 2016-07-14 15:09:05 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-07-14 15:09:05 CEST
Size:
776 bytes
patch
obsolete
>diff --git a/univention-ldb-modules/ucs-school-create_windows_computer b/univention-ldb-modules/ucs-school-create_windows_computer >index b731d18..d4a0fd4 100755 >--- a/univention-ldb-modules/ucs-school-create_windows_computer >+++ b/univention-ldb-modules/ucs-school-create_windows_computer >@@ -1,6 +1,11 @@ > #!/bin/sh >+. /usr/share/ucs-school-lib/base.sh >+ou="$(school_ou)" >+if [ -z "$ou" ]; then >+ ou=$(school_ou "$(/usr/sbin/univention-config-registry get 'dhcpd/ldap/base')") >+fi > samba4_addmachine=$(/usr/sbin/univention-config-registry get "samba4/addmachine") > /usr/bin/test "$samba4_addmachine" = "deny" && exit 2 >-/usr/sbin/umc-command "$@" || exit 1 >+/usr/sbin/umc-command "$@" -o "school=$ou" || exit 1 > /usr/bin/test "$samba4_addmachine" = "dummy" && exit 3 > exit 0
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 41765
:
7802
|
7803
|
7924