home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.ubuntu      I preferred Xubuntu, seemed a bit faster      134,474 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 133,388 of 134,474   
   Dan Purgert to Paul   
   Re: Samba and Windows 10   
   19 Jul 23 11:22:55   
   
   XPost: alt.os.linux.mint, alt.os.linux.mageia   
   From: dan@djph.net   
      
   On 2023-07-19, Paul wrote:   
   > [...]   
   > Apparently smb.conf has some sort of password sync, which   
   > might imply that the smbpasswd and the Linux account and   
   > passwd are handled the same somehow. Even though there   
   > is the possibility of setting up Samba server on the   
   > LM212 side, to use one of three different databases   
   > for the password.   
      
   They're not, but (as I recall), if the samba user (configured with, iirc   
   'smbpasswd') is the same name as a standard user (in /etc/passwd), then   
   there is a setting that allows samba to execute passwd(1) to keep the   
   system login in sync with the samba password.  Can't recall ever using   
   it though :( .   
      
   >   
   > I tested this one, where the password value is the same on the two,   
   > and the bullwinkle account worked to get me in. It's possible   
   > installing samba, provided the smb.conf starting file, to which   
   > I added my six line stanza.   
   >   
   > [...]   
   >   
   > The testfile in /topshared   
   >   
   > ls -al /topshared   
   >   
   > rwx r r  nobody nogroup  5  WALLACE.txt   
   >   
   > From Win10, I tried to edit the file and I was denied.   
   > Then I notice /var/log/samba/log.wallace was updated a   
   > minute or two ago.   
   >   
   > Segmentation fault (/usr/sbin/smbd ? hard to tell)   
   >   
   > And now I'm editing the file. See how neat it is, to   
   > not read LOG FILES :-) The test file has five characters   
   > in it "saved", which is from where I saved out my Notepad   
   > session into the share, yesterday. And the nobody:nogroup   
   > suggests I did this as Guest, and not as bullwinkle.   
      
   IIRC, samba doesn't assume samba users are also users on the local   
   system; although I recall it saving as samba:samba by default (but it's   
   been ages since i've set up a samba server).   
      
      
   --   
   |_|O|_|   
   |_|_|O| Github: https://github.com/dpurgert   
   |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1  E067 6D65 70E5 4CE7 2860   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca