[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Urgent] Samba problem



Thanks for ur reply,Sure! 


===================

<< smb.conf >>
[global] 

workgroup = WORKGROUP 
security = share 
encrypt passwords = yes 
domain master = yes 

ldap suffix = "dc=ezmap,dc=com" 
ldap admin dn =cn=root,dc=ezmap,dc=com 
ldap port =389 
ldap server = localhost 
ldap ssl = no 

server string = Samba Server %v 
log file = /var/log/samba/log.%m 
max log size = 50 
log level = 50 
smb passwd file = /etc/samba/private/smbpasswd 
client code page = 950 
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 
dns proxy = no 

[webdata] 
path = /mnt/hdb2-Public 
public = yes 
writable = yes 
guest ok = no 
create mask = 0777 

 

============================

<<slapd.conf >>

include /etc/openldap/schema/core.schema 
include /etc/openldap/schema/cosine.schema 
include /etc/openldap/schema/nis.schema 
include /etc/openldap/schema/inetorgperson.schema 
include /etc/openldap/schema/samba.schema 

schemacheck off 
pidfile /var/lib/slapd.pid 
argsfile /var/lib/slapd.args 

database ldbm 

suffix "dc=ezmap,dc=com" 
rootdn "cn=root,dc=ezmap,dc=com" 
rootpw {MD5}QRU2vXIZVBqiM/sAqpy2qo== 
loglevel 128 
directory "/var/lib/ldap" 
index objectClass eq 

access to attribute=userPassword 
by dn="cn=root,dc=olemap,dc=com" write 
by dn="cn=replicator,dc=ezmap,dc=com" write 
by dn="cn=authldap,dc=ezmap,dc=com" read 
by self write 
by * auth 

access to * 
by self write 
by dn="cn=root,dc=ezmap,dc=com" read 
by * read 

 
==================================

<< slapd.conf >>

host 127.0.0.1 
base dc=ezmap,dc=com 
ldap_version 2 
binddn cn=root,dc=olemap,dc=com 
bindpw d38ks#9 
pam_password exop 

===================================== 

However,it's working fine when i used proftpd and ssh through ldap auth! 

i'm NOT sure this error impute LDAP problem .... 

And, when i use netneighbor ,i had used legal account for ldap auth. 

i passed ldap authentication....but i copy a file into share folder , i will got 

Can not copy ipsec.txt The specified network name is no longer available 

@________@ 


-- 
Trust & Unique ...
axacheng <axanet@ms32.hinet.net>



Reply to: