LimHD:smbd: Difference between revisions

From Lundman Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
== smbd ==
== smbd ==
smb.conf
[Global]
  domain master = no
  security = share
  guest account = root
  encrypt passwords = yes
  server string = lim
  os level = 8
  workgroup = Workgroup
  netbios name = lim
  interfaces = 192.168.11.16/24
  code page directory = /tmp/
  pid directory = /tmp//
[mnt]
  path = /mnt/HD1/
  comment = Devices
  browseable = yes
  public = yes
  read only = no
  guest ok = yes


  '''/mnt/smbfs1/nmbd -i -s /mnt/smbfs1/smbd.conf &'''
  '''/mnt/smbfs1/nmbd -i -s /mnt/smbfs1/smbd.conf &'''

Latest revision as of 01:06, 24 October 2007

smbd

smb.conf

[Global]
 domain master = no
 security = share
 guest account = root
 encrypt passwords = yes
 server string = lim
 os level = 8
 workgroup = Workgroup
 netbios name = lim
 interfaces = 192.168.11.16/24
 code page directory = /tmp/
 pid directory = /tmp//

[mnt]
  path = /mnt/HD1/
  comment = Devices
  browseable = yes
  public = yes
  read only = no
  guest ok = yes


/mnt/smbfs1/nmbd -i -s /mnt/smbfs1/smbd.conf &
/mnt/smbfs1/smbd -i -d 10 -s /mnt/smbfs1/smbd.conf


Compiles, runs, but I get:

Connect path is /mnt/HD1/
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
claiming mnt 0
uid_to_sid: local 0 -> S-1-5-21-454703864-95475106-3330088167-1000
gid_to_sid: local 0 -> S-1-5-21-454703864-95475106-3330088167-1001
user token sid S-1-5-21-454703864-95475106-3330088167-1000
user token sid S-1-5-21-454703864-95475106-3330088167-1001
ERROR: string overflow by 1 in safe_strcat [-0]
ERROR: string overflow by 2 in safe_strcat [-0]
ERROR: string overflow by 2 in safe_strcat [-0]
ERROR: string overflow by 2 in safe_strcat [-0]
[sniiiiip]

and panic.