[Samba] PDC LDAP- user can't log in

2004-08-29 Thread Debian User
Hello,

 I'm trying to configure a Debian woody with samba 3.0.5 and ldap from
www.backports.org. I managed to get to the point where I created a user
with
smbldap-adduser -m -a
smbldap-passwd
smbpasswd
 I can log into the server with this user and smbclient
//server/user -Uuser%pass works as expected.
The WinXP is able to join the domain and the machine account gets created in ldap.
But I can't log in, it refuses my user.
 I can't find anything wrong in the logs. 

Can somebody help ?

Thanks
Fabrice


# /etc/samba/smb.conf
[global]
unix charset = LOCALE
workgroup = BIBO
passdb backend = ldapsam:ldap://127.0.0.1
username map = /etc/samba/smbusers
log level = 2
syslog = 0
log file = /var/log/samba/%m
max log size = 50
smb ports = 139 445
name resolve order = wins bcast hosts
time server = Yes
show add printer wizard = No
add user script = /var/lib/samba/sbin/smbldap-useradd.pl -a -m
'%u'
delete user script = /var/lib/samba/sbin/smbldap-userdel.pl %u
add group script = /var/lib/samba/sbin/smbldap-groupadd.pl -p
'%g'
delete group script = /var/lib/samba/sbin/smbldap-groupdel.pl
'%g'
add user to group script =
/var/lib/samba/sbin/smbldap-groupmod.pl -m '%u' '%g'
delete user from group script =
/var/lib/samba/sbin/smbldap-groupmod.pl -x '%u' '%g'
set primary group script =
/var/lib/samba/sbin/smbldap-usermod.pl -g '%g' '%u'
add machine script = /var/lib/samba/sbin/smbldap-useradd.pl -w
'%u'
logon script = scripts\logon.bat
logon path = \\%L\profiles\%U
logon drive = H:
domain logons = Yes
preferred master = Yes
wins support = Yes
ldap suffix = dc=tux-logic,dc=com
ldap machine suffix = ou=People
ldap user suffix = ou=People
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=admin,dc=tux-logic,dc=com
idmap backend = ldap:ldap://127.0.0.1
idmap uid = 1-2
idmap gid = 1-2
map acl inherit = Yes

[homes]
comment = Home Directories
valid users = %U
read only = No
browseable = No

[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = Yes
locking = No

[profiles]
comment = Profile Share
path = /var/lib/samba/profiles
read only = No
profile acls = Yes

[profdata]
comment = Profile Data Share
path = /var/lib/samba/profdata
read only = No
profile acls = Yes







# cat /var/log/samba/runner   #(the XP machine)

[2004/08/29 17:13:45, 2] smbd/sesssetup.c:setup_new_vc_session(602)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2004/08/29 17:13:45, 2] smbd/sesssetup.c:setup_new_vc_session(602)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2004/08/29 17:13:46, 2] passdb/pdb_ldap.c:init_group_from_ldap(1792)
  init_group_from_ldap: Entry found for group: 546
[2004/08/29 17:13:57, 2] smbd/server.c:exit_server(568)
  Closing connections
[2004/08/29 17:14:19, 2] smbd/sesssetup.c:setup_new_vc_session(602)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2004/08/29 17:14:19, 2] smbd/sesssetup.c:setup_new_vc_session(602)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2004/08/29 17:14:20, 2] passdb/pdb_ldap.c:init_group_from_ldap(1792)
  init_group_from_ldap: Entry found for group: 546
[2004/08/29 17:14:20, 2] rpc_parse/parse_prs.c:netsec_decode(1575)
  netsec_decode: FAILED: packet sequence number:
[2004/08/29 17:14:20, 2] lib/util.c:dump_data(1864)
  [000] A5 03 70 71 A3 50 E5 A2   ..pq.P..
[2004/08/29 17:14:20, 2] rpc_parse/parse_prs.c:netsec_decode(1577)
  should be:
[2004/08/29 17:14:20, 2] lib/util.c:dump_data(1864)
  [000] 00 00 00 00 80 00 00 00   
[2004/08/29 17:14:20, 0]
rpc_server/srv_pipe.c:api_pipe_netsec_process(1397)
  failed to decode PDU
[2004/08/29 17:14:20, 0]
rpc_server/srv_pipe_hnd.c:process_request_pdu(605)
  process_request_pdu: failed to do schannel processing.
[2004/08/29 17:14:20, 2] passdb/pdb_ldap.c:init_sam_from_ldap(483)
  init_sam_from_ldap: Entry found for user: runner$
[2004/08/29 17:14:21, 2] passdb/pdb_ldap.c:init_sam_from_ldap(483)
  init_sam_from_ldap: Entry found for user: regis
[2004/08/29 17:14:22, 2] passdb/pdb_ldap.c:init_group_from_ldap(1792)
  init_group_from_ldap: Entry found for group: 513
[2004/08/29 17:14:22, 2] auth/auth.c:check_ntlm_password(305)
  check_ntlm_password:  authentication for user [regis] -> [regis] ->
[regis] succeeded
[2004/08/29 17:14:22, 2] passdb/pdb_ldap.c:init_sam_from_ldap(483)
  init_sam_from_ldap: Entry found for user: regis
[2004/08/29 17:15:00, 2] sm

[solved] RE: [Samba] samba netbios and nbfw

2004-01-06 Thread Debian User
At Monday, 5 January 2004, "Jason Balicki" <[EMAIL PROTECTED]
com> wrote:

>>i am trying to configure a gateway to pass netbios information 
through 
>>between a 192.168.1.x/24 network and a 10.20.x.x/32 network. i have 
>>googled for a howto or other advice on how to configure smb.conf 
>>on debian linux w/ no luck. 
>>
>>can anyone help me w/ suggestions or a link to a good howto?
>
>I'm not sure what you're asking.  If you're trying to "browse" across
>subnets without a WINS or DNS server it can't be done.  You *must*
>have a WINS server for the whole network, and each client must
>register itself with that WINS server.
>
>Since you've got at least one Samba server, it can be your WINS
>server.  Simply put "wins support = yes" in the global section
>of your smb.conf & point your client machines to use the ip
>of your samba server as a WINS server.
>

it looks like this did the trick. thanks!









-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] samba netbios and nbfw

2004-01-05 Thread Debian User
i am trying to configure a gateway to pass netbios information through 
between a 192.168.1.x/24 network and a 10.20.x.x/32 network. i have 
googled for a howto or other advice on how to configure smb.conf 
on debian linux w/ no luck. 

can anyone help me w/ suggestions or a link to a good howto?









-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] bind failed on port 139 socket_addr = 0.0.0.0.

2002-11-16 Thread Debian User
On Sat, Nov 16, 2002 at 01:54:20PM -0800, Debian User wrote:

>  Could this problem be related to password encryption?
>  My WinMe client cannot browse samba server.

okay - got it working.  But I must admit my problem solving was rather
non-linear...
 by that I mean that I just experimented and entered \\192.169.0.1 on
 the winMe client's browser - and sure enough - everything came up.

 So.. I edited the c:\windows\lmhost file to include the server's IP
 address and name and now everything is back to "normal".

I noticed that my logfiles still give the same 'bind' error problem as
well as:
[2002/11/16 15:53:16, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367)
  unable to open passdb database.

despite these error messages - things seem to be working okay... but
just for how long - I don't know.
... Afterall - everything was working well (without the edited LMhost
file) previously then - poof - my samba connectivity turned to crap.

So now things are working - but I can't help but feel like I'm walking
on eggshells since I've been burned once already...

anyone else have this problem with Debian-Samba box?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] bind failed on port 139 socket_addr = 0.0.0.0.

2002-11-16 Thread Debian User
 I get this error in my log file:
 bind failed on port 139 socket_addr = 0.0.0.0.

 What are common causes this error message?
 How to fix it?
 This error seems to appear rather frequently in the mailing list.

 I tried following the discussions, but nothing seemed to work for me.

 Could this problem be related to password encryption?
 My WinMe client cannot browse samba server.


 Thanks
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] bind failed on port 139 socket_addr = 0.0.0.0.

2002-11-16 Thread Debian User
I get this error in my log file:
bind failed on port 139 socket_addr = 0.0.0.0.

What are common causes this error message?
How to fix it?
This error seems to appear rather frequently in the mailing list.

I tried following the discussions, but nothing seemed to work for me.

Could this problem be related to password encryption?
My WinMe client cannot browse samba server.


Thanks
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba