[Samba] Internal error when using NIS+ with Samba 2.2.1a on Solaris 5.8

Kapoor, Sandeep [IT] sandeep.kapoor at citigroup.com
Tue Aug 13 11:06:01 GMT 2002

I have installed Samba 2.2.1a on Solaris 5.8 with NIS+ option. Initially I
was getting the following error 
"[2002/08/08 16:38:05, 0] passdb/nispass.c:(372)
  make_sam_from_nisresult: NIS+ lookup failure: Database for table does not

However later I
1. Modified smb.conf to include smb passwd file = smbpasswd.org_dir
2. Executed mknissmbpwdtbl.sh (attached to this email)
3. Created a user on my Windows NT SP 6 machine with the same name and
password as a unix user sk86406 and then used pwdump to create a smbpasswd
file. I then moved this smbpasswd file to unix, edited the uid filed to
match the uid for unix.
4. Executed cat smbpasswd | mksmbpasswd.sh (attached) to add the entry to
NIS+. Note that the mksmbpasswd.sh has fields home and shell in the script
that are not created in the mknissmbpwdtbl.sh. Hence these fields were
edited from mksmbpasswd.sh.

The smb.conf file is attached. Now when I try to connect from a windows NT
workstation (SP 6) or Windows 2000 SP2 using net use * command to map a
share I get an network error and the log file shows the following error.
"switch message SMBsesssetupX (pid 17983)
[2002/08/13 15:25:50, 3] smbd/sec_ctx.c:(317)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/08/13 15:25:50, 5] smbd/uid.c:(217)
  unbecome_user now uid=(0,0) gid=(0,0)
[2002/08/13 15:25:50, 3] smbd/reply.c:(866)
  Domain=[NYC]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
[2002/08/13 15:25:50, 3] smbd/reply.c:(876)
[2002/08/13 15:25:50, 6] param/loadparm.c:(2144)
  file /etc/opt/samba/smb.conf -> /etc/opt/samba/smb.conf  last mod_time:
Tue Aug 13 13:45:23 2002

[2002/08/13 15:25:50, 10] passdb/nispass.c:(916)
  getnisp21pwnam: search by name: sk86406
[2002/08/13 15:25:50, 10] passdb/nispass.c:(917)
  getnisp21pwnam: using NIS+ table smbpasswd.org_dir
[2002/08/13 15:25:50, 0] lib/fault.c:(40)
[2002/08/13 15:25:50, 0] lib/fault.c:(41)
  INTERNAL ERROR: Signal 11 in pid 17983 (2.2.1a)
  Please read the file BUGS.txt in the distribution
[2002/08/13 15:25:50, 0] lib/fault.c:(43)
[2002/08/13 15:25:50, 0] lib/util.c:(1101)
  PANIC: internal error"

I have been trying to make Samba work for quite a few days now and some
urgent help will be really really appreciated.
Thanks in advance

Sandeep Kapoor
Phone : 212-657-5102
email: sandeep.kapoor at citigroup.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smb.conf
Type: application/octet-stream
Size: 2023 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20020813/0c830e2e/smb.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mknissmbpasswd.sh
Type: application/octet-stream
Size: 719 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20020813/0c830e2e/mknissmbpasswd.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mknissmbpwdtbl.sh
Type: application/octet-stream
Size: 1167 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20020813/0c830e2e/mknissmbpwdtbl.obj

More information about the samba mailing list