Hi everyone. How do I look at w98 clients whilst I'm sitting at the server? eg a client at machine1.local. smbmount asks me for a password which it tells me is wrong even if I'm guest. Sorry to try again but we can't get it right still. Thanks, Steve.
Are we talking about windows clients or samba clients? You can test your
config with smbclient -L netbiosname. if you can get a browse list then the
client should be configured right. If you can't get a browse list you
probably haven't added the user names to the smbpasswd file. Do that with
"smbadduser username". Then tell samba how the samba usernames relate to
unix usernames. in smbusers you want to list the
unix name then samba/windows name like so:
#/etc/smbusers
root = administrator admin rootDude (you can list more than one alias)
bsmith = billsmith
If you are using the default encrypt password (yes) and case settings you
sould be set. If not, post them and we'll help. If in doubt about password
case settings (there are several variables that can hose this) just comment
them out and accept the defaults which are right for everything after
windows for workgroups 3.11.
John
----- Original Message -----
From: "scc"
Hi everyone.
How do I look at w98 clients whilst I'm sitting at the server? eg a client at machine1.local. smbmount asks me for a password which it tells me is wrong even if I'm guest.
Sorry to try again but we can't get it right still.
Thanks, Steve.
Hi John. Hi everyone. They are w98 clients, 10 of them. All the clients can see the server shares and printing works too. All we want to do is to be able to browse the client disks from the server. Could you give us an example based on the following? e.g. My username on the server is 'root' and my password is 'foobar' My username on every client is 'steve' and my password on every client is 'foobar1' I want to be able to see the w98 box 'computer3.local', IP 192.168.0.3. Computer3.local can browse the shares on the server and print via the server so I believe all is set up O.K. Can't I just mount it on the server somewhere and browse it from there? Thanks for your patience, Steve. On Thursday 15 November 2001 19:00, you wrote:
Are we talking about windows clients or samba clients? You can test your config with smbclient -L netbiosname. if you can get a browse list then the client should be configured right. If you can't get a browse list you probably haven't added the user names to the smbpasswd file. Do that with "smbadduser username". Then tell samba how the samba usernames relate to unix usernames. in smbusers you want to list the unix name then samba/windows name like so: #/etc/smbusers root = administrator admin rootDude (you can list more than one alias) bsmith = billsmith
If you are using the default encrypt password (yes) and case settings you sould be set. If not, post them and we'll help. If in doubt about password case settings (there are several variables that can hose this) just comment them out and accept the defaults which are right for everything after windows for workgroups 3.11.
John
----- Original Message ----- From: "scc"
To: "SuSE" Sent: Wednesday, November 14, 2001 4:06 AM Subject: [SLE] browsing samba clients Hi everyone.
How do I look at w98 clients whilst I'm sitting at the server? eg a client at machine1.local. smbmount asks me for a password which it
tells
me is wrong even if I'm guest.
Sorry to try again but we can't get it right still.
Thanks, Steve.
----- Original Message -----
From: "scc"
Hi John. Hi everyone. <snip> My username on the server is 'root' and my password is 'foobar' My username on every client is 'steve' and my password on every client is 'foobar1' I want to be able to see the w98 box 'computer3.local', IP 192.168.0.3.
Computer3.local can browse the shares on the server and print via the server so I believe all is set up O.K.
Can't I just mount it on the server somewhere and browse it from there? <snip>
Yes you can. Set the w98 box on user share mode if you are using the samba server as your domain authenticator. Add your username to the share's access list. Then mount the share with: mount -t smbfs -o username=steve,password=foobar1 //Computer3.local/sharename /mnt/comp3C Of course the dir /mnt/comp3C must exist. John
Hi again. I'm nearly there but the sentence: 'Set the w98 box on user share mode if you are using the samba server as your domain authenticator. Add your username to the share's access list.' Is still beyond us. I set up the DNS scripts (the ones with 0.168.192.in-addr.arpa and if you get a full stop wrong it doesn't work) on our Samba server. I think this must be our domain authenticator no? How do I set the w98 box on user share mode? How do I add my username to the share's access list? Please don't give up on us. If you are ever in Alicante (Spain) I'll gladly pay for the beers! Cheers, Steve.
Hi John. Hi everyone.
<snip> My username on the server is 'root' and my password is 'foobar'
My username on every client is 'steve' and my password on every client is 'foobar1' I want to be able to see the w98 box 'computer3.local', IP 192.168.0.3.
Computer3.local can browse the shares on the server and print via the
server
so I believe all is set up O.K.
Can't I just mount it on the server somewhere and browse it from there?
<snip>
Yes you can. Set the w98 box on user share mode if you are using the samba server as your domain authenticator. Add your username to the share's access list. Then mount the share with: mount -t smbfs -o username=steve,password=foobar1 //Computer3.local/sharename /mnt/comp3C
Of course the dir /mnt/comp3C must exist.
John
The beer sounds good but I'm a bit far away. I'll settle for virtual beer.
DNS has nothing to do with share modes. If you want to have the access to
devices on a particular maching automatic, right click on network
neigherborhood, then select properties->Access Control->user-level access
control. In the box below, type the netbios name of your samba server. It
will ask you if it's okay to remove the old shares. Windows will then
authenticate your rights to access the device through the samba server.
Alternatively, if you want to have users prompted for a password which you
have set on each device, then leave the share mode on Share-level access
control. If you change to user-level control the computer will want to
reboot to activate the changes.
After your reboot, you have to share the drives again. Right click on the
drive or folder you want to share, click sharing (you might have to click
properties and then sharing depending on the version of windows you have).
You will get a properties box. Click Shared As..., then type a share name.
You will see a box below. Here you will add the users you want to access
the device. Click add, then your workgroup name (careful to select the
workgroup and not the computer name if you want to specify users from the
samba server list), then select the users or groups from the list. Click
okay when you're done and you should be able to access the shares over the
network. If a user not added tries they should be denied. You only need
the mount commands when accessing via command line in linux. Otherwise
you're all gui.
I'll expect that virtual beer in the mail now.
John
----- Original Message -----
From: "scc"
Hi again.
I'm nearly there but the sentence: 'Set the w98 box on user share mode if you are using the samba server as your domain authenticator. Add your username to the share's access list.' Is still beyond us.
I set up the DNS scripts (the ones with 0.168.192.in-addr.arpa and if you get a full stop wrong it doesn't work) on our Samba server. I think this must be our domain authenticator no? How do I set the w98 box on user share mode? How do I add my username to the share's access list?
Please don't give up on us. If you are ever in Alicante (Spain) I'll gladly pay for the beers!
Cheers, Steve.
<snip>
Hi Steve I'll try and help a bit. I have a Win box connected to a Lin box. For the win box you need to install NetBEUI, I assume that you know how to do that - it's a Microsoft protocol add in. Then in the (Control panel) Network properties for TCP/IP on the ethernet card, select the IP address tab, select the 'Specify an IP address' and add your address, which will be in the order of 192.168.0.4. You should keep the first two numbers as shown for the present, the last two you can alter. The mask should be 255.255.255.0 Under the identification tab put in a name for your machine, all lowercase will probably make it easier. Name the Workgroup, I use WORKGROUP. For access control I select the top button 'Share level access control' You need to check the bindings, and you would be best advised to look at Steve Gibson's page for that. Address is http://grc.com/su-bondage.htm (no its not that sort of bondage :) When you have sorted that out then ok everything and reboot. After rebooting, open a Dos box and try ping xxx.xxx.xxx.xxx where the x's are the address of the Lin box. You should get 3 replies. If you succeed try Network Neighborhood, either direct or from explorer, it should find the name of the Lin box. Windows does not always find it, and a reboot may help. If it doesn't come up, the sort out the Lin box. On the Lin box you need to set up Samba, don't know if you have done that. Good luck Regards, David On Fri, 16 Nov 2001 01:16:37 +0100, scc wrote:
Hi again.
I'm nearly there but the sentence: 'Set the w98 box on user share mode if you are using the samba server as your domain authenticator. Add your username to the share's access list.' Is still beyond us.
I set up the DNS scripts (the ones with 0.168.192.in-addr.arpa and if you get a full stop wrong it doesn't work) on our Samba server. I think this must be our domain authenticator no? How do I set the w98 box on user share mode? How do I add my username to the share's access list?
Please don't give up on us. If you are ever in Alicante (Spain) I'll gladly pay for the beers!
Cheers, Steve.
Hi John. Hi everyone.
<snip> My username on the server is 'root' and my password is 'foobar'
My username on every client is 'steve' and my password on every client is 'foobar1' I want to be able to see the w98 box 'computer3.local', IP 192.168.0.3.
Computer3.local can browse the shares on the server and print via the
server
so I believe all is set up O.K.
Can't I just mount it on the server somewhere and browse it from there?
<snip>
Yes you can. Set the w98 box on user share mode if you are using the samba server as your domain authenticator. Add your username to the share's access list. Then mount the share with: mount -t smbfs -o username=steve,password=foobar1 //Computer3.local/sharename /mnt/comp3C
Of course the dir /mnt/comp3C must exist.
John
----- Original Message -----
From: "David"
Hi Steve For the win box you need to install NetBEUI, I assume that you know how to do that - it's a Microsoft protocol add in. <snip>
Negative. You do not need to install netbeui to use samba or windows networking. You should ONLY have tcp/ip unless you have an overriding reason to do otherwise.
For access control I select the top button 'Share level access control'
As I pointed out, if you use Share-level control you defeat the purpose of having a domain controller. The domain controller has the job of authenticating every share access across the entire domain (if config'd properly) minus whatever "trust" relationships it has with sub-domain controllers. <snip> John
Well the first thing to say is that it works, but I forgot to mention that the Lin box dual boots and I it need to connect to Win 98 there. David On Sat, 17 Nov 2001 20:48:42 +0100, John Scott wrote:
Negative. You do not need to install netbeui to use samba or windows networking. You should ONLY have tcp/ip unless you have an overriding reason to do otherwise.
As I pointed out, if you use Share-level control you defeat the purpose of having a domain controller. The domain controller has the job of authenticating every share access across the entire domain (if config'd properly) minus whatever "trust" relationships it has with sub-domain controllers.
<snip>
John
participants (3)
-
David
-
John Scott
-
scc