hello
I use samba 3.5.2
I have problem with print$ share.
When I try to deploy drivers in print$ , with XP wizard.
I get an error
cf screenshot
I've put log level 10
You can see smbd.log in attachement
it cause traceback in syslog
Apr 13 11:22:37 scribe smbd[11889]: [2010/04/13 11:22:37.892063, 0]
lib/util.c:1465(smb_panic)
Apr 13 11:22:37 scribe smbd[11889]: PANIC (pid 11889): internal error
Apr 13 11:22:37 scribe smbd[11889]: [2010/04/13 11:22:37.900561, 0]
lib/util.c:1569(log_stack_trace)
Apr 13 11:22:37 scribe smbd[11889]: BACKTRACE: 32 stack frames:
Apr 13 11:22:37 scribe smbd[11889]: #0
/usr/sbin/smbd(log_stack_trace+0x2d) [0x83a2c1d]
Apr 13 11:22:37 scribe smbd[11889]: #1 /usr/sbin/smbd(smb_panic+0x5d)
[0x83a2d4d]
Apr 13 11:22:37 scribe smbd[11889]: #2 /usr/sbin/smbd [0x8390cef]
Apr 13 11:22:37 scribe smbd[11889]: #3 [0xb7f2f420]
Apr 13 11:22:37 scribe smbd[11889]: #4
/usr/sbin/smbd(smb_vfs_call_open+0x40) [0x8152350]
Apr 13 11:22:37 scribe smbd[11889]: #5 /usr/sbin/smbd [0x8149f57]
Apr 13 11:22:37 scribe smbd[11889]: #6
/usr/sbin/smbd(create_file_default+0x14a) [0x814c05a]
Apr 13 11:22:37 scribe smbd[11889]: #7 /usr/sbin/smbd [0x8189162]
Apr 13 11:22:37 scribe smbd[11889]: #8
/usr/sbin/smbd(smb_vfs_call_create_file+0x9f) [0x81523ff]
Apr 13 11:22:37 scribe smbd[11889]: #9 /usr/sbin/smbd [0x83e165b]
Apr 13 11:22:37 scribe smbd[11889]: #10
/usr/sbin/smbd(clean_up_driver_struct+0x6c) [0x83e1b7c]
Apr 13 11:22:37 scribe smbd[11889]: #11
/usr/sbin/smbd(_spoolss_AddPrinterDriver+0x13e) [0x82d179e]
Apr 13 11:22:37 scribe smbd[11889]: #12
/usr/sbin/smbd(_spoolss_AddPrinterDriverEx+0x58) [0x82d1e08]
Apr 13 11:22:37 scribe smbd[11889]: #13 /usr/sbin/smbd [0x82e362d]
Apr 13 11:22:37 scribe smbd[11889]: #14
/usr/sbin/smbd(api_pipe_request+0x33b) [0x83272eb]
Apr 13 11:22:37 scribe smbd[11889]: #15 /usr/sbin/smbd [0x8320362]
Apr 13 11:22:37 scribe smbd[11889]: #16
/usr/sbin/smbd(np_write_send+0x6f5) [0x8320a95]
Apr 13 11:22:37 scribe smbd[11889]: #17 /usr/sbin/smbd [0x80fe88e]
Apr 13 11:22:37 scribe smbd[11889]: #18 /usr/sbin/smbd [0x80feea1]
Apr 13 11:22:37 scribe smbd[11889]: #19
/usr/sbin/smbd(reply_trans+0x5db) [0x80ff8db]
Apr 13 11:22:37 scribe smbd[11889]: #20 /usr/sbin/smbd [0x8164700]
Apr 13 11:22:37 scribe smbd[11889]: #21 /usr/sbin/smbd [0x816785a]
Apr 13 11:22:37 scribe smbd[11889]: #22 /usr/sbin/smbd [0x8167e10]
Apr 13 11:22:37 scribe smbd[11889]: #23
/usr/sbin/smbd(run_events+0x1ff) [0x83b37ff]
Apr 13 11:22:37 scribe smbd[11889]: #24
/usr/sbin/smbd(smbd_process+0x95b) [0x8166fcb]
Apr 13 11:22:37 scribe smbd[11889]: #25 /usr/sbin/smbd [0x86f385c]
Apr 13 11:22:37 scribe smbd[11889]: #26
/usr/sbin/smbd(run_events+0x1ff) [0x83b37ff]
Apr 13 11:22:37 scribe smbd[11889]: #27 /usr/sbin/smbd [0x83b3a88]
Apr 13 11:22:37 scribe smbd[11889]: #28
/usr/sbin/smbd(_tevent_loop_once+0x96) [0x83b40a6]
Apr 13 11:22:37 scribe smbd[11889]: #29 /usr/sbin/smbd(main+0x12da)
[0x86f360a]
Apr 13 11:22:37 scribe smbd[11889]: #30
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7c06450]
Apr 13 11:22:37 scribe smbd[11889]: #31 /usr/sbin/smbd [0x80dee71]
In my smb.conf , If I comment
vfs objects = scannedonly
scannedonly:allow_nonscanned_files=True
it works!
thanks for reading
Apr 13 11:20:38 scribe sshd[11824]: Did not receive identification string from
127.0.0.1
Apr 13 11:20:56 scribe nmbd[11695]: [2010/04/13 11:20:56.731003, 0]
nmbd/nmbd.c:71(terminate)
Apr 13 11:20:56 scribe nmbd[11695]: Got SIGTERM: going down...
Apr 13 11:21:00 scribe nmbd[11880]: [2010/04/13 11:21:00.338249, 0]
nmbd/nmbd_logonnames.c:160(add_logon_names)
Apr 13 11:21:00 scribe nmbd[11880]: add_domain_logon_names:
Apr 13 11:21:00 scribe nmbd[11880]: Attempting to become logon server for
workgroup DOMCD on subnet 192.168.0.100
Apr 13 11:21:00 scribe nmbd[11880]: [2010/04/13 11:21:00.339224, 0]
nmbd/nmbd_logonnames.c:160(add_logon_names)
Apr 13 11:21:00 scribe nmbd[11880]: add_domain_logon_names:
Apr 13 11:21:00 scribe nmbd[11880]: Attempting to become logon server for
workgroup DOMCD on subnet UNICAST_SUBNET
Apr 13 11:21:00 scribe nmbd[11880]: [2010/04/13 11:21:00.340188, 0]
nmbd/nmbd_become_dmb.c:337(become_domain_master_browser_wins)
Apr 13 11:21:00 scribe nmbd[11880]: become_domain_master_browser_wins:
Apr 13 11:21:00 scribe nmbd[11880]: Attempting to become domain master
browser on workgroup DOMCD, subnet UNICAST_SUBNET.
Apr 13 11:21:00 scribe nmbd[11880]: [2010/04/13 11:21:00.340557, 0]
nmbd/nmbd_become_dmb.c:351(become_domain_master_browser_wins)
Apr 13 11:21:00 scribe nmbd[11880]: become_domain_master_browser_wins:
querying WINS server from IP 192.168.0.100 for domain master browser name
DOMCD<1b> on workgroup DOMCD
Apr 13 11:21:04 scribe nmbd[11880]: [2010/04/13 11:21:04.410789, 0]
nmbd/nmbd_logonnames.c:121(become_logon_server_success)
Apr 13 11:21:04 scribe nmbd[11880]: become_logon_server_success: Samba is now
a logon server for workgroup DOMCD on subnet 192.168.0.100
Apr 13 11:21:06 scribe nmbd[11880]: [2010/04/13 11:21:06.413279, 0]
nmbd/nmbd_logonnames.c:121(become_logon_server_success)
Apr 13 11:21:06 scribe nmbd[11880]: become_logon_server_success: Samba is now
a logon server for workgroup DOMCD on subnet UNICAST_SUBNET
Apr 13 11:21:06 scribe nmbd[11880]: [2010/04/13 11:21:06.413620, 0]
nmbd/nmbd_become_dmb.c:110(become_domain_master_stage2)
Apr 13 11:21:06 scribe nmbd[11880]: *****
Apr 13 11:21:06 scribe nmbd[11880]:
Apr 13 11:21:06 scribe nmbd[11880]: Samba server SCRIBE is now a domain
master browser for workgroup DOMCD on subnet UNICAST_SUBNET
Apr 13 11:21:06 scribe nmbd[11880]:
Apr 13 11:21:06 scribe nmbd[11880]: *****
Apr 13 11:21:06 scribe nmbd[11880]: [2010/04/13 11:21:06.413813, 0]
nmbd/nmbd_become_dmb.c:292(become_domain_master_browser_bcast)
Apr 13 11:21:06 scribe nmbd[11880]: become_domain_master_browser_bcast:
Apr 13 11:21:06 scribe nmbd[11880]: Attempting to become domain master
browser on workgroup DOMCD on subnet 192.168.0.100
Apr 13 11:21:06 scribe nmbd[11880]: [2010/04/13 11:21:06.413871, 0]
nmbd/nmbd_become_dmb.c:305(become_domain_master_browser_bcast)
Apr 13 11:21:06 scribe nmbd[11880]: become_domain_master_browser_bcast:
querying subnet 192.168.0.100 for domain master browser on workgroup DOMCD
Apr 13 11:21:14 scribe nmbd[11880]: [2010/04/13 11:21:14.560466, 0]
nmbd/nmbd_become_dmb.c:110(become_domain_master_stage2)
Apr 13 11:21:14 scribe nmbd[11880]: *****
Apr 13 11:21:14 scribe nmbd[11880]:
Apr 13 11:21:14 scribe nmbd[11880]: Samba server SCRIBE is now a domain
master browser for workgroup DOMCD on subnet 192.168.0.100
Apr 13 11:21:14 scribe nmbd[11880]:
Apr 13 11:21:14 scribe nmbd[11880]: *****
Apr 13 11:21:22 scribe nmbd[11880]: [2010/04/13 11:21:22.560354, 0]
nmbd/nmbd_become_lmb.c:395(become_local_master_stage2)
Apr 13 11:21:22 scribe nmbd[11880]: *****
Apr 13 11:21:22 scribe nmbd[11880]:
Apr 13 11:21:22 scribe nmbd[11880]: Samba name server SCRIBE is now a local
master browser for workgroup DOMCD on subnet 192.168.0.100
Apr 13 11:21:22 scribe nmbd[11880]:
Apr 13 11:21:22 scribe nmbd[11880]: *****
Apr 13 11:22:33 scribe sshd[11911]: Did not receive identification string from
127.0.0.1
Apr 13 11:22:37 scribe smbd[11889]: [2010/04/13 11:22:37.890224, 0]
lib/fault.c:46(fault_report)
Apr 13 11:22:37 scribe smbd[11889]:
===============================================================
Apr 13 11:22:37 scribe smbd[11889]: [2010/04/13 11:22:37.891032, 0]
lib/fault.c:47(fault_report)
Apr 13 11:22:37 scribe smbd[11889]: INTERNAL ERROR: Signal 11 in pid 11889
(3.5.2)
Apr 13 11:22:37 scribe smbd[11889]: Please read the Trouble-Shooting section
of the Samba3-HOWTO
Apr 13 11:22:37 scribe smbd[11889]: [2010/04/13 11:22:37.891403, 0]
lib/fault.c:49(fault_report)
Apr 13 11:22:37 scribe smbd[11889]:
Apr 13 11:22:37 scribe smbd[11889]: From:
http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
Apr 13 11:22:37 scribe smbd[11889]: [2010/04/13 11:22:37.891774, 0]
lib/fault.c:50(fault_report)
Apr 13 11:22:37 scribe smbd[11889]:
===============================================================
Apr 13 11:22:37 scribe smbd[11889]: [2010/04/13 11:22:37.892063, 0]
lib/util.c:1465(smb_panic)
Apr 13 11:22:37 scribe smbd[11889]: PANIC (pid 11889): internal error
Apr 13 11:22:37 scribe smbd[11889]: [2010/04/13 11:22:37.900561, 0]
lib/util.c:1569(log_stack_trace)
Apr 13 11:22:37 scribe smbd[11889]: BACKTRACE: 32 stack frames:
Apr 13 11:22:37 scribe smbd[11889]: #0 /usr/sbin/smbd(log_stack_trace+0x2d)
[0x83a2c1d]
Apr 13 11:22:37 scribe smbd[11889]: #1 /usr/sbin/smbd(smb_panic+0x5d)
[0x83a2d4d]
Apr 13 11:22:37 scribe smbd[11889]: #2 /usr/sbin/smbd [0x8390cef]
Apr 13 11:22:37 scribe smbd[11889]: #3 [0xb7f2f420]
Apr 13 11:22:37 scribe smbd[11889]: #4
/usr/sbin/smbd(smb_vfs_call_open+0x40) [0x8152350]
Apr 13 11:22:37 scribe smbd[11889]: #5 /usr/sbin/smbd [0x8149f57]
Apr 13 11:22:37 scribe smbd[11889]: #6
/usr/sbin/smbd(create_file_default+0x14a) [0x814c05a]
Apr 13 11:22:37 scribe smbd[11889]: #7 /usr/sbin/smbd [0x8189162]
Apr 13 11:22:37 scribe smbd[11889]: #8
/usr/sbin/smbd(smb_vfs_call_create_file+0x9f) [0x81523ff]
Apr 13 11:22:37 scribe smbd[11889]: #9 /usr/sbin/smbd [0x83e165b]
Apr 13 11:22:37 scribe smbd[11889]: #10
/usr/sbin/smbd(clean_up_driver_struct+0x6c) [0x83e1b7c]
Apr 13 11:22:37 scribe smbd[11889]: #11
/usr/sbin/smbd(_spoolss_AddPrinterDriver+0x13e) [0x82d179e]
Apr 13 11:22:37 scribe smbd[11889]: #12
/usr/sbin/smbd(_spoolss_AddPrinterDriverEx+0x58) [0x82d1e08]
Apr 13 11:22:37 scribe smbd[11889]: #13 /usr/sbin/smbd [0x82e362d]
Apr 13 11:22:37 scribe smbd[11889]: #14
/usr/sbin/smbd(api_pipe_request+0x33b) [0x83272eb]
Apr 13 11:22:37 scribe smbd[11889]: #15 /usr/sbin/smbd [0x8320362]
Apr 13 11:22:37 scribe smbd[11889]: #16 /usr/sbin/smbd(np_write_send+0x6f5)
[0x8320a95]
Apr 13 11:22:37 scribe smbd[11889]: #17 /usr/sbin/smbd [0x80fe88e]
Apr 13 11:22:37 scribe smbd[11889]: #18 /usr/sbin/smbd [0x80feea1]
Apr 13 11:22:37 scribe smbd[11889]: #19 /usr/sbin/smbd(reply_trans+0x5db)
[0x80ff8db]
Apr 13 11:22:37 scribe smbd[11889]: #20 /usr/sbin/smbd [0x8164700]
Apr 13 11:22:37 scribe smbd[11889]: #21 /usr/sbin/smbd [0x816785a]
Apr 13 11:22:37 scribe smbd[11889]: #22 /usr/sbin/smbd [0x8167e10]
Apr 13 11:22:37 scribe smbd[11889]: #23 /usr/sbin/smbd(run_events+0x1ff)
[0x83b37ff]
Apr 13 11:22:37 scribe smbd[11889]: #24 /usr/sbin/smbd(smbd_process+0x95b)
[0x8166fcb]
Apr 13 11:22:37 scribe smbd[11889]: #25 /usr/sbin/smbd [0x86f385c]
Apr 13 11:22:37 scribe smbd[11889]: #26 /usr/sbin/smbd(run_events+0x1ff)
[0x83b37ff]
Apr 13 11:22:37 scribe smbd[11889]: #27 /usr/sbin/smbd [0x83b3a88]
Apr 13 11:22:37 scribe smbd[11889]: #28
/usr/sbin/smbd(_tevent_loop_once+0x96) [0x83b40a6]
Apr 13 11:22:37 scribe smbd[11889]: #29 /usr/sbin/smbd(main+0x12da)
[0x86f360a]
Apr 13 11:22:37 scribe smbd[11889]: #30
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7c06450]
Apr 13 11:22:37 scribe smbd[11889]: #31 /usr/sbin/smbd [0x80dee71]
Apr 13 11:22:37 scribe smbd[11889]: [2010/04/13 11:22:37.905129, 0]
lib/fault.c:326(dump_core)
Apr 13 11:22:37 scribe smbd[11889]: dumping core in /var/log/samba/cores/smbd
Apr 13 11:22:37 scribe smbd[11889]:
Apr 13 11:22:50 scribe nmbd[11880]: [2010/04/13 11:22:50.309929, 0]
nmbd/nmbd.c:71(terminate)
Apr 13 11:22:50 scribe nmbd[11880]: Got SIGTERM: going down...
Apr 13 11:23:26 scribe sshd[11950]: Accepted password for root from
192.168.0.11 port 39261 ssh2
Apr 13 11:23:26 scribe sshd[11950]: subsystem request for sftp
Apr 13 11:23:26 scribe sshd[11952]: pam_unix(sshd:session): session opened for
user root by (uid=0)
#########################################
#
# Fichier de configuration de SAMBA
#
# Definition du Template pour Scribe-2.2
#
# Eole Dijon
#
# revu le 10/12/2009 pour Samba-3.4
#
#########################################
# Global parameters
[global]
# configuration du serveur
netbios name = scribe
workgroup = domcd
server string = Serveur Scribe
# journalisation
log file = /var/log/samba/%m.log
log level = 10
max log size = 50
wins support = yes
dns proxy = no
# exploration
preferred master = yes
domain master = yes
os level = 99
admin users = @DomainAdmins
# authentification des clients
security = user
# mots de passe
encrypt passwords = yes
lanman auth = yes
# impression
printing = cups
printcap name = cups
load printers = yes
show add printer wizard = yes
# synchronisation temporelle
time server = yes
# divers
deadtime = 15
domain logons = yes
logon home = \%L%U\perso
logon path =
logon script = %U%a.bat
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
unix extensions = no
wide links = yes
# smbldap-tools
add machine script = /usr/sbin/smbldap-useradd -w -d /dev/null -s
/bin/false %u
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
rename user script = /usr/sbin/smbldap-usermod -r "%unew" "%uold"
ldap passwd sync = yes
passdb backend = ldapsam:ldap://127.0.0.1:389
ldap suffix = o=gouv,c=fr
ldap admin dn = cn=admin,o=gouv,c=fr
ldap ssl = no
hide files = /desktop.ini/
oplocks = no
level2 oplocks = no
name resolve order = wins hosts bcast lmhosts
vfs objects = scannedonly
scannedonly:allow_nonscanned_files=True
# Support du mode guest
guest ok = yes
guest account = nobody
map to guest = Bad User
[homes]
comment = Home Directories
read only = no
browseable = no
invalid users = nobody guest
inherit permissions = yes
inherit acls = yes
create mask = 0664
directory mask = 0775
valid users = %U
write list = %U
guest ok = no
[perso]
path = %H/perso
comment = disque personnel pour 98 et 95
read only = no
browseable = no
invalid users = nobody guest
inherit permissions = yes
inherit acls = yes
create mask = 0664
directory mask = 0775
valid users = %U
write list = %U
guest ok = no
[netlogon]
comment = Network Logon Service
path = /home/netlogon
browseable = no
guest ok = yes
read only = yes
valid users = %U
write list = %U
create mask = 0644
directory mask = 0755
root preexec = python /usr/share/eole/backend/dyn_logon.py --user="%U"
--os="%a" --machine="%m" --ip="%I"
root postexec = rm -f /home/netlogon/%U%a.bat
profile acls = yes
[profiles]
path = %H/profiles
#write list = @sambaSAMAccount
#force group = @sambaSAMAccount
guest ok = no
nt acl support = no
browseable = no
[esu]
comment = Esu
path = /home/esu
browseable = no
guest ok = yes
read only = no
create mask = 0644
directory mask = 0755
[eclairng]
comment = FTP directories
read only = no
browseable = no
invalid users = nobody guest
inherit permissions = yes
inherit acls = yes
create mask = 0664
directory mask = 0775
valid users = %U
write list = %U
path = %H/.ftp
guest ok = no
[archives]
inherit permissions = yes
inherit acls = yes
path=/home/alias/archives
browseable = no
read only = no
guest ok = no
[printers]
comment = All Printers
path = /var/spool/samba
print command = lpr-cups -P %p -o raw %s -r # Utilise le Driver de la
station
printable = yes
browseable = yes
available = yes
guest ok = no
[print$]
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
valid users = @PrintOperators
write list = @PrintOperators
create mask = 0664
directory mask = 0775
force group = PrintOperators
#
# Debut des partages specifiques
#
[professeurs]
inherit permissions = no
inherit acls = yes
read only = no
preserve case = yes
create mask = 644
directory mask = 755
Write list = @professeurs
Valid Users = @professeurs @DomainAdmins
guest ok = no
path = /home/workgroups/professeurs
comment = professeurs
Volume = professeurs
[icones$]
path=/home/netlogon/icones
browseable = No
guest ok = Yes
read only = no
[groupes]
inherit permissions = yes
inherit acls = yes
browseable = Yes
path = %H/groupes
comment = disque groupes
read only = No
invalid users = nobody guest
create mask = 0664
directory mask = 0775
valid users = %U
write list = %U
[commun]
inherit permissions = yes
inherit acls = yes
path=/home/workgroups/commun
browseable = Yes
guest ok = Yes
read only = no
[devoirs]
path = %H/devoirs
comment = partage devoirs
read only = no
browseable = no
invalid users = nobody guest
inherit permissions = yes
inherit acls = yes
create mask = 0664
directory mask = 0775
valid users = %U
write list = %U
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba