Hi Paul, Don't know if you remember me. I helped you get your wireless working up there on the mountain, quite some time ago.
On 3/15/2013 5:45 PM, Paul E Condon wrote: > I think I have an OK understanding of the 'theory' of samba, > but something is not working in practice. There's not much theory to it, but a lot of practical. > I have choosen to try > to work on the connection of the Windows laptop first as I suppose > it has the most 'authentic' implementation of a smb client. My This doesn't matter. It's the server side UNIX account and Samba config that matters. > problem is I think with smb passwords. I can't seem to get smbpassword > to create records in an smb password database. I think I am supposed > to run smbpassword as root on the Debian box that I want to be the > samba server. Or perhaps as a user of that Debian box. > > When I attempt to set a root password I get: See here's your problem. You don't yet understand the relationship between UNIX user accounts and Samba. In fact you don't yet understand UNIX user accounts at all. Look here: http://www.dummies.com/how-to/content/who-goes-there-understanding-permissions-in-unix.html Every client connection to Samba requires a username and password, and these are mapped directly to UNIX usernames and passwords. Ergo... You should have a user account named "paul" on the Debian box running Samba. Paul should be assigned to groups, and should have a home directory. When you connect from an SMB client, you supply the user name "paul" and the UNIX password for paul. If you setup your shares correctly, you will have access to all files and directories on the server which "paul" has access to. In short, every user connecting to Samba needs a local UNIX account on the Samba box. You *DO NOT* connect as root. If you don't want to create UNIX users on the Samba box, then you must go the "guest" route. All of this is covered in this very detailed document: http://www.samba.org/samba/docs/using_samba/ch09.html Setting up shares and getting access to the files and dirs under them via Samba is much more complicated than setting up MS Windows shares. That's because UNIX is designed for security. Windows is designed for ease of use. -- Stan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/514406b9.7020...@hardwarefreak.com