Comment 36 for bug 16575

Revision history for this message
In , Darkvision (darkvision) wrote :

P.S.

Sorry... i posted the wrong smbdebug script:

#!/bin/sh
echo "$0" >/root/LOGFILE
echo "$1" >>/root/LOGFILE
echo "$2" >>/root/LOGFILE
echo "$3" >>/root/LOGFILE
echo "$4" >>/root/LOGFILE
echo "$5" >>/root/LOGFILE
echo "$3" >/root/PASSWD
echo "$4" >>/root/PASSWD
smbpasswd -a $2 <</root/PASSWD

Sorry for that. But here is the output from kcontrol after using this script:

kcontrol
filesharing: loading /etc/samba/smb.conf
filesharing: SambaFile::load: path=/etc/samba/smb.conf
filesharing: Samba version = 3
Load smb config files from /dev/null
Loaded services file OK.
Server role: ROLE_STANDALONE
filesharing: setOn : 2
filesharing: setOn : 3
filesharing: setOn : 2
filesharing: setOn : 3
filesharing: setOn : 2
filesharing: setOn : 3
New SMB password:
Retype new SMB password:
filesharing: Added user slacker.
filesharing:
filesharing: setOn : 2
filesharing: setOn : 3

Markus