1828354 Members
3047 Online
109976 Solutions
New Discussion

samba doesnt work..

 
SOLVED
Go to solution
James Thogmartin
New Member

samba doesnt work..

i am running debian 2.2, and installed samba, and the samba server is running as a daemon..

tiny:~# ps aux | grep smbd
root 13577 0.0 0.8 2792 1272 ? S 14:29 0:00 /usr/sbin/smbd -D
root 13610 0.0 0.2 1108 392 pts/0 S 14:47 0:00 grep smbd
tiny:~#

and the netbios server is running as well:

tiny:~# ps aux | grep nmbd
root 13575 0.0 0.7 2224 1200 ? S 14:29 0:00 /usr/sbin/nmbd -D
root 13580 0.0 0.6 2164 948 ? S 14:29 0:00 /usr/sbin/nmbd -D
root 13612 0.0 0.2 1108 392 pts/0 S 14:48 0:00 grep nmbd
tiny:~#

and the nbtstat shows it as resolving the netbios:
C:\>nbtstat -a 192.168.0.3

Local Area Connection 2:
Node IpAddress: [192.168.0.2] Scope Id: []

NetBIOS Remote Machine Name Table

Name Type Status
---------------------------------------------
TINY <00> UNIQUE Registered
TINY <03> UNIQUE Registered
TINY <20> UNIQUE Registered
..__MSBROWSE__.<01> GROUP Registered
WORKGROUP <00> GROUP Registered
WORKGROUP <1D> UNIQUE Registered
WORKGROUP <1E> GROUP Registered

MAC Address = 00-00-00-00-00-00


and when i look in the network places in win2k, it shows the box as being there...

however.. when i try to browse the server, it says it cant connect to it:

\\Tiny is not accessible
Access denied.

anyone know what the problem could be? i have attached the smb.conf.

thanks,
james
7 REPLIES 7
petr jaeger
Honored Contributor

Re: samba doesnt work..

hi

I had to create an user to be able to attach to my samba (similar problems as you).

I haven't seen though any shares which you've made (unless you only want to share printers which are in printcap)

Petr
James Thogmartin
New Member

Re: samba doesnt work..

what i want it to do is to use the accounts that are already on the box... like my 'per0xide' account will go to /home/per0xide for the samba share when accessed... but its not even giving me a login, it just acts like it cant connect to the server, but recognizes that its there....
Hal Rottenberg
Frequent Advisor

Re: samba doesnt work..

Hi,

What OS are you trying to connect from as the client? If NT 4.0/Win2k/XP, try it from the command-line and let us know what error you get.

c:> net use z: \\server\share /user:

-hal
If at first you don't succeed, then skydiving isn't for you.
Hal Rottenberg
Frequent Advisor
Solution

Re: samba doesnt work..

P.S. Note your smb.conf has the home directories set to read-only, you may wish to change that.
If at first you don't succeed, then skydiving isn't for you.
James Thogmartin
New Member

Re: samba doesnt work..

C:\>net use z: \\tiny\per0xide \user: per0xide
The syntax of this command is:


NET USE [devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]



C:\>net use z: \\tiny\per0xide
The password or user name is invalid for \\tiny\per0xide.

Type the password for \\tiny\per0xide:
System error 1219 has occurred.

The credentials supplied conflict with an existing set of credentials.


C:\>net use z: \\tiny\per0xide per0xide per0xide
The syntax of this command is:


NET USE [devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]



C:\>net use z: \\tiny\per0xide per0xide
System error 1219 has occurred.

The credentials supplied conflict with an existing set of credentials.


C:\>
Hal Rottenberg
Frequent Advisor

Re: samba doesnt work..

"C:\>net use z: \\tiny\per0xide \user: per0xide"

You used the wrong slash for the user flag. Try "/user:per0xide".

If you still get error 1219, see this Microsoft page for an explanation.

http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q106211

But you may not get that error.

If you do, open Explorer, go to Tools / Disconnect Network Drive. You might find a session there that you need to disconnect as it is causing the credentials to conflict as stated by that error message.

Let us know what happens...

If at first you don't succeed, then skydiving isn't for you.
petr jaeger
Honored Contributor

Re: samba doesnt work..

Hi

I meant to create user and then authenticate him with smbpasswd.

read these documents:
http://www.samba.org/samba/docs/Samba-HOWTO-Collection.html

http://www.samba.org/samba/docs/ENCRYPTION.html


good luck
Petr