Click to See Complete Forum and Search --> : samba


theclave
01-20-2001, 05:56 AM
Where is there a decent idiots guide to samba?
It is installed on my machine, but I cant seem to get any of the programs to run.

KumaSan
01-20-2001, 07:23 AM
There's an NHF here (http://www.linuxnewbie.org/nhf/intel/network/samba/samba1.html). Hope that helps.

------------------
jaa, mata-ne...

ccieToBe
01-20-2001, 08:35 AM
The NHF got me started. Mandrake comes with a GUI (SWAT) and an O'Reily book which allowed me to setup samba to act as a domain controller.

theclave
01-20-2001, 08:36 AM
OK, I get as far as

sh makerpms.sh

All seems to be going well, various file names flash past, until finally it buggers up.

Apologies for posting so much, but here's the output, maybe someone knows what is wrong?

samba-2.0.7/
samba-2.0.7/COPYING
samba-2.0.7/docs/
samba-2.0.7/docs/faq/
samba-2.0.7/docs/faq/Samba-Server-FAQ-2.html
samba-2.0.7/docs/faq/Samba-Server-FAQ-1.html
samba-2.0.7/docs/faq/Samba-meta-FAQ.txt
samba-2.0.7/docs/faq/sambafaq-2.html
samba-2.0.7/docs/faq/sambafaq-3.html
samba-2.0.7/docs/faq/sambafaq-1.html
samba-2.0.7/docs/faq/sambafaq-4.html
samba-2.0.7/docs/faq/sambafaq-5.html
samba-2.0.7/docs/faq/sambafaq.sgml
samba-2.0.7/docs/faq/sambafaq.html
samba-2.0.7/docs/faq/Samba-Server-FAQ.sgml
samba-2.0.7/docs/faq/Samba-Server-FAQ.html
samba-2.0.7/docs/faq/Samba-meta-FAQ.sgml
samba-2.0.7/docs/faq/Samba-meta-FAQ.html
samba-2.0.7/docs/faq/Samba-meta-FAQ-1.html
samba-2.0.7/docs/faq/Samba-meta-FAQ-2.html
samba-2.0.7/docs/faq/Samba-meta-FAQ-3.html
samba-2.0.7/docs/faq/Samba-meta-FAQ-4.html
samba-2.0.7/docs/faq/Samba-meta-FAQ-5.html
samba-2.0.7/docs/faq/Samba-meta-FAQ-6.html
samba-2.0.7/docs/faq/sambafaq.txt
samba-2.0.7/docs/manpages/
samba-2.0.7/docs/manpages/smb.conf.5
samba-2.0.7/docs/manpages/smbspool.8
samba-2.0.7/docs/manpages/make_unicodemap.1
samba-2.0.7/docs/manpages/smbrun.1
samba-2.0.7/docs/manpages/smbsh.1
samba-2.0.7/docs/manpages/make_smbcodepage.1
samba-2.0.7/docs/manpages/testprns.1
samba-2.0.7/docs/manpages/smbtar.1
samba-2.0.7/docs/manpages/lmhosts.5
samba-2.0.7/docs/manpages/nmblookup.1
samba-2.0.7/docs/manpages/testparm.1
samba-2.0.7/docs/manpages/swat.8
samba-2.0.7/docs/manpages/smbstatus.1
samba-2.0.7/docs/manpages/smbmount.8
samba-2.0.7/docs/manpages/smbclient.1
samba-2.0.7/docs/manpages/smbumount.8
samba-2.0.7/docs/manpages/smbpasswd.8
samba-2.0.7/docs/manpages/smbpasswd.5
samba-2.0.7/docs/manpages/nmbd.8
samba-2.0.7/docs/manpages/smbd.8
samba-2.0.7/docs/manpages/samba.7
samba-2.0.7/docs/manpages/smbmnt.8
samba-2.0.7/docs/Win9X-CacheHandling.reg
samba-2.0.7/docs/NT4-Locking.reg
samba-2.0.7/docs/NT4-Locking.txt
samba-2.0.7/docs/history
samba-2.0.7/docs/textdocs/
samba-2.0.7/docs/textdocs/Win95.txt
samba-2.0.7/docs/textdocs/README.jis
samba-2.0.7/docs/textdocs/WinNT.txt
samba-2.0.7/docs/textdocs/Tracing.txt
samba-2.0.7/docs/textdocs/Faxing.txt
samba-2.0.7/docs/textdocs/Speed.txt
samba-2.0.7/docs/textdocs/ENCRYPTION.txt
samba-2.0.7/docs/textdocs/smbmount.txt
samba-2.0.7/docs/textdocs/BUGS.txt
samba-2.0.7/docs/textdocs/Recent-FAQs.txt
samba-2.0.7/docs/textdocs/Macintosh_Clients.txt
samba-2.0.7/docs/textdocs/RoutedNetworks.txt
samba-2.0.7/docs/textdocs/SSLeay.txt
samba-2.0.7/docs/textdocs/CRLF-LF-Conversions.txt
samba-2.0.7/docs/textdocs/NT-Guest-Access.txt
samba-2.0.7/docs/textdocs/DOMAIN_CONTROL.txt
samba-2.0.7/docs/textdocs/README.DCEDFS
samba-2.0.7/docs/textdocs/HINTS.txt
samba-2.0.7/docs/textdocs/BROWSING-Config.txt
samba-2.0.7/docs/textdocs/DNIX.txt
samba-2.0.7/docs/textdocs/UNIX_SECURITY.txt
samba-2.0.7/docs/textdocs/security_level.txt
samba-2.0.7/docs/textdocs/Application_Serving.txt
samba-2.0.7/docs/textdocs/Printing.txt
samba-2.0.7/docs/textdocs/INSTALL.sambatar
samba-2.0.7/docs/textdocs/BROWSING.txt
samba-2.0.7/docs/textdocs/DHCP-Server-Configuration.txt
samba-2.0.7/docs/textdocs/PROJECTS
samba-2.0.7/docs/textdocs/OS2-Client-HOWTO.txt
samba-2.0.7/docs/textdocs/DOMAIN.txt
samba-2.0.7/docs/textdocs/NTDOMAIN.txt
samba-2.0.7/docs/textdocs/README.sambatar
samba-2.0.7/docs/textdocs/Support.txt
samba-2.0.7/docs/textdocs/File-Cacheing.txt
samba-2.0.7/docs/textdocs/SMBTAR.notes
samba-2.0.7/docs/textdocs/cifsntdomain.txt
samba-2.0.7/docs/textdocs/NetBIOS.txt
samba-2.0.7/docs/textdocs/NT_Security.txt
samba-2.0.7/docs/textdocs/Passwords.txt
samba-2.0.7/docs/textdocs/Speed2.txt
samba-2.0.7/docs/textdocs/UNIX_INSTALL.txt
samba-2.0.7/docs/textdocs/GOTCHAS.txt
samba-2.0.7/docs/textdocs/MIRRORS.txt
samba-2.0.7/docs/textdocs/CVS_ACCESS.txt
samba-2.0.7/docs/textdocs/DOMAIN_MEMBER.txt
samba-2.0.7/docs/textdocs/PROFILES.txt
samba-2.0.7/docs/textdocs/SCO.txt
samba-2.0.7/docs/textdocs/PRINTER_DRIVER.txt
samba-2.0.7/docs/textdocs/UNIX-SMB.txt
samba-2.0.7/docs/textdocs/DIAGNOSIS.txt
samba-2.0.7/docs/samba.lsm
samba-2.0.7/docs
chown: /usr/src/turbo/SOURCES/samba-2.0.7: No such file or directory
+ umask 022
+ cd /usr/src/turbo/BUILD
+ cd /usr/src/turbo/BUILD
+ rm -rf samba-2.0.7
+ /bin/gzip -dc /usr/src/turbo/SOURCES/samba-2.0.7.tar.gz
+ tar -xvvf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd samba-2.0.7
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0:'
+ patch -p1 -s
+ /var/tmp/rpm-tmp.93508: patch: command not found
Bad exit status from /var/tmp/rpm-tmp.93508 (%prep)

Any ideas?

StanLin
01-20-2001, 10:40 AM
Is reinstalling your whole distro not an alternative? If you can reinstall, be sure to select smb as one of the packages.

theclave
01-20-2001, 10:50 AM
I guess.

Would that mean reformatting and starting from scratch? Or is there a 'reinstall' option?

Shadoglare
01-20-2001, 11:05 AM
What the hek distribution are you using?
I had the best luck by downloading a non-RPM version from samba.org, un-tarring it, doing a ./configure, make, make install, and following the few simple directions to get it going.
Only thing I haven't quite figured out is how to get it to auto-start under Solaris http://www.linuxnewbie.org/ubb/smile.gif
The NHF looks like it goes over most of it (except how to use the default mode of encrypted passwords for NT clients) - but I used the O'reilly book Running Samba to get it going, which you can download from www.ora.com. (http://www.ora.com.)