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 From eduard at nergens.org Wed Dec 17 12:20:23 2003
From: eduard at nergens.org (Eduard Witteveen)
Date: Wed Dec 17 12:18:12 2003
Subject: [Samba] A domain controller for the domain could not be contacted
(2.2.3a-12.3 for Debian)
In-Reply-To: <200312171252.47711.fabien.chevalier@supelec.fr>
References: <3FDF2EE2.5030404@nergens.org>
<200312171222.50264.fabien.chevalier@supelec.fr>
<3FE04082.3070401@nergens.org>
<200312171252.47711.fabien.chevalier@supelec.fr>
Message-ID: <3FE04A07.7080905@nergens.org>
Fabien Chevalier wrote:
>Please send your ipconfig /all.
>
>
I attached the output
>I suppose something's wrong in your network settings.
>Are you using Dhcp or static Ip?
>
>
Dhcp. (look in the output)
The linux server (nemo) has ip-number 10.0.0.152
Eduard Witteveen
-------------- next part --------------
Windows IP Configuration
Host Name . . . . . . . . . . . . : SHARED-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast
Ethernet NIC
Physical Address. . . . . . . . . : 00-E0-4C-48-3E-AB
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.0.0.156
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.138
DHCP Server . . . . . . . . . . . : 10.0.0.10
DNS Servers . . . . . . . . . . . : 194.134.0.97
194.134.5.55
Primary WINS Server . . . . . . . : 10.0.0.10
Lease Obtained. . . . . . . . . . : Dienstag, 16. Dezember 2003 10:38:39
Lease Expires . . . . . . . . . . : Dienstag, 23. Dezember 2003 10:38:39