Ik heb samba geinstalled en hij komt wel voor in mijn netwerkomgeving. Mijn smb.conf is dus niks mis mee. (behalve dat ik nog niet weet hoe ik passwdloze shares maak)
Maar nu heb ik het volgende gedaan om met mijn windows bakken op de shares te laten komen:
1. Create a separate password file for Samba based on your /etc/passwd file. This will create Samba users for every user that already exists on your system. To do this by executing the command cat /etc/passwd | mksmbpasswd.sh > /etc/smbpasswd. The script should be in the /usr/bin directory or you can get it here.
2. Make sure only root has permission to read and write to the Samba password file with the command chmod 600 smbpasswd.
3. The script does not copy the passwords. To set the Samba password for each users thus enabling their Samba accounts, use the command smbpasswd username for each user.
4. Edit the smb.conf file to include the two lines
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
5. Restart Samba with /etc/rc.d/init.d/smb restart
maar punt 3 is het probleem waardoor ik nog geen toegang krijg. Als ik als root dat commando uitvoer krijg ik ''bash: /usr/bin/smbpasswd: Toegang geweigerd"
Iemand die me een stukje verder kan helpen ?
Maar nu heb ik het volgende gedaan om met mijn windows bakken op de shares te laten komen:
1. Create a separate password file for Samba based on your /etc/passwd file. This will create Samba users for every user that already exists on your system. To do this by executing the command cat /etc/passwd | mksmbpasswd.sh > /etc/smbpasswd. The script should be in the /usr/bin directory or you can get it here.
2. Make sure only root has permission to read and write to the Samba password file with the command chmod 600 smbpasswd.
3. The script does not copy the passwords. To set the Samba password for each users thus enabling their Samba accounts, use the command smbpasswd username for each user.
4. Edit the smb.conf file to include the two lines
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
5. Restart Samba with /etc/rc.d/init.d/smb restart
maar punt 3 is het probleem waardoor ik nog geen toegang krijg. Als ik als root dat commando uitvoer krijg ik ''bash: /usr/bin/smbpasswd: Toegang geweigerd"
Iemand die me een stukje verder kan helpen ?