[Samba] Debian wheezy with sernet samba AD script, new and very improved..
L.P.H. van Belle
belle at bazuin.nl
Fri Jan 23 04:59:14 MST 2015
ah yes, your correct, i'll adjust that.
That was a copy past of the previous script.. :-/
thanks for this :
>Don't believe me ? open '/etc/mke2fs.conf' and look for the line that
>starts 'default_mntopts'
i couldn't find that on the debian wiki:
https://wiki.debian.org/fstab
so is not 100% complete then.. what you pointed out should be there also..
I have removed the fstab check.
Thanks for reporting that (again) ;-)
>Louis, bug, line 180, 4-sernet-samba-addc-debian-wheezy.sh, only one "
and also fixed.
and thank you for checking it ;-)
what do you think about the new script?
better isnt it.. i also took your suggestion for the adminstrator password..
I hope lots of people wil enjoy it..
Greetz,
Louis
>-----Oorspronkelijk bericht-----
>Van: rowlandpenny at googlemail.com
>[mailto:samba-bounces at lists.samba.org] Namens Rowland Penny
>Verzonden: vrijdag 23 januari 2015 11:41
>Aan: samba at lists.samba.org
>Onderwerp: Re: [Samba] Debian wheezy with sernet samba AD
>script, new and very improved..
>
>On 23/01/15 08:49, L.P.H. van Belle wrote:
>> Hai all..
>>
>> For eveyone who wants to try..
>>
>> I make a new and very improved script to install sernet
>samba as ADDC on debian wheezy.
>> Go check it out here : https://secure.bazuin.nl/scripts/
>>
>> Now its very (very very very) ;-) easy for everybody to setup.
>>
>> Have a look and if have have suggestions to even improve it
>more... mail me, or the mailing list.
>>
>> Thanks for everybody on the mailing list for suggestions and
>improvement.
>>
>>
>> Greetings....
>>
>> Louis
>>
>
>Hi Louis, I think I may have pointed this out to you before, but you
>seem to not believe me, but this:
>
>if [ $FSTAB_CHECK = "1" ]; then
> if [ -z "`cat /etc/fstab | grep xattr`" ]; then
> echo " "
> echo "==========FSTAB==============================="
> echo "YOUR ON ... You need to change something "
> echo "you have 15 seconds to read this"
> echo " "
> echo "please enable acl and user_xattr in /etc/fstab before
>provisioning"
> echo "add : ,acl,user_xattr"
> echo "after defaults and the script will remount "
> echo "starting editor, and press: CTRL+K , Y ,Enter to save it"
> echo " "
> read -p "Do you want to edit fstab now (y/n) : "
>FSTAB_CHECK_ANSWER
> FSTAB_CHECK_ANSWER="x"
> while [ $FSTAB_CHECK_ANSWER = "x" ]; do
> echo "If you want to edit fstab now, it wil open
>mcedit for
>you"
> read -p "Do you want to edit fstab now (y/n) : "
>FSTAB_CHECK_ANSWER
> if [ $FSTAB_CHECK_ANSWER = "y" ]; then
> mcedit /etc/fstab
> mount -o remount -a
> else
> echo "ok, we continue, it up to you"
> fi
> done
> fi
>fi
>
>is not needed, what you are suggesting putting into /etc/fstab is
>this: 'defaults,acl,user_xattr'
>This will get expanded to this: 'acl,user_xattr,acl,user_xattr'
>
>Don't believe me ? open '/etc/mke2fs.conf' and look for the line that
>starts 'default_mntopts'
>
>Rowland
>
>
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: https://lists.samba.org/mailman/options/samba
>
>
More information about the samba
mailing list