Project

General

Profile

Bug #76

broken 'smbadm add-member'

Added by Piotr Jasiukajtis about 9 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Low
Assignee:
Category:
-
Start date:
2010-08-23
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Seems like smbadm add-member is broken.
It does not work on b134, b145 and b147 (illumos), so it's not an illumos regression.

# groupadd testgr
# smbadm create testgr
testgr created
# smbadm add-member -m estibi testgr
failed to add estibi: unable to obtain SID
# smbadm list
[*] [WORKGROUP]

History

#1

Updated by Garrett D'Amore about 9 years ago

  • Assignee set to Gordon Ross
#2

Updated by Gordon Ross about 9 years ago

What does this command show you?

svccfg -s idmap listprop config/unresolvable_sid_mapping

If it shows no output, or false, could you please check whether
"smbadm add-member ..." works after applying this change?

svccfg -s idmap setprop config/unresolvable_sid_mapping = boolean: true
svcadm refresh idmap

Thanks

#3

Updated by Piotr Jasiukajtis about 9 years ago

# svccfg -s idmap listprop config/unresolvable_sid_mapping
# svccfg -s idmap setprop config/unresolvable_sid_mapping = boolean: true
# svcadm refresh idmap
# svccfg -s idmap listprop config/unresolvable_sid_mapping
config/unresolvable_sid_mapping  boolean  true
# smbadm add-member -m estibi testgr
failed to add estibi: unable to obtain SID
# svcs idmap
STATE          STIME    FMRI
online         20:56:52 svc:/system/idmap:default
#4

Updated by Piotr Jasiukajtis about 8 years ago

  • Difficulty set to Medium
  • Tags set to needs-triage

I'm testing it on oi_148 now.
This is a workaround:

# cd /var/smb
# rm smbpasswd osmbpasswd smbgroup.db
# touch smbpasswd osmbpasswd
# svcadm restart smb/server

# smbadm create testgr
# passwd user2
# smbadm add-member -m user2 testgr
'user2' is now a member of 'testgr'

#5

Updated by Gordon Ross almost 8 years ago

We have not been able to reproduce this.

It may have been fixed with #1526 so if the reported could try this again with that fix in place, that would be a big help.

#6

Updated by Piotr Jasiukajtis almost 8 years ago

It's not fixed in #1526. Now on oi_151a it fails even earlier:

# groupadd group10
# smbadm create group10
failed to create group10 (cannot obtain a SID)

#7

Updated by Piotr Jasiukajtis almost 8 years ago

# truss -f smbadm create group10
20607:  execve("/usr/sbin/smbadm", 0x08047D28, 0x08047D38)  argc = 3
20607:  sysinfo(SI_MACHINE, "i86pc", 257)               = 6
20607:  mmap(0x00000000, 32, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFB0000
20607:  mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFA0000
20607:  mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEF90000
20607:  mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEF80000
20607:  memcntl(0xFEFB7000, 32112, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
20607:  memcntl(0x08050000, 8044, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
20607:  resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
20607:  resolvepath("/usr/sbin/smbadm", "/usr/sbin/smbadm", 1023) = 16
20607:  sysconfig(_CONFIG_PAGESIZE)                     = 4096
20607:  stat64("/usr/sbin/smbadm", 0x0804796C)          = 0
20607:  open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
20607:  stat64("/usr/lib/smbsrv/libumem.so.1", 0x0804711C) Err#2 ENOENT
20607:  stat64("/lib/libumem.so.1", 0x0804711C)         = 0
20607:  resolvepath("/lib/libumem.so.1", "/lib/libumem.so.1", 1023) = 17
20607:  open("/lib/libumem.so.1", O_RDONLY)             = 3
20607:  mmapobj(3, MMOBJ_INTERPRET, 0xFEFA0E78, 0x08047188, 0x00000000) = 0
20607:  close(3)                                        = 0
20607:  mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEF70000
20607:  memcntl(0xFEAB0000, 29304, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
20607:  stat64("/usr/lib/smbsrv/libc.so.1", 0x0804711C) Err#2 ENOENT
20607:  stat64("/lib/libc.so.1", 0x0804711C)            = 0
20607:  resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
20607:  open("/lib/libc.so.1", O_RDONLY)                = 3
20607:  mmapobj(3, MMOBJ_INTERPRET, 0xFEF70548, 0x08047188, 0x00000000) = 0
20607:  close(3)                                        = 0
20607:  memcntl(0xFEE30000, 178912, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
20607:  mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEE20000
20607:  mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE10000
20607:  getcontext(0x080477CC)
20607:  getrlimit(RLIMIT_STACK, 0x080477C4)             = 0
20607:  getpid()                                        = 20607 [20606]
20607:  lwp_private(0, 1, 0xFEE12A40)                   = 0x000001C3
20607:  setustack(0xFEE12AA0)
20607:  sysconfig(_CONFIG_PAGESIZE)                     = 4096
20607:  sysi86(SI86FPSTART, 0xFEF69C14, 0x0000133F, 0x00001F80) = 0x00000001
20607:  open("/usr/lib/locale//en_US.UTF-8/LC_CTYPE/LCL_DATA", O_RDONLY) = 3
20607:  fstat64(3, 0x08047590)                          = 0
20607:  fstat(3, 0x080476F0)                            = 0
20607:  open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_SGS.mo", O_RDONLY) Err#2 ENOENT
20607:  sysconfig(_CONFIG_NPROC_ONLN)                   = 2
20607:  issetugid()                                     = 0
20607:  open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSLIB.mo", O_RDONLY) Err#2 ENOENT
20607:  issetugid()                                     = 0
20607:  brk(0x08077000)                                 = 0
20607:  brk(0x08087000)                                 = 0
20607:  llseek(3, 0, SEEK_CUR)                          = 0
20607:  llseek(3, 0, SEEK_SET)                          = 0
20607:  fstat64(3, 0x08047580)                          = 0
20607:  fstat64(3, 0x08047490)                          = 0
20607:  ioctl(3, TCGETA, 0x08047530)                    Err#25 ENOTTY
20607:  read(3, " R u n e M a g 1 U T F -".., 29696)    = 29504
20607:  brk(0x08097000)                                 = 0
20607:  llseek(3, 0, SEEK_CUR)                          = 29504
20607:  close(3)                                        = 0
20607:  open("/usr/lib/locale//en_US.UTF-8/LC_NUMERIC/LCL_DATA", O_RDONLY) = 3
20607:  fstat64(3, 0x08047570)                          = 0
20607:  fstat(3, 0x08047B40)                            = 0
20607:  read(3, " .\n ,\n 3\n", 6)                      = 6
20607:  close(3)                                        = 0
20607:  open("/usr/lib/locale//en_US.UTF-8/LC_TIME/LCL_DATA", O_RDONLY) = 3
20607:  fstat64(3, 0x08047580)                          = 0
20607:  fstat(3, 0x08047B50)                            = 0
20607:  read(3, " J a n\n F e b\n M a r\n".., 308)      = 308
20607:  close(3)                                        = 0
20607:  open("/usr/lib/locale//en_US.UTF-8/LC_COLLATE/LCL_DATA", O_RDONLY) = 3
20607:  fstat64(3, 0x080475A0)                          = 0
20607:  fstat(3, 0x08047B80)                            = 0
20607:  mmap(0x00000000, 74664, PROT_READ, MAP_PRIVATE, 3, 0) = 0xFEDFC000
20607:  close(3)                                        = 0
20607:  open("/usr/lib/locale//en_US.UTF-8/LC_MONETARY/LCL_DATA", O_RDONLY) = 3
20607:  fstat64(3, 0x08047570)                          = 0
20607:  fstat(3, 0x08047B40)                            = 0
20607:  read(3, " U S D  \n $\n .\n ,\n 3".., 44)       = 44
20607:  close(3)                                        = 0
20607:  open("/usr/lib/locale//en_US.UTF-8/LC_MESSAGES/LCL_DATA", O_RDONLY) = 3
20607:  fstat64(3, 0x08047580)                          = 0
20607:  fstat(3, 0x08047B50)                            = 0
20607:  read(3, " ^ ( ( [ y Y ] ( [ e E ]".., 45)       = 45
20607:  close(3)                                        = 0
20607:  zone_lookup(0x00000000)                         = 0
20607:  is_system_labeled()                             = 0
20607:  sysconfig(_CONFIG_PAGESIZE)                     = 4096
20607:  getuid()                                        = 0 [0]
20607:  getuid()                                        = 0 [0]
20607:  getpid()                                        = 20607 [20606]
20607:  open("/proc/20607/psinfo", O_RDONLY)            = 3
20607:  fstat64(3, 0x080477C0)                          = 0
20607:  read(3, "\0\0\00201\0\0\07F P\0\0".., 336)      = 336
20607:  close(3)                                        = 0
20607:  mmap(0x00010000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEDE0000
20607:  getuid()                                        = 0 [0]
20607:  getuid()                                        = 0 [0]
20607:  open64("/var/run/name_service_door", O_RDONLY)  = 3
20607:  fstat64(3, 0x08047800)                          = 0
20607:  fcntl(3, F_SETFD, 0x00000001)                   = 0
20607:  door_info(3, 0xFEF60E84)                        = 0
20607:  door_call(3, 0x08047A50)                        = 0
20607:  stat64("/usr/lib/smbsrv/libsecdb.so.1", 0x08047228) Err#2 ENOENT
20607:  stat64("/lib/libsecdb.so.1", 0x08047228)        = 0
20607:  resolvepath("/lib/libsecdb.so.1", "/lib/libsecdb.so.1", 1023) = 18
20607:  open("/lib/libsecdb.so.1", O_RDONLY)            = 4
20607:  mmapobj(4, MMOBJ_INTERPRET, 0xFEE204D0, 0x08047294, 0x00000000) = 0
20607:  close(4)                                        = 0
20607:  memcntl(0xFE980000, 6664, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
20607:  stat64("/lib/libnsl.so.1", 0x08041118)          = 0
20607:  resolvepath("/lib/libnsl.so.1", "/lib/libnsl.so.1", 1023) = 16
20607:  open("/lib/libnsl.so.1", O_RDONLY)              = 4
20607:  mmapobj(4, MMOBJ_INTERPRET, 0xFEE20B28, 0x08041184, 0x00000000) = 0
20607:  close(4)                                        = 0
20607:  mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEDD0000
20607:  memcntl(0xFEAF0000, 78448, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
20607:  sigfillset(0xFEF690D0)                          = 0
20607:  getuid()                                        = 0 [0]
20607:  getuid()                                        = 0 [0]
20607:  door_info(3, 0x080418F0)                        = 0
20607:  door_call(3, 0x08041960)                        = 0
20607:  stat64("/usr/lib/smbsrv/libsmb.so.1", 0x08047248) = 0
20607:  resolvepath("/usr/lib/smbsrv/libsmb.so.1", "/usr/lib/smbsrv/libsmb.so.1", 1023) = 27
20607:  open("/usr/lib/smbsrv/libsmb.so.1", O_RDONLY)   = 4
20607:  mmapobj(4, MMOBJ_INTERPRET, 0xFEDD0608, 0x080472B4, 0x00000000) = 0
20607:  close(4)                                        = 0
20607:  memcntl(0xFED70000, 54408, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
20607:  stat64("/usr/lib/smbsrv/libnsl.so.1", 0x08046E98) Err#2 ENOENT
20607:  stat64("/usr/lib/smbsrv/libscf.so.1", 0x080471B8) Err#2 ENOENT
20607:  stat64("/lib/libscf.so.1", 0x080471B8)          = 0
20607:  resolvepath("/lib/libscf.so.1", "/lib/libscf.so.1", 1023) = 16
20607:  open("/lib/libscf.so.1", O_RDONLY)              = 4
20607:  mmapobj(4, MMOBJ_INTERPRET, 0xFEDD0EC8, 0x08047224, 0x00000000) = 0
20607:  close(4)                                        = 0
20607:  mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFED60000
20607:  memcntl(0xFEA40000, 35520, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
20607:  issetugid()                                     = 0
20607:  issetugid()                                     = 0
20607:  stat64("/lib/libuutil.so.1", 0x08047168)        = 0
20607:  resolvepath("/lib/libuutil.so.1", "/lib/libuutil.so.1", 1023) = 18
20607:  open("/lib/libuutil.so.1", O_RDONLY)            = 4
20607:  mmapobj(4, MMOBJ_INTERPRET, 0xFED605F0, 0x080471D4, 0x00000000) = 0
20607:  close(4)                                        = 0
20607:  memcntl(0xFEA90000, 9080, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
20607:  brk(0x080A7000)                                 = 0
20607:  open("/etc/svc/volatile/repository_door", O_RDONLY) = 4
20607:  fstat64(4, 0x08047A00)                          = 0
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(4, 0x08047A60)                        = 0
20607:  close(4)                                        = 0
20607:  fcntl(5, F_SETFD, 0x00000001)                   = 0
20607:  door_info(5, 0x08047BE0)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B10)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B10)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B10)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B10)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B10)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B10)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B10)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B20)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B30)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B10)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B30)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047AA0)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B30)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047A90)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B10)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047A80)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08045B70)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B60)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B70)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B70)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B70)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08047B80)                        = 0
20607:  close(5)                                        = 0
20607:  stat64("/usr/lib/smbsrv/libsqlite.so.1", 0x080471E8) = 0
20607:  resolvepath("/usr/lib/smbsrv/libsqlite.so.1", "/usr/lib/smbsrv/libsqlite.so.1", 1023) = 30
20607:  open("/usr/lib/smbsrv/libsqlite.so.1", O_RDONLY) = 4
20607:  mmapobj(4, MMOBJ_INTERPRET, 0xFED60C68, 0x08047254, 0x00000000) = 0
20607:  close(4)                                        = 0
20607:  memcntl(0xFECF0000, 34528, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
20607:  open64("/var/smb/smbgroup.db", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 4
20607:  fstat64(4, 0x080478A0)                          = 0
20607:  fstat64(4, 0x08047980)                          = 0
20607:  getpid()                                        = 20607 [20606]
20607:  brk(0x080B7000)                                 = 0
20607:  fcntl(4, F_SETLK64, 0x080479E0)                 = 0
20607:  access("/var/smb/smbgroup.db-journal", F_OK)    Err#2 ENOENT
20607:  fstat64(4, 0x08047960)                          = 0
20607:  llseek(4, 0, SEEK_SET)                          = 0
20607:  read(4, " * *   T h i s   f i l e".., 1024)     = 1024
20607:  llseek(4, 1024, SEEK_SET)                       = 1024
20607:  read(4, "\0\0\0\0\b\088\0\0\0\0\0".., 1024)     = 1024
20607:  llseek(4, 8192, SEEK_SET)                       = 8192
20607:  read(4, "\0\0\0\0     B L O B )\0".., 1024)     = 1024
20607:  fcntl(4, F_SETLK64, 0x080479D0)                 = 0
20607:  stat64("/var/tmp", 0x08047570)                  = 0
20607:  access("/var/tmp", R_OK|W_OK|X_OK)              = 0
20607:  time()                                          = 1323288936
20607:  getpid()                                        = 20607 [20606]
20607:  access("/var/tmp/sqlite_LFcCG8VCcg6ZKS9", F_OK) Err#2 ENOENT
20607:  access("/var/tmp/sqlite_LFcCG8VCcg6ZKS9", F_OK) Err#2 ENOENT
20607:  open64("/var/tmp/sqlite_LFcCG8VCcg6ZKS9", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE|O_NOFOLLOW, 0600) = 5
20607:  fstat64(5, 0x08047450)                          = 0
20607:  fstat64(5, 0x08047530)                          = 0
20607:  getpid()                                        = 20607 [20606]
20607:  unlink("/var/tmp/sqlite_LFcCG8VCcg6ZKS9")       = 0
20607:  fcntl(5, F_SETLK64, 0x080479E0)                 = 0
20607:  access("/var/tmp/sqlite_LFcCG8VCcg6ZKS9-journal", F_OK) Err#2 ENOENT
20607:  fstat64(5, 0x08047960)                          = 0
20607:  fcntl(5, F_SETLK64, 0x080479D0)                 = 0
20607:  fcntl(4, F_SETLK64, 0x08047590)                 = 0
20607:  access("/var/smb/smbgroup.db-journal", F_OK)    Err#2 ENOENT
20607:  fstat64(4, 0x08047510)                          = 0
20607:  llseek(4, 0, SEEK_SET)                          = 0
20607:  read(4, " * *   T h i s   f i l e".., 1024)     = 1024
20607:  fcntl(4, F_SETLK64, 0x080475D0)                 = 0
20607:  access("/var/smb/smbgroup.db-journal", F_OK)    Err#2 ENOENT
20607:  open64("/var/smb/smbgroup.db-journal", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE|O_NOFOLLOW, 0600) = 6
20607:  fstat64(6, 0x08047410)                          = 0
20607:  fstat64(6, 0x080474F0)                          = 0
20607:  getpid()                                        = 20607 [20606]
20607:  open64("/var/smb", O_RDONLY)                    = 7
20607:  fstat64(7, 0x08047410)                          = 0
20607:  write(6, "D9D505F9  A1 cD6", 8)                 = 8
20607:  write(6, "\0\0\0\0", 4)                         = 4
20607:  write(6, " 995D491", 4)                         = 4
20607:  write(6, "\0\0\0\n", 4)                         = 4
20607:  fcntl(5, F_SETLK64, 0x08047590)                 = 0
20607:  access("/var/tmp/sqlite_LFcCG8VCcg6ZKS9-journal", F_OK) Err#2 ENOENT
20607:  fstat64(5, 0x08047510)                          = 0
20607:  fcntl(5, F_SETLK64, 0x080475D0)                 = 0
20607:  access("/var/tmp/sqlite_LFcCG8VCcg6ZKS9-journal", F_OK) Err#2 ENOENT
20607:  open64("/var/tmp/sqlite_LFcCG8VCcg6ZKS9-journal", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE|O_NOFOLLOW, 0600) = 8
20607:  fstat64(8, 0x080473C0)                          = 0
20607:  fstat64(8, 0x080474A0)                          = 0
20607:  getpid()                                        = 20607 [20606]
20607:  unlink("/var/tmp/sqlite_LFcCG8VCcg6ZKS9-journal") = 0
20607:  open64("/var/tmp", O_RDONLY)                    = 9
20607:  fstat64(9, 0x080473C0)                          = 0
20607:  write(8, "D9D505F9  A1 cD6", 8)                 = 8
20607:  write(8, "FFFFFFFF", 4)                         = 4
20607:  write(8, " wA3D9 P", 4)                         = 4
20607:  write(8, "\0\0\0\0", 4)                         = 4
20607:  close(7)                                        = 0
20607:  close(6)                                        = 0
20607:  unlink("/var/smb/smbgroup.db-journal")          = 0
20607:  fcntl(4, F_SETLK64, 0x08047580)                 = 0
20607:  fcntl(4, F_SETLK64, 0x08047540)                 = 0
20607:  llseek(8, 0, SEEK_SET)                          = 0
20607:  fstat64(8, 0x080470F0)                          = 0
20607:  read(8, "D9D505F9  A1 cD6", 8)                  = 8
20607:  read(8, "FFFFFFFF", 4)                          = 4
20607:  read(8, " wA3D9 P", 4)                          = 4
20607:  read(8, "\0\0\0\0", 4)                          = 4
20607:  fcntl(5, F_FREESP64, 0x08047130)                = 0
20607:  close(9)                                        = 0
20607:  close(8)                                        = 0
20607:  unlink("/var/tmp/sqlite_LFcCG8VCcg6ZKS9-journal") Err#2 ENOENT
20607:  fcntl(5, F_SETLK64, 0x08047120)                 = 0
20607:  fcntl(5, F_SETLK64, 0x08047540)                 = 0
20607:  close(4)                                        = 0
20607:  close(5)                                        = 0
20607:  open64("/var/smb/smbgroup.db", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 4
20607:  fstat64(4, 0x08047880)                          = 0
20607:  fstat64(4, 0x08047960)                          = 0
20607:  getpid()                                        = 20607 [20606]
20607:  fcntl(4, F_SETLK64, 0x080479C0)                 = 0
20607:  access("/var/smb/smbgroup.db-journal", F_OK)    Err#2 ENOENT
20607:  fstat64(4, 0x08047940)                          = 0
20607:  llseek(4, 0, SEEK_SET)                          = 0
20607:  read(4, " * *   T h i s   f i l e".., 1024)     = 1024
20607:  llseek(4, 1024, SEEK_SET)                       = 1024
20607:  read(4, "\0\0\0\0\b\088\0\0\0\0\0".., 1024)     = 1024
20607:  llseek(4, 8192, SEEK_SET)                       = 8192
20607:  read(4, "\0\0\0\0     B L O B )\0".., 1024)     = 1024
20607:  fcntl(4, F_SETLK64, 0x080479B0)                 = 0
20607:  stat64("/var/tmp", 0x08047550)                  = 0
20607:  access("/var/tmp", R_OK|W_OK|X_OK)              = 0
20607:  access("/var/tmp/sqlite_bdc6yY8awkaI27K", F_OK) Err#2 ENOENT
20607:  access("/var/tmp/sqlite_bdc6yY8awkaI27K", F_OK) Err#2 ENOENT
20607:  open64("/var/tmp/sqlite_bdc6yY8awkaI27K", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE|O_NOFOLLOW, 0600) = 5
20607:  fstat64(5, 0x08047430)                          = 0
20607:  fstat64(5, 0x08047510)                          = 0
20607:  getpid()                                        = 20607 [20606]
20607:  unlink("/var/tmp/sqlite_bdc6yY8awkaI27K")       = 0
20607:  fcntl(5, F_SETLK64, 0x080479C0)                 = 0
20607:  access("/var/tmp/sqlite_bdc6yY8awkaI27K-journal", F_OK) Err#2 ENOENT
20607:  fstat64(5, 0x08047940)                          = 0
20607:  fcntl(5, F_SETLK64, 0x080479B0)                 = 0
20607:  fcntl(4, F_SETLK64, 0x080474E0)                 = 0
20607:  access("/var/smb/smbgroup.db-journal", F_OK)    Err#2 ENOENT
20607:  fstat64(4, 0x08047460)                          = 0
20607:  llseek(4, 0, SEEK_SET)                          = 0
20607:  read(4, " * *   T h i s   f i l e".., 1024)     = 1024
20607:  llseek(4, 7168, SEEK_SET)                       = 7168
20607:  read(4, "\0\0\0\0\b\0 <01\0\0\0\0".., 1024)     = 1024
20607:  llseek(4, 6144, SEEK_SET)                       = 6144
20607:  read(4, "\0\0\0\0\b\0 l\0\0\0\0\0".., 1024)     = 1024
20607:  fcntl(4, F_SETLK64, 0x080474B0)                 = 0
20607:  close(4)                                        = 0
20607:  close(5)                                        = 0
20607:  open64("/var/smb/smbgroup.db", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 4
20607:  fstat64(4, 0x08047880)                          = 0
20607:  fstat64(4, 0x08047960)                          = 0
20607:  getpid()                                        = 20607 [20606]
20607:  fcntl(4, F_SETLK64, 0x080479C0)                 = 0
20607:  access("/var/smb/smbgroup.db-journal", F_OK)    Err#2 ENOENT
20607:  fstat64(4, 0x08047940)                          = 0
20607:  llseek(4, 0, SEEK_SET)                          = 0
20607:  read(4, " * *   T h i s   f i l e".., 1024)     = 1024
20607:  llseek(4, 1024, SEEK_SET)                       = 1024
20607:  read(4, "\0\0\0\0\b\088\0\0\0\0\0".., 1024)     = 1024
20607:  llseek(4, 8192, SEEK_SET)                       = 8192
20607:  read(4, "\0\0\0\0     B L O B )\0".., 1024)     = 1024
20607:  fcntl(4, F_SETLK64, 0x080479B0)                 = 0
20607:  stat64("/var/tmp", 0x08047550)                  = 0
20607:  access("/var/tmp", R_OK|W_OK|X_OK)              = 0
20607:  access("/var/tmp/sqlite_JVKcq365WxZUSNZ", F_OK) Err#2 ENOENT
20607:  access("/var/tmp/sqlite_JVKcq365WxZUSNZ", F_OK) Err#2 ENOENT
20607:  open64("/var/tmp/sqlite_JVKcq365WxZUSNZ", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE|O_NOFOLLOW, 0600) = 5
20607:  fstat64(5, 0x08047430)                          = 0
20607:  fstat64(5, 0x08047510)                          = 0
20607:  getpid()                                        = 20607 [20606]
20607:  unlink("/var/tmp/sqlite_JVKcq365WxZUSNZ")       = 0
20607:  fcntl(5, F_SETLK64, 0x080479C0)                 = 0
20607:  access("/var/tmp/sqlite_JVKcq365WxZUSNZ-journal", F_OK) Err#2 ENOENT
20607:  fstat64(5, 0x08047940)                          = 0
20607:  fcntl(5, F_SETLK64, 0x080479B0)                 = 0
20607:  fcntl(4, F_SETLK64, 0x080474E0)                 = 0
20607:  access("/var/smb/smbgroup.db-journal", F_OK)    Err#2 ENOENT
20607:  fstat64(4, 0x08047460)                          = 0
20607:  llseek(4, 0, SEEK_SET)                          = 0
20607:  read(4, " * *   T h i s   f i l e".., 1024)     = 1024
20607:  llseek(4, 7168, SEEK_SET)                       = 7168
20607:  read(4, "\0\0\0\0\b\0 <01\0\0\0\0".., 1024)     = 1024
20607:  llseek(4, 6144, SEEK_SET)                       = 6144
20607:  read(4, "\0\0\0\0\b\0 l\0\0\0\0\0".., 1024)     = 1024
20607:  fcntl(4, F_SETLK64, 0x080474B0)                 = 0
20607:  close(4)                                        = 0
20607:  close(5)                                        = 0
20607:  open64("/var/smb/smbgroup.db", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 4
20607:  fstat64(4, 0x08047880)                          = 0
20607:  fstat64(4, 0x08047960)                          = 0
20607:  getpid()                                        = 20607 [20606]
20607:  fcntl(4, F_SETLK64, 0x080479C0)                 = 0
20607:  access("/var/smb/smbgroup.db-journal", F_OK)    Err#2 ENOENT
20607:  fstat64(4, 0x08047940)                          = 0
20607:  llseek(4, 0, SEEK_SET)                          = 0
20607:  read(4, " * *   T h i s   f i l e".., 1024)     = 1024
20607:  llseek(4, 1024, SEEK_SET)                       = 1024
20607:  read(4, "\0\0\0\0\b\088\0\0\0\0\0".., 1024)     = 1024
20607:  llseek(4, 8192, SEEK_SET)                       = 8192
20607:  read(4, "\0\0\0\0     B L O B )\0".., 1024)     = 1024
20607:  fcntl(4, F_SETLK64, 0x080479B0)                 = 0
20607:  stat64("/var/tmp", 0x08047550)                  = 0
20607:  access("/var/tmp", R_OK|W_OK|X_OK)              = 0
20607:  access("/var/tmp/sqlite_3UsZa6QPqeJpHWW", F_OK) Err#2 ENOENT
20607:  access("/var/tmp/sqlite_3UsZa6QPqeJpHWW", F_OK) Err#2 ENOENT
20607:  open64("/var/tmp/sqlite_3UsZa6QPqeJpHWW", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE|O_NOFOLLOW, 0600) = 5
20607:  fstat64(5, 0x08047430)                          = 0
20607:  fstat64(5, 0x08047510)                          = 0
20607:  getpid()                                        = 20607 [20606]
20607:  unlink("/var/tmp/sqlite_3UsZa6QPqeJpHWW")       = 0
20607:  fcntl(5, F_SETLK64, 0x080479C0)                 = 0
20607:  access("/var/tmp/sqlite_3UsZa6QPqeJpHWW-journal", F_OK) Err#2 ENOENT
20607:  fstat64(5, 0x08047940)                          = 0
20607:  fcntl(5, F_SETLK64, 0x080479B0)                 = 0
20607:  fcntl(4, F_SETLK64, 0x080474E0)                 = 0
20607:  access("/var/smb/smbgroup.db-journal", F_OK)    Err#2 ENOENT
20607:  fstat64(4, 0x08047460)                          = 0
20607:  llseek(4, 0, SEEK_SET)                          = 0
20607:  read(4, " * *   T h i s   f i l e".., 1024)     = 1024
20607:  llseek(4, 7168, SEEK_SET)                       = 7168
20607:  read(4, "\0\0\0\0\b\0 <01\0\0\0\0".., 1024)     = 1024
20607:  llseek(4, 6144, SEEK_SET)                       = 6144
20607:  read(4, "\0\0\0\0\b\0 l\0\0\0\0\0".., 1024)     = 1024
20607:  fcntl(4, F_SETLK64, 0x080474B0)                 = 0
20607:  close(4)                                        = 0
20607:  close(5)                                        = 0
20607:  mmap(0x00010000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFECD0000
20607:  getuid()                                        = 0 [0]
20607:  getuid()                                        = 0 [0]
20607:  door_info(3, 0x08047950)                        = 0
20607:  door_call(3, 0x080479C0)                        = 0
20607:  stat64("/usr/lib/smbsrv/libidmap.so.1", 0x08047148) Err#2 ENOENT
20607:  stat64("/lib/libidmap.so.1", 0x08047148)        Err#2 ENOENT
20607:  stat64("/usr/lib/libidmap.so.1", 0x08047148)    = 0
20607:  resolvepath("/usr/lib/libidmap.so.1", "/usr/lib/libidmap.so.1", 1023) = 22
20607:  open("/usr/lib/libidmap.so.1", O_RDONLY)        = 4
20607:  mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFECC0000
20607:  mmapobj(4, MMOBJ_INTERPRET, 0xFECC0018, 0x080471B4, 0x00000000) = 0
20607:  close(4)                                        = 0
20607:  memcntl(0xFECA0000, 14892, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
20607:  stat64("/lib/libavl.so.1", 0x08046F8C)          = 0
20607:  resolvepath("/lib/libavl.so.1", "/lib/libavl.so.1", 1023) = 16
20607:  open("/lib/libavl.so.1", O_RDONLY)              = 4
20607:  mmapobj(4, MMOBJ_INTERPRET, 0xFECC0730, 0x08046FF8, 0x00000000) = 0
20607:  close(4)                                        = 0
20607:  memcntl(0xFEC80000, 2416, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
20607:  schedctl()                                      = 0xFEC71000
20607:  open("/var/run/rpc_door/rpc_100172.1", O_RDONLY) Err#2 ENOENT
20607:  open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSLIB.mo", O_RDONLY) Err#2 ENOENT
20607:  getpid()                                        = 20607 [20606]
20607:  open("/proc/20607/psinfo", O_RDONLY)            = 4
20607:  fstat64(4, 0x08046DE0)                          = 0
20607:  read(4, "\0\0\00201\0\0\07F P\0\0".., 336)      = 336
20607:  close(4)                                        = 0
20607:  fstat(-1, 0x08046EF0)                           Err#9 EBADF
20607:  open("/dev/conslog", O_WRONLY)                  = 4
20607:  fstat64(4, 0x08046D30)                          = 0
20607:  stat64("/dev/pts/6787", 0x08046DC0)             Err#2 ENOENT
20607:  fcntl(4, F_SETFD, 0x00000001)                   = 0
20607:  fstat(4, 0x08046EF0)                            = 0
20607:  fstat(4, 0x08047130)                            = 0
20607:  time()                                          = 1323288936
20607:  open("/var/run/tzsync", O_RDONLY)               = 5
20607:  fstat64(5, 0x08046CE0)                          = 0
20607:  mmap(0x00000000, 4, PROT_READ, MAP_SHARED, 5, 0) = 0xFEC60000
20607:  close(5)                                        = 0
20607:  brk(0x080C7000)                                 = 0
20607:  open("/usr/share/lib/zoneinfo/Poland", O_RDONLY) = 5
20607:  fstat64(5, 0x08046C10)                          = 0
20607:  fstat64(5, 0x08046E00)                          = 0
20607:  read(5, " T Z i f\0\0\0\0\0\0\0\0".., 981)      = 981
20607:  close(5)                                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  putmsg(4, 0x08047B10, 0x08047B20, 0)            = 0
20607:  open("/var/run/syslog_door", O_RDONLY)          = 5
20607:  fstat64(5, 0x08046D70)                          = 0
20607:  door_info(5, 0x08046F30)                        = 0
20607:  getpid()                                        = 20607 [20606]
20607:  door_call(5, 0x08046F60)                        = 0
20607:  close(5)                                        = 0
20607:  open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
20607:  fstat64(2, 0x08046CE0)                          = 0
failed to create 20607: write(2, " f a i l e d   t o   c r".., 17)      = 17
group1020607:   write(2, " g r o u p 1 0", 7)                   = 7
 (20607:        write(2, "   (", 2)                             = 2
cannot obtain a SID20607:       write(2, " c a n n o t   o b t a i".., 19)      = 19
)
20607:  write(2, " )\n", 2)                             = 2
20607:  _exit(6)

Also available in: Atom PDF