[Samba] Lagging failed login attempts

Simon Hobson shobson-lists at colony.com
Fri Nov 19 15:15:44 GMT 2004


Paul Gienger wrote:
>>Are failed client logins on the XP clients logged anywhere ?
>>How about non-domain member clients accessing shares ?
>
>It completely depends on your logging settings.  Perhaps show your 
>smb.conf global section so we can tell.

[global]
         workgroup = CGC
         netbios aliases = filestore CDJukebox
         server string = Colony Main Server
         encrypt passwords = Yes
         map to guest = Bad User
         username map = /etc/samba/smbusers
         log level = 1
         syslog = 0
         time server = Yes
         unix extensions = Yes
         socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
         printcap name = CUPS
         domain admin group = root admin administrator
         add user script = /usr/sbin/addsmbmachine2ldap %m
         logon script = logon.bat
         logon path =
         logon drive = H:
         logon home =
         domain logons = Yes
         os level = 60
         domain master = Yes
         enhanced browsing = No
         wins support = Yes
         ldap port = 389
         ldap suffix = dc=colony,dc=com
         ldap admin dn = uid=cyrus,dc=colony,dc=com
         ldap ssl = no
         ldap del only sam attr = Yes
         admin users = Administrator administrator
         printing = cups
         hide files = /desktop.ini/Desktop.ini/


>In my setup, and from the looks of things around here, a lot of 
>other peoples, is that there is a main log.smbd file and then also a 
>log for each machine.

I'd rather not have to trawl through a separate log for each machine.

I was rather hoping there might be something as 'nice and simple' as 
other services log in syslog :

>Nov 19 08:57:27 slox imapd[1944]: badlogin: 
>xxxxxx.colony.com[xxx.xxx.xxx.xxx] plaintext shobson SASL(-13): 
>authentication failure: checkpass failed


Simon

-- 
Simon Hobson MA MIEE, Technology Specialist
Colony Gift Corporation Limited
Lindal in Furness, Ulverston, Cumbria, LA12 0LD
Tel 01229 461100, Fax 01229 461101

Registered in England No. 1499611
Regd. Office : 100 New Bridge Street, London, EC4V 6JA.


More information about the samba mailing list