Здравствуйте.[global]
workgroup = AD
server string = Exserver Samba
security = ads
winbind separator = +
winbind use default domain = yes
idmap uid = 10000-15000
idmap gid = 10000-15000
winbind enum users = yes
winbind enum groups = yes
hosts allow = 192.168.0. 127.
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
password server = me.ad.ru
realm = AD.RU
socket options = TCP_NODELAY
dns proxy = no
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
valid users = %S
browseable = no
writable = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yesВсе работало нормально, но после 1 перезагрузки в логах висит ошибка:
[2007/02/16 22:00:38, 0] nmbd/nmbd.c:main(699)
Netbios nameserver version 3.0.24 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/02/16 22:00:38, 0] nmbd/nmbd.c:main(718)
standard input is not a socket, assuming -D option
[2007/02/16 22:00:38, 0] /usr/ports/net/samba3/work/samba-3.0.24/source/lib/pidfile.c:pidfile_create(104)
ERROR: nmbd is already running. File /var/run/nmbd.pid exists and process id 863 is running.тоже самое в smbd и winbind
Подскажите куда копать.
>Здравствуйте.
>
>[global]
> workgroup = AD
> server string = Exserver Samba
> security = ads
> winbind separator = +
> winbind use default domain = yes
> idmap uid = 10000-15000
> idmap gid = 10000-15000
> winbind enum users = yes
> winbind enum groups = yes
> hosts allow = 192.168.0. 127.
> load printers = yes
> log file = /var/log/samba/log.%m
> max log size = 50
> password server = me.ad.ru
> realm = AD.RU
> socket options = TCP_NODELAY
> dns proxy = no
>#============================ Share Definitions ==============================
>[homes]
> comment = Home Directories
> valid users = %S
> browseable = no
> writable = no
>[printers]
> comment = All Printers
> path = /var/spool/samba
> browseable = no
># Set public = yes to allow user 'guest account' to print
>
> guest ok = no
> writable = no
> printable = yes
>
>Все работало нормально, но после 1 перезагрузки в логах висит ошибка:
>
>[2007/02/16 22:00:38, 0] nmbd/nmbd.c:main(699)
> Netbios nameserver version 3.0.24 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2006
>[2007/02/16 22:00:38, 0] nmbd/nmbd.c:main(718)
> standard input is not a socket, assuming -D option
>[2007/02/16 22:00:38, 0] /usr/ports/net/samba3/work/samba-3.0.24/source/lib/pidfile.c:pidfile_create(104)
> ERROR: nmbd is already running. File /var/run/nmbd.pid exists and process
>id 863 is running.
>
>тоже самое в smbd и winbind
>
>Подскажите куда копать.
В логах говорят что у тебя запущены уже процессы smbd nmbd winbind
возможно сохранились PID файлы... проверь наличие процессов smbd и т.д.
ps -ax|grep smbd
ps -ax|grep nmbd
ps -ax|grep winbindЕсли такие процессы не висят, то вручную завали эти файлы, а потом
запусти процессы снова.