some users can samba, some can't. Why?

From: damon (damonriley_at_alumni.DONTSPAM.umass.edu)
Date: 09/27/04


Date: Mon, 27 Sep 2004 13:50:25 -0400

I'm having trouble setting up Samba. I hope someone here can help me
troubleshoot. Here's the situation.

First, I have created identical userid/passwd on the server and the
client machines. E.g. WinXP user damon has an account on the server for
damon with the same password. Linux user dr has an account on the server
for dr with the same password. I want all my WinXP and Linux users to be
able to read/write in their server share and to print on the network
printer.

There is also a user named bonden on the server that does not exist on
any other system.

WinXP user damon can read and write to his directory on the server.
WinXP user damon can print on the network printer.
WinXP user scooter cannot do either.
Linux user dr cannot connect to the server with smbclient.
Linus user dr can print on the network printer, but only after I set up
the printer with bonden's userid and password.

Linux user dr can read and write to the server with smbclient only if he
pretends to be server user 'bonden.' (smbclient //whitehall/bonden
passwd -U bonden). If dr tries to do it, he gets this error:

tdb((null)): tdb_open_ex: could not open file
/var/run/samba/unexpected.tdb: Permission denied
session setup failed: NT_STATUS_LOGON_FAILURE

Do I have to set up a printer for each user on the Linux system? That
is, must this be done so that each user's print job will send a userid
and password? When I tried creating a printer for dr, it fails, but
still works if dr uses bonden.

Would this also be true under WinXP? That is, must I set up the printer
for each WinXP user so that it supplies userid and password? This would
explain why user damon can print and user scooter cannot.

Why can't Linux user dr connect to the server?

Here are some relevant sections from my smb.conf file:

Code:
[global]
    workgroup = MSHOME
    load printers = yes
    printing = bsd
    encrypt passwords = true

[homes]
    comment = Home Directories
    browseable = no
    writable = yes
    create mask = 0700
    directory mask = 0700

[printers]
    comment = All Printers
    browseable = no
    path = /tmp
    printable = yes
    public = yes
    writable = no
    create mode = 0700

So, see any obvious problems? Not so obvious problems? What should I try
next?

Thanks,

-- Damon



Relevant Pages

  • Re: Group Policy is applied to server and workstation at the same time
    ... It removes the icon from the sbs2003 server and from the winxp user ... workstation. ... How can I keep my icon on the sbs2003 server? ...
    (microsoft.public.windows.server.sbs)
  • Re: schedule job - login in dynamic sql
    ... If the user created the stored proc without ... You have a userid as the login on the server. ... usually the Agent userid is a member of the sysadmin, or at least of dbo), ...
    (microsoft.public.sqlserver.programming)
  • Re: WSS: Finding My Sites through SQL
    ... sites on a diferent server than the WSS server. ... foreach (XmlNode node in AllSites) ... and I came up with this SQL: ... Select @userId = tp_ID from UserInfo where tp_login like 'DOMAIN ...
    (microsoft.public.sharepoint.windowsservices)
  • WSS: Finding My Sites through SQL
    ... sites on a diferent server than the WSS server. ... foreach (XmlNode node in AllSites) ... and I came up with this SQL: ... Select @userId = tp_ID from UserInfo where tp_login like 'DOMAIN ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: login info from ie screen
    ... windows userid from the client machine, but it displays another userid that ... As if there is miscommunication between client and windows 2003 server. ... >> intranet userid that is different than her actual windows userid. ...
    (microsoft.public.frontpage.client)