I have successfully set up samba to the point of having the workgroup listed --TUX-NET-- on both boxes. Problems occur when I attempt to access the /home directory, however. The settings are as follows on the server: I have selected 'File & Printer Sharing' I have selected several directories for sharing. I have set shares to be browseable. What am I missing? I get: Internal Error Please send a full bug report at http://bugs.kde.org libsmbclient reported an error, but didn't specify what the problem is. This might indicate a severe problem with your network - but also might indicate a problem with libsmbclient. If you want to help us, please provide a tcpdump of the network interface while you try to browse (be aware that it might contain private data, so don't post it if you're unsure about that - you can send it privately to the developers if they ask for it) I did a tcpdump and got the following: tcpdump: listening on eth0 20:13:26.984771 linux.local.32793 > linux01.local.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; UNICAST (DF) 20:13:26.985046 linux01.local.netbios-ns > linux.local.32793: NBT UDP PACKET(137): QUERY; POSITIVE; RESPONSE; UNICAST (DF) 20:13:27.004633 linux.local.44338 > linux01.local.netbios-ssn: P 3757963737:3757963741(4) ack 3466426039 win 5840 <nop,nop,timestamp 6031904 1577392> NBT Packet (DF) [tos 0x10] 20:13:27.004713 linux.local.44338 > linux01.local.netbios-ssn: P 4:118(114) ack 1 win 5840 <nop,nop,timestamp 6031904 1577392> NBT Packet (DF) [tos 0x10] 20:13:27.004978 linux01.local.netbios-ssn > linux.local.44338: P 1:69(68) ack 118 win 6432 <nop,nop,timestamp 1633809 6031904> NBT Packet (DF) [tos 0x10] 20:13:27.005020 linux.local.44338 > linux01.local.netbios-ssn: . ack 69 win 5840 <nop,nop,timestamp 6031904 1633809> (DF) [tos 0x10] I am afraid I don't understand what this means, unfortunately. HELP! <G> -- ..."Yogi" CH Namasté Yoga Studio
On 16/01/05 02:14 AM, C Hamel <yogich@sc2000.net> wrote:
What am I missing? I get: Internal Error Please send a full bug report at http://bugs.kde.org libsmbclient reported an error, but didn't specify what the problem is. This might indicate a severe problem with your network - but also might indicate a problem with libsmbclient. If you want to help us, please provide a tcpdump of the network interface while you try to browse (be aware that it might contain private data, so don't post it if you're unsure about that - you can send it privately to the developers if they ask for it)
The kio_slaves for samba in konq were a little sensitive in earlier versions of KDE, so make sure you've updated your system. Then try running a perl script called findsmb to see if your linux machine can see your windows machines, if it can make sure you can mount a share via the mount or smbmount command first. There are also a number of other graphical network browsers such as linneighbourhood that might help. Regards, Ben
On 12:58 Sun 16 Jan , Ben Higginbottom wrote:
On 16/01/05 02:14 AM, C Hamel <yogich@sc2000.net> wrote:
What am I missing? I get: Internal Error Please send a full bug report at http://bugs.kde.org libsmbclient reported an error, but didn't specify what the problem is. This might indicate a severe problem with your network - but also might indicate a problem with libsmbclient. If you want to help us, please provide a tcpdump of the network interface while you try to browse (be aware that it might contain private data, so don't post it if you're unsure about that - you can send it privately to the developers if they ask for it)
The kio_slaves for samba in konq were a little sensitive in earlier versions of KDE, so make sure you've updated your system. Then try running a perl script called findsmb to see if your linux machine can see your windows machines, if it can make sure you can mount a share via the mount or smbmount command first.
There are also a number of other graphical network browsers such as linneighbourhood that might help.
Regards,
Ben
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
OOOPs! I neglected to mention that the server/client are both Linux boxes. Does that mean I cannot do it? -- ..."Yogi" CH Namasté Yoga Studio
On 16/01/05 04:08 PM, C Hamel <yogich@sc2000.net> wrote:
OOOPs! I neglected to mention that the server/client are both Linux boxes. Does that mean I cannot do it?
Of course, but there are much better or different ways of doing so; nfs, scp and so on. If you need a graphical option enter "fish://user@server" in konq will give you a graphical scp session. Can you ping the other box? If not then the problem is with your network setup rather than any client/server configuration. If you can, can you post your smb.conf? Regards, Ben
On 18:19 Sun 16 Jan , Ben Higginbottom wrote:
On 16/01/05 04:08 PM, C Hamel <yogich@sc2000.net> wrote:
OOOPs! I neglected to mention that the server/client are both Linux boxes. Does that mean I cannot do it?
Of course, but there are much better or different ways of doing so; nfs, scp and so on. If you need a graphical option enter "fish://user@server" in konq will give you a graphical scp session.
Can you ping the other box? If not then the problem is with your network setup rather than any client/server configuration. If you can, can you post your smb.conf?
Regards,
Ben
Indeed! I agree! However, NFS gave me problems with the particular job I was attempting to do, so thought I'd give samba a go. The job was thus: I had two files which amounted to a backup for the client machine. I was recovering that backups using NFS when I got an error indicating that the lock file was bad, or something. The exact text escapes me. When I backed out of the directory I was in I noted that everything looked normal but when I went back into that directory all files had a question mark ('?') in front of them and all entries were in red. SMB never gave me this problem when the server was in WinXP... so thought, perhaps, SMB would be the way to go, here. I *think* it has to do w/the fact that the backup isn't in one single file --the reason for which is troubles w/x-ferring a file in excess of 1GB within smbfs. I thought I had everything set up properly. At any rate, here is the server's smb.conf file: # smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE # Date: 2003-09-23 [global] workgroup = TUX-NET os level = 65 time server = Yes unix extensions = Yes encrypt passwords = yes map to guest = Bad User printing = CUPS printcap name = CUPS socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY wins support = No veto files = /*.eml/*.nws/riched20.dll/*.{*}/ security = user server string = Samba Server add user script = /usr/sbin/useradd -c Machine -d /dev/null -s /bin/false %m$ domain master = false domain logons = no local master = yes preferred master = yes ;; ldap server = 127.0.0.1 [homes] comment = Home Directories valid users = yogi browseable = yes read only = No create mask = 0640 directory mask = 0750 guest ok = yes printable = no [printers] comment = All Printers path = /var/tmp printable = yes create mask = 0600 browseable = no guest ok = no [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 browseable = yes guest ok = no printable = no -- ..."Yogi" CH Namasté Yoga Studio
On Sunday 16 January 2005 08:19, Ben Higginbottom wrote:
On 16/01/05 04:08 PM, C Hamel <yogich@sc2000.net> wrote:
OOOPs! I neglected to mention that the server/client are both Linux boxes. Does that mean I cannot do it?
Of course, but there are much better or different ways of doing so; nfs, scp and so on. If you need a graphical option enter "fish://user@server" in konq will give you a graphical scp session.
Thank you. Jerome
Can you ping the other box? If not then the problem is with your network setup rather than any client/server configuration. If you can, can you post your smb.conf?
Regards,
Ben
On 16/01/05 09:34 PM, C Hamel <yogich@sc2000.net> wrote:
I thought I had everything set up properly. At any rate, here is the server's smb.conf file:
Add passdb backend = smbpasswd to your globals and then use the smbpasswd command to add the actual system users. I'd also cut alot of the extras out of your config file as most of them relate to windows networking. Heres one that should give you a start: [global] workgroup = TUX-NET username map = /etc/samba/smbusers map to guest = Bad User passdb backend = smbpasswd encrypt passwords = yes [homes] path = /home valid users = yogi browsable = yes [public] path = /home/public browsable = yes guest ok = yes Regards, Ben
Holy Crap!!! I've alway done the ssh / scp thing from the console for files between two linux boxes. this fish:// thing you mention IS AWESOME! Thanks B-) On Sunday 16 January 2005 11:19 am, Ben Higginbottom wrote:
On 16/01/05 04:08 PM, C Hamel <yogich@sc2000.net> wrote:
OOOPs! I neglected to mention that the server/client are both Linux boxes. Does that mean I cannot do it?
Of course, but there are much better or different ways of doing so; nfs, scp and so on. If you need a graphical option enter "fish://user@server" in konq will give you a graphical scp session.
Can you ping the other box? If not then the problem is with your network setup rather than any client/server configuration. If you can, can you post your smb.conf?
Regards,
Ben
On 17/01/05 03:50 PM, Brad Bourn <brad@summitrd.com> wrote:
Holy Crap!!!
I've alway done the ssh / scp thing from the console for files between two linux boxes.
this fish:// thing you mention IS AWESOME!
HEHE :-) Its handy when you dont know the location of the thing your looking for, but I've noticed that there does seem to be a bandwidth overhead when using it to copy very large files of a couple of 100 kbps so I still manly use scp. Konq's io_slaves could really do with more documentation though. Regards, Ben
participants (4)
-
Ben Higginbottom
-
Brad Bourn
-
C Hamel
-
Susemail