Access to a Samba Share
Posted on 2009-07-11
Sorry if this has already been asked before, I've done a search but can't seem to find anything that focuses on the problem I'm experiencing at work.
We have a standalone SLES 10 server, which has a SAMBA share to a folder called RETAIL (/home/retail) It's used to host an old DOS based program, which also provides telnet access (via DOSEMU) to multiple users. It's an old stock system by the way. A second machine has been created to duplicate this setup (in the case of the first one failing) and all was working fine. The server was moved the other day onto the server shelf, and also to get it attached to a UPS.
However, now our SAMBA share to the RETAIL folder on the second redundant server doesn't work. Previously browsing to the computer specified using the UNC showed the shares available, and then we could browse into the directory required (or in most cases had mapped drives for each user on the network who required access.) After moving it, this seems to have stopped working. Browsing to the server using it's UNC, asks for a password now, which it accepts when we enter the credentials of a user that's under the 'user management' part of YAST. However trying to browse to the shares now asks for a password yet again, and nothing seems to work.
The contractor who does the majority of our server stuff, set it up using SWAT and I've been into that and re-submitted the settings it has but that hasn't changed anything. I can confirm that the user we try to connect as (a main administrator account that we IT staff use) does have a user account, belongs to the right groups ('user' and 'retail by the way, the same as on the other server which does work) and that the smbpasswd has been added and enabled for that user. Seeming as I had access before on my own account aswell, I complete removed it, killed off the smbpasswd entry and then re-added myself from scratch but to no avail.
I've checked the permissions for the RETAIL folder, which seem correct. The owner is root, and the group is set to retail (which all the users on the server belong to) which has full permissions on the read, write etc... but I can't say that I know if they carry over to the SAMBA protocol for sharing.
I'd include the smb.conf from both servers but I'm at home at the moment. I'll attach them when I'm next back at work.
Fyi, I'm not a complete Linux idiot but I've had little experience with changing permission on folders etc. For example, I read in another post with a similar issue about using 'chmod' and had to spend 5 minutes Google'ing it! So if anyone has an instructions to share, please be verbose :)
Many thanks in advance,