image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old August 10th, 2001, 09:00 AM
ebm ebm is offline
Registered User
 
Join Date: Aug 2001
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
ebm is on a distinguished road
Thumbs up Problems with Samba 2.2.1a

Hi all, sorry for my english but i'm spanish

I have downloaded, expanded and installed the latest samba (from www.samba.org).

gnutar -xvzf samba . . .
cd (to the new samba directory created in the last step)
cd source
./configure
make
make install

Create smb.conf file and put it in /usr/local/samba/lib/ directory.

Create startsmb file and make it executable with chmod +x startsmb, put it anyware.

When i run startsmb file and check it in Proccess Viewer, the smbd and nmbd daemons are working owned by root. But i cannot connect to my machine from a Nt Server 4. Is samba only server and not client? What is wrong?

smbd.conf (file):
[global]
workgroup = no

[homes]
guest ok = no
read only = no

startsmb (file):
/bin/sh
/usr/local/samba/bin/smbd -D
/usr/local/samba/bin/nmbd -D

Thanks to all people for reading this and to try to help me
Best regards,
Eduardo
comfot@ctv.es
Reply With Quote
  #2  
Old August 10th, 2001, 09:33 AM
rharder's Avatar
Do not read this sign.
 
Join Date: Mar 2001
Location: Virginia, USA
Posts: 1,186
Thanks: 0
Thanked 0 Times in 0 Posts
rharder is on a distinguished road
I'm not certain, but if there's a problem with your config file, you might have better luck using swat, a web-based admin tool that comes with samba.

From your web browser, try http://127.0.0.1:901

See if that works.

You'll need your root password.

-Rob
__________________
There are only 10 kinds of people in the world:
Those who understand binary, and those who don't.
Reply With Quote
  #3  
Old August 10th, 2001, 03:03 PM
Registered User
 
Join Date: Feb 2001
Location: Bloomington, Indiana
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts
jcpowers21 is on a distinguished road
In the /Applications/Utilities/ folder their is a network tools app ( I'm not sure if that is the right name) but you can use that to portscan your computer for the Samba port.
Reply With Quote
  #4  
Old August 13th, 2001, 09:42 AM
ebm ebm is offline
Registered User
 
Join Date: Aug 2001
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
ebm is on a distinguished road
Sorry, but i dont understand nothing

I have and app in Applications/Utilities. Is named Network Utility but i dont understand how to portscan my computer for Samba.

I have some questions:

Samba is only a server or is client too (i can connect from my samba computer to a NT Server and from NT Server to my samba computer?)

How samba works only in terminal or also i can connect within the gui (aqua interface).

In terminal smbclient -U (user name) -L (host) does not work.

I want connect to //TAIPAN/DiscoPC

I have different subnet mask and i think this is part of the problem in Server i have 255.255.255.0 and in Samba computer i have 255.255.0.0. But i don't know is repairing this can solve my problem and connect to NT Server and how (in Terminal or in Acqua (gui))

Thanks
Reply With Quote
  #5  
Old August 13th, 2001, 10:05 AM
Straylight23's Avatar
Registered User
 
Join Date: Jun 2001
Location: Germany
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Straylight23 is on a distinguished road
Re: Sorry, but i dont understand nothing

Quote:
Originally posted by ebm
Samba is only a server or is client too?
Only Server. SambaFS is not part of the MacOSX-kernel right now. It will be supported in MacOSX 10.1


Quote:
In terminal smbclient -U (user name) -L (host) does not work
That is because Samba is NO client

Quote:
I want connect to //TAIPAN/DiscoPC
Not possible. Without any 3rd-party tool.
Try i.e. Sanity (commercial :mad)

But, why don't you try the samba Package for MacOS X? Installes and works fine

use this Link To download it.

HTH

cu:Stray
Reply With Quote
  #6  
Old August 16th, 2001, 09:21 PM
Registered User
 
Join Date: Jun 2001
Location: Iceland
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
finnboo is on a distinguished road
Re: Sorry, but i dont understand nothing

After installing the samba package for MacOS X (<a href="http://prdownloads.sourceforge.net/xamba/Samba_X_2.2.1a.sit">here</a>) you should be able to connect thus:

smbclient //TAIPAN/DiscoPC -U (username)

However, as far as I know you can not mount samba drives with this samba package, i.e. there is no smbmount command. I hope someone will correct me if I'm wrong about that.

--finnboo
Reply With Quote
  #7  
Old August 17th, 2001, 03:34 AM
Straylight23's Avatar
Registered User
 
Join Date: Jun 2001
Location: Germany
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Straylight23 is on a distinguished road
Re: Re: Sorry, but i dont understand nothing

Quote:
Originally posted by finnboo
After installing the samba package for MacOS X (<a href="http://prdownloads.sourceforge.net/xamba/Samba_X_2.2.1a.sit">here</a>) you should be able to connect thus:

smbclient //TAIPAN/DiscoPC -U (username)

Where //TAIPAN is the server and DiscoPC is the Service (i.e. a share).

The following is a cite from the man pages:

<pre>
DESCRIPTION
This tool is part of the Sambasuite.

smbclient is a client that can 'talk' to an SMB/CIFS
server. It offers an interface similar to that of the ftp
program (see ftp(1)). Operations include things like get-
ting files from the server to the local machine, putting
files from the local machine to the server, retrieving
directory information from the server and so on.

</pre>

The followin command woul give you a list of all available services on a specific client:

smbclient -U username -L servername

(Servername can be either ip-address or netbios-name)

Quote:

However, as far as I know you can not mount samba drives with this samba package, i.e. there is no smbmount command. I hope someone will correct me if I'm wrong about that.
You are not wrong, but it might be worth to know why there is no smbmount command.
In all Linux-versions (and BSD i think) since Kernel 1.something the smb-filesystem is compiled into the kernel. The Mach-kernel used in MacOSX doesn't have this. Hence, no smbmount.
The MacOSX 10.1 v5G15 [b]has[b] a command "mount_smbf", but kernel-implimetation is not ready. The mount fails with the following error:

<pre>
mount_smbfs: unable to get kernel task port: (os/kern) failure
</pre>

Still, i'm confident Apple will fix that by the time the final of MacOSX 10.1 is released.

HTH

cu:Stray
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with smb packet signing & MS Server 2003 idesignforlife Networking & Compatibility 1 January 26th, 2004 11:39 AM
OSX and Windows(NT) networking problems and questions... IAmFromMars Mac OS X System & Mac Software 9 June 11th, 2002 10:12 PM
Samba Problems Leighton Fehr Mac OS X System & Mac Software 1 January 18th, 2002 01:34 PM
different samba problems MFiend Mac OS X System & Mac Software 1 October 18th, 2001 06:20 AM
Samba server (smbd/nmbd) problems skinlayers Mac OS X System & Mac Software 3 October 17th, 2001 10:39 PM


All times are GMT -5. The time now is 09:16 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.