Hallo *,
ich habe mir grade einen samba3 server aufgesetzt bekomme aber keinen user eingerichtet.
Erst habe ich es auf die Klassische weise Probiert (ohne passdb backend = tdbsam) und dann versucht user mittels
anzuzlegen.
Brach mit der Fehlermeldung ab:
Mein nächster Versuch war dann mit der Zeile
und mit dem befehl
Das geht auch nicht.
Fehler:
Kann irgend jemand etwas mit diesem Fehler anfangen? Oder mir sagen was für mist ich gebaut habe?
Gruss Sven
smb.conf:
ich habe mir grade einen samba3 server aufgesetzt bekomme aber keinen user eingerichtet.
Erst habe ich es auf die Klassische weise Probiert (ohne passdb backend = tdbsam) und dann versucht user mittels
Code:
smbpasswd -e -a demouser
Brach mit der Fehlermeldung ab:
Code:
New SMB password:
Retype new SMB password:
Unable to open/create TDB passwd
pdb_getsampwnam: Unable to open TDB passwd (/usr/local/private/passdb.tdb)!
NULL guest account!?!?
Failed to initialise SAM_ACCOUNT for user root. Does this user exist in the UNIX password database ?
Failed to modify password entry for user root .oO(Ich habe nur zum testen den User root benutzt!)
Mein nächster Versuch war dann mit der Zeile
Code:
passdb backend = tdbsam
Code:
pdbedit -a -u neo
Fehler:
Code:
root@fiona$ pdbedit -a -u root
NULL guest account!?!?
could not create account to add new user root
root@fiona$
Kann irgend jemand etwas mit diesem Fehler anfangen? Oder mir sagen was für mist ich gebaut habe?
Gruss Sven
smb.conf:
Code:
#
#
#
#======================= Global Settings =====================================
[global]
workgroup = home
server string = fiona.home
security = user
hosts allow = 192.168.100. 127.
load printers = yes
printing = cups
printcap name = /etc/printcap.cups
log file = /var/log/samba/log.%m
max log size = 50
passdb backend = tdbsam
socket options = TCP_NODELAY
# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
domain master = no
preferred master = no
max protocol = NT
ldap ssl = No
server signing = Auto
min password length = 8
guest account =
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
read only = no
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[HPL1200]
comment = All Printers
path = /var/spool/samba
# Set public = yes to allow user 'guest account' to print
guest ok = yes
read only = no
printable = yes
guest account =
printer name = HPL1200
admin users = neo
hosts allow = 192.168.100.*