[Samba] lp_bool(): value is NULL or empty!

David Touzeau david at touzeau.eu
Fri Feb 18 09:13:42 MST 2011


Yes on an other server (version 3.0.28a)  on Ubuntu 8.10 i have the same
error : 

This error occurs when an user open a remote share 

Feb 18 17:07:45 virtualbox smbd[11863]: [2011/02/18 17:07:45, 0]
param/loadparm.c:lp_bool(2287) 
Feb 18 17:07:45 virtualbox smbd[11863]:   lp_bool(): value is NULL or
empty! 
Feb 18 17:07:45 virtualbox smbd[11863]:   doing parameter syslog = 3 
Feb 18 17:07:45 virtualbox smbd[11863]:   doing parameter log level =
10 
Feb 18 17:07:45 virtualbox smbd[11863]: [2011/02/18 17:07:45, 2]
param/loadparm.c:do_section(3823) 
Feb 18 17:07:45 virtualbox smbd[11863]:   Processing section
"[dropbox]" 
Feb 18 17:07:45 virtualbox smbd[11863]: [2011/02/18 17:07:45, 1]
param/loadparm.c:lp_do_parameter(3545) 
Feb 18 17:07:45 virtualbox smbd[11863]:   WARNING: The "acl group
control" option is deprecated 
Feb 18 17:07:45 virtualbox smbd[11863]:   doing parameter nt acl support
= yes 
Feb 18 17:07:45 virtualbox smbd[11863]:   doing parameter inherit acls =
no 
Feb 18 17:07:45 virtualbox smbd[11863]: [2011/02/18 17:07:45, 2]
param/loadparm.c:do_section(3823) 
Feb 18 17:07:45 virtualbox smbd[11863]:   Processing section
"[complete]" 
Feb 18 17:07:45 virtualbox smbd[11863]: [2011/02/18 17:07:45, 2]
param/loadparm.c:do_section(3823) 
Feb 18 17:07:45 virtualbox smbd[11863]:   Processing section
"[netlogon]" 
Feb 18 17:07:45 virtualbox smbd[11863]: [2011/02/18 17:07:45, 2]
param/loadparm.c:do_section(3823) 
Feb 18 17:07:45 virtualbox smbd[11863]:   Processing section "[homes]" 
Feb 18 17:09:15 virtualbox smbd[8796]: [2011/02/18 17:09:15, 2]
smbd/sesssetup.c:setup_new_vc_session(1209) 
Feb 18 17:09:15 virtualbox smbd[8796]:   setup_new_vc_session: New VC ==
0, if NT4.x compatible we would close all old resources. 
Feb 18 17:09:15 virtualbox smbd[8796]: [2011/02/18 17:09:15, 2]
smbd/sesssetup.c:setup_new_vc_session(1209) 
Feb 18 17:09:15 virtualbox smbd[8796]:   setup_new_vc_session: New VC ==
0, if NT4.x compatible we would close all old resources. 
Feb 18 17:09:15 virtualbox smbd[8796]: [2011/02/18 17:09:15, 2]
lib/smbldap.c:smbldap_open_connection(786) 
Feb 18 17:09:15 virtualbox smbd[8796]:   smbldap_open_connection:
connection opened 
Feb 18 17:09:15 virtualbox winbindd[29362]: [2011/02/18 17:09:15,  0]
winbindd/winbindd.c:750(request_len_recv) 
Feb 18 17:09:15 virtualbox winbindd[29362]:   request_len_recv: Invalid
request size received: 2088 (expected 2096) 
Feb 18 17:09:15 virtualbox winbindd[29362]: [2011/02/18 17:09:15,  0]
winbindd/winbindd.c:750(request_len_recv) 
Feb 18 17:09:15 virtualbox winbindd[29362]:   request_len_recv: Invalid
request size received: 2088 (expected 2096) 
Feb 18 17:09:15 virtualbox smbd[8796]: [2011/02/18 17:09:15, 2]
auth/auth.c:check_ntlm_password(319) 
Feb 18 17:09:15 virtualbox smbd[8796]:   check_ntlm_password:
Authentication for user [Administrateur] -> [Administrateur] FAILED with
error NT_STATUS_NO_SUCH_USER 
Feb 18 17:09:15 virtualbox smbd[8796]: [2011/02/18 17:09:15, 1]
smbd/service.c:make_connection_snum(1060) 
Feb 18 17:09:15 virtualbox smbd[8796]:   ak8 (192.168.1.211) connect to
service dropbox initially as user nobody (uid=65534, gid=65534) (pid
8796) 
Feb 18 17:09:15 virtualbox smbd[8796]: [2011/02/18 17:09:15, 2]
smbd/open.c:open_file(391) 
Feb 18 17:09:15 virtualbox smbd[8796]:   Administrateur opened
file .//.dropbox read=No write=No (numopen=1) 
Feb 18 17:09:15 virtualbox smbd[8796]: [2011/02/18 17:09:15, 2]
smbd/close.c:close_normal_file(406) 
Feb 18 17:09:15 virtualbox smbd[8796]:   nobody closed file .//.dropbox
(numopen=0) NT_STATUS_OK 
Feb 18 17:09:15 virtualbox smbd[8796]: [2011/02/18 17:09:15, 2]
smbd/open.c:open_file(391) 
Feb 18 17:09:15 virtualbox smbd[8796]:   Administrateur opened
file .//toto.txt read=No write=No (numopen=1) 
Feb 18 17:09:15 virtualbox smbd[8796]: [2011/02/18 17:09:15, 2]
smbd/close.c:close_normal_file(406) 
Feb 18 17:09:15 virtualbox smbd[8796]:   nobody closed file .//toto.txt
(numopen=0) NT_STATUS_OK 
Feb 18 17:09:15 virtualbox winbindd[29362]: [2011/02/18 17:09:15,  0]
winbindd/winbindd.c:750(request_len_recv) 
Feb 18 17:09:15 virtualbox winbindd[29362]:   request_len_recv: Invalid
request size received: 2088 (expected 2096) 
Feb 18 17:09:15 virtualbox winbindd[29362]: [2011/02/18 17:09:15,  0]
winbindd/winbindd.c:750(request_len_recv) 
Feb 18 17:09:15 virtualbox winbindd[29362]:   request_len_recv: Invalid
request size received: 2088 (expected 2096) 
Feb 18 17:09:15 virtualbox smbd[8796]: [2011/02/18 17:09:15, 2]
passdb/pdb_ldap.c:init_sam_from_ldap(545) 
Feb 18 17:09:15 virtualbox smbd[8796]:   init_sam_from_ldap: Entry found
for user: nobody 
Feb 18 17:09:15 virtualbox winbindd[29362]: [2011/02/18 17:09:15,  0]
winbindd/winbindd.c:750(request_len_recv) 
Feb 18 17:09:15 virtualbox winbindd[29362]:   request_len_recv: Invalid
request size received: 2088 (expected 2096) 
Feb 18 17:09:15 virtualbox winbindd[29362]: [2011/02/18 17:09:15,  0]
winbindd/winbindd.c:750(request_len_recv) 
Feb 18 17:09:15 virtualbox winbindd[29362]:   request_len_recv: Invalid
request size received: 2088 (expected 2096) 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:       wkssvc_NetWkstaGetInfo:
struct wkssvc_NetWkstaGetInfo 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:           in: struct
wkssvc_NetWkstaGetInfo 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
server_name              : * 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
server_name              : '192.168.1.105' 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
level                    : 0x00000064 (100) 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:       wkssvc_NetWkstaGetInfo:
struct wkssvc_NetWkstaGetInfo 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:           out: struct
wkssvc_NetWkstaGetInfo 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
info                     : * 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
info                     : union wkssvc_NetWkstaInfo(case 100) 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
info100                  : * 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:                       info100:
struct wkssvc_NetWkstaInfo100 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
platform_id              : 0x01f4 (500) 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
server_name              : * 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
server_name              : 'GSX4' 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
domain_name              : * 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
domain_name              : 'GSX' 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
version_major            : 0x00000004 (4) 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
version_minor            : 0x00000009 (9) 
Feb 18 17:09:17 virtualbox smbd[8796]: [2011/02/18 17:09:17, 0]
librpc/ndr/ndr.c:ndr_print_debug_helper(203) 
Feb 18 17:09:17 virtualbox smbd[8796]:
result                   : WERR_OK 


Here it is the configuration file : 


[global]
workgroup = GSX
netbios name = gsx4
server string = %h server
disable netbios =no
remote announce = 192.168.128.255/GSX 192.168.1.255/GSX 10.8.0.255/GSX
192.168.77.255/GSX
name resolve order =host lmhosts wins bcast
dns proxy =
syslog = 3
log level = 10
log file = /var/log/samba/log.%m
debug timestamp = yes

# Enable symbolics links -----------------------------------
follow symlinks = yes
wide links = yes
unix extensions = no

usershare allow guests = no
usershare max shares = 100
usershare owner only = true
usershare path=/var/lib/samba/usershares/data

#Guest access
guest account = nobody
map to guest = Bad Password
template homedir = /home/%U
template shell = /bin/false

# Controler ?? -----------------------------------
security = user
enable privileges = yes
domain master = yes
local master = yes
preferred master = yes
domain logons = yes
os level = 40
ldap passwd sync = no
# WINBINDD  (1)-----------------------------------
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
password server=*
encrypt passwords = yes
winbind separator = +
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes


#VISTA/Windows7 compatibility
client lanman auth = yes
client ntlmv2 auth = yes


#ACLs settings
nt acl support=yes
map acl inherit=yes
acl check permissions=yes
inherit permissions=no
inherit acls=no
acl map full control=yes
force unknown acl user = no


# LDAP settings -----------------------------------
ldap delete dn = no
passdb backend = ldapsam:ldap://127.0.0.1:389
#scripts -----------------------------------
add machine script = /usr/share/artica-postfix/bin/artica-install
--samba-add-computer "%u"
ldap admin dn = cn=admin,dc=touzeau,dc=biz,dc=touzeau,dc=biz
ldap suffix = dc=touzeau,dc=biz,dc=touzeau,dc=biz
ldap group suffix = dc=organizations
ldap user suffix =  dc=organizations
ldap machine suffix = ou=Computer,dc=samba,dc=organizations
ldap idmap suffix =
ou=idmap,dc=samba,dc=organizations,dc=touzeau,dc=biz,dc=touzeau,dc=biz
ldap delete dn = yes
encrypt passwords = true


#Samba and the Editposix/Trusted Ldapsam extension
ldapsam:trusted=yes
ldapsam:editposix=yes
idmap backend = ldap:ldap://127.0.0.1:389
idmap uid = 1000-1999999
idmap gid = 1000-1999999
idmap config GSX:backend = ldap
idmap config GSX:readonly = no
idmap config GSX:default = yes
idmap config GSX:ldap_base_dn =
ou=idmap,dc=samba,dc=organizations,dc=touzeau,dc=biz,dc=touzeau,dc=biz
idmap config GSX:ldap_user_dn =
cn=admin,dc=touzeau,dc=biz,dc=touzeau,dc=biz
idmap config GSX:ldap_url = ldap://127.0.0.1:389
idmap config GSX:range = 1000-1999999
idmap alloc backend = ldap
idmap alloc config:ldap_base_dn =
ou=idmap,dc=samba,dc=organizations,dc=touzeau,dc=biz,dc=touzeau,dc=biz
idmap alloc config:ldap_user_dn =
cn=admin,dc=touzeau,dc=biz,dc=touzeau,dc=biz
idmap alloc config:ldap_url = ldap://127.0.0.1:389
idmap alloc config:range = 1000-1999999
ldap ssl  = off

logon path =""
logon home =""
logon drive = ""
socket options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT
SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
case sensitive = No
default case = lower
preserve case = yes
short preserve case = yes
#character set = iso8859-1
#domain admin group = @admin
dns proxy = No
wins support = Yes
#hosts allow = 192.168.0. 127.
time server = yes
#MDFS parameters
msdfs root = no
host msdfs = no

# Shared Folders lists -----------------------------------

[dropbox]
path = /home/dropbox
create mask = 0660
directory mask = 0770
browsable = yes
public = yes
writable = yes
comment = 
hide unreadable = yes
hide unwriteable files = yes
inherit permissions = no
acl check permissions = yes
map acl inherit = yes
acl group control = yes
nt acl support = yes
inherit acls = no

[complete]
path = /home/sabnzbdplus/downloads/complete
create mask = 0660
directory mask = 0770
[netlogon]
path = /home/netlogon/
writable = No
browseable = No
write list = root

[homes]
comment = Personnal Folder
browseable = No
writeable = Yes


Le vendredi 18 février 2011 à 16:50 +0100, Volker Lendecke a écrit :
> On Fri, Feb 18, 2011 at 04:37:06PM +0100, David Touzeau wrote:
> > Le vendredi 18 février 2011 à 15:45 +0100, Volker Lendecke a écrit :
> > > On Fri, Feb 18, 2011 at 03:32:37PM +0100, David Touzeau wrote:
> > > > Dear 
> > > > 
> > > > I'm using samba 3.5.6 + PDC and connected to LDAP directory
> > > > 
> > > > In log level 1 there is many entries like this :
> > > > 
> > > 
> > > Please post your smb.conf. You seem to have a parameter not
> > > set correctly.
> > > 
> > > With best regards,
> > > 
> > > Volker Lendecke
> > > 
> > 
> > Thanks Volker to answer me !
> > 
> > here it is the main configuration file : 
> 
> That look okay. It loads fine here without warning (assuming
> the accidential line breaks don't exist in your file). There
> must be something else going on. Is this really the only
> smb.conf file that you have?
> 
> With best regards,
> 
> Volker Lendecke
> 




More information about the samba mailing list