[Samba] Can't reach Samba shares from Win2k
FRANCO
facatena at surson.com.br
Tue Mar 25 10:51:17 GMT 2003
Can yoiu help m?
[root at firewall /etc]# smbpasswd -j surson -r cleo -U Administrator
Password:
Joined domain SURSON.
[root at firewall /etc]#
[root at firewall /etc]# smbclient //firewall/PUBLICO -UAdministrator
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
Got a positive name query response from 192.168.1.2 ( 192.168.1.1 )
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
When I try \\firewall\PUBLICO in the NT I receive a BOX to type USER and
PASSWD
Joe log.cleo
[2003/03/25 04:38:27, 0]
smbd/password.c:connect_to_domain_password_server(1307)
connect_to_domain_password_server: machine CLEO rejected the tconX on the
IPC$ share. Error was : NT_STATUS_ACCESS_DENIED.
[2003/03/25 04:38:27, 0] smbd/password.c:domain_client_validate(1554)
domain_client_validate: Domain password server not available.
[2003/03/25 04:38:27, 1] smbd/password.c:pass_check_smb(555)
Couldn't find user 'surson+administrator' in passdb.
[2003/03/25 04:38:27, 1] smbd/password.c:pass_check_smb(555)
Couldn't find user 'surson+administrator' in passdb.
[2003/03/25 04:38:27, 1] smbd/reply.c:reply_sesssetup_and_X(988)
Rejecting user 'surson+administrator': authentication failed
[2003/03/25 04:38:27, 0]
smbd/password.c:connect_to_domain_password_server(1307)
connect_to_domain_password_server: machine CLEO rejected the tconX on the
IPC$ share. Error was : NT_STATUS_ACCESS_DENIED.
[2003/03/25 04:38:27, 0] smbd/password.c:domain_client_validate(1554)
domain_client_validate: Domain password server not available.
Joe.firewall
IW log.firewall
Row 1 Col 1 4:57 F1 for help
[2003/03/25 04:37:32, 0]
smbd/password.c:connect_to_domain_password_server(1307)
connect_to_domain_password_server: machine CLEO rejected the tconX on the
IPC$ share. Error was : NT_STATUS_ACCESS_DENIED.
[2003/03/25 04:37:32, 0] smbd/password.c:domain_client_validate(1554)
domain_client_validate: Domain password server not available.
[2003/03/25 04:37:32, 1] smbd/password.c:pass_check_smb(555)
Couldn't find user 'surson+administrator' in passdb.
[2003/03/25 04:37:32, 1] smbd/password.c:pass_check_smb(555)
Couldn't find user 'surson+administrator' in passdb.
[2003/03/25 04:37:32, 1] smbd/reply.c:reply_sesssetup_and_X(988)
Rejecting user 'surson+administrator': authentication failed
Etc/smbusers
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
Etc/smbpasswd
root:0:CHANGED BY MEeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee:[UX
]:LCT-3E7AEA06:
Administrator:1CHANGED BY
MEeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee:[UX
]:LCT-3E7FED90:
catena:500:CHANGED BY
MEeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee:[UX ]:LCT-3
Etc/passwd
Administrator:x:10032:10033::/home/Administrator:/dev/null
danilo:x:10033:10033::/home/danilo:/dev/null
Etc/pwdb.conf
#
# This is the configuration file for the pwdb library
#
user:
unix+shadow
nis+unix+shadow
group:
unix+shadow
nis+unix+shadow
etc/Pam.d/samba
auth required /lib/security/pam_unix.so nullok shadow
account required /lib/security/pam_unix.so
#auth required /lib/security/pam_securetty.so
#auth required /lib/security/pam_nologin.so
#auth sufficient /lib/security/pam_winbind.so
#auth required /lib/security/pam_pwdb.so use_first_pass shadow
#account required /lib/security/pam_winbind.so
SMB.conf
[global]
workgroup = SURSON
server string = Server FIREWALL usando Samba
interfaces = 192.168.1.1/24
bind interfaces only = Yes
security = DOMAIN
encrypt passwords = Yes
password server = cleo
password level = 8
username level = 8
log level = 1
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = wins hosts lmhosts bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 0
preferred master = False
local master = No
domain master = False
wins server = 192.168.1.2
winbind uid = 10000-20000
winbind gid = 10000-20000
template homedir = /home/winnt/%D/%U
template shell = /bin/bash
winbind separator = +
winbind cache time = 10
hosts allow = 192.168.1. 192.168.2. 127.
printing = lprng
[homes]
comment = Home Directories
valid users = %S
admin users = root,Administrator,catena
read only = No
create mask = 0664
directory mask = 0775
strict allocate = Yes
strict locking = Yes
[printers]
comment = All Printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No
[netlogon]
comment = Network Logon Service
path = /var/spool/samba/netlogon
write list = root
[Profiles]
path = /var/spool/samba/profiles
read only = No
[PUBLICO]
comment = Diretorio Publico
path = /home/samba
guest ok = Yes
[pchome]
comment = PC Directories
path = /usr/pc/%u
read only = No
Franco Catena
http://www.surson.com.br
tel 011-44374040
cel:78535362
NEXTEL: 55*26006*1
MSN: facdavilla at hotmail.com
ICQ: 24755602
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (MingW32)
Comment: For info see http://www.gnupg.org
mQGiBD5fPr8RBAC4GydYCddbpvUo2g8xInqq8mJf4wIx0a1rX1cgNVX4Mx62kMXR
fKDB9wjCUrj73xdJDtwTD778LABwuF9hTK0WjrxGCFhZ1Vk1nwM8wrNAO6m98HVF
/gsb2ZrWp2LFsxUQsV2RfZXYax6xCI1czx5i+oPIz8z0eqSr5cpwwgGGAwCggeyg
IhuYbgFxKZYpONfIus3c6j8EAI3JIz026gcbMRyD7jeAAi8e+Brh1rifrtXmXbxr
/TQh1+biwIpA/HEPzgRZGkGzjhZdVd9Oxkgp6Zq3XKV9XpHnoucq/dvWTYaMm0pi
pD85VNkROD2F/9owcFWKPWDYem/ipmyfhKgQ2nnUIrD9eHGxrxGBYW76Xx1htIoF
8GqlA/0XAXR0hopoVxgTEuLPOWT7MktY2f6vtvNG7pp1b0HzbLU7PRWNgCv8DRdG
E7o1ewuT7KjiLbsTlmtI2Tw+BIWd8dWdcGkHl75DCdr/jyONkJvD6vPga98P36Nn
H9/LJpf3kpaHud9K27ThpTWVCMuVyWXwK77RdNM56wHBJpMFurQhZmFjYXRlbmEg
PGZhY2F0ZW5hQHN1cnNvbi5jb20uYnI+iF0EExECAB0FAj5fPr8FCQGUvIAFCwcK
AwQDFQMCAxYCAQIXgAAKCRAH3evru7lBCyw4AJ9YMfqtOt26h9h/7W1Mm9Ga9/d3
oQCeKXBdahSPvEv+egRCYbcx5hLqAYi5AY0EPl8+3hAGAJu+Ezr636haP3Vjfgsh
EnYX7s/yNSyNUkdcGjEC6dNKmlAZ8U5Tc3DD1vnkBEcSVjg2lrMSVADGZBCXuIEC
keI/wbQWFQIKfPIZx0kJnW+np+tmTxZ/LoKV7gVqNW9hIKE5UWC8bzoH3EvtBRR8
LVLNADZUuhn17Wta0wJ+L+vB3Qa6DzwdSE98qCrsUWyCbC9JUdWjxKNH9X5H8Jl/
mXZOFprSeEs7k9P5XeNyv0lVVqVtDBA004KVAXHRvNSPvwADBQX/YMbUCZ8fVc6F
xPKyBnBYNvRNlxbL+NyFzUGvTO/u+CTeJrvE/3O1Ax9AfXRjXdWgZ7mqhJAEAqWN
ACE3g0Y4gFfMhSfgMYt9lmcNBUrk58h1kW2kYakEpOZlk3klO9HvKTmIYYyyu3vc
Da0q+ALmATihlY8duAKUw/U1HV8P5JZ8LAjiaKpJQAj2XrH+WZ5YDi22zJ7M94zi
CRBci5YCnAHmdfbKIyDXdCtLK2D0ouFt9+ahoxdioSrIBr34WauliEwEGBECAAwF
Aj5fPt4FCQGUvIAACgkQB93r67u5QQvImQCfdARi8DpWjBCcZW9E6rfA8wTWK/gA
n3kZ/R2hS/Kk7KLtvIOQ8Cd5y2UD
=ry0w
-----END PGP PUBLIC KEY BLOCK-----
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 17/3/2003
More information about the samba
mailing list