Where is the <domain>.SID file?

Matthias Haupt im.haupt at rznb0.rz.tu-bs.de
Tue Apr 11 09:37:36 GMT 2000


Dear samba specialists,

i have started with samba few days ago, compiling 2.0.6 on
our hpux-10.20 server and edit the smb.conf with the following
contents:

[global]
  encrypt passwords = yes
  local master = yes
  domain master = yes
  os level = 65
  preferred master = yes
  domain logons = yes
  logon path = \\%L\home\profiles\%U
  wins support = no
  workgroup = IFLDOM
  netbios name = IFLHP301
  server string = IFL-Samba Server
  hosts allow = 134.169.44. 127.
  security = user

[homes]
   read only = no

[WINDIR]
   path = /home/opt/windir
   read only = no
   users = @users

[netlogon]
   path = /usr/local/samba/lib/netlogon
   writeable = no
   share modes = no

[Profiles]
   path = /home/profiles
   read only = no
   case sensitive = No

I have one NT4.0 SP5 client calles "ifllin05($)" added to /etc/passwd
and to smbpasswd with    smbpasswd -a -m ifllin05

Then I hopefully started smbd and nmbd, and I see in
/usr/local/samba/private the MACHINE.SID file but no
IFLDOM.SID file announced in the samba documentation.

          What's the reason for this missing file ?

Therefore I think the change from Workgroup to Domain in the
NT network configuration fails.


The access to the server directories works.







Some lines of the smb-log file during the Workgroup to Domain change are

[2000/04/11 10:57:16, 3] smbd/process.c:(448)
  switch message SMBsesssetupX (pid 1833)
[2000/04/11 10:57:16, 3] smbd/reply.c:(788)
  Domain=[IFLDOM]  NativeOS=[Windows NT 1381] NativeLanMan=[]
[2000/04/11 10:57:16, 3] smbd/reply.c:(793)
  sesssetupX:name=[IFLLIN05$]
[2000/04/11 10:57:16, 10] passdb/passdb.c:(142)
  search by name: IFLLIN05$
[2000/04/11 10:57:16, 10] passdb/smbpass.c:(45)
  startsmbfilepwent: opening file /usr/local/samba/private/smbpasswd
[2000/04/11 10:57:16, 6] passdb/smbpass.c:(159)
  getsmbfilepwent: skipping comment or blank line
[2000/04/11 10:57:16, 5] passdb/smbpass.c:(257)
  getsmbfilepwent: returning passwd entry for user i6071001, uid 1730
[2000/04/11 10:57:16, 10] passdb/smbpass.c:(212)
  getsmbfilepwent: entry invalidated for user i6070701
[2000/04/11 10:57:16, 10] passdb/smbpass.c:(212)
  getsmbfilepwent: entry invalidated for user i6070801
[2000/04/11 10:57:16, 5] passdb/smbpass.c:(257)
  getsmbfilepwent: returning passwd entry for user ifllin05$, uid 102
[2000/04/11 10:57:16, 10] passdb/passdb.c:(158)
  found by name: IFLLIN05$
[2000/04/11 10:57:16, 7] passdb/smbpass.c:(81)
  endsmbfilepwent: closed password file.
[2000/04/11 10:57:16, 4] smbd/password.c:(404)
  Checking SMB password for user ifllin05$
[2000/04/11 10:57:16, 5] smbd/password.c:(415)
  use last SMBnegprot challenge
[2000/04/11 10:57:16, 4] smbd/password.c:(432)
  smb_password_ok: Checking NT MD4 password
[2000/04/11 10:57:16, 4] smbd/password.c:(436)
  NT MD4 password check succeeded
[2000/04/11 10:57:16, 4] smbd/reply.c:(484)
  session_trust_account: Wksta trust account IFLLIN05$ denied by server
[2000/04/11 10:57:16, 3] smbd/error.c:(126)
  32 bit error packet at line 486 cmd=115 (SMBsesssetupX) eclass=c0000199 [Error: Unknown error (153,49152)]
[2000/04/11 10:57:16, 5] lib/util.c:(451)
  size=35
  smb_com=0x73
  smb_rcls=153
  smb_reh=1
  smb_err=49152
  smb_flg=136
  smb_flg2=16384
[2000/04/11 10:57:16, 5] lib/util.c:(459)
  smb_tid=0
  smb_pid=51966
  smb_uid=0
  smb_mid=0
  smt_wct=0
[2000/04/11 10:57:16, 5] lib/util.c:(474)
  smb_bcc=0
[2000/04/11 10:57:16, 6] lib/util_sock.c:(557)
  write_socket(6,39)
[2000/04/11 10:57:16, 6] lib/util_sock.c:(560)
  write_socket(6,39) wrote 39
[2000/04/11 10:57:16, 10] lib/util_sock.c:(468)
  read_socket_data: recv of 4 returned 0. Error = Error 0
[2000/04/11 10:57:16, 10] lib/util_sock.c:(651)
  receive_smb: length < 0!
[2000/04/11 10:57:16, 3] smbd/process.c:(854)
  end of file from client
[2000/04/11 10:57:16, 2] smbd/server.c:(408)
  Closing connections

...

[2000/04/11 10:57:16, 6] param/loadparm.c:(1855)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Tue Apr 11 09:53:14 2000

[2000/04/11 10:57:16, 2] smbd/server.c:(735)
  Changed root to /
[2000/04/11 10:57:16, 3] smbd/oplock.c:(86)
  open_oplock_ipc: opening loopback UDP socket.
[2000/04/11 10:57:16, 3] lib/util_sock.c:(865)
  bind succeeded on port 0
[2000/04/11 10:57:16, 3] smbd/oplock.c:(113)
  open_oplock ipc: pid = 1834, global_oplock_port = 2896
[2000/04/11 10:57:16, 4] lib/time.c:(110)
  Serverzone is -7200
[2000/04/11 10:57:16, 10] lib/util_sock.c:(599)
  got smb length of 68
[2000/04/11 10:57:16, 2] lib/access.c:(257)
  Allowed connection from ifllin05 (134.169.44.25)
[2000/04/11 10:57:16, 6] smbd/process.c:(614)
  got message type 0x81 of len 0x44
[2000/04/11 10:57:16, 3] smbd/process.c:(615)
  Transaction 0 of length 72
[2000/04/11 10:57:16, 2] smbd/reply.c:(96)
  netbios connect: name1=IFLHP301         name2=IFLLIN05
[2000/04/11 10:57:16, 6] param/loadparm.c:(1855)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Tue Apr 11 09:53:14 2000

[2000/04/11 10:57:16, 5] smbd/connection.c:(127)
  trying claim /usr/local/samba/var/locks STATUS. 100000
[2000/04/11 10:57:16, 8] lib/util.c:(2747)
  fcntl_lock 7 7 0 1 2
[2000/04/11 10:57:16, 8] lib/util.c:(2838)
  Lock call successful
[2000/04/11 10:57:16, 8] lib/util.c:(2747)
  fcntl_lock 7 7 0 1 3
[2000/04/11 10:57:16, 8] lib/util.c:(2838)
  Lock call successful
[2000/04/11 10:57:16, 5] smbd/reply.c:(148)
  init msg_type=0x81 msg_flags=0x0
[2000/04/11 10:57:16, 6] lib/util_sock.c:(557)
  write_socket(6,4)
[2000/04/11 10:57:16, 6] lib/util_sock.c:(560)
  write_socket(6,4) wrote 4
[2000/04/11 10:57:16, 10] lib/util_sock.c:(599)
  got smb length of 170
[2000/04/11 10:57:16, 6] smbd/process.c:(614)
  got message type 0x0 of len 0xaa
[2000/04/11 10:57:16, 3] smbd/process.c:(615)
  Transaction 1 of length 174
[2000/04/11 10:57:16, 5] lib/util.c:(451)
  size=170
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=3
[2000/04/11 10:57:16, 5] lib/util.c:(459)
  smb_tid=0
  smb_pid=51966
  smb_uid=0
  smb_mid=0
  smt_wct=0
[2000/04/11 10:57:16, 5] lib/util.c:(474)
  smb_bcc=135
[2000/04/11 10:57:16, 10] lib/util.c:(2980)
  [000] 02 50 43 20 4E 45 54 57  4F 52 4B 20 50 52 4F 47  .PC NETW ORK PROG
[2000/04/11 10:57:16, 10] lib/util.c:(2988)
  [010] 52 41 4D 20 31 2E 30 00  02 58 45 4E 49 58 20 43  RAM 1.0. .XENIX C
[2000/04/11 10:57:16, 10] lib/util.c:(2988)
  [020] 4F 52 45 00 02 4D 49 43  52 4F 53 4F 46 54 20 4E  ORE..MIC ROSOFT N
[2000/04/11 10:57:16, 10] lib/util.c:(2988)
  [030] 45 54 57 4F 52 4B 53 20  31 2E 30 33 00 02 4C 41  ETWORKS  1.03..LA
[2000/04/11 10:57:16, 10] lib/util.c:(2988)
  [040] 4E 4D 41 4E 31 2E 30 00  02 57 69 6E 64 6F 77 73  NMAN1.0. .Windows
[2000/04/11 10:57:16, 10] lib/util.c:(2988)
  [050] 20 66 6F 72 20 57 6F 72  6B 67 72 6F 75 70 73 20   for Wor kgroups
[2000/04/11 10:57:16, 10] lib/util.c:(2988)
  [060] 33 2E 31 61 00 02 4C 4D  31 2E 32 58 30 30 32 00  3.1a..LM 1.2X002.
[2000/04/11 10:57:16, 10] lib/util.c:(2988)
  [070] 02 4C 41 4E 4D 41 4E 32  2E 31 00 02 4E 54 20 4C  .LANMAN2 .1..NT L
[2000/04/11 10:57:16, 10] lib/util.c:(2988)
  [080] 4D 20 30 2E 31 32 00                              M 0.12.
[2000/04/11 10:57:16, 3] smbd/process.c:(448)
  switch message SMBnegprot (pid 1834)
[2000/04/11 10:57:16, 3] smbd/negprot.c:(341)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2000/04/11 10:57:16, 3] smbd/negprot.c:(341)
  Requested protocol [XENIX CORE]
[2000/04/11 10:57:16, 3] smbd/negprot.c:(341)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[2000/04/11 10:57:16, 3] smbd/negprot.c:(341)
  Requested protocol [LANMAN1.0]
[2000/04/11 10:57:16, 3] smbd/negprot.c:(341)
  Requested protocol [Windows for Workgroups 3.1a]
[2000/04/11 10:57:16, 3] smbd/negprot.c:(341)
  Requested protocol [LM1.2X002]
[2000/04/11 10:57:16, 3] smbd/negprot.c:(341)
  Requested protocol [LANMAN2.1]
[2000/04/11 10:57:16, 3] smbd/negprot.c:(341)
  Requested protocol [NT LM 0.12]
[2000/04/11 10:57:16, 6] param/loadparm.c:(1855)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Tue Apr 11 09:53:14 2000

[2000/04/11 10:57:16, 6] param/loadparm.c:(1855)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Tue Apr 11 09:53:14 2000

[2000/04/11 10:57:16, 3] smbd/negprot.c:(421)
  Selected protocol NT LM 0.12
[2000/04/11 10:57:16, 5] smbd/negprot.c:(428)
  negprot index=7
[2000/04/11 10:57:16, 5] lib/util.c:(451)
  size=84
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[2000/04/11 10:57:16, 5] lib/util.c:(459)
  smb_tid=0
  smb_pid=51966
  smb_uid=0
  smb_mid=0
  smt_wct=17
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[0]=7 (0x7)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[1]=12803 (0x3203)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[2]=256 (0x100)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[3]=65280 (0xFF00)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[4]=255 (0xFF)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[5]=0 (0x0)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[6]=256 (0x100)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[7]=10752 (0x2A00)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[8]=7 (0x7)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[9]=12544 (0x3100)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[10]=3 (0x3)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[11]=0 (0x0)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[12]=19774 (0x4D3E)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[13]=37871 (0x93EF)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[14]=49059 (0xBFA3)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[15]=34817 (0x8801)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[16]=2303 (0x8FF)
[2000/04/11 10:57:16, 5] lib/util.c:(474)
  smb_bcc=15
[2000/04/11 10:57:16, 10] lib/util.c:(2980)
  [000] 5C 15 DE DA 64 11 62 74  49 46 4C 44 4F 4D 00     \...d.bt IFLDOM.
[2000/04/11 10:57:16, 6] lib/util_sock.c:(557)
  write_socket(6,88)
[2000/04/11 10:57:16, 6] lib/util_sock.c:(560)
  write_socket(6,88) wrote 88
[2000/04/11 10:57:16, 10] lib/util_sock.c:(599)
  got smb length of 131
[2000/04/11 10:57:16, 6] smbd/process.c:(614)
  got message type 0x0 of len 0x83
[2000/04/11 10:57:16, 3] smbd/process.c:(615)
  Transaction 2 of length 135
[2000/04/11 10:57:16, 5] lib/util.c:(451)
  size=131
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=3
[2000/04/11 10:57:16, 5] lib/util.c:(459)
  smb_tid=0
  smb_pid=51966
  smb_uid=0
  smb_mid=0
  smt_wct=13
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[0]=117 (0x75)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[1]=97 (0x61)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[2]=61440 (0xF000)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[3]=50 (0x32)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[4]=0 (0x0)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[5]=1834 (0x72A)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[6]=0 (0x0)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[7]=1 (0x1)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[8]=0 (0x0)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[9]=0 (0x0)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[10]=0 (0x0)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[11]=212 (0xD4)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[12]=0 (0x0)
[2000/04/11 10:57:16, 5] lib/util.c:(474)
  smb_bcc=36
[2000/04/11 10:57:16, 10] lib/util.c:(2980)
  [000] 00 00 00 57 69 6E 64 6F  77 73 20 4E 54 20 31 33  ...Windo ws NT 13
[2000/04/11 10:57:16, 10] lib/util.c:(2988)
  [010] 38 31 00 00 57 69 6E 64  6F 77 73 20 4E 54 20 34  81..Wind ows NT 4
[2000/04/11 10:57:16, 10] lib/util.c:(2988)
  [020] 2E 30 00 00                                       .0..
[2000/04/11 10:57:16, 3] smbd/process.c:(448)
  switch message SMBsesssetupX (pid 1834)
[2000/04/11 10:57:16, 3] smbd/reply.c:(788)
  Domain=[]  NativeOS=[Windows NT 1381] NativeLanMan=[]
[2000/04/11 10:57:16, 3] smbd/reply.c:(793)
  sesssetupX:name=[]
[2000/04/11 10:57:16, 6] param/loadparm.c:(1855)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Tue Apr 11 09:53:14 2000

[2000/04/11 10:57:16, 3] smbd/password.c:(197)
  nobody is in 0 groups:
[2000/04/11 10:57:16, 3] smbd/password.c:(275)
  uid -2 registered to name nobody
[2000/04/11 10:57:16, 3] smbd/password.c:(277)
  Clearing default real name
[2000/04/11 10:57:16, 6] smbd/reply.c:(992)
  Client requested max send size of 61440
[2000/04/11 10:57:16, 3] smbd/process.c:(773)
  Chained message
[2000/04/11 10:57:16, 5] lib/util.c:(451)
  size=131
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=3
[2000/04/11 10:57:16, 5] lib/util.c:(459)
  smb_tid=0
  smb_pid=51966
  smb_uid=100
  smb_mid=0
  smt_wct=4
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[0]=255 (0xFF)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[1]=0 (0x0)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[2]=0 (0x0)
[2000/04/11 10:57:16, 5] lib/util.c:(468)
  smb_vwv[3]=1 (0x1)
[2000/04/11 10:57:16, 5] lib/util.c:(474)
  smb_bcc=23
[2000/04/11 10:57:16, 10] lib/util.c:(2980)
  [000] 00 5C 5C 49 46 4C 48 50  33 30 31 5C 49 50 43 24  .\\IFLHP 301\IPC$
[2000/04/11 10:57:16, 10] lib/util.c:(2988)
  [010] 00 3F 3F 3F 3F 3F 00                              .?????.
[2000/04/11 10:57:16, 3] smbd/process.c:(448)
  switch message SMBtconX (pid 1834)
[2000/04/11 10:57:16, 4] smbd/reply.c:(312)
  Got device type ?????
[2000/04/11 10:57:16, 2] lib/access.c:(257)
  Allowed connection from ifllin05 (134.169.44.25)
[2000/04/11 10:57:16, 3] smbd/password.c:(784)
  ACCEPTED: guest account and guest ok
[2000/04/11 10:57:16, 3] smbd/service.c:(426)
  Connect path is /tmp
[2000/04/11 10:57:16, 0] lib/util_sec.c:(67)
  Failed to set gid privileges to (-1,-2) now set to (0,0) uid=(0,0)
[2000/04/11 10:57:16, 0] lib/util.c:(2456)
  PANIC: failed to set gid

  --

------------------------------------------------------------------------------

   Dr. Matthias Haupt

   Institut fuer Flugzeugbau und Leichtbau
   Technische Universitaet Braunschweig        Tel.:  +49 / (0) 531/391-2688
   Langer Kamp 19                              Fax :  +49 / (0) 531/391-2695
   38106 Braunschweig/Germany                  E-Mail:  m.haupt at tu-bs.de

------------------------------------------------------------------------------


-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba-ntdom mailing list