<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Installing New Samba</title>
		<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba</link>
		<description>Posts in the discussion thread &quot;Installing New Samba&quot;</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-285351</guid>
				<title>Re: Installing New Samba:  a bit start script</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-285351</link>
				<description></description>
				<pubDate>Fri, 17 Oct 2008 03:32:03 +0000</pubDate>
				<wikidot:authorName>ishbellnas</wikidot:authorName>				<wikidot:authorUserId>124865</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>here is a bit start script you may be interesting, modified /etc/init.d/samba.sh</p> <p>[MyBookWorld 14:27:22|log] cat /etc/init.d/samba.sh<br /> #!/bin/sh<br /> #</p> <ol> <li>Start Samba</li> </ol> <p>#<br /> LOGS=/var/log<br /> NMBD_LOG=$LOGS/log.nmbd<br /> SMBD_LOG=$LOGS/log.smbd</p> <p>start() {<br /> echo "Starting Samba"<br /> for ((i=3; i&gt;0; i—))<br /> do<br /> ((j=$i-1))<br /> if [ -f ${NMBD_LOG}.$j ];<br /> then<br /> mv ${NMBD_LOG}.$j ${NMBD_LOG}.$i<br /> fi<br /> if [ -f ${SMBD_LOG}.$j ];<br /> then<br /> mv ${SMBD_LOG}.$j ${SMBD_LOG}.$i<br /> fi<br /> done<br /> if [ -f ${NMBD_LOG} ];<br /> then<br /> mv ${NMBD_LOG} ${NMBD_LOG}.0<br /> fi<br /> if [ -f ${SMBD_LOG} ];<br /> then<br /> mv ${SMBD_LOG} ${SMBD_LOG}.0<br /> fi</p> <p>/opt/sbin/nmbd -D -s/etc/smb.conf -l${LOGS} -d2<br /> /opt/sbin/smbd -D -s/etc/smb.conf -l${LOGS} -d2</p> <p>#/usr/local/samba/sbin/nmbd -D -s/etc/smb.conf -l${LOGS} -d1<br /> }</p> <p>stop() {<br /> echo "Stopping Samba nmbd"<br /> killall nmbd &gt; /dev/null 2&gt;&amp;1<br /> echo "Stopping Samba smbd"<br /> killall smbd &gt; /dev/null 2&gt;&amp;1<br /> }<br /> restart() {<br /> stop<br /> start<br /> }</p> <p>case "$1" in<br /> start)<br /> start<br /> ;;<br /> stop)<br /> stop<br /> ;;<br /> restart)<br /> restart<br /> ;;<br /> cleanup)<br /> ;;<br /> *)<br /> echo $"Usage: $0 {start|stop|restart}"<br /> exit 1<br /> esac</p> <p>exit $?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-279890</guid>
				<title>Re: Installing New Samba</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-279890</link>
				<description></description>
				<pubDate>Thu, 09 Oct 2008 21:24:10 +0000</pubDate>
				<wikidot:authorName>VidKo</wikidot:authorName>				<wikidot:authorUserId>210609</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I tried it installing with optware, but didn't work. Unfortunatelly I don't have enough linux experience. If somene could post a guide, I would appreciate it.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-217031</guid>
				<title>Re: Installing New Samba</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-217031</link>
				<description></description>
				<pubDate>Wed, 09 Jul 2008 15:10:01 +0000</pubDate>
				<wikidot:authorName>sidee008</wikidot:authorName>				<wikidot:authorUserId>138551</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>did anyone of you try to install new Samba 3.2? If yes, can anyone create a guide or give me the link to place where I find how to install the Samba 3.2? The reason why I'm asking is that in the description they say that uses less system resources… I guess that it can be usefull for MBWE…</p> <p>Thanks,</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-163227</guid>
				<title>Re: Installing New Samba</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-163227</link>
				<description></description>
				<pubDate>Wed, 14 May 2008 08:07:50 +0000</pubDate>
				<wikidot:authorName>AYahoo</wikidot:authorName>				<wikidot:authorUserId>116048</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm having a similar problem with - "smbd: can't resolve symbol 'stderr'"<br /> already changed the "HAVE_STDIO_H 1" in the config but still the same error.</p> <p>Could anyone please try and help me to resolve it?</p> <p>Thanks,<br /> Asaf.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-160744</guid>
				<title>Re: Installing New Samba</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-160744</link>
				<description></description>
				<pubDate>Fri, 09 May 2008 19:00:57 +0000</pubDate>
				<wikidot:authorName>mybooker</wikidot:authorName>				<wikidot:authorUserId>125182</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Mine came with 2.00.18 firmware and i have installed the new samba with optware, how can i make the new version auto start instead of the old one?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-148472</guid>
				<title>Re: Installing New Samba</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-148472</link>
				<description></description>
				<pubDate>Sat, 19 Apr 2008 06:07:17 +0000</pubDate>
				<wikidot:authorName>Pineapple</wikidot:authorName>				<wikidot:authorUserId>115077</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Take the easy way, use optware to install samba.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-145377</guid>
				<title>Re: Installing New Samba</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-145377</link>
				<description></description>
				<pubDate>Tue, 15 Apr 2008 10:33:03 +0000</pubDate>
				<wikidot:authorName>mmokrejs</wikidot:authorName>				<wikidot:authorUserId>55661</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Sorry, I have placed an updated STATIC binary archive under <a href="http://ribosome.natur.cuni.cz/~mmokrejs/MyBookWorldII/binaries/samba-3.0.28a-armv5tejl.tar.bz2">http://ribosome.natur.cuni.cz/~mmokrejs/MyBookWorldII/binaries/samba-3.0.28a-armv5tejl.tar.bz2</a> .</p> <p>{{cd ../samba-3.0.28a<br /> CFLAGS="$CFLAGS -O2 -g0 -static" ./configure —with-smbmount —with-cifsmount —disable-cups —disable-iprint —without-pam —without-ads —without-ldap —without-dce-dfs —enable-socket-wrapper<br /> echo "Patching sources/include/config.h because this platform does not provide functional stdio.h. Otherwise you would get unresolved 'stdout' symbol while executing the resulting samba binaries. e.g. \"/usr/local/bin/smbclient: can't resolve symbol 'stdout'\"."<br /> patch -p1 &lt; ../samba-3.0.27a_sources_include_config_h.patch<br /> make</p> <p>Using FLAGS = -O2 -g0 -static -D_SAMBA_BUILD_=3 -I/scratch/samba-3.0.28a/source/popt -I/scratch/samba-3.0.28a/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/scratch/samba-3.0.28a/source/lib -D_SAMBA_BUILD_=3<br /> PICFLAG =<br /> LIBS = -lcrypt -lresolv -ldl<br /> LDFLAGS =<br /> DYNEXP = -Wl,—export-dynamic<br /> LDSHFLAGS = shared-libraries-disabled<br /> SHLIBEXT = shared_libraries_disabled<br /> SONAMEFLAG = shared-libraries-disabled</p> <p>make test<br /> /etc/init.d/samba.sh stop<br /> cp -r /usr/local/samba /usr/local/samba-3.0.23c</p> <ol> <li>installs /into /usr/local/samba , the /etc/init.d/samba.sh fortunately takes care of the different paths to config files</li> </ol> <p>make install<br /> cd /usr/local/samba/lib<br /> ln -s ../../../../var/oxsemi/smb.conf .<br /> /etc/init.d/samba.sh start}}</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-103984</guid>
				<title>Re: Installing New Samba</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-103984</link>
				<description></description>
				<pubDate>Fri, 08 Feb 2008 01:09:41 +0000</pubDate>
				<wikidot:authorName>Chodberry</wikidot:authorName>				<wikidot:authorUserId>78978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>So, after downloading and uncompressing your binary "samba-3.0.27a-armv5tejl.tar.bz2" you suggest removing all references to "-pie" from "samba-3.0.27a/source/Makefile" (I couldn't find any reference to "-fPIE"), then run "make install"?</p> <p>In the Makefile I found 2 references to "-pie":</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-identifier">LDFLAGS</span><span class="hl-code">=-</span><span class="hl-identifier">pie</span> </pre></div> </div> <p>…and…</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-identifier">replacetort</span><span class="hl-code">: $</span><span class="hl-brackets">(</span><span class="hl-identifier">REPLACETORT_OBJ</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-identifier">bin</span><span class="hl-code">/.</span><span class="hl-identifier">dummy</span><span class="hl-code"> @</span><span class="hl-identifier">echo</span><span class="hl-code"> </span><span class="hl-identifier">Linking</span><span class="hl-code"> $@ @$</span><span class="hl-brackets">(</span><span class="hl-identifier">CC</span><span class="hl-brackets">)</span><span class="hl-code"> $</span><span class="hl-brackets">(</span><span class="hl-identifier">FLAGS</span><span class="hl-brackets">)</span><span class="hl-code"> -</span><span class="hl-identifier">pie</span><span class="hl-code"> -</span><span class="hl-identifier">o</span><span class="hl-code"> $@ $</span><span class="hl-brackets">(</span><span class="hl-identifier">REPLACETORT_OBJ</span><span class="hl-brackets">)</span><span class="hl-code"> $</span><span class="hl-brackets">(</span><span class="hl-identifier">LDFLAGS</span><span class="hl-brackets">)</span><span class="hl-code"> \ $</span><span class="hl-brackets">(</span><span class="hl-identifier">DYNEXP</span><span class="hl-brackets">)</span><span class="hl-code"> $</span><span class="hl-brackets">(</span><span class="hl-identifier">LIBS</span><span class="hl-brackets">)</span> </pre></div> </div> <p>Can you clarify what I should do?</p> <p>Many thanks,</p> <p>Chod.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-77080</guid>
				<title>Re: Installing New Samba</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-77080</link>
				<description></description>
				<pubDate>Sat, 08 Dec 2007 07:55:12 +0000</pubDate>
				<wikidot:authorName>3djc</wikidot:authorName>				<wikidot:authorUserId>57142</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>mmokrejs,</p> <p>I have tried to follow your steps :<br /> - downloaded your package, unzip, untared<br /> - went to source directory, launched make install, that went fine<br /> - when I wanted to start samba again, it complained about std out ??????<br /> - i went back to the former situation with make revert, which did fortunately work</p> <p>Any guess on why I'm getting the stdout issue ?</p> <p>Thanks, 3djc</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-77027</guid>
				<title>Re: Installing New Samba</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-77027</link>
				<description></description>
				<pubDate>Sat, 08 Dec 2007 01:26:28 +0000</pubDate>
				<wikidot:authorName>unravelingthread</wikidot:authorName>				<wikidot:authorUserId>57097</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm using uclibc. SAMBA has a -pie or -fPIE option in the makefile linker flags. Take out every reference to that.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-75165</guid>
				<title>Re: Installing New Samba ( if you are a Newb like me and brick your old bin files )</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-75165</link>
				<description></description>
				<pubDate>Mon, 03 Dec 2007 21:12:14 +0000</pubDate>
				<wikidot:authorName>jzip</wikidot:authorName>				<wikidot:authorUserId>55118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks :-)</p> <p>That helped a lot. By using the backup image I was running Samba 3 minuts later…. Yeah! Just copied the /usr/local/samba files to my bricked samba installation and started the server with /etc/init.d/samba start</p> <p>Thaks againg</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-74956</guid>
				<title>Re: Installing New Samba</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-74956</link>
				<description></description>
				<pubDate>Mon, 03 Dec 2007 11:57:23 +0000</pubDate>
				<wikidot:authorName>mmokrejs</wikidot:authorName>				<wikidot:authorUserId>55661</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have managed to get samba compiled and running on my system. It took me a while to get it up. Binaries are available as well, just download the files and run 'make install'. More details at <a href="http://ribosome.natur.cuni.cz/~mmokrejs/MyBookWorldII/">http://ribosome.natur.cuni.cz/~mmokrejs/MyBookWorldII/</a> . Cheers!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-74861</guid>
				<title>Re: Installing New Samba ( if you are a Newb like me and brick your old bin files )</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-74861</link>
				<description></description>
				<pubDate>Mon, 03 Dec 2007 03:50:11 +0000</pubDate>
				<wikidot:authorName>jstastny</wikidot:authorName>				<wikidot:authorUserId>55591</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I've just run into the same situation but have already found a way to get out of it.</p> <p>The binaries you are searching for (and that helped me) can be found in the archive provided at <a href="http://mybookworld.wikidot.com/backup-images-of-mybook">http://mybookworld.wikidot.com/backup-images-of-mybook</a></p> <p>Hope this helps.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-74181</guid>
				<title>Re: Installing New Samba ( if you are a Newb like me and brick your old bin files )</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-74181</link>
				<description></description>
				<pubDate>Fri, 30 Nov 2007 20:49:24 +0000</pubDate>
				<wikidot:authorName>jzip</wikidot:authorName>				<wikidot:authorUserId>55118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I've also tried to compile a new version of Samba server (3.0.23c and 3.0.26a), but the journey stopped at the same problem as yours:</p> <p>[root @ 10.0.0.10 samba]# ./startsmb<br /> /usr/local/samba/sbin/smbd: can't resolve symbol 'stdout'<br /> /usr/local/samba/sbin/winbindd: can't resolve symbol 'stdout'<br /> /usr/local/samba/sbin/nmbd: can't resolve symbol 'stdout'</p> <p>Have you made any progress with this problem ?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-50815</guid>
				<title>Re: Installing New Samba</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-50815</link>
				<description></description>
				<pubDate>Thu, 20 Sep 2007 20:53:10 +0000</pubDate>
				<wikidot:authorName>tcblack</wikidot:authorName>				<wikidot:authorUserId>37714</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>bin:<br /> eventlogadm nmblookup profiles smbclient smbget smbstatus tdbbackup testparm<br /> findsmb ntlm_auth rpcclient smbcontrol smbpasswd smbtar tdbdump wbinfo<br /> net pdbedit smbcacls smbcquotas smbspool smbtree tdbtool</p> <p>sbin:<br /> mount.cifs nmbd smbd swat umount.cifs winbindd</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-49401</guid>
				<title>Re: Installing New Samba</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-49401</link>
				<description></description>
				<pubDate>Sun, 16 Sep 2007 00:43:47 +0000</pubDate>
				<wikidot:authorName>ArTi</wikidot:authorName>				<wikidot:authorUserId>36653</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>ok i know i'm an idiot i should have test : make revert ( to have my files back )<br /> but the problems i have try make install a few times so i have no files to revert</p> <p>someone can please make a package of all his samba directory ? ( at least the /bin and /sbin please )</p> <p>or explain to me what stdout is .. i have look on the web but i dont understand why samba don't work anymore</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-19757#post-49280</guid>
				<title>Installing New Samba ( if you are a Newb like me and brick your old bin files )</title>
				<link>http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba#post-49280</link>
				<description></description>
				<pubDate>Sat, 15 Sep 2007 14:04:37 +0000</pubDate>
				<wikidot:authorName>ArTi</wikidot:authorName>				<wikidot:authorUserId>36653</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm totaly newbish to linux and i was trying to modifying some privilege on the user.<br /> so i figure that was samba and trying to use pdbedit etc..<br /> unfortunatly that's dont have seems to work so i have decide to install a new samba</p> <p>after downloading the package, tar, configure, make, make install i was happy to test the new feature of the last samba</p> <p>but i have a problems:</p> <p>/usr/local/samba/sbin/smbd: can't resolve symbol 'stdout'</p> <p>i have no idea how to fix that or how to go back to the previous version :(</p> <p>now i can't run samba or use swat anymore<br /> someone have know how to fix this issue ?<br /> thanks for your help</p> <p>also for ppl like me we should make a forum for Newbies or to helping ppl</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>