[Samba] protocol negotiation failed

2004-12-09 Thread M. Aftab Alam
Hello guys,

I have got my samba server as PDC run and it worked well. I could see the 
machine in a windows explorer and the linux/samba users could login into the 
windows.
Now, suddenly, I can't see samba server in windows explorer any more, but linux 
users can still log into the windows machines. I can ping from the samba server 
and it works. When I run
#smbclient -L localhost
I get the error:

protocol negotiation failed

As I am new to Samba, would appreciate, if someone could help me.

Cheers
Alam

__
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba doesn't show in Windows

2004-12-08 Thread M. Aftab Alam
Hello guys,

I have got my samba server as PDC run and it worked well. I could see the 
machine in a windows explorer and the linux users could login into the windows. 
Now, suddenly, I can't see samba server in windows explorer any more, but linux 
users can still log in the windows machines. I can ping from the samba server 
and it works. When I run
#smbclient -L localhost
I get the error:
protocol negotiation failed

As I am new to Samba, would appreciate, if someone could help me. 

Cheers
Alam
__
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] unix sync problem

2004-12-07 Thread M. Aftab Alam
Hi Samba Folks,

When I comment out the following line 

unix password sync = yes

from my smb.conf. I get the following error:
Error: the 'passwd program' (/usr/bin/passwd %u) requires a '%u' parameter.

When I comment the above line, I get no error, although
passwd program /usr/bin/passwd %u 
exists in the smb.conf.

My smb.conf is as follows:

#/etc/samba/smb.conf
#Samba configurstion file als PDC

[global]
workgroup = office-santomis
security = user
netbios name = simpson
server string = Samba PDC running %v
;PDC Master and Browser setting
passdb backend = smbpasswd
os level = 64
prefered master = yes
local master = yes
domain master = yes

;security and logging settings
security = user
username map = /etc/samba/smbusers
domain logons = yes
log file = /var/log/samba %m
log level = 2
max log size = 50

;user profiles and home directory
logon home = \\%L\%U\.profile
logon drive = H:
logon path = \\%L\profiles\%U
#logon script = netlogon.bat
wins support = yes
smb passwd file = /var/lib/samba/private/smbpasswd
;sync unix passwords
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*passwd* %n\n *Enter*
new*UNIX*passwd* %n\n *Retype*new*UNIX*passwd* %n\n *passwd*successfully*cha
nged*
strict locking = yes
time server = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
interfaces = lo eth0
#bind interfaces only = yes
#host allowed = 127.0.0.1 192.168.178.?

;Add user script for new machnies
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -
M %u

[netlogon]
comment = Domain login service
path = /home/samba/netlogon
public = no
readonly = yes
browsable = no

[home]
comment = Hove Directories
path = %H
browsable = no
writeable = yes

[profiles]
path=/home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700

__
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] (/usr/bin/passwd %u) requires a '%u' parameter

2004-12-06 Thread M. Aftab Alam
Hello,
When I configuring  samba 3.0.8 as a PDC. When I run the testparm command, I 
get the error:
Error: the 'passwd program' (/usr/bin/passwd %u) requires a '%u' parameter. I 
have tried to find a solution for this problem and knew, it is a bug. If it is 
a bug, how can I solve this problem?

Cheers

#/etc/samba/smb.conf
#Samba configurstion file als PDC

[global]
workgroup = office-santomis
security = user
netbios name = simpson
server string = Samba PDC running %v
;PDC Master and Browser setting
#passdb backend = smbpasswd #tdbsam
os level = 64
prefered master = yes
local master = yes
domain master = yes

;security and logging settings
security = user
#username map = /etc/samba/smbusers
domain logons = yes
log file = /var/log/samba %m
log level = 2
max log size = 50

;user profiles and home directory
logon home = \\%L\%U\.profile
logon drive = H:
logon path = \\%L\profiles\%U
#logon script = netlogon.bat
wins support = yes
smb passwd file = /var/lib/samba/private/smbpasswd
;sync unix passwords
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*passwd* %n\n *Enter*
new*UNIX*passwd* %n\n *Retype*new*UNIX*passwd* %n\n *passwd*successfully*cha
nged*
strict locking = yes
time server = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
interfaces = lo eth0
#bind interfaces only = yes
#host allowed = 127.0.0.1 192.168.178.?

;Add user script for new machnies
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -
M %u

[netlogon]
comment = Domain login service
path = /home/samba/netlogon
public = no
readonly = yes
browsable = no

[home]
comment = Hove Directories
path = %H
browsable = no
writeable = yes

[profiles]
path=/home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700


Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] smb.conf for PDC

2004-11-25 Thread M. Aftab Alam
Hello,

I am configuring samba the first time as PDC so that a user can login on 
different pcs with the same password. To do this, I have configured smb.conf as 
 follows.  I'd appreciate, if someone could see, if the file is complete to run 
samba as a PDC. 

[global]
workgroup = windowsGroupname
netbios name = ComputerName
server string = Samba Server %v
interfaces = lo, eth0

unis password sync = yes
passwd program = /usr/bin/passwd %.u
passwd chat = *new*passwd*%n\n *new*passwd*%n\n*changed

;PDC and master browser setting
os lever = 64
prefered master = yes
local master = yes
domain master = yes
domain logons = yes
wins support = yes
smb passwd file = /etc/samba/private/smbpasswd
strict locking = yes

log file = /var/log/samba/log.%m
max log size = 50

;Setting sama as a time server
#time server = yes
;Setting operations for interface for better performance
socket options = TCP_NODELAY
;Binding the Samba server to the local device
bind interfaces only = yes
#Allowing only workgroup computers for better security
#hosts allow = 127.0.0.1 192.168.?.?
security = user
logon home=\\%L\%U\.profiles
logon drive = H:
logon path = \\%L\profiles\%U

[netlogon]
path = /home/samba/netlogon
browsable = no

Now when I try to add the machine, where the samba server is running to the 
windows domain:

#net rpc join -w windowsdomain -U Administrator%passwd

I get the error:
Could not connect to the server
The username or password was not correct or the command is false?

Can somebody plz tell me, what I am doing wrong.

Cheers

Alam

Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba