NetLogon-related problem #1
laurent.menu at temic.fr
laurent.menu at temic.fr
Mon Oct 12 12:49:00 GMT 1998
Hi,
I hope I sent this message to the correct mailing list, I didn't not
understand what is the mailing list for the mainstream samba developpment
Please tell me (flame me ? :-} ) if I'm wrong.
I haven't found anything about the problem I have in the mailing list archives.
Actually I've got 2 problems, I'm sending another mail to explain the other
problem
=========================================
Problem #1 with samba-2.0.0-alpha9.tar.gz
=========================================
I downloaded the samba-2.0.0-alpha9.tar.gz file last wednesday and
compiled it on a hpux box (HP-UX brazil B.10.20 A 9000/827) with gcc
It compiled fine, except for the huge binaries produced (ie: ~10Mbyte for
smbd) so I put CFLAGS= -O2 instead of CFLAGS=-g -O2 in the Makefile
generated by configure. All binary sizes are now <1Mbyte. Good. I suppose
the -g flag is for debugging purpose ?
I set up the smb.conf for a few services and for samba to be PDC-like.
See smb.conf file below.
Password validation an netlogon work correctly *but* no access to data on any
service.
Example:
- "dir > tag" reports a "The session was cancelled." error on the NT side
- from a NT4 command shell I run "type zob4" (zob4 is an existing file
created on the unix side) and I get the same "The session was cancelled."
message (see log below)
I tried that with sevral users and several services (including services
with no %u, %L stuff) : it doesn't work, same problem
DIR, MKDIR and CD commands work OK
Profile stuff doesn't work, I assume this is in relation with the no file
access problem
LOG FILE (log.pcntex18)
=======================
[1998/10/08 17:34:07, 3] smbd/process.c:process_smb(565)
Transaction 1 of length 174
[1998/10/08 17:34:07, 3] smbd/process.c:switch_message(402)
switch message SMBnegprot (pid 10326)
[1998/10/08 17:34:07, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [PC NETWORK PROGRAM 1.0]
[1998/10/08 17:34:07, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [XENIX CORE]
[1998/10/08 17:34:07, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [MICROSOFT NETWORKS 1.03]
[1998/10/08 17:34:07, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [LANMAN1.0]
[1998/10/08 17:34:07, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [Windows for Workgroups 3.1a]
[1998/10/08 17:34:07, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [LM1.2X002]
[1998/10/08 17:34:07, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [LANMAN2.1]
[1998/10/08 17:34:07, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [NT LM 0.12]
[1998/10/08 17:34:07, 3] smbd/negprot.c:reply_negprot(409)
Selected protocol NT LM 0.12
[1998/10/08 17:34:07, 3] smbd/process.c:process_smb(565)
Transaction 2 of length 192
[1998/10/08 17:34:07, 3] smbd/process.c:switch_message(402)
switch message SMBsesssetupX (pid 10326)
[1998/10/08 17:34:07, 3] smbd/reply.c:reply_sesssetup_and_X(567)
Domain=[AMAZONE] NativeOS=[Windows NT 1381] NativeLanMan=[]
[1998/10/08 17:34:07, 3] smbd/reply.c:reply_sesssetup_and_X(571)
sesssetupX:name=[lmenu]
[1998/10/08 17:34:07, 3] smbd/password.c:setup_groups(189)
lmenu is in 1 groups: 960
[1998/10/08 17:34:07, 3] smbd/password.c:register_vuid(266)
uid 9666 registered to name lmenu
[1998/10/08 17:34:07, 3] smbd/password.c:register_vuid(268)
Clearing default real name
[1998/10/08 17:34:07, 3] smbd/process.c:chain_reply(715)
Chained message
[1998/10/08 17:34:07, 3] smbd/process.c:switch_message(402)
switch message SMBtconX (pid 10326)
[1998/10/08 17:34:07, 2] lib/access.c:check_access(232)
Allowed connection from pcntex18.temic.fr (172.29.232.172)
[1998/10/08 17:34:07, 3] smbd/password.c:authorise_login(702)
ACCEPTED: validated uid ok as non-guest
[1998/10/08 17:34:08, 3] smbd/service.c:make_connection(380)
Connect path is /home/dos/brazil/users/lmenu
[1998/10/08 17:34:08, 3] smbd/password.c:setup_groups(189)
lmenu is in 1 groups: 960
[1998/10/08 17:34:08, 3] lib/util.c:ChDir(1232)
chdir to /home/dos/brazil/users/lmenu
[1998/10/08 17:34:08, 3] lib/util.c:ChDir(1232)
chdir to /soft/alpha9/var
[1998/10/08 17:34:08, 1] smbd/service.c:make_connection(482)
pcntex18 (172.29.232.172) connect to service homedir as user lmenu
(uid=9666,
gid=960) (pid 10326)
[1998/10/08 17:34:08, 3] smbd/reply.c:reply_tcon_and_X(340)
tconX service=homedir user=lmenu
[1998/10/08 17:34:08, 3] smbd/process.c:process_smb(565)
Transaction 3 of length 90
[1998/10/08 17:34:08, 3] smbd/process.c:switch_message(402)
switch message SMBtrans2 (pid 10326)
[1998/10/08 17:34:08, 3] lib/util.c:ChDir(1232)
chdir to /home/dos/brazil/users/lmenu
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
this is my HOMEDIR, owner lmenu:ex960, R/W-able
[1998/10/08 17:34:08, 3] lib/util.c:unix_clean_name(1191)
unix_clean_name [/DPATH/zob4]
^^^^^^^^^^^^^
doesn't correspond to HOMEDIR service, no DPATH directory
[1998/10/08 17:34:08, 3] lib/util.c:unix_clean_name(1191)
unix_clean_name [DPATH/zob4]
[1998/10/08 17:34:08, 3] smbd/trans2.c:call_trans2qfilepathinfo(1253)
fileinfo of DPATH/zob4 failed (No such file or directory)
[1998/10/08 17:34:08, 3] smbd/error.c:error_packet(138)
error packet at line 1259 cmd=50 (SMBtrans2) eclass=1 ecode=3
[1998/10/08 17:34:08, 3] smbd/error.c:error_packet(143)
error string = No such file or directory
[1998/10/08 17:34:18, 3] lib/util.c:ChDir(1232)
chdir to /soft/alpha9/var
smb.conf file
=============
[global]
netbios name = BRAZIL
workgroup = AMAZONE
server string = BRAZIL, no_nt
local master = yes
domain master = yes
security = USER
preferred master = yes
os level = 34
domain logons = yes
logon script = lmlogon.bat
domain admin group = lmenu
logon drive = y:
logon home = "\\BRAZIL\HOMEDIR"
logon path = "\\BRAZIL\PROFILE\profile"
encrypt passwords = yes
; les log ...
log file = /soft/samba/var/log.%m
debug level = 3
max log size = 50
lock directory = /soft/samba/var/locks
locking = yes
; Ou sont les passwords ?
; password server = MOTHER
password level = 4
guest account = lmguest
; revalidate = false
hosts allow = 172.29.0.0 / 255.255.0.0
socket options = TCP_NODELAY
; Performance
read size = 65535
read raw = yes
read prediction = True
write raw = yes
shared mem size = 3000000
max xmit = 65535
fake oplocks=no
oplocks = yes
;======================================================
;======================================================
[printers]
; Pour les printers
printcap name = /etc/myprintcap
browseable = no
printing = hpux
comment = "All printers"
; path = /var/spool/lp/request
path = /var/spool/lp/request/%S
public = true
printable = yes
writable = no
;print command = lp -c -oraw -onb -d%p %s;rm %s
print command = lp -oraw -onb -d%p %s;rm %s
;======================================================
;======================================================
[netlogon]
;fakeserver = brazil
comment = Logon sur BRAZIL
path = /home/dos/brazil/netlogon
public = yes
browseable = yes
writeable = no
admin users = lmenu
write list = lmenu
force group = MONK
force user = MONK
create mask = 644
directory mask = 755
;======================================================
;======================================================
[kosamba]
;fakeserver = brazil
comment = King of Samba !
path = /home/dos/
public = no
browseable = yes
writeable = yes
valid users = lmenu jlahelle
admin users = lmenu jlahelle
force group = sys
;======================================================
;======================================================
[rio]
;fakeserver = brazil
comment= BRAZIL fakeservers infos
path = /home/dos/rio
public = no
browseable = yes
writeable = no
public=yes
hide dot files=yes
;======================================================
;======================================================
[profile]
;fakeserver = brazil
comment = %U profile partition
path = /home/dos/brazil/profile/%U
; public = no
browseable = yes
writable = yes
create mask = 0777
directory mask = 0777
;======================================================
;======================================================
[homedir]
;fakeserver = brazil
comment = %U Homedir as %L member
path = /home/dos/%L/users/%U
public = no
browseable = yes
writable = yes
create mask = 0700
directory mask = 0700
;======================================================
;======================================================
[tout]
;fakeserver = brazil
comment = partition tout public
path = /home/dos/brazil/tout
public = yes
writeable = yes
;======================================================
;======================================================
[common]
;fakeserver = brazil
comment = %L Common Zone
path = /home/dos/%L/common
public = no
valid users = jlahelle lmenu
write list = jlahelle lmenu
create mask = 770
directory mask = 770
More information about the samba-ntdom
mailing list