[Samba] samba PDC problems

David "3oz" Sonenberg pip_prime at yahoo.com
Thu Aug 5 13:18:09 GMT 2004


Tried that and that didn't work either, here's the
output:
[root at samba root]# smbpasswd -a root
New SMB password:
Retype new SMB password:
Unable to open/create TDB passwd
pdb_getsampwnam: Unable to open TDB passwd
(/etc/samba/secrets.tdb)!
Unable to open/create TDB passwd
tdb_update_sam: Unable to open TDB passwd
(/etc/samba/secrets.tdb)!
Failed to add entry for user root.
Failed to modify password entry for user root
[root at samba root]# cat /etc/samba/s
secrets.tdb      smb.conf         smb.conf.rpmnew 
smbusers
[root at samba root]# cat /etc/samba/smbusers
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest

I'm thinking it may be a permissions problem.  Samba
is running as root(this is RH Enterprise ES 3).  Here
what the /etc/samba dir looks like:

[root at samba root]# ls -la /etc/samba/
total 40
drwxr-xr-x    2 root     root         4096 Aug  4
17:06 .
drwxr-xr-x   61 root     root         4096 Aug  4
17:45 ..
-rw-r--r--    1 root     root           20 Jul 20
09:43 lmhosts
-rw-rw-rw-    1 root     root         8192 Aug  4
17:06 secrets.tdb
-rw-r--r--    1 root     root          843 Aug  4
17:05 smb.conf
-rw-r--r--    1 root     root        10704 Jul 20
09:43 smb.conf.rpmnew
-rw-r--r--    1 root     root           97 Jul 20
09:43 smbusers
--- Craig White <craigwhite at azapple.com> wrote:

> ---
> looks good - how about some of these...
> 
> smbpasswd -a root
> smbpasswd root
> 
> cat /etc/samba/smbusers
> 
> smbpasswd -w (root_passwd)
> 
> Craig
> 
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions: 
> http://lists.samba.org/mailman/listinfo/samba
> 



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


More information about the samba mailing list