error in 3.24 with ldap

Alex Murphy murphy at
Tue May 20 07:32:50 GMT 2003

Please help me

im install samba 3.24 with ldap support:
 smbclient write error:
[root at bene bin]# ./smbclient -L mmm -U murphy
doing parameter ldap ssl = no
doing parameter workgroup = murphy
doing parameter netbios name = mmm
handle_netbios_name: set global_myname to: MMM
doing parameter comment = Linux RedHat Samba Server
doing parameter security = user
doing parameter null passwords = Yes
doing parameter encrypt passwords = yes
doing parameter logon drive = U:
doing parameter logon path = \\%N\profiles$\%u
doing parameter domain master = yes
doing parameter domain logons = yes
doing parameter preferred master = yes
doing parameter os level = 255
doing parameter wins support = yes
doing parameter log file = /usr/local/samba/var/log.%m
doing parameter public = Yes
doing parameter browseable = yes
doing parameter writable = No
pm_process() returned Yes
added interface ip= bcast= nmask=
Client started (version 3.0alpha24).
resolve_lmhosts: Attempting lmhosts lookup for name mmm<0x20>
startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error was 
No such file or directory
resolve_wins: Attempting wins lookup for name mmm<0x20>
wins_srv_is_dead: is alive
resolve_wins: using WINS server and tag '*'
nmb packet from header: id=13349 opcode=Query(0) response=Yes
    header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=MMM<20> rr_type=32 rr_class=1 ttl=258211
    answers   0 char `.....`.....`...   hex 6000C0A801046000AC10A5016000AC10
    answers  10 char ..   hex 8E01
Got a positive name query response from ( )
Connecting to at port 445
 session request ok
protocol negotiation failed

what is it ????

#      CTI, Universidad de Navarra
#      Ignacio Coupeau 001011.01;

idmap only = yes
idmap uid = 10000-20000
idmap gid = 10000-20000
guest account = smbguest

dos charset = 866
unix charset = KOI8-R

passdb backend = ldapsam:ldap://
ldap port = 389
ldap server =
ldap suffix = o=sgtp,dc=ru
ldap admin dn = cn=Manager
log level = 4

ldap ssl = no

workgroup = murphy

netbios name = mmm
comment = Linux RedHat Samba Server
security = user
null passwords = Yes
encrypt passwords = yes

logon drive = U:
logon path = \\%N\profiles$\%u

domain master = yes
domain logons = yes
preferred master = yes
os level = 255

wins support = yes
log file = /usr/local/samba/var/log.%m
public = Yes
browseable = yes
writable = No

; necessary share for domain controller
path = /usr/local/samba/lib/netlogon
locking = no
read only = yes
write list = ntadmin

; share for storing user profiles
path = /mnt/xfs/profiles
read only = no
writeable = yes
create mask = 0600
directory mask = 0700
profile acls = Yes
    path = /mnt/xfs/samba
    writeable = yes

   comment = Home Directories
   browseable = no
   writable = yes

More information about the samba-technical mailing list