Errors when connecting form NT Wst4.0 to Samba 2.0.7 for HPUX11
Jose Luis Garrido García
jgarrido at ucable.es
Tue Sep 5 13:13:28 GMT 2000
After installing and setting "WorkGroup" and "allow hosts" list with SWAT,
the NT client can see the server in the
netwrok neighbourhood, but when clicking the server to see the shares, I
receive a message "The account is not allowed
to begin session from that workstation" (Error 1240 in Windows NT Wkst).
I have raised log level to 4 and receive messages in log.nmb:
[2000/09/05 13:58:01, 4] libsmb/nmblib.c:(109)
nmb packet from 172.28.7.178(137) header: id=15750 opcode=Release(6)
response=
No
header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=1
question: q_name=DESAR02<20> q_type=32 q_class=1
additional: nmb_name=DESAR02<20> rr_type=32 rr_class=1 ttl=259200
additional 0 char @..... hex 4000AC1C07C5
[2000/09/05 13:58:01, 4] nmbd/nmbd_responserecordsdb.c:(46)
add_response_record: adding response record id:15750 to subnet
UNICAST_SUBNET.
num_records:8
[2000/09/05 13:58:01, 4] nmbd/nmbd_packets.c:(414)
initiate_name_release_packet: sending release for name UNICABLE<00>
(bcast=No)
to IP 172.28.7.178
And the response to the pachet sent (seems to be unable to connect to master
browser):
[2000/09/05 13:58:01, 0] nmbd/nmbd_responserecordsdb.c:(238)
find_response_record: response packet id 15750 received with no matching
record.
The messages in log.smb when trying to connect from the client are:
[2000/09/05 12:23:18, 1] lib/util_sock.c:(1007)
Gethostbyaddr failed for 172.28.1.36
[2000/09/05 12:23:18, 2] lib/access.c:(257)
Allowed connection from 172.28.1.36 (172.28.1.36)
[2000/09/05 12:23:18, 3] smbd/process.c:(618)
Transaction 0 of length 72
[2000/09/05 12:23:18, 2] smbd/reply.c:(96)
netbios connect: name1=DESAR02 name2=PC0075
[2000/09/05 12:23:18, 3] smbd/process.c:(618)
Transaction 1 of length 174
[2000/09/05 12:23:18, 3] smbd/process.c:(448)
switch message SMBnegprot (pid 4585)
[2000/09/05 12:23:18, 3] smbd/negprot.c:(341)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2000/09/05 12:23:18, 3] smbd/negprot.c:(341)
Requested protocol [XENIX CORE]
[2000/09/05 12:23:18, 3] smbd/negprot.c:(341)
Requested protocol [MICROSOFT NETWORKS 1.03]
[2000/09/05 12:23:18, 3] smbd/negprot.c:(341)
Requested protocol [LANMAN1.0]
[2000/09/05 12:23:18, 3] smbd/negprot.c:(341)
Requested protocol [LM1.2X002]
[2000/09/05 12:23:18, 3] smbd/negprot.c:(341)
Requested protocol [LANMAN2.1]
[2000/09/05 12:23:18, 3] smbd/negprot.c:(341)
Requested protocol [NT LM 0.12]
[2000/09/05 12:23:18, 3] smbd/negprot.c:(424)
Selected protocol NT LM 0.12
[2000/09/05 12:23:18, 3] smbd/process.c:(856)
end of file from client
[2000/09/05 12:23:18, 2] smbd/server.c:(408)
Closing connections
[2000/09/05 12:23:18, 3] smbd/server.c:(435)
Server exit (normal exit)
[2000/09/05 13:21:43, 1] smbd/server.c:(641)
smbd version 2.0.7 started.
Copyright Andrew Tridgell 1992-1998
doing parameter wins server = 172.28.7.178
[2000/09/05 13:21:43, 2] param/loadparm.c:(2481)
Processing section "[share1]"
doing parameter comment = share1 comment
doing parameter path = /tmp
[2000/09/05 13:21:43, 3] param/loadparm.c:(2805)
pm_process() returned Yes
[2000/09/05 13:21:43, 3] param/loadparm.c:(1594)
adding IPC service
[2000/09/05 13:21:43, 2] lib/interface.c:(83)
added interface ip=172.28.7.197 bcast=172.28.255.255 nmask=255.255.0.0
[2000/09/05 13:21:43, 3] lib/interface.c:(63)
not adding duplicate interface 172.28.7.197
[2000/09/05 13:21:43, 1] smbd/files.c:(215)
file_init: Information only: requested 10000 open files, 1014 are
available.
[2000/09/05 13:21:43, 3] smbd/server.c:(704)
loaded services
[2000/09/05 13:21:43, 4] locking/shmem_sysv.c:(547)
Trying sysv shmem open of size 1048576
[2000/09/05 13:21:43, 3] locking/shmem_sysv.c:(707)
Initialised IPC area of size 1048576
[2000/09/05 13:21:43, 2] smbd/server.c:(746)
Changed root to /
open_oplock_ipc: opening loopback UDP socket.
[2000/09/05 13:21:43, 3] lib/util_sock.c:(875)
bind succeeded on port 0
[2000/09/05 13:21:43, 3] smbd/oplock.c:(113)
open_oplock ipc: pid = 7635, global_oplock_port = 51678
[2000/09/05 13:21:43, 4] lib/time.c:(110)
Serverzone is -7200
And begins again (next line):
[2000/09/05 12:23:22, 1] lib/util_sock.c:(1007)
Gethostbyaddr failed for 172.28.1.36
[2000/09/05 12:23:22, 2] lib/access.c:(257)
Allowed connection from 172.28.1.36 (172.28.1.36)
[2000/09/05 12:23:22, 3] smbd/process.c:(618)
Transaction 0 of length 72
[2000/09/05 12:23:22, 2] smbd/reply.c:(96)
netbios connect: name1=DESAR02 name2=PC0075
¿Anyone knows how many things are incorrect in my smbd.conf file?:
coding system =
client code page = 850
workgroup = UNICABLE
netbios name = DESAR02
netbios aliases =
netbios scope =
server string = Samba 2.0.7
interfaces = lan0 172.28.7.197/255.255.248.0
bind interfaces only = No
security = USER
encrypt passwords = No
update encrypted = No
allow trusted domains = Yes
hosts equiv =
min password length = 5
map to guest = Never
null passwords = No
password server =
smb passwd file = /etc/opt/samba/private/smbpasswd
root directory = /
passwd program = /bin/passwd
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd chat debug = No
username map = /users.map
password level = 0
username level = 0
unix password sync = No
restrict anonymous = No
use rhosts = Yes
debug level = 1
syslog = 1
syslog only = No
log file =
max log size = 5000
debug timestamp = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
protocol = NT1
read bmpx = No
read raw = Yes
write raw = Yes
nt smb support = Yes
nt pipe support = Yes
nt acl support = Yes
announce version = 4.2
announce as = NT
max mux = 50
max xmit = 65535
name resolve order = lmhosts host wins bcast
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
lpq cache time = 10
max disk size = 0
max open files = 10000
read prediction = No
read size = 16384
shared mem size = 1048576
socket options = TCP_NODELAY
stat cache size = 50
load printers = Yes
printcap name = /etc/printcap
printer driver file = /opt/samba/lib/printers.def
strip dot = No
character set =
mangled stack = 50
stat cache = Yes
domain groups =
domain admin group =
domain guest group =
domain admin users =
domain guest users =
machine password timeout = 604800
add user script =
delete user script =
logon script =
logon path = \\%N\%U\profile
logon drive =
logon home = \\%N\%U
domain logons = No
os level = 20
lm announce = Auto
lm interval = 60
preferred master = No
local master = Yes
domain master = No
browse list = Yes
dns proxy = Yes
wins proxy = No
wins server = 172.28.7.178
wins support = No
wins hook =
kernel oplocks = Yes
ole locking compatibility = Yes
oplock break wait time = 10
smbrun = /opt/samba/bin/smbrun
config file =
auto services =
lock directory = /var/opt/samba/locks
default service =
message command =
dfree command =
valid chars =
remote announce =
remote browse sync =
socket address = 0.0.0.0
homedir map =
time offset = 0
unix realname = No
NIS homedir = No
source environment =
panic action =
comment =
path =
revalidate = No
username =
guest account = nobody
invalid users =
valid users =
admin users =
read list =
write list =
force user =
force group =
writeable = No
create mask = 0744
force create mode = 00
security mask = -1
force security mode = -1
directory mask = 0755
force directory mode = 00
directory security mask = -1
force directory security mode = -1
inherit permissions = No
guest only = No
guest ok = No
only user = No
hosts allow = 172.28.0.0/255.255.0.0
hosts deny =
status = Yes
max connections = 0
min print space = 0
strict sync = No
sync always = No
write cache size = 0
printable = No
postscript = No
printing = hpux
print command = lp -c -d%p %s; rm %s
lpq command = lpstat -o%p
lprm command = cancel %p-%j
lppause command =
lpresume command =
queuepause command = disable %p
queueresume command = enable %p
printer =
printer driver = NULL
printer driver location =
default case = lower
case sensitive = No
preserve case = Yes
short preserve case = Yes
mangle case = No
mangling char = ~
hide dot files = Yes
delete veto files = No
veto files =
hide files =
veto oplock files =
map system = No
map hidden = No
map archive = Yes
mangled names = Yes
mangled map =
browseable = Yes
blocking locks = Yes
fake oplocks = No
locking = Yes
oplocks = Yes
level2 oplocks = No
oplock contention limit = 2
strict locking = No
share modes = Yes
copy =
include =
preexec =
preexec close = No
postexec =
root preexec =
root preexec close = No
root postexec =
available = Yes
volume =
fstype = NTFS
set directory = No
wide links = Yes
follow symlinks = Yes
dont descend =
magic script =
magic output =
delete readonly = No
dos filetimes = No
dos filetime resolution = No
fake directory create times = No
[share1]
comment = share1 comment
path = /tmp
Thanks:
José Luis Garrido
More information about the samba-ntdom
mailing list