[Samba] Telnet to samba box does NOT work: wb_getgrgid: failed to
locate gid == 1000
Дорофеев Михаил Сергеевич
DorofeevMS at tmn.transneft.ru
Fri Feb 20 12:29:17 GMT 2004
Hi all!
This is getting strange: 3d installation - the same problem...
This is the log: (pay attention to the LAST line)
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.debug] Plain-text authentication for user DorofeevMS returned NT_STATUS_OK (PAM: 0)
Feb 20 12:10:58 as09-tmn pam_winbind[452]: [ID 614614 auth.notice] user 'DorofeevMS' granted acces
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.debug] [2004/02/20 12:10:58, 5] nsswitch/winbindd.c:winbind_client_read(465)
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.debug] read failed on sock 28, pid 452: EOF
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] [2004/02/20 12:10:58, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(122)
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] [ 452]: getpwnam DorofeevMS
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] [2004/02/20 12:10:58, 3] nsswitch/winbindd_rpc.c:name_to_sid(290)
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] rpc: name_to_sid name=DorofeevMS
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] [2004/02/20 12:10:58, 3] nsswitch/winbindd_rpc.c:name_to_sid(299)
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] name_to_sid [rpc] DorofeevMS for domain TMN
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] [2004/02/20 12:10:58, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(122)
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] [ 452]: getpwnam DorofeevMS
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] [2004/02/20 12:10:58, 3] nsswitch/winbindd_rpc.c:name_to_sid(290)
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] rpc: name_to_sid name=DorofeevMS
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] [2004/02/20 12:10:58, 3] nsswitch/winbindd_rpc.c:name_to_sid(299)
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] name_to_sid [rpc] DorofeevMS for domain TMN
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] [2004/02/20 12:10:58, 3] nsswitch/winbindd_group.c:winbindd_getgrgid(332)
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.info] [ 452]: getgrgid 1000
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.debug] [2004/02/20 12:10:58, 4] nsswitch/winbindd_acct.c:wb_getgrgid(544)
Feb 20 12:10:58 as09-tmn winbindd[273]: [ID 702911 daemon.debug] wb_getgrgid: failed to locate gid == 1000
When I Telnet/FTP to my samba box it authenticates me and gives NO shell prompt.
Here is the smb conf file:
[global]
workgroup = TMN
realm = TMN.TRANSNEFT.RU
server string = AS09-TMN Samba server (running Samba 3.0.1)
security = DOMAIN
password server = msg01-tmn dc01-tmn
algorithmic rid base = 100000
log level = winbind:10
syslog = 7
syslog only = Yes
name resolve order = host lmhosts wins bcast
ldap ssl = no
idmap uid = 1000-2000
idmap gid = 1000-2000
template homedir = /export/home
template shell = /bin/bash
winbind separator = +
winbind use default domain = Yes
All nedded templates are mentioned....
Getent passwd and getent group successfully list domain users and groups.
AND, getent group lists getent group 1000
Domain Users:x:1000:TsInter............................ -many users-...............
What might be the problem ????
Thanks ALL in advance!!!
Sinserely yours,
Mike
P.S. Kinda lonnnng troubleshooting ;)
More information about the samba
mailing list