You don't appear to have set Winbind up.
man winbindd
Shaolin - IT Systems
WB Ltd.
----- Original Message -----
From: "Lennard Bakker" <lennard.bakker@cmg.com>
To: "Samba Maillist" <samba@lists.samba.org>
Sent: Monday, October 07, 2002 1:59 PM
Subject: [Samba] A problem..
>
> Hello,
>
> I have a samba problem which now is keeping me busy for 3 days..
> The situation:
>
> Samba version: 2.2.5
>
> Samba is configgured that users will be autenticated agains a domain
> (winnt). With smbpasswd -j <domain> the domain is joined, and the
result
> was a non-error.
>
> I use samba for 2 things.. user auth on websites for certain files (see
> a .htaccess file config later in this mail). This is working fine.
>
> The other thing is to share folders on the linux host. The users must
> also be auth against the domain. But this is keeping to fail.
> With asmbclient -L <machinename> -U <user> with a wrong user,
there is
> a non-existing user in the log (this is OK), with a user that exists in
> the domain, but with a wrong passwd, there is a Wrong passwd in the log
> (also OK). But when i user a valid user, i get: "Session setup failed:
> SUCCESS - 0" (for more see log file later).
>
> So samba is working because the auth. on files for webpages, but not for
> shares, somebody who can help a hand?
>
> Lennard
>
>
>
> smb.conf:
>
> # Global parameters
> [global]
> workgroup=xxx
> netbios name=MILO
> server string=Samba %v
> debug level=2
> security=domain
> encrypt passwords=yes
> password server=*
> wins server=10.16.127.65 10.20.255.65
> load printers=no
> username level=5
> username map=/usr/local/samba/lib/smbusers
> domain master=no
> local master=no
> preferred master=no
> preserve case=yes
> short preserve case=yes
> guest account=nobody
> logfile=/var/log/samba/%m.log
> max log size=0
> socket options=TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> dns proxy=no
> interfaces=eth0
> bind interfaces only=yes
> os level=2
>
> [homes]
> comment = Home
> writeable = yes
> create mask = 0750
> browseable = yes
>
>
>
> .htaccess file:
> <Files register.php>
> Authname "xxx Account"
> AuthType Basic
> Auth_SMB_Server NL-WOE-BDC01
> Auth_SMB_Server NL-AMV-BDC01
> Auth_SMB_Domain xxx
> require valid-user
> </Files>
>
>
> logfile:
> [2002/10/07 14:02:01, 2] libsmb/namequery.c:name_query(421)
> Got a positive name query response from 10.16.127.65 ( 10.16.127.64
10.20.191.65 10.17.63.65 10.16.191.65 10.19.127.65 10.18.191.65
10.16.127.65 )> [2002/10/07 14:02:01, 2] libsmb/namequery.c:name_query(421)
> Got a positive name query response from 10.16.127.65 ( 10.16.191.65 )
> [2002/10/07 14:02:02, 2] lib/util_sock.c:open_socket_out(874)
> error connecting to 10.16.191.65:445 (Connection refused)
> [2002/10/07 14:02:02, 2] libsmb/namequery.c:name_query(421)
> Got a positive name query response from 10.16.127.65 ( 10.16.127.64
10.20.191.65 10.17.63.65 10.16.191.65 10.19.127.65 10.18.191.65
10.16.127.65 )> [2002/10/07 14:02:03, 2] libsmb/namequery.c:name_query(421)
> Got a positive name query response from 10.16.127.65 ( 10.16.127.64 )
> [2002/10/07 14:02:03, 2] lib/util_sock.c:open_socket_out(874)
> error connecting to 10.16.127.64:445 (Connection refused)
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>