gzis@ek-chor-cn.com
2005-Feb-28  08:44 UTC
[Samba] the winbind problem, 'wbinfo -u' have the user but 'getent passwd' haven't the user
I use the winbind to map the w2k PDC users and groups to the redhat9.0,
but a few problem appears,when I run "wbinfo -u"
can list the user but "getent passwd" can't list the user,new
created users
in the w2k PDC also appear this problem.why?
  example:
  [root@honet5 lib]# wbinfo -u | more
       GZ+xiangmao
     GZ+xiaobinl
     GZ+XiaoHongChen
     GZ+xiaoliangc
     GZ+XiaoLinL
  [root@honet5 lib]# getent passwd | more
       GZ+xiangmao:x:10493:10000:GanXiangMao:/home/GZ/xiangmao:/bin/false
     GZ+xiaobinl:x:10494:10000:liangxiaobin:/home/GZ/xiaobinl:/bin/false
GZ+xiaoliangc:x:10496:10000:ChenXiaoLiang:/home/GZ/xiaoliangc:/bin/false
     GZ+xiaolinl:x:10497:10000:Li Xiaolin:/home/GZ/xiaolinl:/bin/false
     GZ+xiaolongl:x:10498:10000:Li Xiao Long:/home/GZ/xiaolongl:/bin/false
     GZ+xiaowenl:x:10499:10000:Lin Xiaowen:/home/GZ/xiaowenl:/bin/false
     GZ+xiaoxuang:x:10500:10000:XiaoXuan Geng:/home/GZ/xiaoxuang:/bin/false
     GZ+xinjianh:x:10501:10000:Huang Xin Jian:/home/GZ/xinjianh:/bin/false
     GZ+xinkem:x:10502:10000:MengXinKe:/home/GZ/xinkem:/bin/false
     GZ+xiuhongl:x:10503:10000:Luo Xiuhong:/home/GZ/xiuhongl:/bin/false
Dirk.Laurenz@fujitsu-siemens.com
2005-Feb-28  10:29 UTC
[Samba] the winbind problem, 'wbinfo -u' have the user but 'getent passwd' haven't the user
Add these to smb.conf
winbind enum users = yes
winbind enum groups = yes
Mit freundlichem Gru?,
Dirk Laurenz
Systems Engineer	
Fujitsu Siemens Computers
S CE DE SE PS N/O
Sales Central Europe Deutschland 
Professional Service Nord / Ost
Hildesheimer Strasse 25
30880 Laatzen
Germany
Telephone:	+49 (511) 84 89 - 18 08
Telefax:	+49 (511) 84 89 - 25 18 08
Mobile:	+49 (170) 22 10 781
Email:	mailto:dirk.laurenz@fujitsu-siemens.com
Internet:	http://www.fujitsu-siemens.com
            http://www.fujitsu-siemens.de/services/index.html
*******************************************************************************************************************
  
-|  -----Original Message-----
-|  From: 
-|  samba-bounces+dirk.laurenz=fujitsu-siemens.com@lists.samba.o
-|  rg 
-|  [mailto:samba-bounces+dirk.laurenz=fujitsu-siemens.com@lists
-|  .samba.org] On Behalf Of gzis@ek-chor-cn.com
-|  Sent: Monday, February 28, 2005 9:46 AM
-|  To: samba@lists.samba.org
-|  Subject: [Samba] the winbind problem, 'wbinfo -u' have the 
-|  user but 'getent passwd' haven't the user
-|  
-|     I use the winbind to map the w2k PDC users and groups to 
-|  the redhat9.0,
-|  but a few problem appears,when I run "wbinfo -u"
-|  
-|  can list the user but "getent passwd" can't list the 
-|  user,new created users
-|  in the w2k PDC also appear this problem.why?
-|  
-|    example:
-|  
-|    [root@honet5 lib]# wbinfo -u | more
-|  
-|         GZ+xiangmao
-|       GZ+xiaobinl
-|       GZ+XiaoHongChen
-|       GZ+xiaoliangc
-|       GZ+XiaoLinL
-|  
-|    [root@honet5 lib]# getent passwd | more
-|  
-|         
-|  GZ+xiangmao:x:10493:10000:GanXiangMao:/home/GZ/xiangmao:/bin/false
-|       
-|  GZ+xiaobinl:x:10494:10000:liangxiaobin:/home/GZ/xiaobinl:/bin/false
-|  
-|  GZ+xiaoliangc:x:10496:10000:ChenXiaoLiang:/home/GZ/xiaoliang
-|  c:/bin/false
-|       GZ+xiaolinl:x:10497:10000:Li 
-|  Xiaolin:/home/GZ/xiaolinl:/bin/false
-|       GZ+xiaolongl:x:10498:10000:Li Xiao 
-|  Long:/home/GZ/xiaolongl:/bin/false
-|       GZ+xiaowenl:x:10499:10000:Lin 
-|  Xiaowen:/home/GZ/xiaowenl:/bin/false
-|       GZ+xiaoxuang:x:10500:10000:XiaoXuan 
-|  Geng:/home/GZ/xiaoxuang:/bin/false
-|       GZ+xinjianh:x:10501:10000:Huang Xin 
-|  Jian:/home/GZ/xinjianh:/bin/false
-|       GZ+xinkem:x:10502:10000:MengXinKe:/home/GZ/xinkem:/bin/false
-|       GZ+xiuhongl:x:10503:10000:Luo 
-|  Xiuhong:/home/GZ/xiuhongl:/bin/false
-|  
-|  
-|  
-|  
-|  
-|  
-|  
-|  
-|  
-|  -- 
-|  To unsubscribe from this list go to the following URL and read the
-|  instructions:  https://lists.samba.org/mailman/listinfo/samba
-|