Permission denied problem

Doug Douglass samba at
Thu Nov 29 11:39:02 GMT 2001


Did you add the root account to smbpasswd?

You must add root to smbpasswd (and it must have the same password as unix
account)?. Then you must use the root account and password when adding
machine to domain.


> -----Original Message-----
> From: samba-ntdom-admin at
> [mailto:samba-ntdom-admin at]On Behalf Of Mark Rinaudo
> Sent: Thursday, November 29, 2001 6:32 AM
> To: samba-ntdom at
> Subject: Permission denied problem
> I'm currently trying to setup a PDC for a mixture of WIN 2K
> servers,clients Win 98/95 machines.  Currently i'm using
> samba 2.2.2-9 on  a Debian Sid box.  Samba works great for shares.  I'v
> followed the PDC how to and manually added a machine with the following
> $ appended and added the machine to the smbpasswd file with the -m
> option.  When trying to join a Win 2k SP1 server to the domain  I get a
> Error Permission Denied on opening the /etc/samba/smbpasswd file.  This
> seems to be some sort of generic error message which isn't too helpful
> to me.  I've been trying to find someone else with the same problem but
> all i found was "check the directory permissions" which on my box the
> root is the owner(of smbpasswd)  and can read it.  Samba runs as root.
> This is my last resort  Any help would be great. I would like to end
> this with a thanks to the developers for samba keep up the good work!
>             Mark Rinaudo
> P.S. Kernel 2.4.6
>         Samba 2.2.2-2
>         Samba-common 2.2.2-2

More information about the samba-ntdom mailing list