[Samba] Script repository?
robert at ruegner.org
Thu May 6 22:11:28 GMT 2004
Tony Whitmore schrieb:
> RRuegner wrote:
>> the use of this scripts depends on your setup, and they are not equal
>> to ever nix system, so study samba man, for ldap you find examples
>> merged from idealix in the samba source
> I think the point is more that, given a large enough selection of
> scripts, people could browse through them, see how other people do
> things and discover new ways of using existing features. I don't think
> anyone would reasonably expect to lift someone else's configuration file
> and scripts and use them without tweaking!
sorry if you have samba loaded from a linux distro, you have enough
examples for a normal setup included, what description do you need for
i.e useradd , man useradd tells you everything you need.
for a standart setup you only need normal linux system funktions
no magic is here, and no special scripting.
This is another case i. example with ldap , but you will find
examples in the sources too, what more do you need?
samba comes with the setup tool swat, in serveral distros
there are other setup tools ( i took a look at suse 9.1 , which i cant
recommend in a whole, but their new samba setup tool in yast is as easy
as every windows gui )
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd -r %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/bin/gpasswd -a %u %g
delete user from group script = /usr/bin/gpasswd -d %u %g
set primary group script = /usr/sbin/usermod -g '%g' '%u'
see here for suse 9 linux , all normal system parameters with expansion
from samba which you can find in man smb.conf
as i said before this might be a little bit different with other nixes
and depends to your passwd backend, tdb,ldap etc
if you search tweaks etc why dont use google , you will find everything,
which might be helpfull, it is also also allowed to read a book about
samba ( you dont believe i also read books about windows ), after all i
think the samba team will be happy for every new
feature which is usefull for the code, this is what
i felt mailing with them which is working in real but sometimes not in
samba is one of the best working gnu stuff exist, if you wanna give
something to them wich pumps up the code just do it !
dont forget tweaking setups is one of the great thing with open source,
it pushed my computer knowledge , in my opinion it is not very
usefull setting up server without having understand how it works ( this
is the way of many so called ms certfullieifhavecreatedtheinternetadmins
, sorry for the others which exist too )
play with the code ask for help , have fun , have community , struggle
with users and coders this is what open source made off
and makes it stronger than everything others
in hoc signum vinces *g
More information about the samba