At 06:16 PM 4/9/2001 +0000, you wrote:
>Good morning
>
>Can someone take a look at my config files and try to give me an
>idea of why I cannot get this to work.
Bro, read the documentation. And use SWAT to configure samba, it works really well and
helps keep things in order
>I have 'attached' copies of config files and 'results-output' from
>smbclient for your evaluation.
>
>Sorry for thw long message... unavoidable.
'Course:-)
>Thanks in advance for any advice you can give me.
>
>johnny
>
>
>I have Samba running on both linux boxes.
>
>1. on the win95 box [vm] I can see the workgroup[mygroup] and I can
>see the two linux boxes [fw] and [files] the Samba Server...
>but I cannot log in to either linux box using samba from [vm].
>and I can see all three machines from the linux boxes as well but am
>having trouble loging in to each other.
>
>2. I'm not sure I know how to properly log in to these boxes?
>
>3. Do I need to creat a list of users/ vs/ passwords and put it on
> files.abc and somehow make it accessible to the others?
Sorta. as root on the linx box (one at a time, k? after the first one works then get
the second one working) type:
smbpasswd -a johnny
and then give it the password you want. This assumes, of course, that you want a samba
user named johnny, hopefully there's a system user named johnny too. It will use it's
own file, /etc/smbpasswd - UNLESS you've told the config file to use another one
>4. when I try to access the linux boxes from the win95 box I get a
>login window [re: \\files\IPC$ ]
>What does this mean ?
It means you do not have shares setup, at least not correctly
>and what do I enter ? Nothing works...
Nothing will work, it's not an accessible share
>5. on the Win95 box... in Control-Panel/ Network
>under 'Identification' I have
> Computer Name= vm
> workgroup = mygroup
>
>and under Access control I have Checked 'user-leverl'
>and I told it to get a list of the users and groups
>from 'files.abc' [ but I don't know how to create such a list ? ]
>
>Both smbd and nmbd are running.
>
>usernames and paswords are the same for all boxes.
Good. If the usernames match perfectly between the Windows and Linux boxen it will be
easier to deal with.
Make sure you have "Encrypted Passwords" set to yes
> This is my home LANs design....
>
>phone line<<-Box-1[demand DialUp] 192.168.1.100[eht0] 'gw.abc'
> | [with FireWall]
> |
> |--Box-2[my Samba server]192.168.1.101 'files.abc'
> |
> |--Box-3[Linux-WorkStation] w 'Gnomba' 'fw.abc'
> |
> |--Box-4[Win-95 Workstation] 'vm.abc'
>
>Box-2 'files.abc'has RH-7.0 and Samba 2.0.7-21 ssi and Gnomba
>0.6.2-4
>Box-3 'fw.abc' has RH-6.2 and Samba 2.0.6-9 and gnomba 0.5.1-1
>===================================================================================
> below are the config and 'result's files from 'files' and 'fw'
>mach9ines...
>-----------------------------------------------------------------------------------
>from 'files.abc'
>-----------------------------------------------------------------------------------
># this machine is 'files.abc'
># O/S is RH 7.0 location is '/etc/' this file is '/etc/hosts'
>192.168.1.100 gw.abc gw
>192.168.1.101 files.abc files # this machine
>192.168.1.103 fw.abc fw
>192.168.1.105 vm.abc vm
>
>127.0.0.1 localhost.localdomain localhost
>----------------------------------------------------------------------------------
># this machine is 'files.abc'
># O/S is RH-7.0 location is '/etc/samba' file is/etc/samba/lmhosts
>192.168.1.101 files
>192.168.1.103 fw
>192.168.1.105 vm
>----------------------------------------------------------------------------------
># this machine is 'files.abc' alias 'files'
># OS is RH-7.0 location is '/etc/samba' file is
>'/etc/samba/smb.conf'
>workgroup = MYGROUP
>netbios name = files
>server string = SambaServer on 'files.abc'
>hosts allow = 192.168.1.
^^^^^^^
Comment host allow out until you have i working properly
>security = user
>
>[download]
> path = /home/download
> comment = \\files\home\download\
> browseable = yes
>[john]
> path = /home/john
> comment = \\files\home\john\
> browseable = yes
Why didn't you use the deafult [homes] share which takes care of it automaticlly:
[homes]
comment = Uesr home dirs
browseable = no
read only = no
create mode = 0750
>[public]
> path = /home/public
> comment = \\files\home\public\
> browseable = yes
>
>
>[printers]
> path = /var/spool/lpd/lp
> printable = yes
> public = yes
>----------------------------------------------------------------------------------
>
>this is the result of doing 'smbclient -L files john'
>while logged in as root on files
>.......
>added interface ip=192.168.1.101 bcast=192.168.1.255
>nmask=255.255.255.0
>
>Domain=[MYGROUP] OS=[Unix] Server=[Samba 2.0.7]
>
> Sharename Type Comment
> --------- ---- -------
> download Disk \\files\home\download browseable =
>yes
> john Disk \\files\home\john browseable =
>yes
> public Disk \\files\home\public browseable =
>yes
> printers Printer
> IPC$ IPC IPC Service (SambaServer on
>'files.abc')
> lp Printer
>
> Server Comment
> --------- -------
> FILES SambaServer on 'files.abc'
> FW SambaServer on 'fw.abc'
>
> Workgroup Master
> --------- -------
> MYGROUP FW
>-----------------------------------------------------------------------------------
>
>this is the result of doing 'smbclient -L fw john'
>while logged in as root on files
>...........
>added interface ip=192.168.1.101 bcast=192.168.1.255
>nmask=255.255.255.0
>
>Domain=[MYGROUP] OS=[Unix] Server=[Samba 2.0.6]
>
> Sharename Type Comment
> --------- ---- -------
> download Disk \\fw\home\download browseable =
>yes
> john Disk \\fw\home\john browseable = yes
> public Disk \\fw\home\public browseable =
>yes
> printers Printer HP-560C on \\files
> IPC$ IPC IPC Service (SambaServer on
>'fw.abc')
> lp Printer
>
> Server Comment
> --------- -------
> FILES SambaServer on 'files.abc'
> FW SambaServer on 'fw.abc'
> VM
>
> Workgroup Master
> --------- -------
> MYGROUP FW
>-----------------------------------------------------------------------------------
>-----------------------------------------------------------------------------------
>
>from 'fw.abc'
>-----------------------------------------------------------------------------------
># this machine is 'fw.abc'
># location is '/etc' this file is '/etc/hosts'
>192.168.1.100 gw.abc gw
>192.168.1.101 files.abc files
>192.168.1.103 fw.abc fw # This Machine
>192.168.1.105 vm.abc vm
>
>127.0.0.1 localhost.localdomain localhost
>-----------------------------------------------------------------------------------
># this machine = 'fw.abc' alias 'fw'
># file location= '/etc' this file is '/etc/lmhosts'
>127.0.0.1 localhost
>192.168.1.101 files
>192.168.1.103 fw
>192.168.1.105 vm
>-----------------------------------------------------------------------------------
># this machine is 'fw.abc' alias 'fw'
># O/S= RH-6.2 file location= '/etc' this file is
>'/etc/smb.conf'
>#
>workgroup = MYGROUP
>netbios name = fw
>server string = SambaServer on 'fw.abc'
>hosts allow = 192.168.1.
>security = user
>
>[download]
> path = /home/download
> comment = \\fw\home\download\
> browseable = yes
>
>[john]
> path = /home/john
> comment = \\fw\home\john\
> browseable = yes
>
>
>[public]
> path = /home/public
> comment = \\fw\home\public\
> browseable = yes
>
>[printers]
> path = /var/spool/lpd/lp
> printable = yes
> public = yes
> comment = HP-560C on \\files\
>-----------------------------------------------------------------------------------
>this is the 'result' of doing 'smbclient -L fw john'
>[while logged in as root on fw]
>
>added interface ip=192.168.1.103 bcast=192.168.1.255
>nmask=255.255.255.0
>
>session setup failed: ERRSRV - ERRbadpw (Bad password -
>name/password pair
>in a Tree Connect or Session Setup are invalid.)
>-----------------------------------------------------------------------------------
>this was a result of doing 'smbclient -L files john'
>while root in fw....
>..............
>added interface ip=192.168.1.103 bcast=192.168.1.255
>nmask=255.255.255.0
>
>session setup failed: ERRSRV - ERRbadpw (Bad password -
>name/password pair
>in a Tree Connect or Session Setup are invalid.)
>===================================================================================
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list
Argh.. I don't have time to read all that. work on getting one box's samba set up
correctly so that you can connect to it from windows, then we'll work on the rest.
Post to the list, don't mail me directly please.
----------------------------------------------------
Jonathan Wilson
System Administrator
Cedar Creek Software http://www.cedarcreeksoftware.com
Central Texas IT http://www.centraltexasit.com
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list