check /var/smb/smbpasswd

Afshin

Harry Putnam wrote:
If I restart or start the smb/server.. I see these messages in /var/adm/messages (wrapped for mail):

Mar 23 10:55:25 zfs idmap[367]: [ID 924872 daemon.warning]
ns_lookup_bypid: getpwuid_r(101) failed (not found).

Mar 23 10:55:25 zfs smbd[1131]: [ID 600500 daemon.warning]
smb_pwdutil: couldn't obtain SID for uid=101 (-9977)

Mar 23 10:57:28 zfs idmap[367]: [ID 924872 daemon.warning]
ns_lookup_bypid: getpwuid_r(101) failed (not found).

Mar 23 10:57:28 zfs smbd[1177]: [ID 600500 daemon.warning]
smb_pwdutil: couldn't obtain SID for uid=101 (-9977)

uid 101 was recently changed to uid 1000.  Mabye I didn't do all I
should have.

That change was made prior to setting up cifs shares which are owned
by the same user.

I edited /etc/passwd:

  reader:x:1000:10:Harry Putnam:/export/home/reader:/bin/bash
It used to say
  reader:x:101:10:Harry Putnam:/export/home/reader:/bin/bash

Now it shows 1000 (where it had been 101)

I trolled through the file system changing all of user readers files
to reflect the new uid by just doing `chown reader:staff' on all of
them (after editing /etc/passwd)

The user name was not a change but that appears to have set the new
uid id:

 id reader
uid=1000(reader) gid=10(staff) groups=10(staff),3(sys),\
    4(adm),15(wheel)

So is that change causing problems elsewhere and might this be the
reason my cifs shares cannot be accessed from windows boxes?

See:
  Subject: Are there known headaches with cifs connections
  Message-ID: <[email protected]>

On this list; for as many details as I could think of regarding
problems setting up cifs shares.

The change of uid was an attempt to get nfs shares to be mountable by
user reader, nfs shares from a linux server elsewhere on the lan where
user readers'uid was 1000.

It appears to not have helped that problem a bit.
_______________________________________________
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

Reply via email to