[Samba] help: samba server don't work in embeded linux

=?gb2312?q?Ling=20Johnny?= lingyc888 at yahoo.com.cn
Wed Dec 17 12:11:35 GMT 2003


hi all,
 
I want to use samba as a file server in some embeded enviroment, becase I have only 8M flash to hold file system of linux, so I have to 
put samba files into harddisk.
 
we mount the harddisk as /mnt/c,mkdir samba in /mnt/c, and mkdir
bin,lib,log,pid,codepage in /mnt/c/samba.
 
we put smbd,nmbd in /mnt/c/samba/bin
we put all the lib files needed in /mnt/c/samba/lib and make all the symbolic links of them in /lib.
we put all the codepage files in /mnt/c/samba/codepage.
 
the smb.conf is like below,
 
# Global parameters
[global]
workgroup         = gydw
netbios name      = et2000
security          = share
guest ok          = yes
encrypt passwords = yes
code page directory = /mnt/c/smaba/codepage
log file            = /mnt/c/smaba/log/%m.log
lock dir            = /mnt/c/smaba/lock
pid directory       = /mnt/c/smaba/pid
[data]
comment           = data
path              = /mnt/c/dvbs/data
guest only        = Yes

----------------------------------------------------------------------------------------------
 
I start them like below:
/mnt/c/samba/bin/nmbd -D
/mnt/c/samba/bin/smbd -D
 
but when I try to run command \\et2000 in win2000, it says the network name is no longer usable.
 
the log is like below,
 
[1970/01/01 00:01:39, 0] ../lib/util_sec.c:assert_gid(114)
  Failed to set gid privileges to (-1,65534) now set to (0,0) uid=(0,0)
[1970/01/01 00:01:39, 0] ../lib/util.c:smb_panic(1094)
  PANIC: failed to set gid

 ... many repeat
 

[1970/01/01 00:01:39, 0] ../lib/util_sec.c:assert_gid(114)
  Failed to set gid privileges to (-1,65534) now set to (0,0) uid=(0,0)
[1970/01/01 00:01:39, 0] ../lib/util.c:smb_panic(1094)
  PANIC: failed to set gid
 
I don't know why, can anybody help me?
 
or anybody can tell me which files and directories are nessasory to run a samba server?
 
thanks very much!


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the samba mailing list