Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba не работает...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Plastikman14
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2004
Posts: 137

PostPosted: Tue Jul 12, 2005 11:53 pm    Post subject: Samba не работает... Reply with quote

Есть 2 компа. Один ХР, другой Gentoo. Принтер настроен на ХР. Есть желание печатать на него и с другой машины. CUPS, Foomatic установлены. Самба работает, но не совсем. При попытке попасть на ХР-шную машину запрашивается пароль и логин. На винде создана учётная запись аналогичная той, что на Gentoo. Но это не работает. С виндовой машины вроде всё работает, только приходиться вводить рутовый пароль. Фу...
Если что не ясно изложил, извиняйте. Прилагаю smb.conf


[global]
workgroup = kv9
server string = Tux
encrypt passwords = yes
security = user
smb passwd file = /etc/samba/private/smbpasswd
log file = /var/log/samba/log.%m
socket options = IPTOS_LOWDELAY TCP_NODELAY
domain master = Yes
local master = Yes
preferred master = Ye
os level = 65
dns proxy = No
name resolve order = lmhosts host bcast
bind interfaces only = True
interfaces = eth0
hosts deny = ALL
hosts allow = 192.168.0.1 127.0.0.1 (list of allow hosts here)
debug level = 1
create mask = 0644
directory mask = 0755
level2 oplocks = True
read raw = no
write cache size = 262144
[printers]
comment = All Printer
path = /var/spool/samba
browseable = no
Back to top
View user's profile Send private message
ManJak
Guru
Guru


Joined: 18 Dec 2004
Posts: 561
Location: St. Petersburg, Russia

PostPosted: Wed Jul 13, 2005 2:08 am    Post subject: Reply with quote

А если, сразу на cups печатать?
Не через самбу?
Back to top
View user's profile Send private message
ManJak
Guru
Guru


Joined: 18 Dec 2004
Posts: 561
Location: St. Petersburg, Russia

PostPosted: Wed Jul 13, 2005 2:11 am    Post subject: Re: Samba не работает... Reply with quote

Думаю, что поможет:

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
Back to top
View user's profile Send private message
Plastikman14
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2004
Posts: 137

PostPosted: Wed Jul 13, 2005 6:22 pm    Post subject: Re: Samba не работает... Reply with quote

ManJak wrote:
Думаю, что поможет:

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes



Безрезультатно. То же самое. Не пущает... Может у кого есть конфиг?
Back to top
View user's profile Send private message
ManJak
Guru
Guru


Joined: 18 Dec 2004
Posts: 561
Location: St. Petersburg, Russia

PostPosted: Thu Jul 14, 2005 5:39 am    Post subject: Reply with quote

Попробуй еще в глобальных пароаметрах:
map to guest = bad user
Back to top
View user's profile Send private message
Jekpol
Apprentice
Apprentice


Joined: 20 Feb 2004
Posts: 198

PostPosted: Fri Jul 15, 2005 3:59 am    Post subject: Reply with quote

А клиента завел в самбе : smbpasswd -a user?
_________________
Главное не результат, а процесс.
Back to top
View user's profile Send private message
Plastikman14
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2004
Posts: 137

PostPosted: Fri Jul 15, 2005 9:04 pm    Post subject: Reply with quote

Jekpol wrote:
А клиента завел в самбе : smbpasswd -a user?


Не даёт он создать юзера
Failed to initialise SAM_ACCOUNT for user nesterov. Does this user exist in the UNIX password database ?
Failed to modify password entry for user nesterov
Back to top
View user's profile Send private message
Jekpol
Apprentice
Apprentice


Joined: 20 Feb 2004
Posts: 198

PostPosted: Mon Jul 18, 2005 3:48 am    Post subject: Reply with quote

А в системе юзера создал перед этим useradd?
_________________
Главное не результат, а процесс.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum