Im still fighting on this issue.... I had it working, but it seems like after restarting the server, I am back with the problem.
I now get
Code:
smbclient -U user //zimbra.vwl.tu-darmstadt.de/user
Enter user's password:
session setup failed: NT_STATUS_LOGON_FAILURE
with the interesting part in the log:
Code:
[2010/03/05 16:53:07, 2] lib/smbldap.c:890(smbldap_open_connection)
smbldap_open_connection: connection opened
[2010/03/05 16:53:07, 3] lib/smbldap.c:1101(smbldap_connect_system)
ldap_connect_system: successful connection to the LDAP server
[2010/03/05 16:53:07, 2] passdb/pdb_ldap.c:571(init_sam_from_ldap)
init_sam_from_ldap: Entry found for user: user
[2010/03/05 16:53:07, 3] smbd/sec_ctx.c:210(push_sec_ctx)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/05 16:53:07, 3] smbd/uid.c:428(push_conn_ctx)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/05 16:53:07, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/05 16:53:07, 3] smbd/sec_ctx.c:418(pop_sec_ctx)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/05 16:53:07, 0] passdb/pdb_get_set.c:211(pdb_get_group_sid)
pdb_get_group_sid: Failed to find Unix account for user
[2010/03/05 16:53:07, 1] auth/auth_util.c:577(make_server_info_sam)
User user in passdb, but getpwnam() fails!
So I assume it finds the user in LDAP, but then checks GROUP somehow against passwd?
My nssswitch.conf is:
Code:
# Example:
#passwd: db files nisplus nis
#shadow: db files nisplus nis
#group: db files nisplus nis
passwd: ldap files
shadow: ldap files
group: ldap files
#hosts: db files nisplus nis dns
hosts: files dns
# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: ldap files
publickey: nisplus
automount: files ldap
aliases: files nisplus
Again, any help appreciated....