[samba] vopros!

Сергей Черепенин platinumserg на mail.ru
Вт Фев 28 10:43:00 MSK 2006



-----Original Message-----
From: Shevchenko Dmitry <f0r_s2mba на mail.ru>
To: samba на lists.altlinux.org
Date: Tue, 28 Feb 2006 10:38:08 +0300
Subject: Re: [samba] vopros!

> Сергей Черепенин wrote:
> 
> >у меня самба 3.0.21b
> >  
> >
> >#======================= Global Settings =======================
> >
> >[global]
> >
> >## Browsing/Identification ###
> >   workgroup = TECH
> >   server string = %h server (Samba %v)
> >;  wins support = no
> >;  wins server = w.x.y.z
> >   dns proxy = no
> >;  name resolve order = lmhosts host wins bcast
> >#### Debugging/Accounting ####
> >   log file = /var/log/samba/log.%m
> >   max log size = 1000
> >;  syslog only = no
> >   syslog = 0
> >  
> >
> Может имеет смысл увеличить данный параметр и посмотреть логи обращения 
> к себе?
> 
> ># Do something sensible when Samba crashes: mail the admin a backtrace
> >   panic action = /usr/share/samba/panic-action %d
> >
> >
> >####### Authentication #######
> >   security = ADS
> >   realm = TECH.INC
> >   encrypt passwords = true
> >   passdb backend = tdbsam guest
> >   obey pam restrictions = yes
> >;   guest account = nobody
> >   invalid users = root
> >;   unix password sync = no
> >   passwd program = /usr/bin/passwd %u
> >   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* 
%n\n .
> >  
> >
> Хмм... может я чего-то не понимаю, но в случае security = ADS это лишнее.
> 
> >;   pam password change = no
> >
> >
> >########## Printing ##########
> >
> ><skip>
> >
> >######## File sharing ########
> >
> ><skip>
> >############ Misc ############
> ># SO_RCVBUF=8192 SO_SNDBUF=8192 
> >   socket options = TCP_NODELAY
> >;  message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
> >;   domain master = auto
> ># Some defaults for winbind (make sure you're not using the ranges
> ># for something else.)
> >   idmap uid = 10000-20000
> >   idmap gid = 10000-20000
> >   template shell = /bin/bash
> >   template home dir  = /home/samba/%u
> >   winbind use default domain = yes
> >   
> >
> >#======================= Share Definitions =======================
> >
> >[for_cd_record]
> >   comment = for_cd_r
> >   path = /home/for_cd_record
> >   browseable = yes
> >   writable = yes
> >   create mask = 0775
> >   directory mask = 0775
> >
> >[music]
> >   comment = music
> >   path = /home/media/music/audio
> >   browseable = yes
> >   writable = no
> >   create mask = 0700
> >   directory mask = 0700
> >[printers]
> >   comment = All Printers
> >   browseable = no
> >   path = /tmp
> >   printable = yes
> >   public = no
> >   writable = no
> >   create mode = 0700
> >
> ># printer driversdos charset = cp866
> >unix charset = utf-8 
> >display charset = utf-8
> >
> Попробуйте синхронизировать время на Debian с W2k3 Server и повторно 
> получить билет kerberos... (kinit, ntpdate, ntptime).

# ntpdate 10.0.1.2
28 Feb 09:39:41 ntpdate[6205]: step time server 10.0.1.2 offset -46.577298 sec

# kinit cherepenin
cherepenin на TECH.INC's Password:
kinit: NOTICE: ticket renewable lifetime is 1 week

# smbclient -L 10.0.17.1 -U cherepenin
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

вот...

> _______________________________________________
> Samba mailing list
> Samba на lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/samba



Подробная информация о списке рассылки Samba