become_root follow-up

Doug VanLeuven ldx at ibm.net
Fri Aug 20 23:17:02 GMT 1999


Doug VanLeuven wrote:

>
> I applied all your patches for rpc_server/ dir.  No become_roots in there anymore.
> I've not experienced any loss of functionality I can discover, and there are
> no error messages in logs that anything could not be completed.
> However, I seem to have picked up a share to
>
> Name       Comment
> nobody   Home Directories

Ok, I found where it connects the nobody share at debug level 5:
[1999/08/20 15:23:18, 3] smbd/process.c:switch_message(402)
  switch message SMBsesssetupX (pid 13664)
[1999/08/20 15:23:18, 3] smbd/reply.c:reply_sesssetup_and_X(655)
  Domain=[]  NativeOS=[Windows NT 1381] NativeLanMan=[]
[1999/08/20 15:23:18, 3] smbd/reply.c:reply_sesssetup_and_X(658)
  sesssetupX:name=[]
[1999/08/20 15:23:18, 5] lib/username.c:hashed_getpwnam(233)
  getpwnam(guest)
[1999/08/20 15:23:18, 5] lib/username.c:hashed_getpwnam(249)
  Found: guest:x:510:510:RHS Linux User:/home/guest:/bin/bash
[1999/08/20 15:23:18, 4] lib/username.c:map_username(366)
  Scanning username map /usr/local/sambaNT/lib/user.map
[1999/08/20 15:23:18, 3] lib/username.c:map_username(399)
  Mapped user guest to nobody
[1999/08/20 15:23:18, 5] lib/username.c:hashed_getpwnam(233)
  getpwnam(nobody)
[1999/08/20 15:23:18, 5] lib/username.c:hashed_getpwnam(249)
  Found: nobody:x:99:99:Nobody:/home/public:
[1999/08/20 15:23:18, 5] lib/username.c:hashed_getpwnam(233)
  getpwnam(nobody)
[1999/08/20 15:23:18, 5] lib/username.c:hashed_getpwnam(249)
  Found: nobody:x:99:99:Nobody:/home/public:
[1999/08/20 15:23:18, 5] lib/username.c:hashed_getpwnam(233)
  getpwnam(nobody)
[1999/08/20 15:23:18, 5] lib/username.c:hashed_getpwnam(249)
  Found: nobody:x:99:99:Nobody:/home/public:
[1999/08/20 15:23:18, 5] lib/username.c:hashed_getpwnam(233)
  getpwnam(nobody)
[1999/08/20 15:23:18, 5] lib/username.c:hashed_getpwnam(249)
  Found: nobody:x:99:99:Nobody:/home/public:
[1999/08/20 15:23:18, 3] param/loadparm.c:lp_add_home(1534)
  adding home directory nobody at /home/public
[1999/08/20 15:23:18, 5] lib/username.c:hashed_getpwnam(233)
  getpwnam(nobody)
[1999/08/20 15:23:18, 5] lib/username.c:hashed_getpwnam(249)
  Found: nobody:x:99:99:Nobody:/home/public:
[1999/08/20 15:23:18, 3] lib/util.c:get_unixgroups(2379)
  nobody is in 1 groups: 99
[1999/08/20 15:23:18, 3] smbd/password.c:register_vuid(222)
  uid 99 registered to name nobody
[1999/08/20 15:23:18, 3] smbd/password.c:register_vuid(224)
  Clearing default real name


-- Doug VanLeuven - 707-545-6933 (voice) 707-545-6945 (fax)
Chief Engineer, USMM roamdad at ibm.net
Programmer/Analyst, SCWA doug at scwa.ca.gov




More information about the samba-technical mailing list