Samba-printer will not load during boot-up for natty

Asked by hal_ifax

On May 1st I upgraded to 'natty' and a problem re-occured, which was fixed(by chance?) for 'maverick' on my setup, but was existant for 'lucid' aswell:
Package samba's smbd won't activate the samba-printers after booting, but by doing a 'samba_restart'

sudo service smbd stop
sudo service smbd start
echo .
smbtree

everything is O.K. - . . . !

How can I get influence on the loading of smbd ?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
hal_ifax (mmueller44) said :
#1

After booting:

manfred@PIII-1GHz:/media/sda4/usr_sda6/manfred$ smbtree
Enter manfred's password:
MSHEIMNETZ
        \\PIII-1GHZ PIII-1GHz server (Samba, Ubuntu)
                \\PIII-1GHZ\IPC$ IPC Service (PIII-1GHz server (Samba, Ubuntu))
                \\PIII-1GHZ\Manis_Dokus /home/manfred/Dokumente
                \\PIII-1GHZ\Vbox_Share VirtualBox Share-Verzeichnis
                \\PIII-1GHZ\print$ Printer Drivers

After samba_restart:

manfred@PIII-1GHz:/media/sda4/usr_sda6/manfred$ ./samba_restart
.
. smbd wird erneut gestartet . . .
.
[sudo] password for manfred:
smbd stop/waiting
smbd start/running, process 2422
.
Enter manfred's password:
MSHEIMNETZ
        \\PIII-1GHZ PIII-1GHz server (Samba, Ubuntu)
                \\PIII-1GHZ\HP_LaserJet_5L1 hp/...Drucker
                \\PIII-1GHZ\HP_LASERJET_5L2 an LPT1 des PIII-1GHz
                \\PIII-1GHZ\Instruments_microLaser_Pro_600 Win95-Drucker
                \\PIII-1GHZ\IPC$ IPC Service (PIII-1GHz server (Samba, Ubuntu))
                \\PIII-1GHZ\Manis_Dokus /home/manfred/Dokumente
                \\PIII-1GHZ\Vbox_Share VirtualBox Share-Verzeichnis
                \\PIII-1GHZ\print$ Printer Drivers

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#2

Run:

gksudo gedit /etc/rc.local

add the 2 commands:

service smbd stop
service smbd start &

ABOVE the exit 0 line, save the new file and reboot to test.

Revision history for this message
hal_ifax (mmueller44) said :
#3

Thanks actionparsnip, that solved my question.

Revision history for this message
hal_ifax (mmueller44) said :
#4

Above solution does not look too nice, but it works . . . !

Thank You actionparsnip for reacting promptly,

cheers
Manfred