[CentOS-docs] HowTo: Samba with ADS security in CentOS 5

Tue Oct 2 07:36:50 UTC 2007
Christoph Maser <cmr at financial.com>

Am Dienstag, den 02.10.2007, 09:32 +0200 schrieb Daniel Lindgren:
> Chris, have you verified that it works? The howtos I've seen look
> great but don't work, at least not with Samba 3.0.23c that is included
> in CentoS 5 (yum updated after install).
>
> If your two commands is all it takes to access samba shares with ads
> security in a WIndows Server 2003 SP2 environoment it's amazing. I
> don't know much about system-config-securitylevel, but if it fixes
> krb5.conf, nsswitch.conf and smb.conf it should work.
>
> For me it took manual editing of krb5.conf, nsswitch.conf, smb.conf
> and updating to samba 3.0.26 to make it work.


These commands work for me, i use them in my postinstall-scripts. I have
a Windows Server 2003  SP2. The first command sets up kerberos, the
second samba/winbindd. We have ~30 CentOS installations (4 and 5) using
winbindd sucessfully all set up with system-config-securitylevel.

Chris


financial.com AG

Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553