The Samba-Bugzilla – Attachment 7394 Details for
Bug 8635
Samba 4 denies Linux/Samba single sign on
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Samba4 group add - msilveira version
s4group (text/plain), 681 bytes, created by
Mauricio Silveira
on 2012-03-15 18:37:45 UTC
(
hide
)
Description:
Samba4 group add - msilveira version
Filename:
MIME Type:
Creator:
Mauricio Silveira
Created:
2012-03-15 18:37:45 UTC
Size:
681 bytes
patch
obsolete
>#!/bin/sh >GIDMODE="rid" >S4SPREFIX="/usr/sbin" >S4BPREFIX="/usr/bin" >S4GROUP="$1" >S4HOST="localhost" >S4DNDOMAIN="DC=SOGO,DC=LOCAL" >S4LDAPURI="ldap://mailxchange.sogo.local" >echo "Creating s4 posix group ${S4GROUP}" >${S4SPREFIX}/samba-tool group add "${S4GROUP}" >if [ "x$GIDMODE" == "xrid" ]; then > GGID=$( ${S4BPREFIX}/wbinfo -n "${S4GROUP}" | sed -e 's,.*-\([[:digit:]]\+\).*,\1,g' ) >else > GGID=$( ${S4BPREFIX}/wbinfo --group-info="${S4GROUP}" | cut -d ":" -f 3 ) >fi > >echo "dn: cn=${S4GROUP},cn=Users,${S4DNDOMAIN} >changetype: modify >add:objectclass >objectclass: posixGroup >- >add: gidNumber >gidNumber: ${GGID}" | \ >ldapmodify -H ${S4LDAPURI} > >echo "${S4GROUP} rfc2307-ified"
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 Raw
Actions:
View
Attachments on
bug 8635
:
7329
|
7330
| 7394 |
7395
|
7396
|
7407