lør, 02,.10.2004 kl. 15.34 +0200, skrev Jonas Helgi Palsson:
On Saturday 02 October 2004 15:01, Tarjei Huse wrote:
However, it seems to me that yast does not offer a way to admin users so that when you add a local user a user will be created in samba as well. Is this true? If not, how can I configure Yast so that I may admin my users there and get them working in a windowscontext as well?
I have not looked at it in great detail(*), but if you tell yast to use ldap for usermanagement, you will get "samba attributes" option.
Thanks for your input. I gave up this option. I'm actually quite amaized that SuSE doesn't provide a more polished package to providing a simple SME setup for a simple server. I wish they could fix this :-( Anyhow. For those who wants to get to a working solution in a simple network with a SuSE / Linux box acting as a dns, dhcp and fileserver, here's how: 1) Install SuSE (or some other darn simple Dist). 2) Remove bind and install dnsmasq (google dnsmasq for link). It's provided with an rpm. Dnsmasq is a simple caching dnsserver + dhcpserver that gives you reverse mapping of dhcpips and serves up local hostnames from /etc/hosts. This gives you a propper dns/dhcp solution faster than you can say whats-a-ttl. 3) Install samba etc. Then use webmin's usermodule for adding and removing users. Webmin may be configured to add and modify a user in both /etc/passwd and smbpasswd. The sad ting is that this cannot just be setup via yast :/ But, (this cannot be said enough times) : DNSMASQ will save you hours instead of using bind+dhcpd+ tsig-keys etc. Tarjei
(*) I tried it on SLES 9, to use yast to manage my ldap, samba, dns and mail. It b0rkd the whole system :) Now there are been bugfixes to yast but I do not dare to try it again :)
regards Jonas
-- Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. -Andrew S. Tanenbaum. Computer Networks.
-- Med vennlig hilsen Tarjei Huse Rådgiver Bergfald & Co AS Telefon: 23 00 05 90 Mobiltelefon: 920 63 413 www.bergfald.no