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

David Touzeau david at touzeau.eu
Fri Feb 18 08:37:06 MST 2011


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 : 

[global]
workgroup=locate
netbios name=samba
server string=%h server (Samba, Ubuntu)
disable netbios=no
remote announce=192.168.0.255/LOCATE
name resolve order=wins  bcast hosts
dns proxy=No
syslog=3
log level=1
log file=/var/log/samba/log.%m
debug timestamp=yes
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 account=nobody
map to guest=Bad Password
security=user
enable privileges=yes
domain master=yes
local master=yes
preferred master=yes
domain logons=yes
os level=40
ldap passwd sync=no
winbind use default domain=yes
winbind enum users=yes
winbind enum groups=yes
password server=*
encrypt passwords=true
winbind separator=+
winbind uid=10000-20000
winbind gid=10000-20000
client lanman auth=yes
client ntlmv2 auth=yes
nt acl support=yes
map acl inherit=yes
acl check permissions=yes
inherit permissions=yes
inherit acls=yes
acl map full control=yes
force unknown acl user=no
ldap delete dn=yes
passdb backend=ldapsam:ldap://192.168.200.4:389
ldap admin dn=cn=Manager,dc=my-domain,dc=com
ldap suffix=dc=my-domain,dc=com
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=my-domain,dc=com
ldapsam:trusted=yes
ldapsam:editposix=yes
template homedir=/home/%U
template shell=/bin/false
idmap backend=ldap:ldap://192.168.200.4:389
idmap uid=1000-1999999
idmap gid=1000-1999999
idmap config locate:backend=ldap
idmap config locate:readonly=no
idmap config locate:default=yes
idmap config
locate:ldap_base_dn=ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com
idmap config locate:ldap_user_dn=cn=Manager,dc=my-domain,dc=com
idmap config locate:ldap_url=ldap://192.168.200.4:389
idmap config locate:range=1000-1999999
idmap alloc backend=ldap
idmap alloc
config:ldap_base_dn=ou=idmap,dc=samba,dc=organizations,dc=my-domain,dc=com
idmap alloc config:ldap_user_dn=cn=Manager,dc=my-domain,dc=com
idmap alloc config:ldap_url=ldap://192.168.200.4: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
wins support=Yes
time server=yes
msdfs root=no
host msdfs=no
[tmp]
path=/tmp
create mask=0660
directory mask=0770
browsable=yes
public=yes
writable=yes
comment=
hide unreadable=yes
vfs object=full_audit
full_audit:prefix=%u|%I|%m|%S|%P
full_audit:success=rename unlink pwrite write
full_audit:failure=none
full_audit:facility=LOCAL7
full_audit:priority=NOTICE
[locate]
path=/data/locate
create mask=0660
directory mask=0770
browsable=yes
writable=yes
public=no
comment=
hide unreadable=yes
hide unwriteable files=no
inherit permissions=no
acl check permissions=yes
map acl inherit=yes
acl group control=yes
nt acl support=yes
inherit acls=yes
write list=@locate_group
read list=@locate_group
valid users=@locate_group
vfs object=full_audit
full_audit:prefix=%u|%I|%m|%S|%P
full_audit:success=rename unlink pwrite write
full_audit:failure=none
full_audit:facility=LOCAL7
full_audit:priority=NOTICE
[ged]
path=/data/ged
create mask=0660
directory mask=0770
browsable=yes
public=yes
writable=yes
comment=
hide unreadable=no
hide unwriteable files=no
inherit permissions=no
acl check permissions=yes
map acl inherit=yes
acl group control=yes
nt acl support=yes
inherit acls=yes
write list=@locate_group
read list=@locate_group
valid users=@locate_group
vfs object=full_audit
full_audit:prefix=%u|%I|%m|%S|%P
full_audit:success=rename unlink pwrite write
full_audit:failure=none
full_audit:facility=LOCAL7
full_audit:priority=NOTICE
[netlogon]
path=/home/netlogon/
writable=No
browseable=No
write list=root
[homes]
comment=Personnal Folder
browseable=No
writeable=Yes
vfs object=full_audit
full_audit:prefix=%u|%I|%m|%S|%P
full_audit:success=rename unlink pwrite write
full_audit:failure=none
full_audit:facility=LOCAL7
full_audit:priority=NOTICE



More information about the samba mailing list