[SLE] [Fwd: Multiple workgroups (was Dear Ol' Samba)]
David is the co-author of Oreilly book "Using Samba". More to come... Cheers, Nadeem David Collier-Brown wrote:
Nadeem Hasan wrote:
This was posted on SuSE List.
Could you forward this answer to that SuSE list? I'm sending it to you and samba@samba.org...
Bruce wrote:
Does anyone know if it is possible to run multiple versions of the smbd daemon (samba/smb) to support multiple Windoze WORKGROUPS from the one machine?
It's barely possible, by running two separate sambas. Another commentator tried it, and had the expected severe but non-fatal difficulties(;-))
The reason is that we have two workgroups - ADMIN and RIFRAF and I need to be able to serve resources to both, ideally from the one machine.
It's a lot easier to tell all your user that there is a new workgroup, possibly named after the whole company or division, and two servers named ADMIN and RIFRAF. Those servers would have all the shares that used to live on multiple servers in those workgroups.
This is fully supported by Samba.
[A note to the list: in most printing of Using Samba, I had smbd supporting multiple workgroups. This was an error, due to my klutzing the test! It's fixed in later versions, which aren't as misleading.]
Migration to a single-server, single workgroup configuration is particularly easy: make the old server's share read-only, copy it to a r/o share on the new server, and then change that to r/w. You can do much of this during working hours, with adequate notice, except for people's home directories. And even them, if your users are kind (;-))
--dave -- David Collier-Brown, | Always do right. This will gratify some people 185 Ellerslie Ave., | and astonish the rest. -- Mark Twain Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb@canada.sun.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Thanks all for your replies. Likewise http://www.samba.org is also very vague about it. The typical way is run another workgroup altogether. This seems to be the easiest. I did try 'startproc'ing multiple copies of smbd and nmbd however the pids are written to files and the option to set a pid name in startproc seems to have no affect on the smbd.pid name created for smbd. Thus only one copy is alive. Multiple processes are created and although thwy have separate IP addresses (on eth aliases), the process errors. (as shown in log.smb) Likewise include /dir/workgroup.%L where workgroup.rifrafserver contains workgroup = RIFRAF doesn't work!! Nice try there. It defaults to WORKGROUP and refuses to change. A proposal. a modification to samba/smb to allow either workgroup = ADMIN. RIFRAF, WHATEVER ... ie multiple names or mbd -w workgroupnameoption -j /path/pid_file_name -u IPaddressOrInterface Only a late night thought. Should we send it to samba.org??!! Regards, Bruce. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Hi to all.... Is there any way to avoid when changing a password for a "x" user the double question about the password ? It's to implement a script to change user's password automatically ? Thanks. --ed -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Hi, On Wed, Oct 11 2000 at 11:27 -0600, Linux News User wrote:
Is there any way to avoid when changing a password for a "x" user the double question about the password ?
It's to implement a script to change user's password automatically ?
Try `echo user:password |chpasswd'. Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (4)
-
bruce@toorak.com
-
linux@ods.co.cr
-
nhasan@nadmm.com
-
stefan.troeger@wirtschaft.tu-chemnitz.de