Re: [Samba] Konica Printer: Scan to File (Samba SMB share) fails

2008-12-03 Thread Patrick Ben Koetter
Greetings!

* Patrick Ben Koetter [EMAIL PROTECTED]:
   Yes it is the full log and yes it's weird. Excuse my ignorance, the log 
   level
   setting is a copy and paste setting:
   
   log level = 3 passdb:5 auth:10 winbind:2
   
   What should in- or decrease to get more usefull logging?
  
  Just ignore those different levels. Just log level = 10...
 
 Here's debug output at level 10:
 
 http://www.state-of-mind.de/log.smbd.txt
 
 I restarted the smb server and left the output in the log as it may be
 helpful.

Does anybody have an idea, why the Konica Scanner (see: log link above) fails
to write to the [scanner] share?

Thanks,

[EMAIL PROTECTED]

-- 
state of mind
Agentur für Kommunikation, Design und Softwareentwicklung

Patrick KoetterTel: 089 45227227
Echinger Strasse 3 Fax: 089 45227226
85386 Eching   Web: http://www.state-of-mind.de

Amtsgericht MünchenPartnerschaftsregister PR 563
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Konica Printer: Scan to File (Samba SMB share) fails

2008-12-01 Thread Patrick Ben Koetter
* Volker Lendecke [EMAIL PROTECTED]:
 On Fri, Nov 28, 2008 at 10:42:21PM +0100, Patrick Ben Koetter wrote:
  Yes it is the full log and yes it's weird. Excuse my ignorance, the log 
  level
  setting is a copy and paste setting:
  
  log level = 3 passdb:5 auth:10 winbind:2
  
  What should in- or decrease to get more usefull logging?
 
 Just ignore those different levels. Just log level = 10...

Here's debug output at level 10:

http://www.state-of-mind.de/log.smbd.txt

I restarted the smb server and left the output in the log as it may be
helpful.

[EMAIL PROTECTED]

-- 
state of mind
Agentur für Kommunikation, Design und Softwareentwicklung

Patrick KoetterTel: 089 45227227
Echinger Strasse 3 Fax: 089 45227226
85386 Eching   Web: http://www.state-of-mind.de

Amtsgericht MünchenPartnerschaftsregister PR 563
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Konica Printer: Scan to File (Samba SMB share) fails

2008-11-28 Thread Patrick Ben Koetter
I am trying to let a Konica-Minolta Copy-Scanner-Printer store scanned stuff
to a file.

It works at once, if I let it send the file to a SMB share provided by a W2K
workstation that is part of a (Samba) domain.

It doesn't work, if I want it to store the messages on a share provided by the
Samba server.

So far I have verified that the user the scanner runs under is allowed to
mount the share and write to it and this marks my wits end. I have log, but I
can't interpret it really well.

As far as I can tell the client connects, authenticates and then disconnects
without giving any reason.

If anyone took a look at the log and tell me they are seeing more I'd be
helped a lot.

Here's the log:
http://www.state-of-mind.de/smb.log.txt

TIA,

[EMAIL PROTECTED]

-- 
state of mind
Agentur für Kommunikation, Design und Softwareentwicklung

Patrick KoetterTel: 089 45227227
Echinger Strasse 3 Fax: 089 45227226
85386 Eching   Web: http://www.state-of-mind.de

Amtsgericht MünchenPartnerschaftsregister PR 563
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Konica Printer: Scan to File (Samba SMB share) fails

2008-11-28 Thread Patrick Ben Koetter
* Volker Lendecke [EMAIL PROTECTED]:
 On Fri, Nov 28, 2008 at 09:24:36PM +0100, Patrick Ben Koetter wrote:
  I am trying to let a Konica-Minolta Copy-Scanner-Printer store scanned stuff
  to a file.
  
  It works at once, if I let it send the file to a SMB share provided by a W2K
  workstation that is part of a (Samba) domain.
  
  It doesn't work, if I want it to store the messages on a share provided by 
  the
  Samba server.
  
  So far I have verified that the user the scanner runs under is allowed to
  mount the share and write to it and this marks my wits end. I have log, but 
  I
  can't interpret it really well.
  
  As far as I can tell the client connects, authenticates and then disconnects
  without giving any reason.
  
  If anyone took a look at the log and tell me they are seeing more I'd be
  helped a lot.
  
  Here's the log:
  http://www.state-of-mind.de/smb.log.txt
 
 That log looks very weird. Some messages appear to be debug
 level 10 messages, but if it was, there are lots of lines
 missing. Are you sure you really got the correct, full log?

Yes it is the full log and yes it's weird. Excuse my ignorance, the log level
setting is a copy and paste setting:

log level = 3 passdb:5 auth:10 winbind:2

What should in- or decrease to get more usefull logging?

[EMAIL PROTECTED]



-- 
state of mind
Agentur für Kommunikation, Design und Softwareentwicklung

Patrick KoetterTel: 089 45227227
Echinger Strasse 3 Fax: 089 45227226
85386 Eching   Web: http://www.state-of-mind.de

Amtsgericht MünchenPartnerschaftsregister PR 563
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Konica Printer: Scan to File (Samba SMB share) fails

2008-11-28 Thread Patrick Ben Koetter
* Volker Lendecke [EMAIL PROTECTED]:
 On Fri, Nov 28, 2008 at 10:42:21PM +0100, Patrick Ben Koetter wrote:
  Yes it is the full log and yes it's weird. Excuse my ignorance, the log 
  level
  setting is a copy and paste setting:
  
  log level = 3 passdb:5 auth:10 winbind:2
  
  What should in- or decrease to get more usefull logging?
 
 Just ignore those different levels. Just log level = 10...

Okay. I'll get some of that tomorrow. Nobody there to operate the scanner
anymore. ;)

Thanks,


[EMAIL PROTECTED]

-- 
state of mind
Agentur für Kommunikation, Design und Softwareentwicklung

Patrick KoetterTel: 089 45227227
Echinger Strasse 3 Fax: 089 45227226
85386 Eching   Web: http://www.state-of-mind.de

Amtsgericht MünchenPartnerschaftsregister PR 563
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] PDC announces two netbios names?

2008-10-27 Thread Patrick Ben Koetter
I've configured a Samba server based on Ubuntu packages. It uses LDAP as
backend.

The server announces itself using two netbios (?) names - OFFICE and SERVER.
Originally I had planned to use OFFICE. Then I switched to SERVER.

I've looked at the config files and search for any occurences of OFFICE, but I
can't find any.

Any ideas where I should look or what I should do?

Thanks,

[EMAIL PROTECTED]

Here's some debug information:

$ hostname
server

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION=Ubuntu 8.04.1

$ sudo grep -i office /etc/samba/*
[EMAIL PROTECTED]:samba$ 

$ cat /etc/resolv.conf 
search office.jojo-wassersport.de
nameserver 127.0.0.1

$ dig @localhost office.office.jojo-wassersport.de
[EMAIL PROTECTED]:samba$

$ testparm 
Load smb config files from /etc/samba/smb.conf
Processing section [homes]
Processing section [netlogon]
Processing section [Profiles]
Processing section [printers]
Processing section [print$]
Processing section [Files]
Processing section [Training]
Processing section [Training-Development]
Processing section [Fotos]
Processing section [PDF-Ausgabe]
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions

[global]
workgroup = JOJO
server string = %h server (Samba, Ubuntu)
interfaces = 127.0.0.0/8, eth0
map to guest = Bad User
obey pam restrictions = Yes
passdb backend = ldapsam:ldap://localhost
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n 
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
log level = 3 passdb:5 auth:10 winbind:2
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
server signing = auto
printcap name = cups
add user script = /usr/sbin/smbldap-useradd -m '%u'
delete user script = /usr/sbin/smbldap-userdel %u
add group script = /usr/sbin/smbldap-groupadd -p '%g'
delete group script = /usr/sbin/smbldap-groupdel '%g'
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'
add machine script = /usr/sbin/smbldap-useradd -w '%u'
logon script = logon.bat
logon path = \\server\Profiles\%U
logon drive = H:
logon home = \\server\%U
domain logons = Yes
os level = 35
domain master = Yes
dns proxy = No
wins support = Yes
ldap admin dn = cn=admin,o=JOJO Wassersport,c=de
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
ldap passwd sync = Yes
ldap suffix = o=JOJO Wassersport,c=de
ldap ssl = no
ldap user suffix = ou=Users
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d

[homes]
comment = Eigene Dateien
valid users = %S
read only = No
browseable = No

[netlogon]
comment = Network Logon Service
path = /srv/samba/netlogon
admin users = root
guest ok = Yes
browseable = No

[Profiles]
comment = Roaming Profile Share
path = /srv/samba/profiles
read only = No
profile acls = Yes
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
valid users = root, @Staff
admin users = root
write list = root, @Staff, @Trainer
read only = No
create mask = 0600
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No

[print$]
comment = Printer Drivers Share
path = /var/lib/samba/printers
valid users = root, @Staff
admin users = root, @Staff
write list = @Staff, @Trainer
create mask = 0664
directory mask = 0775

[Files]
comment = Nutzdaten
path = /srv/fileserver/files
admin users = root, rolandr
write list = @staff
force group = Staff
create mask = 0640
directory mask = 0770

[Training]
comment = Unterrichtsmaterial
path = /srv/fileserver/training
admin users = root, rolandr
read list = @trainer
write list = @staff
force group = Trainer
create mask = 0660
directory mask = 0770

[Training-Development]
comment = Unterrichtsmaterial in Entwicklung
path = /srv/fileserver/training_developement
admin users = root, rolandr
write list = 

Re: [Samba] PDC announces two netbios names?

2008-10-27 Thread Patrick Ben Koetter
Hi Volker!

Thanks for taking the time to answer.

The double entry was gone when I took a look at it a few minutes ago.
I guess it was expired from browse.dat in the meantime.

Thanks for the help!

[EMAIL PROTECTED]



* Volker Lendecke [EMAIL PROTECTED]:
 Hi, Patrick!
 
 On Mon, Oct 27, 2008 at 03:26:39PM +0100, Patrick Ben Koetter wrote:
  I've configured a Samba server based on Ubuntu packages. It uses LDAP as
  backend.
  
  The server announces itself using two netbios (?) names - OFFICE and SERVER.
  Originally I had planned to use OFFICE. Then I switched to SERVER.
 
 It should not announce both. Try 'nmblookup -A 127.0.0.1'
 and see what comes back. If it's in the browsing list that
 you see both, you might either just wait until it's timed
 out, or shutdown nmbd, delete the file browse.dat and
 restart nmbd. Then it should be gone.
 
 Volker
 
 -- 
 SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
 phone: +49-551-37-0, fax: +49-551-37-9
 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen



-- 
state of mind
Agentur für Kommunikation, Design und Softwareentwicklung

Patrick KoetterTel: 089 45227227
Echinger Strasse 3 Fax: 089 45227226
85386 Eching   Web: http://www.state-of-mind.de

Amtsgericht MünchenPartnerschaftsregister PR 563
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] LDAP: sambaDomainName added twice after boot

2008-08-20 Thread Patrick Ben Koetter
I've set up a Samba Server using OpenLDAP as backend.
The sambaDomainName is JOJO. When I reboot (not upon restarting the samba
services) a second sambaDomainName, SERVER, entry is added automatically.

The hostname of the machine running the Samba services is server. This makes
me think that there's 'some' connection between the hostname and setting an
aditional sambaDomainName.

I am by no means a Samba expert and I haven't experienced and problems yet,
but a voice in my head says the second sambaDomainName entry shouldn't by
there.

Should it? If it shouldn't what would I need to do to stop this?


[EMAIL PROTECTED]

-- 
state of mind
Agentur für Kommunikation, Design und Softwareentwicklung

Patrick KoetterTel: 089 45227227
Echinger Strasse 3 Fax: 089 45227226
85386 Eching   Web: http://www.state-of-mind.de

Amtsgericht MünchenPartnerschaftsregister PR 563
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba