LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't get Samba to show up on my Windows 2000 Pro (https://www.linuxquestions.org/questions/linux-networking-3/cant-get-samba-to-show-up-on-my-windows-2000-pro-91277/)

dOEPain 09-10-2003 11:36 AM

Can't get Samba to show up on my Windows 2000 Pro
 
Can't get Samba to show up on my Windows 2000 Pro.
First I'd like to intro myself as dOEPain first timer on this site hoping for some advice on my little problems.

ok I have set up my smb.config file with all necessary paramameters. Ran TestParm and all looks good. smbclient with the -L -U -W switches show the shares, but how can I manipulate them? I want to be able to connect to the shares through RH9.0, and vice-versa with my W2kPro box. I even got my linux box to "Join the W2k Domain" (saw its netbios name in the AD.). I just want to freely be able to go between these 2 guys .

Please help.:Pengy:

Eqwatz 09-10-2003 01:40 PM

I was able to share files between RH 9 and W2k-pro. I didn't have to set-up a network drive either. But for the life of me, I can't remember how I did it. I don't remember having to customize the samba.conf files, although I did have to do a network login with a password and authentication--which may have involved those files.

One major difference may be that I have a router which acts as a print server, a gateway, a DHCP server, and such. So, If you don't have one, it makes a big difference in the set-up.

Your set-up determines the path to follow in straightening every thing out.

Something on the network needs to host the network--this means somebody has to be in charge of the services and the way they are advertised(?) on the network.

In my case, the router was the host and was in charge of DHCP, the gateway, and a primitive printserver. W2K hosted the workgroup and ran authentication on the fileshares and membership to them.

When the host boots, it announces its presence, sends out requests in a defined protocol, assigns the IPaddresses, announces available services, and listens for the responses on the network.

There can only be one source of those things. It can be W2K-pro, or an intelligent router, or your Linux box. Which ever one it is--it must run the show. Even if you choose static IP addresses. If you choose the Linux box, you have a lot of dinking to do with the W2K_pro. The default settings for pro are for it to run all of the services.

I find I can't "wing-it" for those kind of situations, I have to define the services and such on paper. I may have to do it repeatedly to get everything very clear in my mind before I change ANYTHING. I then have to write out a check-list for each O.S. of the services that are running and a plan for each step I am going to take.

Why? Because I ended up thrashing both systems--totally hosed 2000 and buggered up the RH. If you don't make a checklist, and then log everything, you can't return everything to the way it was. Some stuff doesn't just "roll-back" with a registry restoration (I know this from sad experience) unless you know exactly what you did and in what order you did them.

It sounds to me that you have Win2K running everything, and you have a Samba client.

The way it works is:

The computers have to have permissions and authentication to enter the domain. (Network login and password.)

The computers have to have permissions and authentication to be a member of the workgroup. (Assigned in both O.S.es. If I'm not mistaken, both O.S.es have a wizard/properties window to do this.)

The workgroup has a group defined in both computers as having permission to mount files on the network. The fileshares have their own membership to that group, which has permissions, passwords, authentication, and priveledges in both O.S.es. (If I'm not mistaken, both O.S.es have a wizard/properties window to do this.)

The computer user is a member of a group which is defined on both computers as having priviledges to read write and execute files within the fileshares.

So, the fileshares are assigned a membership in a group (domain/workgroup) and the priviledges for that group are assigned. The users of the fileshare then have to be defined as members of a group which has the priviledges to use the fileshare (domain/workgroup/fileshares/permitted group of users/priviledged member of group of users) on both O.S.es.

Do not set everything as root-user, as that is a great way to hose everything on both systems. Set-up a separate administrator login/password/group/membership/etc. for that. Remember, only the Administrator is supposed to hose the network.

The exact way you go about it on Linux and W2K_pro are different. The process is the same.

Either that helped give you direction, or your brain just fried.

Mara 09-10-2003 02:10 PM

Moved to Networking. It fits better here. Member Intro is a good place to say 'hello', but questions should be asked in different forums.


All times are GMT -5. The time now is 11:18 PM.