If anyone knows howto do that, let me know and paste here.
Thanks.
The content of this topic has been archived on 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
If anyone knows howto do that, let me know and paste here.
Thanks.
http://svn.fonosfera.org/fon-ng/trunk/f … 3/Makefile
Makefile from fon2.0 firmware.
Many thanks! I replaced the OpenWrt patches with the one found in your link and NMBD builds fine
Many thanks! I replaced the OpenWrt patches with the one found in your link and NMBD builds fine
Could you please describe it in details?
I did this to build nmbd:
$ patch -p0 < ~/wl-700ge/samba3.diff
$ svn delete --force feeds/packages/net/samba3/patches/*.patch
$ LIST="100-avm 110-compile_fixes 120-owrt_paths 130-owrt_smbpasswd 140-no_mmap 150-fix_ls 150-fix_ls 160-fix_log 170-no_root_folder 180-nofork"; \
for i in $LIST; do wget http://svn.fonosfera.org/fon-ng/trunk/fon/samba3/patches/$i.patch -O feeds/packages/net/samba3/patches/$i.patch; done
$ svn add feeds/packages/net/samba3/patches/*.patch
~/wl-700ge/samba3.diff
Index: feeds/packages/net/samba3/Makefile
===================================================================
--- feeds/packages/net/samba3/Makefile (revision 15841)
+++ feeds/packages/net/samba3/Makefile (working copy)
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2008 OpenWrt.org
+# Copyright (C) 2008-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -8,7 +8,7 @@
PKG_NAME:=samba3
PKG_VERSION:=3.0.24
-PKG_RELEASE:=2
+PKG_RELEASE:=3
#PKG_MD5SUM:=b51b2975f21006f85f7297f3fb1acde1
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/samba/old-versions/
@@ -52,7 +52,7 @@
CPPFLAGS="$(TARGET_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
$(MAKE) -C $(PKG_BUILD_DIR)/source \
- all bin/smbpasswd
+ all bin/smbpasswd
endef
define Package/samba3/install
@@ -64,7 +64,7 @@
touch $(1)/etc/samba/smbpasswd
$(INSTALL_DIR) $(1)/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/smbpasswd $(1)/bin/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/smbd $(1)/bin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/{n,s}mbd $(1)/bin/
endef
$(eval $(call BuildPackage,samba3))
(Last edited by Yanira on 17 May 2009, 09:51)
Thanks a lot!
That did it!
Ok. Got the samba3 package built with NMBd. Next problem is that I can't login via an existing user on the OpenWrt box
What I did was:
1. add a user to /etc/passwd on the OpenWrt box
2. use smbpasswd to add that user from 1 to /etc/samba/smbpasswd
3. starting smbd and nmbd
Now if I connect from Vista Explorer it asks me for a username and a password. I enter the ones created above. But it does not accept the username and password
Any more ideas what could be wrong now?
Any more ideas what could be wrong now?
I could add that there is almost no improvement in visibility in network compairing to standard samba3 package without nbd.
Still my WinXP host does not see router in network and can not connect shares.
WinMobile devices can see the router but can not connect the shares.
There was everything fine with samba2 though.
Ok. Got the samba3 package built with NMBd. Next problem is that I can't login via an existing user on the OpenWrt box
What I did was:
1. add a user to /etc/passwd on the OpenWrt box
2. use smbpasswd to add that user from 1 to /etc/samba/smbpasswd
3. starting smbd and nmbdNow if I connect from Vista Explorer it asks me for a username and a password. I enter the ones created above. But it does not accept the username and password
Any more ideas what could be wrong now?
You could try to add:
security = share
in global config, and see if it lets you log in.
Or you could try this samba 3.3.1 with nmbd. http://www.4shared.com/file/107290631/1 … a3tar.html
I works for me with vista sp1. NB: Produces big binarys, samba3 server=3MB samba3-libs=1MB.
To use it, you must delete the symlink trunk/package/feeds/packages/samba3, then extract the samba3.tar.gz and copy the samba3 folder to trunk/package/
Run make menuconfig and you should see the new samba3 there.
Thanks, linuxb. Seems to work better with the Samba version from http://forum.openwrt.org/viewtopic.php?id=19327, http://www.4shared.com/file/107290631/1 … a3tar.html
I'm able to connect to the Samba shares from Vista now. The rest is a configuration thingy...
(Last edited by Yanira on 24 May 2009, 19:13)
The discussion might have continued from here.