Hello!
I was trying to build my own KDE3-based LiveCD (based on Slackware 14.1!). While most things worked - samba configuration using KDE's own config module from kcontrol showed mostly greyed-out fields.
Aw ....
I looked at http://mirror.git.trinitydesktop.org/cgit/tdenetwork/tree/filesharing/advanc...
and tadam!
=========
int SambaFile::getSambaVersion() { if (_sambaVersion > -1) return _sambaVersion;
TDEProcess testParam; testParam << "testparm"; testParam << "-V"; _parmOutput = TQString(""); _sambaVersion = 2;
connect( &testParam, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)), this, TQT_SLOT(testParmStdOutReceived(TDEProcess*,char*,int)));
if (testParam.start(TDEProcess::Block,TDEProcess::Stdout)) { if (_parmOutput.find("3") > -1) _sambaVersion = 3; }
kdDebug(5009) << "Samba version = " << _sambaVersion << endl;
return _sambaVersion; } ============
and next it checks this version ...
So, I added similar block testing for samba 4 (Slackware 14.1 uses 4.6.16)
See patch (attached). While this one is for KDE's kdenetwork-3.5.10 - I think this fix should be applicable to TDE's tdenetwork.
Of course this is not everything - Samba log files for example moved and apparently changed format.
And smbpasswd command stores Samba users by default in new format, not readable by old loader But there is workaround! Just reverse this command:
http://www.novell.com/linux/releasenotes/i386/openSUSE/11.1.42/RELEASE-NOTES...
pdbedit -i smbpasswd:/etc/samba/smbpasswd -e tdbsam:/etc/samba/passdb.tdb
I actually used /etc/samba/private patch for Slackware 14.1, but for 14.2 path is different!
smb passwd file = /var/lib/samba/private/smbpasswd as reported (among many different things) by "testparm -v"
At least file sharing started to work - I can share folder, and set it writable. But broswing in KDE3's actually require full smb://host/Share_Name form, otherwise it shows nothing (at least in qemu, may be built-in smb server interferes with normal OS-level samba server?).
ISO file for testing (700Mb!) https://yadi.sk/d/HYZ9rwcykB3Fzg
sha256sum CDROM-4.4.194_5.iso 0f49ddf10089de2e802825ea03b994644c9253e7330daacccb6258a18b180d1b CDROM-4.4.194_5.iso
password for root user: toor for guest: guest
[those actually defaults from old Slax 6.x line of live CD]
You can type "slax autoexec=kdm" at isolinux boot prompt - then it will load X/kdm by default.
Sources (for components I modified) in root/src
qemu command line: qemu-system-i386 -cdrom /dev/shm/CDROM-4.4.194_5.iso -m 1.9G -enable-kvm -soundhw es1370 -smp 2 -display sdl,gl=on -usb -cpu host
but you can simplify it down to qemu-system-i386 -cdrom /dev/shm/CDROM-4.4.194_5.iso -m 512 -enable-kvm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 2019/10/08 10:44 AM, Andrew Randrianasulu wrote:
Hello!
I was trying to build my own KDE3-based LiveCD (based on Slackware 14.1!). While most things worked - samba configuration using KDE's own config module from kcontrol showed mostly greyed-out fields.
Aw ....
I looked at http://mirror.git.trinitydesktop.org/cgit/tdenetwork/tree/filesharing/advanc...
and tadam!
Thanks Andrew, good work. Can you upload your work in pull rquest form on TGW? That way your work won't get lost within many other things... See here for a giude on how to do that. https://wiki.trinitydesktop.org/TDE_Gitea_Workspace
Cheers and keep up the good work! Michele
В сообщении от Sunday 13 October 2019 14:00:57 Michele Calgaro via trinity-devel написал(а):
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 2019/10/08 10:44 AM, Andrew Randrianasulu wrote:
Hello!
I was trying to build my own KDE3-based LiveCD (based on Slackware 14.1!). While most things worked - samba configuration using KDE's own config module from kcontrol showed mostly greyed-out fields.
Aw ....
I looked at http://mirror.git.trinitydesktop.org/cgit/tdenetwork/tree/filesharing/advanc...
and tadam!
Thanks Andrew, good work. Can you upload your work in pull rquest form on TGW? That way your work won't get lost within many other things... See here for a giude on how to do that. https://wiki.trinitydesktop.org/TDE_Gitea_Workspace
Not quite pull request, only issue:
https://mirror.git.trinitydesktop.org/gitea/TDE/tdenetwork/issues/15
{I still use kde 3.5.10, building 'real' TDE will require some more effort from my side. After I finally will be pushed to move to 64-bit OS, I think .... quite soon, looking at trends}
Cheers and keep up the good work! Michele
:} thanks.
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEjhl1z5vbYB3YbFTiKnW3yore1c8FAl2jA+QACgkQKnW3yore 1c9V0A//bX7yDeAtGkVPbrjgwlrb2SmkDwPVgABNBIFyhOq4B7msoX47kXr1JJw+ vvNakuO6cXWl1F5heg5pKJvp6IcK3DGs+95bVsIfxFgQUDt1MvGDHV0GahLfH7q1 E80BbHhUxff6ADUGQ6F6LfAjUGWei6f3JW4pICMYCgEQcqNJDYnSv1Va5I0e8RiB OnrlnazHWTwgSW7JJDvq4EoDVnpKK2wXtgEX1bkiG2GyIxgLJxeco4HNhWckGQSu prgWs0IFV8Xjj6vqMX/U5JVhwgEEM4VQXTGoIN3Aatvfs/MAwGXURU9DFYTFKy9F qXI7FLhtvaghZ0t1fbhXQ5esaRy56cSWonYi7X2JelBm6TiC72cfAtU9qV/WtwS7 o2py8uUQ4IH/4m9/4jWVrpsxnz+NvptBXU2H8iwAkJQlr9bxzuJEd12vyW2ilJ7k iCjqNphYQQ6whNauLyazy7wTyGxU/tYUmJIq0iqf4d1fLAEkPurBV8Oeq1kdDLEj wh5R8wjpARWcTpYaZMwNVrtHQ2XVQVjd9EtKJaAC6VFYQ0pVlRaLqoRYHTzakX0s /Z3qJt1f+KhBc5IdOs7Bd0WmYFKevJ5WV4B1LGCA1wIaH7nkMr2ILbqRuall12ei TOxuyoqdOvlyBB5VS9WYEMNIts2lkV/RmdrziJmkDgNyDz45jxQ= =NcwH -----END PGP SIGNATURE-----
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
On Monday 14 of October 2019 05:03:56 Andrew Randrianasulu wrote:
В сообщении от Sunday 13 October 2019 14:00:57 Michele Calgaro via
trinity-devel написал(а):
On 2019/10/08 10:44 AM, Andrew Randrianasulu wrote:
Hello!
I was trying to build my own KDE3-based LiveCD (based on Slackware 14.1!). While most things worked - samba configuration using KDE's own config module from kcontrol showed mostly greyed-out fields.
Aw ....
I looked at http://mirror.git.trinitydesktop.org/cgit/tdenetwork/tree/filesharin g/advanced/kcm_sambaconf/sambafile.cpp
and tadam!
Thanks Andrew, good work. Can you upload your work in pull rquest form on TGW? That way your work won't get lost within many other things... See here for a giude on how to do that. https://wiki.trinitydesktop.org/TDE_Gitea_Workspace
Not quite pull request, only issue:
https://mirror.git.trinitydesktop.org/gitea/TDE/tdenetwork/issues/15
{I still use kde 3.5.10, building 'real' TDE will require some more effort from my side. After I finally will be pushed to move to 64-bit OS, I think .... quite soon, looking at trends}
Cheers and keep up the good work! Michele
:} thanks. :
Hi Andrew,
now, as a member of the Contributors team, you can even create a pull-request. Don't forget to mention something like "This resolves issue #15" in the git commit message.
Cheers
В сообщении от Monday 14 October 2019 10:29:07 Slávek Banko написал(а):
On Monday 14 of October 2019 05:03:56 Andrew Randrianasulu wrote:
В сообщении от Sunday 13 October 2019 14:00:57 Michele Calgaro via
trinity-devel написал(а):
On 2019/10/08 10:44 AM, Andrew Randrianasulu wrote:
Hello!
I was trying to build my own KDE3-based LiveCD (based on Slackware 14.1!). While most things worked - samba configuration using KDE's own config module from kcontrol showed mostly greyed-out fields.
Aw ....
I looked at http://mirror.git.trinitydesktop.org/cgit/tdenetwork/tree/filesharin g/advanced/kcm_sambaconf/sambafile.cpp
and tadam!
Thanks Andrew, good work. Can you upload your work in pull rquest form on TGW? That way your work won't get lost within many other things... See here for a giude on how to do that. https://wiki.trinitydesktop.org/TDE_Gitea_Workspace
Not quite pull request, only issue:
https://mirror.git.trinitydesktop.org/gitea/TDE/tdenetwork/issues/15
{I still use kde 3.5.10, building 'real' TDE will require some more effort from my side. After I finally will be pushed to move to 64-bit OS, I think .... quite soon, looking at trends}
Cheers and keep up the good work! Michele
:} thanks. :
Hi Andrew,
now, as a member of the Contributors team, you can even create a pull-request. Don't forget to mention something like "This resolves issue #15" in the git commit message.
well, I think this "503" error after I cloned tdenetwork and run git submodule init && git submodule update still around:
git submodule update Клонирование в «/dev/shm/tdenetwork/admin»… fatal: unable to access 'http://system@scm.trinitydesktop.org/scm/git/tde-common-admin/': The requested URL returned error: 503 fatal: не удалось клонировать «http://system@scm.trinitydesktop.org/scm/git/tde-common-admin%C2%BB в подмодуль по пути «/dev/shm/tdenetwork/admin» Не удалось клонировать «admin». Запланирована повторная попытка Клонирование в «/dev/shm/tdenetwork/cmake»… fatal: unable to access 'http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake/': The requested URL returned error: 503 fatal: не удалось клонировать «http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake%C2%BB в подмодуль по пути «/dev/shm/tdenetwork/cmake» Не удалось клонировать «cmake». Запланирована повторная попытка Клонирование в «/dev/shm/tdenetwork/libtdevnc»… fatal: unable to access 'https://system@scm.trinitydesktop.org/scm/git/libtdevnc/': The requested URL returned error: 503 fatal: не удалось клонировать «https://system@scm.trinitydesktop.org/scm/git/libtdevnc%C2%BB в подмодуль по пути «/dev/shm/tdenetwork/libtdevnc» Не удалось клонировать «libtdevnc». Запланирована повторная попытка Клонирование в «/dev/shm/tdenetwork/admin»… fatal: unable to access 'http://system@scm.trinitydesktop.org/scm/git/tde-common-admin/': The requested URL returned error: 503 fatal: не удалось клонировать «http://system@scm.trinitydesktop.org/scm/git/tde-common-admin%C2%BB в подмодуль по пути «/dev/shm/tdenetwork/admin» Не удалось клонировать «admin» со второй попытки, отмена
-------------------
Cheers
В сообщении от Monday 14 October 2019 10:29:07 Slávek Banko написал(а):
On Monday 14 of October 2019 05:03:56 Andrew Randrianasulu wrote:
В сообщении от Sunday 13 October 2019 14:00:57 Michele Calgaro via
trinity-devel написал(а):
On 2019/10/08 10:44 AM, Andrew Randrianasulu wrote:
Hello!
I was trying to build my own KDE3-based LiveCD (based on Slackware 14.1!). While most things worked - samba configuration using KDE's own config module from kcontrol showed mostly greyed-out fields.
Aw ....
I looked at http://mirror.git.trinitydesktop.org/cgit/tdenetwork/tree/filesharin g/advanced/kcm_sambaconf/sambafile.cpp
and tadam!
Thanks Andrew, good work. Can you upload your work in pull rquest form on TGW? That way your work won't get lost within many other things... See here for a giude on how to do that. https://wiki.trinitydesktop.org/TDE_Gitea_Workspace
Not quite pull request, only issue:
https://mirror.git.trinitydesktop.org/gitea/TDE/tdenetwork/issues/15
{I still use kde 3.5.10, building 'real' TDE will require some more effort from my side. After I finally will be pushed to move to 64-bit OS, I think .... quite soon, looking at trends}
Cheers and keep up the good work! Michele
:} thanks. :
Hi Andrew,
now, as a member of the Contributors team, you can even create a pull-request. Don't forget to mention something like "This resolves issue #15" in the git commit message.
Cheers
Made patch with 'git format-patch'. (removed few whitespaces in the process)
Can anyone check if it compiles and works in context of TDE, as opposed to KDE3?
Dne po 14. října 2019 Andrew Randrianasulu napsal(a):
В сообщении от Monday 14 October 2019 10:29:07 Slávek Banko написал(а):
On Monday 14 of October 2019 05:03:56 Andrew Randrianasulu wrote:
В сообщении от Sunday 13 October 2019 14:00:57 Michele Calgaro via
trinity-devel написал(а):
On 2019/10/08 10:44 AM, Andrew Randrianasulu wrote:
Hello!
I was trying to build my own KDE3-based LiveCD (based on Slackware 14.1!). While most things worked - samba configuration using KDE's own config module from kcontrol showed mostly greyed-out fields.
Aw ....
I looked at http://mirror.git.trinitydesktop.org/cgit/tdenetwork/tree/filesh arin g/advanced/kcm_sambaconf/sambafile.cpp
and tadam!
Thanks Andrew, good work. Can you upload your work in pull rquest form on TGW? That way your work won't get lost within many other things... See here for a giude on how to do that. https://wiki.trinitydesktop.org/TDE_Gitea_Workspace
Not quite pull request, only issue:
https://mirror.git.trinitydesktop.org/gitea/TDE/tdenetwork/issues/15
{I still use kde 3.5.10, building 'real' TDE will require some more effort from my side. After I finally will be pushed to move to 64-bit OS, I think .... quite soon, looking at trends}
Cheers and keep up the good work! Michele
:} thanks.
Hi Andrew,
now, as a member of the Contributors team, you can even create a pull-request. Don't forget to mention something like "This resolves issue #15" in the git commit message.
Cheers
Made patch with 'git format-patch'. (removed few whitespaces in the process)
Can anyone check if it compiles and works in context of TDE, as opposed to KDE3?
After cloning a repository from TGW, you can use the https://mirror.git.trinitydesktop.org/gitea/TDE/scripts/src/branch/master/sw... script to take care of cloning submodules from the same source - from TGW.
In the git message, just use the phrase "issue #15" (without specifying the URL), since the TGW automatically displays such references as links.
For git commit, it is necessary to use the "-s" option => to add a Signed-off-by line by which you declare DCO consent.
Thank you.
Cheers
В сообщении от Monday 14 October 2019 14:50:00 Slávek Banko написал(а):
Dne po 14. října 2019 Andrew Randrianasulu napsal(a):
В сообщении от Monday 14 October 2019 10:29:07 Slávek Banko написал(а):
On Monday 14 of October 2019 05:03:56 Andrew Randrianasulu wrote:
В сообщении от Sunday 13 October 2019 14:00:57 Michele Calgaro via
trinity-devel написал(а):
On 2019/10/08 10:44 AM, Andrew Randrianasulu wrote:
Hello!
I was trying to build my own KDE3-based LiveCD (based on Slackware 14.1!). While most things worked - samba configuration using KDE's own config module from kcontrol showed mostly greyed-out fields.
Aw ....
I looked at http://mirror.git.trinitydesktop.org/cgit/tdenetwork/tree/filesh arin g/advanced/kcm_sambaconf/sambafile.cpp
and tadam!
Thanks Andrew, good work. Can you upload your work in pull rquest form on TGW? That way your work won't get lost within many other things... See here for a giude on how to do that. https://wiki.trinitydesktop.org/TDE_Gitea_Workspace
Not quite pull request, only issue:
https://mirror.git.trinitydesktop.org/gitea/TDE/tdenetwork/issues/15
{I still use kde 3.5.10, building 'real' TDE will require some more effort from my side. After I finally will be pushed to move to 64-bit OS, I think .... quite soon, looking at trends}
Cheers and keep up the good work! Michele
:} thanks.
Hi Andrew,
now, as a member of the Contributors team, you can even create a pull-request. Don't forget to mention something like "This resolves issue #15" in the git commit message.
Cheers
Made patch with 'git format-patch'. (removed few whitespaces in the process)
Can anyone check if it compiles and works in context of TDE, as opposed to KDE3?
After cloning a repository from TGW, you can use the https://mirror.git.trinitydesktop.org/gitea/TDE/scripts/src/branch/master/sw... script to take care of cloning submodules from the same source - from TGW.
In the git message, just use the phrase "issue #15" (without specifying the URL), since the TGW automatically displays such references as links.
For git commit, it is necessary to use the "-s" option => to add a Signed-off-by line by which you declare DCO consent.
Like this?
Thank you.
Cheers
Dne po 14. října 2019 Andrew Randrianasulu napsal(a):
В сообщении от Monday 14 October 2019 14:50:00 Slávek Banko написал(а):
Dne po 14. října 2019 Andrew Randrianasulu napsal(a):
В сообщении от Monday 14 October 2019 10:29:07 Slávek Banko
написал(а):
On Monday 14 of October 2019 05:03:56 Andrew Randrianasulu wrote:
В сообщении от Sunday 13 October 2019 14:00:57 Michele Calgaro via
trinity-devel написал(а):
On 2019/10/08 10:44 AM, Andrew Randrianasulu wrote: > Hello! > > I was trying to build my own KDE3-based LiveCD (based on > Slackware 14.1!). While most things worked - samba > configuration using KDE's own config module from kcontrol > showed mostly greyed-out fields. > > Aw .... > > I looked at > http://mirror.git.trinitydesktop.org/cgit/tdenetwork/tree/fi >lesh arin g/advanced/kcm_sambaconf/sambafile.cpp > > and tadam!
Thanks Andrew, good work. Can you upload your work in pull rquest form on TGW? That way your work won't get lost within many other things... See here for a giude on how to do that. https://wiki.trinitydesktop.org/TDE_Gitea_Workspace
Not quite pull request, only issue:
https://mirror.git.trinitydesktop.org/gitea/TDE/tdenetwork/issue s/15
{I still use kde 3.5.10, building 'real' TDE will require some more effort from my side. After I finally will be pushed to move to 64-bit OS, I think .... quite soon, looking at trends}
Cheers and keep up the good work! Michele
:} thanks.
Hi Andrew,
now, as a member of the Contributors team, you can even create a pull-request. Don't forget to mention something like "This resolves issue #15" in the git commit message.
Cheers
Made patch with 'git format-patch'. (removed few whitespaces in the process)
Can anyone check if it compiles and works in context of TDE, as opposed to KDE3?
After cloning a repository from TGW, you can use the https://mirror.git.trinitydesktop.org/gitea/TDE/scripts/src/branch/mas ter/switch_all_submodules_to_head_and_clean script to take care of cloning submodules from the same source - from TGW.
In the git message, just use the phrase "issue #15" (without specifying the URL), since the TGW automatically displays such references as links.
For git commit, it is necessary to use the "-s" option => to add a Signed-off-by line by which you declare DCO consent.
Like this?
Thank you.
Cheers
Pushed to TGW as branch issue/15/samba4:
https://mirror.git.trinitydesktop.org/gitea/TDE/tdenetwork/commit/98dcb944ff https://mirror.git.trinitydesktop.org/gitea/TDE/tdenetwork/src/branch/issue/...
It now seems to be ready to create a pull-request :)
Cheers