BarryDocks
October 10th, 2009, 05:03 AM
Might be a bit of a basic question, but do I really need winbind on my server? Server fell over last night and the only thing I can find in the logs is a winbind error. My thought is that is not required but I'm not sure what will happen if I uninstall it?:confused:
Thanks for any help/suggestions.
8.04 server 64-bit edition acting as a file for a MS-Access DB, print and zoneminder server with 6 xp clients via samba.
Samba config:
[global]
netbios name = FileServer
workgroup = WORKGROUP
server string = %v
password level = 8
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
security = user
encrypt passwords = yes
printcap name = cups
load printers = yes
printing = cups
cups options = raw
local master = yes
preferred master = yes
os level = 65
; hosts allow = 10.1.0.0/255.255.255.0
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# to allow user 'guest account' to print.
guest ok = yes
writable = no
printable = yes
create mode = 0700
[print$]
path = /var/lib/samba/printers
browseable = yes
read only = yes
write list = root
# A useful application of samba is to make a PDF-generation service
# To streamline this, install windows postscript drivers (preferably
# colour)on the samba server, so that clients can automatically install
# them.
;[pdf-generator]
; path = /var/tmp
; guest ok = No
; printable = Yes
; comment = PDF Generator (only valid users)
#print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP &
; print command = /usr/share/samba/scripts/print-pdf %s ~%u \\\\\\\\%L\\\\%u %m %I &
# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
; preserve case = no
; short preserve case = no
# Default case is normally upper case for all DOS files
; default case = lower
# Be very careful with case sensitivity - it can break things!
; case sensitive = no
# a service which has a different directory for each machine that
# connects this allows you to tailor configurations to incoming
# machines. You could also use the %u option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes
;[homes]
; comment = Home Directories
; read only = No
; browseable = No
[Adrian]
comment = Adrians Files
path = /media/disk/adrian
valid users = adrian, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[Music]
path = /media/disk/music
read only = No
guest only = Yes
guest ok = Yes
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[CCTV]
path = /media/disk/cctv
read only = No
guest only = Yes
guest ok = Yes
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[Staff]
path = /media/disk/staff
valid users = adrian, reception, dispensing, imaging, office, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[Focus Data]
comment = Data files for Focus and clinical records
path = /media/disk/focus_data
valid users = adrian, reception, dispensing, imaging, office, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
kernel oplocks = no
oplocks = false
level2 oplocks = false
[Practice Documents]
comment = Practice documents and files
path = /media/disk/practice_documents
valid users = adrian, reception, dispensing, imaging, office, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[HoyaLog]
comment = HoyaLog files
path = /media/disk/hoyalog
valid users = adrian, dispensing, office
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[Clinical Images]
comment = Clinical image files
path = /media/disk/clinical_images
valid users = adrian, imaging, office, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
kernel oplocks = no
oplocks = false
level2 oplocks = false
[SAGE]
comment = SAGE accounts files
path = /media/disk/sage
valid users = adrian, office, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[Drivers_etc]
comment = Windows drivers & device settings
path = /media/disk/drivers_etc
valid users = adrian, reception, dispensing, imaging, office, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
daemon log:
Oct 10 09:57:09 fileserver winbindd[5625]: [2009/10/10 09:57:09, 0] nsswitch/winbindd_passdb.c:sid_to_name(130)
Oct 10 09:57:09 fileserver winbindd[5625]: Possible deadlock: Trying to lookup SID S-1-1-0 with passdb backend
Oct 10 09:57:09 fileserver winbindd[5625]: [2009/10/10 09:57:09, 0] nsswitch/winbindd_passdb.c:sid_to_name(130)
Oct 10 09:57:09 fileserver winbindd[5625]: Possible deadlock: Trying to lookup SID S-1-5-2 with passdb backend
Oct 10 09:57:40 fileserver winbindd[6021]: [2009/10/10 09:57:40, 0] nsswitch/idmap.c:idmap_alloc_init(750)
Oct 10 09:57:40 fileserver winbindd[6021]: ERROR: Initialization failed for alloc backend, deferred!
Oct 10 09:57:40 fileserver smbd[7824]: [2009/10/10 09:57:40, 0] auth/auth_util.c:create_builtin_administrators(792)
Oct 10 09:57:40 fileserver smbd[7824]: create_builtin_administrators: Failed to create Administrators
Oct 10 09:57:40 fileserver winbindd[6021]: [2009/10/10 09:57:40, 0] nsswitch/idmap.c:idmap_alloc_init(750)
Oct 10 09:57:40 fileserver winbindd[6021]: ERROR: Initialization failed for alloc backend, deferred!
Oct 10 09:57:40 fileserver smbd[7824]: [2009/10/10 09:57:40, 0] auth/auth_util.c:create_builtin_users(758)
Oct 10 09:57:40 fileserver smbd[7824]: create_builtin_users: Failed to create Users
Oct 10 09:57:40 fileserver winbindd[5625]: [2009/10/10 09:57:40, 0] nsswitch/winbindd_passdb.c:sid_to_name(130)
Oct 10 09:57:40 fileserver winbindd[5625]: Possible deadlock: Trying to lookup SID S-1-1-0 with passdb backend
Oct 10 09:57:40 fileserver winbindd[5625]: [2009/10/10 09:57:40, 0] nsswitch/winbindd_passdb.c:sid_to_name(130)
Oct 10 09:57:40 fileserver winbindd[5625]: Possible deadlock: Trying to lookup SID S-1-5-2 with passdb backend
Thanks for any help/suggestions.
8.04 server 64-bit edition acting as a file for a MS-Access DB, print and zoneminder server with 6 xp clients via samba.
Samba config:
[global]
netbios name = FileServer
workgroup = WORKGROUP
server string = %v
password level = 8
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
security = user
encrypt passwords = yes
printcap name = cups
load printers = yes
printing = cups
cups options = raw
local master = yes
preferred master = yes
os level = 65
; hosts allow = 10.1.0.0/255.255.255.0
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# to allow user 'guest account' to print.
guest ok = yes
writable = no
printable = yes
create mode = 0700
[print$]
path = /var/lib/samba/printers
browseable = yes
read only = yes
write list = root
# A useful application of samba is to make a PDF-generation service
# To streamline this, install windows postscript drivers (preferably
# colour)on the samba server, so that clients can automatically install
# them.
;[pdf-generator]
; path = /var/tmp
; guest ok = No
; printable = Yes
; comment = PDF Generator (only valid users)
#print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP &
; print command = /usr/share/samba/scripts/print-pdf %s ~%u \\\\\\\\%L\\\\%u %m %I &
# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
; preserve case = no
; short preserve case = no
# Default case is normally upper case for all DOS files
; default case = lower
# Be very careful with case sensitivity - it can break things!
; case sensitive = no
# a service which has a different directory for each machine that
# connects this allows you to tailor configurations to incoming
# machines. You could also use the %u option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes
;[homes]
; comment = Home Directories
; read only = No
; browseable = No
[Adrian]
comment = Adrians Files
path = /media/disk/adrian
valid users = adrian, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[Music]
path = /media/disk/music
read only = No
guest only = Yes
guest ok = Yes
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[CCTV]
path = /media/disk/cctv
read only = No
guest only = Yes
guest ok = Yes
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[Staff]
path = /media/disk/staff
valid users = adrian, reception, dispensing, imaging, office, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[Focus Data]
comment = Data files for Focus and clinical records
path = /media/disk/focus_data
valid users = adrian, reception, dispensing, imaging, office, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
kernel oplocks = no
oplocks = false
level2 oplocks = false
[Practice Documents]
comment = Practice documents and files
path = /media/disk/practice_documents
valid users = adrian, reception, dispensing, imaging, office, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[HoyaLog]
comment = HoyaLog files
path = /media/disk/hoyalog
valid users = adrian, dispensing, office
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[Clinical Images]
comment = Clinical image files
path = /media/disk/clinical_images
valid users = adrian, imaging, office, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
kernel oplocks = no
oplocks = false
level2 oplocks = false
[SAGE]
comment = SAGE accounts files
path = /media/disk/sage
valid users = adrian, office, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[Drivers_etc]
comment = Windows drivers & device settings
path = /media/disk/drivers_etc
valid users = adrian, reception, dispensing, imaging, office, consulting
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
daemon log:
Oct 10 09:57:09 fileserver winbindd[5625]: [2009/10/10 09:57:09, 0] nsswitch/winbindd_passdb.c:sid_to_name(130)
Oct 10 09:57:09 fileserver winbindd[5625]: Possible deadlock: Trying to lookup SID S-1-1-0 with passdb backend
Oct 10 09:57:09 fileserver winbindd[5625]: [2009/10/10 09:57:09, 0] nsswitch/winbindd_passdb.c:sid_to_name(130)
Oct 10 09:57:09 fileserver winbindd[5625]: Possible deadlock: Trying to lookup SID S-1-5-2 with passdb backend
Oct 10 09:57:40 fileserver winbindd[6021]: [2009/10/10 09:57:40, 0] nsswitch/idmap.c:idmap_alloc_init(750)
Oct 10 09:57:40 fileserver winbindd[6021]: ERROR: Initialization failed for alloc backend, deferred!
Oct 10 09:57:40 fileserver smbd[7824]: [2009/10/10 09:57:40, 0] auth/auth_util.c:create_builtin_administrators(792)
Oct 10 09:57:40 fileserver smbd[7824]: create_builtin_administrators: Failed to create Administrators
Oct 10 09:57:40 fileserver winbindd[6021]: [2009/10/10 09:57:40, 0] nsswitch/idmap.c:idmap_alloc_init(750)
Oct 10 09:57:40 fileserver winbindd[6021]: ERROR: Initialization failed for alloc backend, deferred!
Oct 10 09:57:40 fileserver smbd[7824]: [2009/10/10 09:57:40, 0] auth/auth_util.c:create_builtin_users(758)
Oct 10 09:57:40 fileserver smbd[7824]: create_builtin_users: Failed to create Users
Oct 10 09:57:40 fileserver winbindd[5625]: [2009/10/10 09:57:40, 0] nsswitch/winbindd_passdb.c:sid_to_name(130)
Oct 10 09:57:40 fileserver winbindd[5625]: Possible deadlock: Trying to lookup SID S-1-1-0 with passdb backend
Oct 10 09:57:40 fileserver winbindd[5625]: [2009/10/10 09:57:40, 0] nsswitch/winbindd_passdb.c:sid_to_name(130)
Oct 10 09:57:40 fileserver winbindd[5625]: Possible deadlock: Trying to lookup SID S-1-5-2 with passdb backend