Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows to linux shares no access

Status
Not open for further replies.

HarryPutnam

IS-IT--Management
Sep 1, 2006
6
US
Being a long time samba user I think my config is close to right but I'm not being allowed access to linux shares from windowsXP machines.

The valid users and shares are entered into smb.conf the same for many months. A sample share below:

Samba server is running on gentoo linux samba-3.0.23a

[smPub]
comment = ""
valid users = reader harry
path = /mnt/pack/pub
writeable = yes
guest ok = yes

I've been using the samba password setup for mnths too.

Logs appear to see users shown above as authenticating ok but then denies access.

Both users are adminstrators accounts on windowsXP
I have the samba log level set to 2 and raising it any further causes such an blast of logging its really hard to make any sense of it.

A couple of log lines from one attempt:

[2006/09/01 18:37:47, 2] auth/auth.c:check_ntlm_password(309)
check_ntlm_password: authentication for user [reader] -> [reader] -> [reader] succeeded
[2006/09/01 18:37:47, 2] smbd/service.c:make_connection_snum(571)
user 'reader' (from session setup) not permitted to access this share (smPub)

Note that the share belongs to `reader' on the linux machine:

ls -ld /mnt/pack/pub
drwxr-xr-x 20 reader users 2200 Sep 1 12:38 /mnt/pack/pub
And its the same for all files under `pub'.

So authentication has worked but access is denied... I don't get it. . .
 
Hmmm. . . Could you please verify your version. The command to get the version is 'smbd -V' (uppercase V).

There are some reports floating of a similar problem with 3.0.23b (with a patch), but this particular problem seemed to begin with 3.0.23b. If you are really running 23a, this particular problem should not apply.
 
I can't check version now sorry. I've since uninstalled 23a and am trying to compile 23c.

Far as what I changed goes. If I knew that it probably would be a lot easier to figure out why it quit working.

No intentional changes but on a gentoo system if you `update world' you may have a newer version installed.
But your configuration files will not be changed.

I'm not sure when my troubles appeared since I don't use samba constantly. May go a few days with no use or even weeks. And then if a mount failed I might have just used ssh or something to get whatever I needed done.

Once I've finished with 23c and get it running I will report back.

 
I would be willing to bet 23b was on your box. 23c should fix it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top