Does "id -u DOMAIN\\username" still work for you on 3.0.25b?
Kurt Pfeifle
k1pfeifle at gmx.net
Tue Jul 17 14:18:12 GMT 2007
Hi,
I have a quick question for those of you who run 3.0.25b.
=====================================================================
Problem: for me, on 3.0.25a, the commands
getent passwd DOMAINNAME\\Administrator
id -u DOMAINNAME\\Administrator
do no longer work. And they don't work for *any* other user name
either.
=====================================================================
They used to work for me (and still do work!) on a parallel Samba 3.0.24
system.
Both systems are on Fedora Core 3, both Samba packages are self-compiled,
both systems are member servers in the same domain.
Also, the commands
wbinfo -u
wbinfo -g
(executed on each of the Samba servers) do return the exactly same list
of users and groups (including ones where 'id -u' and 'getent passwd'
do fail):
###### on Samba 3.0.24 #######
[root at smb_prod ~]# wbinfo -u|grep -i DOMAINNAME\\\\Administrator
DOMAINNAME\administrator
###### on Samba 3.0.25b ######
[root at smb_test ~]# wbinfo -u|grep -i DOMAINNAME\\\\Administrator
DOMAINNAME\administrator
I do not see *any* difference in these config files on either system:
/etc/samba/smb.conf
/etc/nsswitch.conf
/etc/pam_smb.conf
/etc/pam.d/*
The only differences between the two systems I can see are some build
option differences. Here is the line about the builtin modules (there
are other differences that I can post if you need them):
###### on Samba 3.0.24 #######
[root at smb_prod ~]# smbd -b | grep -A 1 Builtin
Builtin modules:
pdb_ldap pdb_smbpasswd pdb_tdbsam rpc_lsa rpc_reg rpc_lsa_ds \
rpc_wks rpc_svcctl rpc_ntsvcs rpc_net rpc_netdfs rpc_srv \
rpc_spoolss rpc_eventlog rpc_samr idmap_ldap idmap_tdb auth_sam \
auth_unix auth_winbind auth_server auth_domain auth_builtin
###### on Samba 3.0.25b ######
[root at smb_test ~]# smbd -b | grep -A 1 Builtin
Builtin modules:
pdb_ldap pdb_smbpasswd pdb_tdbsam rpc_lsa rpc_reg rpc_lsa_ds \
rpc_wkssvc rpc_svcctl rpc_ntsvcs rpc_net rpc_netdfs rpc_srv \
rpc_spoolss rpc_eventlog rpc_samr rpc_echo idmap_ldap idmap_tdb \
idmap_passdb idmap_nss nss_info_template auth_sam auth_unix \
auth_winbind auth_server auth_domain auth_builtin vfs_default \
vfs_posixacl
So it looks like 3.0.25b has all the builtin modules of 3.0.24, plus some
more (namely: 'rpc_echo', 'idmap_passdb', 'idmap_nss', 'nss_info_template',
'vfs_default' and 'vfs_posixacl') -- with a difference in 'rpc_wks' (only
in 3.0.24) and 'rpc_wkssvc' (only in 3.0.25b).
--------
A short feedback (even like "Works for me!") will be highly appreciated.
Any hints about what may be wrong on this particular 3.0.25b even more
so...
Thanks,
Kurt
--
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58
A RICOH Company ........................... D-70327 Stuttgart/Germany
More information about the samba-technical
mailing list