[Samba] Samba authentication problem
Alan Womack
arwbackup at worldnet.att.net
Sat May 18 15:07:02 GMT 2002
On a small home network, I am trying to move from simple share based security =
to user to openldap.
I have simple share working fine, as long as no authentication is occuring. =
Obviously not at all secure!
The two immediate problems are
when I go to security=3Duser on the NT authentication side I get:
[Alan at Webby Alan]$ smbclient //webby/WinShare -U Alan
added interface ip=3D192.168.0.5 bcast=3D192.168.0.255 nmask=3D255.255.255.0
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
[Alan at Webby Alan]$
and on setting up ldap:
[root at Webby openldap]# ldapadd -x -h localhost -D =
"cn=3Dmanager,dc=3DWEBBY,dc=3Dcom" -f base.ldif -W
Enter LDAP Password:
ldap_bind: Can't contact LDAP server
I have no NT server, a pair of win98 boxes and a RH linux 7.2 box samba is =
running on. I'm sure I have some errors in my configuration files, but have =
had an aweful time making sense of the 200 readme's out on the web.
smb.conf is:
[global]
netbios name =3D Webby
workgroup =3D FAMILY
server string =3D House Samba Server
; security =3D SHARE
security =3D USER
smb passwd file =3D /etc/samba/smbpasswd
log file =3D /var/log/samba/log.%m
local master =3D yes
max log size =3D 50
domain master =3D yes
domain logons =3D no
name resolve order =3D hosts wins lmhosts bcast
socket options =3D TCP_NODELAY SO_RCVBUF=3D8192 SO_SNDBUF=3D8192
dns proxy =3D No
remote announce =3D 192.168.0.255
hosts allow =3D 192.168.0. 127.
printing =3D lprng
ldap ssl =3D off
encrypt passwords =3D no
[printers]
comment =3D All Printers
path =3D /var/spool/samba
guest ok =3D Yes
printable =3D Yes
browseable =3D Yes
[tmp]
comment =3D Temporary file space
path =3D /tmp
writeable =3D Yes
guest ok =3D Yes
[WinShare]
comment =3D WinShare
path =3D /export/WinShare
writeable =3D Yes
guest ok =3D Yes
[Alan]
comment =3D mh Code files
path =3D /usr/local/Alan
writeable =3D Yes
guest ok =3D Yes
[mh]
comment =3D mh directory
path =3D /usr/local/mh
writeable =3D Yes
guest ok =3D Yes
Epson Inkjet Printer FAQ: http://welcome.to/epson-inkjet
More information about the samba
mailing list