Re: [Samba] Inconsistant winbind and getent results

2004-06-29 Thread Norman Zhang
Marcel de Riedmatten wrote:
Le lun 28/06/2004 à 19:52, Norman Zhang a écrit :
# getent passwd nzhang
The last command displays nothing. Why?
Last time i got that i had 2 users with the same numeric uid  (this is
counting local users) or, i am not quite sure, 2 users or group with the
same SID. To much playing !  So i would double check stuff like that. 
I don't have a local user nzhang on my Linux box. I added winbind enum 
users/groups, but testparm seems to ignore them. Below is my conf file, 
could you see if I'm doing something stupid?
I said numeric uid,  not uid. This is the number int the third column of
a passwd entry. You have idmap in your config therefore your are running
samba 3. What is your domaine controler ?  By the way your config look
good.
An other way to look at the problem is to put
log level = 3 or 5
and to look at the winbind log after you have done the getent. 
There surely will be some interesting message. 
Thanks. I don't have the duplicate numeric uid for nzhang. I checked 
wbinfo -u | user_x for users before and after nzhang. It seems nzhang is 
skipped. Below is a more verbose log. Do you see what the problem is?

Regards,
Norman
[2004/06/29 12:30:26, 3] 
nsswitch/winbindd_misc.c:winbindd_interface_version(261)
  [ 1759]: request interface version
[2004/06/29 12:30:26, 3] 
nsswitch/winbindd_misc.c:winbindd_priv_pipe_dir(297)
  [ 1759]: request location of privileged pipe
[2004/06/29 12:30:26, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(124)
  [ 1759]: getpwnam nzhang
[2004/06/29 12:30:26, 1] nsswitch/winbindd_user.c:winbindd_fill_pwent(50)
  error getting user id for sid 
S-1-5-21-1870222080-545617551-923749875-1043

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


Re: [Samba] Inconsistant winbind and getent results

2004-06-29 Thread Marcel de Riedmatten
Le lun 28/06/2004 à 19:52, Norman Zhang a écrit :
> Marcel de Riedmaten wrote:
> > Le mer 23/06/2004 à 00:53, Norman Zhang a écrit :
> >># getent passwd nzhang
> >>
> >>The last command displays nothing. Why?
> > 
> > Last time i got that i had 2 users with the same numeric uid  (this is
> > counting local users) or, i am not quite sure, 2 users or group with the
> > same SID. To much playing !  So i would double check stuff like that. 
> 
> I don't have a local user nzhang on my Linux box. I added winbind enum 
> users/groups, but testparm seems to ignore them. Below is my conf file, 
> could you see if I'm doing something stupid?

Hi 

I said numeric uid,  not uid. This is the number int the third column of
a passwd entry. You have idmap in your config therefore your are running
samba 3. What is your domaine controler ?  By the way your config look
good.

An other way to look at the problem is to put

log level = 3 or 5

and to look at the winbind log after you have done the getent. 
There surely will be some interesting message. 


Cheers 

-- 
Marcel de Riedmatten



signature.asc
Description: Ceci est une partie de message	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Inconsistant winbind and getent results

2004-06-28 Thread Norman Zhang
Marcel de Riedmaten wrote:
Le mer 23/06/2004 à 00:53, Norman Zhang a écrit :
# getent passwd nzhang
The last command displays nothing. Why?
Last time i got that i had 2 users with the same numeric uid  (this is
counting local users) or, i am not quite sure, 2 users or group with the
same SID. To much playing !  So i would double check stuff like that. 
I don't have a local user nzhang on my Linux box. I added winbind enum 
users/groups, but testparm seems to ignore them. Below is my conf file, 
could you see if I'm doing something stupid?

Regards,
Norman
# wbinfo -u | grep nzhang
nzhang
# grep nzhang /etc/passwd
# grep nzhang /etc/group
[global]
workgroup = MYDOMAIN
netbios name = Proxy
server string = Samba Server %v
security = DOMAIN
encrypt passwords = Yes
password server = BAKSERVER
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#   character set = ISO8859-15
os level = 18
local master = No
preferred master = No
domain master = No
dns proxy = No
idmap uid = 1-2
idmap gid = 1-2
winbind separator = /
template homedir = /home/%D/%U
template shell = /bin/bash
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Inconsistant winbind and getent results

2004-06-26 Thread Marcel de Riedmaten
Le mer 23/06/2004 à 00:53, Norman Zhang a écrit :

Hi

> 
> # getent passwd nzhang
> 
> The last command displays nothing. Why?
> 

Last time i got that i had 2 users with the same numeric uid  (this is
counting local users) or, i am not quite sure, 2 users or group with the
same SID. To much playing !  So i would double check stuff like that. 

Cheers

-- 
Marcel de Riedmatten




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


[Samba] Inconsistant winbind and getent results

2004-06-22 Thread Norman Zhang
Hi,
# wbinfo -t
checking the trust secret via RPC calls succeeded
# wbinfo -u | grep nzhang
nzhang
# wbinfo -a nzhang%testing123
plaintext password authentication succeeded
challenge/response password authentication succeeded
# getent passwd nzhang
The last command displays nothing. Why?
Regards,
Norman
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba