Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2000 16:11:25 -0700
From:      "gummibear@nettaxi.com" <gummibear@nettaxi.com>
To:        questions@freebsd.org
Subject:   Samba 2.0.7 homes share problem with NT 4.0 w/ serv pack 6
Message-ID:  <200010172311.QAA31318@mail24.bigmailbox.com>

next in thread | raw e-mail | index | archive | help
Greetings!  This here question is in need of a Samba guru.  I'll try to list out all the information that you'll might need.

Okay, I have a FreeBSD 4.1 box with Samba 2.0.7 installed from the ports collection that is having some troubles with NT 4.0 (with service pack 6).

Here's the situation.  I'd like to have the FreeBSD box as a simple File Server.  As of current I only have homes share and a tmp share.  The tmp share works fine when accessing from FreeBSD, but the homes share (which samba maps to the user name/directory) gives me some error messages.

So basically, when I log into the NT box as administrator and I open the network neighborhood and open the FreeBSD workstation icon, I get presented with a list of shares on the FreeBSD/Samba server.  I can open the tmp share, but when I try to open the administrator share I get this error message: "\\FreeBSD\administrator is not accessible.
The network name cannot be found."

I have read the diagnosing file on the samba site.  I found something weird when issuing the "net view \\freebsd" command on the NT 4 box.  Their is a missing field next to the the administrator share.

Anyways, I'm attatching smb.conf file and some output from smbclient and 'net view \\freebsd' commands and my log files.

I'm really stumped and would really like to get this working.  I'd like thos priove to my boss that FreeBSD and Samba has it's place in our network.  Any help would be greatly appreciated.  Thanks!

# Samba config File (/usrlocal/etc/smb.conf)
# Global parameters
[global]
     workgroup = MIS
     netbios name = FREEBSD
     server string = Samba Server
     interfaces = xl0
     encrypt passwords = Yes
     log file = /var/log/log.%m
     max log size = 50
     os level = 33
     local master = No
     dns proxy = No

[homes]
     comment = Home Directories
     writeable = Yes
     browseable = No

[printers]
     comment = All Printers
     path = /var/spool/samba
     printable = Yes
     browseable = No

[tmp]
     comment = Temporary file space
     path = /tmp
     writeable = Yes
     guest ok = Yes


# From the FreeBSD/Samba box logged in as administrator
$ smbclient -L freebsd
added interface ip=10.0.0.5 bcast=10.255.255.255 nmask=255.0.0.0
Got a positive name query response from 10.0.0.5 ( 10.0.0.5 )
Password:
Domain=[MIS] OS=[Unix] Server=[Samba 2.0.7]

        Sharename      Type      Comment
        ---------      ----      -------
        tmp            Disk      Temporary file space
        IPC$           IPC       IPC Service (Samba Server)
        lp             Printer   HP Laserjet 2100
        ibm            Printer   IBM 6400
        cc             Printer   Canon IR330E
        administrator  Disk      Home Directories

        Server               Comment
        ---------            -------
        FREEBSD              Samba Server
        STEVE

        Workgroup            Master
        ---------            -------
        MIS                  STEVE


# From the NT 4 box logged in as Administrator
C:>net view \\freebsd

Shared resources at \\freebsd


Samba Server

Share name   Type         Used as  Comment


-------------------------------------------------------------------------------
administrator
             Disk                  Home Directories                            
cc           Print                 Canon IR330E                                
ibm          Print                 IBM 6400                                    
lp           Print                 HP Laserjet 2100                            
tmp          Disk         (UNC)    Temporary file space                        
The command completed successfully.

# From the NT 4 box - trying to access administrator share via Network Neighborhood
# (error message given)

\\FreeBSD\administrator is not accessible.
The network name cannot be found.


Note: accessing the tmp share works fine.  I think their is something up with the homes share

# log.smb
[2000/10/16 18:20:04, 0] lib/util_sock.c:set_socket_options(154)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2000/10/16 18:20:04, 0] lib/util_sock.c:set_socket_options(154)
  Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[2000/10/17 14:05:01, 1] smbd/server.c:main(641)
  smbd version 2.0.7 started.
  Copyright Andrew Tridgell 1992-1998
[2000/10/17 14:05:01, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 10000 open files, 1054 are available.
[2000/10/17 14:07:19, 1] smbd/service.c:make_connection(550)
  freebsd (10.0.0.5) connect to service tmp as user bear (uid=1001, gid=0) (pid 16200)
[2000/10/17 14:08:10, 1] smbd/service.c:close_cnum(583)
  freebsd (10.0.0.5) closed connection to service tmp
[2000/10/17 14:23:55, 0] lib/util_sock.c:set_socket_options(154)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2000/10/17 14:23:55, 0] lib/util_sock.c:set_socket_options(154)
  Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[2000/10/17 14:23:55, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:23:55, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:23:55, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'administrator': authentication failed
[2000/10/17 14:23:55, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:23:55, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:23:55, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'administrator': authentication failed
[2000/10/17 14:23:55, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:23:55, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:23:55, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'administrator': authentication failed
[2000/10/17 14:24:05, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:24:05, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:24:05, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'administrator': authentication failed
[2000/10/17 14:24:09, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:24:09, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:24:09, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'administrator': authentication failed
[2000/10/17 14:24:14, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:24:14, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:24:14, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'administrator': authentication failed
[2000/10/17 14:24:20, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'bear' was disabled.
[2000/10/17 14:24:20, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'bear' was disabled.
[2000/10/17 14:24:20, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'bear': authentication failed
[2000/10/17 14:24:44, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:24:44, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:24:44, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'administrator': authentication failed
[2000/10/17 14:24:44, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:24:44, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'administrator' was disabled.
[2000/10/17 14:24:44, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'administrator': authentication failed
[2000/10/17 14:38:59, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'bear' was disabled.
[2000/10/17 14:38:59, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'bear' was disabled.
[2000/10/17 14:38:59, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'bear': authentication failed
[2000/10/17 14:39:23, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'bear' was disabled.
[2000/10/17 14:39:23, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'bear' was disabled.
[2000/10/17 14:39:23, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'bear': authentication failed
[2000/10/17 14:39:27, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'bear' was disabled.
[2000/10/17 14:39:27, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'bear' was disabled.
[2000/10/17 14:39:27, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'bear': authentication failed
[2000/10/17 14:40:24, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'bear' was disabled.
[2000/10/17 14:40:24, 1] smbd/password.c:pass_check_smb(506)
  Account for user 'bear' was disabled.
[2000/10/17 14:40:24, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'bear': authentication failed
[2000/10/17 14:40:39, 0] smbd/chgpasswd.c:check_oem_password(644)
  check_lanman_password: account bear disabled.
[2000/10/17 14:41:42, 1] smbd/service.c:make_connection(550)
  joey (10.0.0.12) connect to service tmp as user administrator (uid=1002, gid=1002) (pid 16299)
[2000/10/17 14:42:14, 0] smbd/nttrans.c:call_nt_transact_ioctl(2516)
  call_nt_transact_ioctl: Currently not implemented.
[2000/10/17 14:44:06, 1] smbd/service.c:close_cnum(583)
  joey (10.0.0.12) closed connection to service tmp
[2000/10/17 14:53:00, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'administrator': authentication failed
[2000/10/17 14:53:25, 1] smbd/service.c:make_connection(550)
  freebsd (10.0.0.5) connect to service administrator as user administrator (uid=1002, gid=1002) (pid 16348)
[2000/10/17 14:54:07, 1] smbd/service.c:close_cnum(583)
  freebsd (10.0.0.5) closed connection to service administrator
[2000/10/17 15:02:43, 0] lib/util_sock.c:set_socket_options(154)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2000/10/17 15:02:43, 0] lib/util_sock.c:set_socket_options(154)
  Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[2000/10/17 15:07:57, 1] smbd/server.c:main(641)
  smbd version 2.0.7 started.
  Copyright Andrew Tridgell 1992-1998
[2000/10/17 15:07:57, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 10000 open files, 1054 are available.



------------------------------------------------------------
Nettaxi MP3 Player, Burner, Ripper - NEW Version 2.0!!! DOWNLOAD IT FREE! (5MBs)
MP3 DOWNLOAD:  http://www.nettaxi.com/mp3/version_2/ntxy_MP3_setup.exe




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010172311.QAA31318>