Re: [Samba] Some Users not shown and profiles won't work

2003-10-28 Thread Tilo Lutz
Hi

As written in my mail from sunday, some users are
not recognized correctly. The can login to samba
but windows doesn't show them in domain user list.

Heres an error I've found in my setup. What does this error
mean? I use Samba 3.0.1 and ldap-backend. Samba-domain
object is saved in ldap, too.

[2003/10/27 15:23:59, 5] auth/auth_util.c:make_user_info_map(216)
  make_user_info_map: Mapping user [WMS-NET]\[hein] from workstation
[B112-PC2]
[2003/10/27 15:23:59, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2003/10/27 15:23:59, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2003/10/27 15:23:59, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2003/10/27 15:23:59, 5] auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2003/10/27 15:23:59, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2003/10/27 15:23:59, 5]
passdb/secrets.c:secrets_fetch_trusted_domain_password(299)
  secrets_fetch failed!
[2003/10/27 15:23:59, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/10/27 15:23:59, 5]
libsmb/trustdom_cache.c:trustdom_cache_fetch(172)
  no entry for trusted domain WMS-NET found.
[2003/10/27 15:23:59, 5] auth/auth_util.c:make_user_info(132)
  attempting to make a user_info for hein (hein)
[2003/10/27 15:23:59, 5] auth/auth_util.c:make_user_info(142)
  making strings for hein's user_info struct
[2003/10/27 15:23:59, 5] auth/auth_util.c:make_user_info(184)
  making blobs for hein's user_info struct
[2003/10/27 15:23:59, 3] auth/auth.c:check_ntlm_password(216)
  check_ntlm_password:  Checking password for unmapped user
[EMAIL PROTECTED] with the new password interface
[2003/10/27 15:23:59, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  mapped user is: [EMAIL PROTECTED]

What does the error:
[2003/10/27 15:23:59, 5]
passdb/secrets.c:secrets_fetch_trusted_domain_password(299)
  secrets_fetch failed!
mean?

I copied the complete user ldap-entry to a new DN, delted
to old, copied to the old DN and delted the new DN.
Now the user is listed when I run net rpc user.
But Why? All attributes are the same.

Regards, Tilo



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


[Samba] Some Users not shown and profiles won't work

2003-10-26 Thread Tilo Lutz
Hi

I'm running samba 3.0 with ldap backand and Suse 8.2.
If I want to edit ACLs from windows an a samba-share
not all users are shown. holger i shown but hein
isn't shown. Andy idea why?
It's very strange because both can login the domain.

I had to set attribute sambaProfilePath for user
hein to the sambe value defined in smb.conf.
I won't add it windows will shown a profile path
syntax error, when trying to load profile.
I think these problems are related to each other.

Regards, Tilo


dn: uid=hein,ou=lehrer,ou=people,dc=wms-hn,dc=de
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgPerson
objectClass: person
objectClass: organizationalPerson
objectClass: top
objectClass: sambaSamAccount
cn: hein
uid: hein
gidNumber: 106
homeDirectory: /home/lehrer/hein
uidNumber: 1508
gecos: Alfred Hein, Lehrer, IST
loginShell: /bin/bash
shadowMin: 0
shadowMax: 9
sambaProfilePath: \\wilma2\profile
displayName: Alfred Hein, Lehrer, IST
sambaHomeDrive: H:
givenName: Alfred
sn: Hein
shadowExpire: 21915
sambaPwdCanChange: 1041375601
sambaPwdMustChange: 1799967609
sambaAcctFlags: [UX ]
sambaDomainName: WMS-NET
sambaPrimaryGroupSID: S-1-5-21-3371203057-3264423045-2392767973-1213
sambaSID: S-1-5-21-3371203057-3264423045-2392767973-4016

dn: uid=holger,ou=sonder,ou=people,dc=wms-hn,dc=de
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgPerson
objectClass: person
objectClass: organizationalPerson
objectClass: top
objectClass: sambaSamAccount
cn: holger
uid: holger
homeDirectory: /home/lehrer/holger
uidNumber: 5064
loginShell: /bin/sh
shadowMin: 0
shadowMax: 9
sambaSID: S-1-5-21-3371203057-3264423045-2392767973-10128
sambaHomeDrive: D:
sambaDomainName: WMS-NET
displayName:: IGhvbGdlcg==
gecos:: IGhvbGdlcg==
description:: IGhvbGdlcg==
shadowExpire: 21915
givenName: holger
sn: hein
gidNumber: 127
sambaPrimaryGroupSID: S-1-5-21-3371203057-3264423045-2392767973-1255
sambaPwdCanChange: 1041375601
sambaPwdMustChange: 1799967609
sambaAcctFlags: [U  ]


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