L.P.H. van Belle
2014-Mar-26 16:00 UTC
[Samba] easy - automated setup : Debian Wheezy with sernet samba 4.1
Hai, ? Im setting up scripted samba4 installs to make things more uniform installations. It saves time, and errors, and it will be easier to trace bugs. ? This is the first one and more are comming. ? ? How does it work and what do you need and what do you get in the end. ? What you get. Debian wheezy, with sernet samba4.1 - server setup as AD-DC? ( the first server with samba4 ) -?Bind9_dlz is used and reverse zone is auto created. - NTP server setup. - kerberos test scripted same as the hostname tests. - info is in the script, what to put where. - needed rights are fixed, where incorrect was found. ? ? Howto 1) install a clean debian wheezy, only ssh, more is possible, but i tested with a very clean server. 2) get it : wget? --no-check-certificate https://secure.bazuin.nl/scripts/debianWheezy-sernetSamba4-setup.sh?&& chmod +x debianWheezy-sernetSamba4-setup.sh?&& ./debianWheezy-sernetSamba4-setup.sh 3) configure it?? : nano debianWheezy-sernetSamba4-setup.sh 4) run it.?? ./debianWheezy-sernetSamba4-setup.sh ? ToDo. In the next release of the script, it wil be Debian and Ubuntu compatible. And i'll build in a choose which samba you want to install. For example. Debian + samba from backports Debian + samba from sernet Debian + samba from Debian ? Ubuntu + samba from sernet? ( should work now already, but not tested. ) ?** you need to change the script a bit for this. Lines 210 + 212 and 213 ??? change debian to ubuntu?? and wheezy to precise?? ?????** other ubuntu should work also but just try it and report it back please. ? So try it and report back to me if you have suggestions. ? ? Greetz, ? Louis ? ?
Hello, I've been trying to get samba to work across multiple subnets for some time now. The relevant portions of my smb.conf are below. browsing to smb://hostname works, and shares are listed coming from any subnet. smb:/ only lists available shares when browsing from the subnet that samba lives on. We've got several here and this is something I need to have working. wins should be listening and functional but something must be configured wrong, and I'm stumped. wins support = Yes domain master = yes local master = yes preferred master = yes os level = 255 -- Andy
L.P.H. van Belle
2014-Mar-27 07:09 UTC
[Samba] easy - automated setup : Debian Wheezy with sernet samba 4.1
Good one. i only did check and i found it.. testparm -v | grep sig ntp signd socket directory samba-tool testparm --verbose | grep sig ntp signd socket directory = /var/lib/samba/ntp_signd so 2 tools to test parameters with different outcome. Is this by design and if so why? anyone?>-----Oorspronkelijk bericht----- >Van: Rowland Penny [mailto:rowlandpenny at googlemail.com] >Verzonden: woensdag 26 maart 2014 19:39 >Aan: L.P.H. van Belle >Onderwerp: Re: [Samba] easy - automated setup : Debian Wheezy >with sernet samba 4.1 > >On 26/03/14 16:00, L.P.H. van Belle wrote: >> Hai, >> >> Im setting up scripted samba4 installs to make things more >uniform installations. >> It saves time, and errors, and it will be easier to trace bugs. >> >> This is the first one and more are comming. >> >> >> How does it work and what do you need and what do you get in the end. >> >> What you get. >> Debian wheezy, with sernet samba4.1 >> - server setup as AD-DC ( the first server with samba4 ) >> - Bind9_dlz is used and reverse zone is auto created. >> - NTP server setup. >> - kerberos test scripted same as the hostname tests. >> - info is in the script, what to put where. >> - needed rights are fixed, where incorrect was found. >> >> >> Howto >> 1) install a clean debian wheezy, only ssh, more is >possible, but i tested with a very clean server. >> 2) get it : >> wget --no-check-certificate >https://secure.bazuin.nl/scripts/debianWheezy-sernetSamba4-setu >p.sh && chmod +x debianWheezy-sernetSamba4-setup.sh && >./debianWheezy-sernetSamba4-setup.sh >> 3) configure it : nano debianWheezy-sernetSamba4-setup.sh >> 4) run it. ./debianWheezy-sernetSamba4-setup.sh >> >> ToDo. >> In the next release of the script, it wil be Debian and >Ubuntu compatible. >> And i'll build in a choose which samba you want to install. >> For example. >> Debian + samba from backports >> Debian + samba from sernet >> Debian + samba from Debian >> >> Ubuntu + samba from sernet ( should work now already, but >not tested. ) >> ** you need to change the script a bit for this. Lines 210 >+ 212 and 213 >> change debian to ubuntu and wheezy to precise >> ** other ubuntu should work also but just try it and >report it back please. >> >> So try it and report back to me if you have suggestions. >> >> >> Greetz, >> >> Louis >> >> >> >Hi Louis, just glanced through your script and one part caught my eye: > ># set the ntp_signed path in samba ( default is empty ) >## hardcoded for now, need to look in to pass variable to sed >sed -i '8a\\n ntp signd socket directory = >/var/lib/samba/ntp_signd\n' /etc/samba/smb.conf > >Have you ever run 'samba-tool testparm --verbose' ???? ;-) > >Of course, it doesn't help having two testparms, I do wish that they >would roll them into one. > >Rowland > >
Maybe Matching Threads
- Update1: easy - automated setup : Debian Wheezy with sernet samba 4.1 : join a domain
- FW: Update1: easy - automated setup : Debian Wheezy with sernet samba 4.1 : join a domain
- Update3: easy - automated setup : Debian Wheezy with sernet samba 4.1 : sysvol replication with unison.
- vnc port/listen address ignored when setting machine?
- sernet scripts for debian wheezy updated..