passdb backend changed

Heinrich Mislik Heinrich.Mislik at univie.ac.at
Thu Jul 6 14:51:38 GMT 2006


Hi,

Paramter passdb backend changed from P_LIST to P_STRING. Something 
like (from man page):

 passdb backend = tdbsam:/etc/samba/private/passdb.tdb \
                   smbpasswd:/etc/samba/smbpasswd

will not work. Log says:

[2006/07/06 16:40:19, 5] 
passdb/pdb_interface.c:make_pdb_method_name(156)
  Attempting to find an passdb backend to match 
tdbsam:/etc/samba/private/passdb.tdb
    smbpasswd:/etc/samba/smbpasswd (tdbsam)
[2006/07/06 16:40:19, 5] 
passdb/pdb_interface.c:make_pdb_method_name(177)
  Found pdb backend tdbsam
[2006/07/06 16:40:19, 5] 
passdb/pdb_interface.c:make_pdb_method_name(188)
  pdb backend tdbsam:/etc/samba/private/passdb.tdb                    
smbpasswd:/etc/samba/smbpasswd
 has a valid init
[2006/07/06 16:40:19, 5] lib/gencache.c:gencache_init(59)
  Opening cache file at /usr/local/samba_test/var/locks/gencache.tdb
[2006/07/06 16:40:19, 5] libsmb/namecache.c:namecache_enable(58)
  namecache_enable: enabling netbios namecache, timeout 660 seconds
[2006/07/06 16:40:19, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/07/06 16:40:19, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/07/06 16:40:19, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/06 16:40:19, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/06 16:40:19, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/06 16:40:19, 5] tdb/tdbutil.c:tdb_log(783)
  tdb(unnamed): tdb_open_ex: could not open file 
/etc/samba/private/passdb.tdb                    
smbpasswd:/etc/samba/smbpasswd: No such file or directory
[2006/07/06 16:40:19, 0] passdb/pdb_tdb.c:tdbsam_open(818)
  tdbsam_open: Failed to open/create TDB passwd 
[/etc/samba/private/passdb.tdb                    
smbpasswd:/etc/samba/smbpasswd]
[2006/07/06 16:40:19, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(1032)
  tdbsam_getsampwnam: failed to open /etc/samba/private/passdb.tdb    
                smbpasswd:/etc/samba/smbpasswd!


smbd tries to open

"/etc/samba/private/passdb.tdb       smbpasswd:/etc/samba/smbpasswd"

Any reason behind this?

Thanks and greetings

Heinrich Mislik

-- 
Heinrich Mislik
Zentraler Informatikdienst der Universitaet Wien
A-1010 Wien, Universitaetsstrasse 7
Tel.: (+43 1) 4277-14056, Fax: (+43 1) 4277-9140


More information about the samba-technical mailing list