Hi, I've set up my share of samba+ldap servers, but today I needed a quick way to set up a pdc I'm not going to admin so I thought I'd try to set up SuSE 9.1 pro as simple as possible. 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? Is this possible with any SuSE 9.1 samba w/(ldap|mysql|smbpasswd|tdb) combo? Many thanks Tarjei
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. (*) 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.
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
May a non-Norwegian answer?
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, Thanks for the info. Although I have been able to do dhcp and fileserver with no trouble, I have never tried to do dns but I would like to.
2) Remove bind and install dnsmasq (google dnsmasq for link). It's Why? Just curious
3) Install samba etc. Then use webmin's usermodule for adding and what about Swat?
removing users. Webmin may be configured to add and modify a user in both /etc/passwd and smbpasswd. now that is cool. I've been doing them separately
DNSMASQ will save you hours instead of using bind+dhcpd+ tsig-keys etc. One of my coworkers said that dns was hard to do so if this makes the job easier, I will try it
Damon Register
participants (3)
-
Damon Register
-
Jonas Helgi Palsson
-
Tarjei Huse