sambaldap
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sambaldap [2007/08/05 14:16] – 88.243.4.250 | sambaldap [2007/08/05 14:21] (current) – old revision restored andi | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Samba with LDAP ====== | ||
+ | For Samba I don't go through the hassle of converting existing info in the smbpasswd file - instead the accounts will be added with '' | ||
+ | |||
+ | Before we can add Samba accounts to the [[LDAP]] Server we need a schemafile wich is available from the samba-doc package: | ||
+ | |||
+ | #> apt-get install samba-doc | ||
+ | #> zcat / | ||
+ | > / | ||
+ | |||
+ | Edit ''/ | ||
+ | |||
+ | Now we can reconfigure Samba - you should stop Samba before doing so. Now edit ''/ | ||
+ | |||
+ | < | ||
+ | passdb backend = ldapsam | ||
+ | ldap server | ||
+ | ldap admin dn = cn=admin, | ||
+ | ldap suffix | ||
+ | </ | ||
+ | |||
+ | Restart Samba and give it the LDAP admin password with '' |