I have finally get it working, without knowing exactly why what I did
before didn't work. It seems to be a configuration problem, which
fuzzles me a lot. Basically, my config is as follows:
<=========================v=v=v= Config =v=v=v=========================>
1>> [global]
2>> workgroup = AlwaysBIG
3>> encrypt passwords = false
4>> root preexec = /bin/echo %T: CONNECT: service:%S path:%P by [EMAIL
PROTECTED] >> /var/log/samba/log.connection
5>> root postexec = /bin/echo %T: DISCONNECT: service:%S path:%P by
[EMAIL PROTECTED] >> /var/log/samba/log.connection
6>>
7>> [homes]
8>> comment = Home Directories
9>> browseable = no
10>> writable = yes
11>> create mask = 0700
12>> directory mask = 0700
13>> valid users = %S
<=========================^=^=^= Config =^=^=^=========================>
The situation is like this: I have winbindd running, and I have a
smb.conf like the above. If I keep line 13 ("valid users = %S"),
I wouldn't be able to connect to my home directory. But if I comment
it out, it will just work fine. Please note that I am using plaintext
password here. Is that the cause??
Please also note that line 4 and 5 above are just for some extra
logging. I had this in my configuration with older version of
Samba and it worked fine. But now, nothing is logged down.
Any clue??
Also, whenever, I do "wbinfo -t", I get the following error message
(with or without the "valid users" line in smb.conf):
checking the trust secret via RPC calls failed
error code was NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND (0xc0000233)
Could not check secret
I also tried to turn on the debug level to 3 (as advised), but the
log messages is just too massive, and I don't intent to include it
here.
Any clue?? Thx!
--
Joe C.K. Yau
On Tue Jul 17 13:35:48 2007,
Christian Perrier <[EMAIL PROTECTED]> wrote:
>
> > But what I experience now is that it doesn't even allow me to connect
> > to my home directory I shared. I see no other error messages except
> > those I provided in my last message. Please note that I am using
> > Samba 3.0.24 (according to "smbd -V") distributed on the 4.0r0 ISO
> > image, and my client is a WinXP.
>
>
> Please first set the debug level to 3 and report the content of the
> samba logs.
>
>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]