[Samba] Help with Password file

Wade Novin wnovin at sortlaw.com
Thu Feb 14 10:29:52 GMT 2002


I am trying to run Samba on linux 7.2. When I run the smbpasswd utility, it 
returns an error "Failed to open etc/samba/secrets.tdb." This also shows in 
the log as:

[2002/02/13 14:04:36, 0] passdb/secrets.c:secrets_init(47)
   Failed to open etc/samba/secrets.tdb

I believe this is also preventing Samba from running at all:

Here is the smb.conf file


# Samba config file created using SWAT
# from Lserver (127.0.0.1)
# Date: 2002/02/08 15:33:39

# Global parameters
[global]
         workgroup = WorkGroup
         netbios name = LSERVER
         server string = Linux_Server
#     interfaces = 192.0.0.199/24
#     interfaces = 127.0.0.1
         encrypt passwords = Yes
       security = user
         smb passwd file = etc/samba/smbpasswd
         log file = /var/log/samba/%m.log
         max log size = 10
         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
         preferred master = False
         local master = No
         domain master = False
         dns proxy = No
         wins server = 192.0.0.181
         name resolve order = hosts
         hosts allow = 192.0.0.199/24 192.0.0. 127.0.0.1
         printing = lprng
         preserve case = No
         short preserve case = No

[Root]
         comment = root drive
         path = /
         valid users = administrator
         read only = No

[homes]
         comment = Home Directories
         valid users = %S
         #read only = No
         create mask = 0664
         directory mask = 0775

[printers]
         comment = All Printers
         path = /var/spool/samba
         printable = Yes
         browseable = No

[tmp]
         comment = Temporary file space
         path = /tmp
         read only = No
         guest ok = Yes

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list