samba problem

samba problem

Post by Daryl Fonseca-Ho » Tue, 05 Sep 2000 23:31:09



Are you running named? I had to add the names and IP's for all my Windows
clients in my named.hosts file on my Linux server so the names could get
resolved. I also added them to named.rev so reverse lookups (IP number to
name) would work. Check out the documentation on the program bind. I think
it has information about setting up the control files for named.

On Mon, 04 Sep 2000 02:17:50 +0100, Harry Lewis

<ha...@the-dude.fsnet.co.uk> wrote:
>I've got samba 2.0.6 running on Red Hat 6.0. The server is in a simple
>test network with a Windows 98SE client. Both run TCP/IP, and both have
>LMHOSTS files with a list of hosts.

>When I double click on Network Neighborhood in the Windows box, I can
>see the Red Hat system and the shares in it, but when I try to connect
>to the share, the system reports that the other host cannot be found.
>The same is true if I use NET VIEW \\host_name.

>As far as I can tell, both systems are establishing browse lists with
>broadcasts, but - for whatever reason, fail to connect using another
>name resolution method (presumably LMHOSTS).

>Any ideas? My smb.config is shown below.

>TIA,

>Harry

>=====================================================================
># Samba config file created using SWAT
>   # from rh-linux (127.0.0.1)
>   # Date: 2000/09/04 02:11:17

>   # Global parameters
>   [global]
>           workgroup = WORKGROUP
>           netbios name =
>           netbios aliases =
>           server string = Samba 2.0.6
>           interfaces =
>           bind interfaces only = No
>           security = SHARE
>           encrypt passwords = No
>           update encrypted = No
>           allow trusted domains = Yes
>           hosts equiv =
>           min passwd length = 5
>           map to guest = Never
>           null passwords = No
>           password server =
>           smb passwd file = /etc/smbpasswd
>           root directory = /
>           passwd program = /bin/passwd
>           passwd chat = *new*password* %n\n *new*password* %n\n
>*changed*
>           passwd chat debug = No
>           username map =
>           password level = 0
>           username level = 0
>           unix password sync = No
>           restrict anonymous = No
>           use rhosts = No
>           log level = 1
>           syslog = 1
>           syslog only = No
>           log file =
>           max log size = 5000
>           timestamp logs = Yes
>           debug hires timestamp = No
>           debug pid = No
>           debug uid = No
>           protocol = NT1
>           read bmpx = No
>           read raw = Yes
>           write raw = Yes
>           nt smb support = Yes
>           nt pipe support = Yes
>           nt acl support = Yes
>           announce version = 4.2
>           announce as = NT
>           max mux = 50
>           max xmit = 65535
>           name resolve order = lmhosts host bcast
>           max packet = 65535
>           max ttl = 259200
>           max wins ttl = 518400
>           min wins ttl = 21600
>           time server = No
>           change notify timeout = 60
>           deadtime = 0
>           getwd cache = Yes
>           keepalive = 300
>           lpq cache time = 10
>           max disk size = 0
>           max open files = 10000
>           read prediction = No
>           read size = 16384
>           shared mem size = 1048576
>           socket options = TCP_NODELAY
>           stat cache size = 50
>           load printers = Yes
>           printcap name = /etc/printcap
>           printer driver file = /etc/printers.def
>           strip dot = No
>           character set =
>           mangled stack = 50
>           coding system =
>           client code page = 850
>           stat cache = Yes
>           domain groups =
>           domain admin group =
>           domain guest group =
>           domain admin users =
>           domain guest users =
>           machine password timeout = 604800
>           add user script =
>           delete user script =
>           logon script =
>           logon path = \\%N\%U\profile
>           logon drive =
>           logon home = \\%N\%U
>           domain logons = No
>           os level = 20
>           lm announce = Auto
>           lm interval = 60
>           preferred master = No
>           local master = Yes
>           domain master = No
>           browse list = Yes
>           dns proxy = Yes
>           wins proxy = No
>           wins server =
>           wins support = No
>           wins hook =
>           kernel oplocks = Yes
>           ole locking compatibility = Yes
>           oplock break wait time = 10
>           smbrun = /usr/bin/smbrun
>           config file =
>           preload =
>           lock dir = /var/lock/samba
>           default service =
>           message command =
>           dfree command =
>           valid chars =
>           remote announce =
>           remote browse sync =
>           socket address = 0.0.0.0
>           homedir map =
>           time offset = 0
>           unix realname = No
>           NIS homedir = No
>           panic action =
>           comment =
>           path =
>           alternate permissions = No
>           revalidate = No
>           username =
>           guest account = nobody
>           invalid users =
>           valid users =
>           admin users =
>           read list =
>           write list =
>           force user =
>           force group =
>           read only = Yes
>           create mask = 0744
>           force create mode = 00
>           security mask = -1
>           force security mode = -1
>           directory mask = 0755
>           force directory mode = 00
>           directory security mask = -1
>           force directory security mode = -1
>           guest only = No
>           guest ok = No
>           only user = No
>           hosts allow =
>           hosts deny =
>           status = Yes
>           max connections = 0
>           min print space = 0
>           strict sync = No
>           sync always = No
>           print ok = No
>           postscript = No
>           printing = bsd
>           print command = lpr -r -P%p %s
>           lpq command = lpq -P%p
>           lprm command = lprm -P%p %j
>           lppause command =
>           lpresume command =
>           queuepause command =
>           queueresume command =
>           printer name =
>           printer driver = NULL
>           printer driver location =
>           default case = lower
>           case sensitive = No
>           preserve case = Yes
>           short preserve case = Yes
>           mangle case = No
>           mangling char = ~
>           hide dot files = Yes
>           delete veto files = No
>           veto files =
>           hide files =
>           veto oplock files =
>           map system = No
>           map hidden = No
>           map archive = Yes
>           mangled names = Yes
>           mangled map =
>           browseable = Yes
>           blocking locks = Yes
>           fake oplocks = No
>           locking = Yes
>           oplocks = Yes
>           level2 oplocks = No
>           oplock contention limit = 2
>           strict locking = No
>           share modes = Yes
>           copy =
>           include =
>           exec =
>           preexec close = No
>           postexec =
>           root preexec =
>           root preexec close = No
>           root postexec =
>           available = Yes
>           volume =
>           fstype = NTFS
>           set directory = No
>           wide links = Yes
>           follow symlinks = Yes
>           dont descend =
>           magic script =
>           magic output =
>           delete readonly = No
>           dos filetimes = No
>           dos filetime resolution = No
>           fake directory create times = No

>   [Public]
>           comment = Public folder
>           path = /Public
>           read only = No
>           guest ok = Yes

 
 
 

samba problem

Post by Harry Lewi » Wed, 06 Sep 2000 17:13:10


Thanks for the tip - you're right, named was required. Also, I had to
change the authentication of Samba clients from SHARE to USER. I chose
SHARE because the help files indicated this was the easiest to set up -
the documentation said you'd have to set up a guest account for USER.
Yet when I switched to USER, everything worked fine, even without
defining a guest account. I'm mystified!

Harry


> Are you running named? I had to add the names and IP's for all my Windows
> clients in my named.hosts file on my Linux server so the names could get
> resolved. I also added them to named.rev so reverse lookups (IP number to
> name) would work. Check out the documentation on the program bind. I think
> it has information about setting up the control files for named.


 
 
 

1. Samba problems: Samba not in Network Neighborhood

I have (the latest) Samba installed and have two problems that I can't
seem to solve.

First, my setup: Machine 1 is linux/samba machine.  Machine 2 is Win
95 and Machine 3 is WfWG 3.11 with TCP/IP.  They connect with
ethernet.  All machines can ping each other and the other TCP stuff
works fine.

Machines 2 and 3 can mount each other's drives and printers fine.
Machine 2 can mount the Samba shares but only after I run the "Find
Computer" tool.  It doesn't appear in the Network Neighborhood with
the other machines.

I used smbclient to verify that Machine 1 can mount look at the shares
on all three machines and the Workgroup name is the same.

I was able to drag a shortcut into network neightborhood but that's
not the same as actually being there.

A possibly related problem is machine 3, the Win 3.11 one, cannot see
the samba shares at all.  The server doesn't appear.

Is there some Samba option that I don't have enabled?  With the Win 95
machine it's only annoying not having it in the Neighborhood but it is
entirely unusable from machine 3.  This I really need to fix.

BTW: One further problem I haven't looked at too closely: All the
mounted shares are done as "pcguest" and not as the username logged in
to win 95.  I have the same username/password on both machines.  Is
there a Win 95 option somewhere I need to change?

thanks, jv


    Graphics                "Purveyors to the Froup"

2. Printers: HP 1100 or NEC 870?

3. Samba- Problem: path too long/ cvs- Problem: cvs import stucks

4. add/remove from dos self-extracting archive

5. Very strange Samba problem - please advise

6. High-end laser printer support

7. samba problem - only root can write - TIA

8. security

9. samba problem

10. Samba Problem

11. Samba problem...

12. Samba Problem

13. Samba problem