Profile retrieval
Greg Dickie
greg at discreet.com
Thu Dec 10 12:35:17 GMT 1998
Ah this looks familiar, I'm going to try and get this one today, I'll think
about the caching problem later.
Greg
On 10-Dec-98 John Burchett wrote:
> Luke,
>
> I got some logs for you so you can see what I get when I try to view
> profiles. Some reason, in the logs it looks like one big loop, with the
> centerpiece line being:
> [1998/12/09 23:54:56, 10] groupdb/groupdb.c:user_is_member(202)
> searching for user johnb: not found
>
> I have admin privileges now (cause it says RPC failed , not 'access
> denied') so that's not the problem, but it appears to be 'searching' for
> something, and not successful in finding it. I'm guessing it's looking
> for something in the defined 'profile' directory (i.e. 'logon path'),
> but that's just my guess. Here's the loop I was speaking of (log level =
> 100) (note, I'm not sure where the head of this loop is, so some of the
> entries at the bottom may belong at the top)
>
> btw/ 'johnb' is the login profile that I'm trying to view. and like you
> guessed, root is in the ADM _and_ the wheel groups, so it is both an
> admin and a domain admin.. don't think there's anything wrong with this,
> is there?
>
> Thanx in advance,
> -john
>
> log:
>
> [1998/12/09 23:54:56, 7] lib/util_sid.c:sid_to_string(50)
> sid_to_string returning S-1-5-21-3994100152-1206515041-417666105-512
> [1998/12/09 23:54:56, 10] lib/domain_namemap.c:map_unixid(759)
> map_unixid: enum entry unix group adm 4 nt Domain Admins
> S-1-5-21-3994100152-1206515041-417666105-512
> [1998/12/09 23:54:56, 10] lib/domain_namemap.c:lookupsmbpwnam(884)
> lookupsmbpwnam: unix user name root
> [1998/12/09 23:54:56, 10] lib/domain_namemap.c:lookupsmbpwuid(908)
> lookupsmbpwuid: unix uid 0
> [1998/12/09 23:54:56, 7] lib/util_sid.c:sid_to_string(50)
> sid_to_string returning S-1-5-21-3994100152-1206515041-417666105-500
> [1998/12/09 23:54:56, 10] lib/domain_namemap.c:map_unixid(759)
> map_unixid: enum entry unix group root 0 nt Administrator
> S-1-5-21-3994100152-1206515041-417666105-500
> [1998/12/09 23:54:56, 7] lib/domain_namemap.c:map_unixid(764)
> map_unixid: Mapping unix name root to nt name Administrator type 1
> [1998/12/09 23:54:56, 10] groupdb/groupunix.c:getgrpunixpwent(210)
> line: 'root::1001:Administrator'
> [1998/12/09 23:54:56, 5] groupdb/groupdb.c:iterate_getusergroupsnam(239)
>
> group name root members: 1
> [1998/12/09 23:54:56, 10] groupdb/groupdb.c:user_is_member(195)
> searching against user Administrator...
> [1998/12/09 23:54:56, 10] groupdb/groupdb.c:user_is_member(202)
> searching for user johnb: not found
> [1998/12/09 23:54:56, 10] groupdb/groupunix.c:getgrpunixpwent(169)
> getgrpunixpwent: enum unix group entry root
> [1998/12/09 23:54:56, 10] lib/domain_namemap.c:lookupsmbgrpgid(1143)
> lookupsmbgrpgid: unix gid 0
> [1998/12/09 23:54:56, 7] lib/util_sid.c:sid_to_string(50)
> sid_to_string returning S-1-5-21-3994100152-1206515041-417666105-1042
> [1998/12/09 23:54:56, 10] lib/domain_namemap.c:map_unixid(759)
> map_unixid: enum entry unix group wheel 10 nt Administrators
> S-1-5-21-3994100152-1206515041-417666105-1042
>
>
---------------------------------------------------------------------
Greg Dickie
Just A Guy*
*from discreet logic
Montreal
(514) 954-7171
greg at discreet.com
More information about the samba-ntdom
mailing list