Jordan Brown wrote:
/var/smb/passwd currently has both username and uid, right?
In theory it only needs one or the other, because the other can be
derived from /etc/passwd.
Not necessarily because when you call getpwuid the information might
not be populated from /etc/passwd
Afshin
Whichever is in smbpasswd will be a problem to change, but if we removed
the duplication you could change the other one without trouble.
... Why Solaris needs a general-purpose extensible user-information
database...
Afshin Salek wrote:
If the modified user has an entry in /var/smb/smbpasswd you need to
update this file accordingly
Afshin
Evereasy wrote:
Can not access CIFS share after change uid of a user in /etc/passwd.
The following messages are from dmesg -
Feb 28 11:48:24 X-Wing idmap[505]: [ID 924872 daemon.warning]
ns_lookup_bypid: getpwuid_r(1234) failed (not found).
Feb 28 11:48:24 X-Wing smbd[571]: [ID 600500 daemon.warning]
smb_pwdutil: couldn't obtain SID for uid=1234 (-9977)
Feb 28 11:48:24 X-Wing idmap[505]: [ID 924872 daemon.warning]
ns_lookup_bypid: getpwuid_r(1003) failed (not found).
Feb 28 11:48:24 X-Wing smbd[571]: [ID 600500 daemon.warning]
smb_pwdutil: couldn't obtain SID for uid=1003 (-9977)
Obviously, idmap and smbd are still using the old uid to lookup SID.
How do I have idmap and smbd use the new uid?
Thank you in advance for your help.
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss