L.P.H. van Belle
2014-May-02 14:38 UTC
[Samba] small question howto get the OU Layout ( base )
Hai, ? Just a small question, how can i get the OU layout of the base with samba-tool or other tool. I tried a lot but im not finding it. or any other way is also ok, as long is i dont need to login on windows ;-) ? my closeds was :? cat /etc/krb5.conf | grep default_realm | cut -d= -f2 but that places a space in front and im not a scripting king?:-/ ? What i need is the output like. ? DC=INTERNAL,DC=DOMAIN,DC=TLD ? I need it for my zarafa schema update script and my script calls the zarafa_schema_add.sh ( version 1.5) Works great, now i need to automate it with my main install script. . ;-) ? ? Greetz, ? Louis ?
L.P.H. van Belle
2014-May-02 15:00 UTC
[Samba] small question howto get the OU Layout ( base )
found it... ls /var/lib/samba/private/sam.ldb.d/ | egrep -v "metadata|FORESTDNSZONES|DOMAINDNSZONES|SCHEMA|CONFIGURATION" | cut -d. -f1 but thanks anyway ;-) Louis>-----Oorspronkelijk bericht----- >Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org] >Namens L.P.H. van Belle >Verzonden: vrijdag 2 mei 2014 16:39 >Aan: samba at lists.samba.org >Onderwerp: [Samba] small question howto get the OU Layout ( base ) > >Hai, >? >Just a small question, how can i get the OU layout of the base >with samba-tool or other tool. >I tried a lot but im not finding it. >or any other way is also ok, as long is i dont need to login >on windows ;-) >? >my closeds was :? cat /etc/krb5.conf | grep default_realm | >cut -d= -f2 >but that places a space in front and im not a scripting king?:-/ >? >What i need is the output like. >? >DC=INTERNAL,DC=DOMAIN,DC=TLD >? >I need it for my zarafa schema update script and my script >calls the zarafa_schema_add.sh ( version 1.5) >Works great, now i need to automate it with my main install >script. . ;-) >? >? >Greetz, >? >Louis >? >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
Apparently Analagous Threads
- lost rfc2307 settings in AD Manager.
- [Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?
- samba 4 and zarafa 7.x
- samba 4, joining a windows 2008R2 domain as DC. ubuntu 12.04 withsernet packages ( small howto ) W.I.P.
- samba 4.1.7 member server errors trying to access share(s)