Il Thu, 05 May 2005 23:30:12 +0200, Tommaso Cappello ha scritto: > Alle 22:37, gioved� 5 maggio 2005, Matteo Bassi ha scritto: >> ciao a tutti! >> ho configurato le cartelle condivise con SMB da linux e il tutto, da >> linux verso win funziona, visto che posso sfogliare le cartelle >> condivise degli altri pc win >> >> invece quando qualcuno prova ad accedere al mio sistema da win gli >> vengono chieste un nome utente e una passwd, quale deve mettere? ho >> provato quella dell'utente linux che ha il pc acceso ma nn funziona... >> >> potete aiutarmi? > > S�, > smbpasswd -a nome_utente > e crei un'account (sempre se non l'hai gi� fatto). Alch� dovrebbe > autenticarti > anche da win. Attento per� alle opzioni che hai impostato all'interno del tuo > smb.conf: controlla force user, e force group se li hai dichiarati. Controlla > i permessi e gli owner poi delle cartelle condivise. > > tomcap ho provato ma non va! mi dice:
[EMAIL PROTECTED]:~$ su Password: [EMAIL PROTECTED]:/home/bags # smbpasswd -a smbuser New SMB password: Retype new SMB password: Failed to initialise SAM_ACCOUNT for user smbuser. Does this user exist in the UNIX password database ? Failed to modify password entry for user smbuser [EMAIL PROTECTED]:/home/bags # smbpasswd -a ospite New SMB password: Retype new SMB password: Failed to initialise SAM_ACCOUNT for user ospite. Does this user exist in the UNIX password database ? Failed to modify password entry for user ospite [EMAIL PROTECTED]:/home/bags # ho controllato in smb.conf, non ho dichiarato nulla con "force user" e "force group"; allego la parte "autenticazione", vedete qualcosa che non va? ####### Authentication ####### # "security = user" is always a good idea. This will require a Unix account # in this server for every user accessing the server. See # /usr/share/doc/samba-doc/htmldocs/ServerType.html in the samba-doc # package for details. ; security = user # You may wish to use password encryption. See the section on # 'encrypt passwords' in the smb.conf(5) manpage before enabling. encrypt passwords = true # If you are using encrypted passwords, Samba will need to know what # password database type you are using. passdb backend = tdbsam guest obey pam restrictions = yes ; guest account = nobody invalid users = root # This boolean parameter controls whether Samba attempts to sync the Unix # password with the SMB password when the encrypted SMB password in the # passdb is changed. ; unix password sync = no # For Unix password sync to work on a Debian GNU/Linux system, the following # parameters must be set (thanks to Augustin Luton <[EMAIL PROTECTED]> for # sending the correct chat script for the passwd program in Debian Potato). passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . # This boolean controls whether PAM will be used for password changes # when requested by an SMB client instead of the program listed in # 'passwd program'. The default is 'no'. ; pam password change = no cosa devo fare secondo voi? grazie mille matteo

