Re: [Samba] Any possibility to apply policies on WinXP machines using samba 3.2.3 ?

2008-12-10 Thread hamacker
Hummm, it's really good.
My interesting in system policies for entire domains resides in the
fect that I need to block usb mass-storages in this winxp stations.
I able to lock USB using local GPO and .adm files (get from microsoft
technet), but some weeks after, I dont know how, my users can disable
that without admin privileges.

So, I looking for a solution that really block USB mass-storage
without use BIOS. I think that if I apply my GPO for domain and not by
local station will be fine. I hope so.

2008/12/9 Nick Sharp [EMAIL PROTECTED]:
 http://www.pcc-services.com/articles/implement_sys_policies.html is pretty
 good (linked from the samba policies page) I'm testing it right now!

 --
 Regards
 Nick Sharp

 e [EMAIL PROTECTED]
 p 08 8373 5522


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Michael Heydon
 Sent: Wednesday, December 10, 2008 11:24 AM
 To: hamacker
 Cc: samba@lists.samba.org
 Subject: Re: [Samba] Any possibility to apply policies on WinXP machines
 using samba 3.2.3 ?

 hamacker wrote:
 Any possibility to apply policies on WinXP machines using samba 3.2.3 ?

 I was create a local policies using gpedit.msc and I  would like to
 apply to entire network.

 All versions of samba prior to 4 (which is still in testing) implement
 an NT4 style domain. NT4 does not have support for active directory
 style group policies, but it does support older poledit policies.

 Grab a copy of Poledit from MS, get some templates (either from admin
 packs from MS or from one of several websites around the place) and make
 an NTConfig.POL file, save it to your netlogon share and you are done.

 *Michael Heydon - IT Administrator *
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

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


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

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


[Samba] Any possibility to apply policies on WinXP machines using samba 3.2.3 ?

2008-12-09 Thread hamacker
Any possibility to apply policies on WinXP machines using samba 3.2.3 ?

In samba documentation in :
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/PolicyMgmt.html

There is references to apply policies in NT/2000 Server and winxp
clients, but it's not clear to me that will run fine or not using
samba 3.2.3+winxp machines.

If exist a way, How ?

I was create a local policies using gpedit.msc and I  would like to
apply to entire network.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Samba conect/disconect/reconect when browsing or when freeze open/save dialogs

2008-11-20 Thread hamacker
I test this socket options, but the problem persist.

Anyone have an idea, why winxp station freeze for ~30 seconds the
first time (and other times) access to samba network ?

2008/11/19 hamacker [EMAIL PROTECTED]:
 My smb.conf does not have this line :
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
 SO_RCVBUF=8192 SO_SNDBUF=8192

 So, SO_KEEPALIVE sounds good for my problem. Is it corrent add this line ?
 About socket options , I found this comment on google search :
 http://lists.samba.org/archive/samba/2007-February/129652.html
 Remove it completely. Sockey options should not be needed with Linux kernels
 2.4 or layter.  Check out your networking hardware - NICs, HUBs, Switches and
 cables - the quality of these have a significant impact on network
 performance.

 To resolv my problem, I really need socket options or not ?

 thanks a lot.


 2008/11/19 hamacker [EMAIL PROTECTED]:
 Hi everybody,

 Recently, I change my server to anoter, but I copied all accounts
 linux/samba users to new one.
 I migrate from Ubuntu Server 8.04 to 8.10 server
 It's the same old smb.conf of old machine, but one new problem.
 When logon is OK, but wait 5 minutes or less and when connect remote
 drive for second time by explorer, windows says that not respoding,
 but wait 30 seconds and reconect drive again, no error, but some users
 dont wait, kill explorer/word/excell process thinking.

 I inspect samba logs, looking for timout, but it's normal, none message 
 error.

 My samba version is Version 3.2.3, my distro is Ubuntu Server 8.10
 [amd64] updated.

 My smb.conf (PCD) is :
 [global]
unix charset = UTF8
workgroup = VIDY2005
server string = %h server (Samba %v)
interfaces = 192.168.1.2, lo
bind interfaces only = Yes
obey pam restrictions = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Please*retype*new*password* %n\n
 *password*successfully*updated*
username map = /etc/samba/smbusers
unix password sync = Yes
lanman auth = Yes
client lanman auth = Yes
syslog = 0
log file = /var/log/samba/log.%m.%U
max log size = 1
max xmit = 65535
name resolve order = hosts wins bcast
time server = Yes
deadtime = 15
printcap name = cups
add user script = /usr/sbin/useradd -m '%u'
rename user script = /usr/sbin/usermod -l '%unew' '%uold'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add machine script = /usr/sbin/adduser -n -r -g machines -c Samba
 machine -d /dev/null -s /bin/false %u
logon script = scripts\%u.bat
logon path = \\%L\profiles\%U
logon home = /home/samba/netlogon
domain logons = Yes
os level = 100
preferred master = Yes
domain master = Yes
dns proxy = No
wins server = 192.168.1.14
panic action = /usr/share/samba/panic-action %d
idmap uid = 1-2
idmap gid = 1-2
template shell = /bin/bash
admin users = @info, @ntadmin, gladiston, root, robson, administrador
create mask = 0777
force create mode = 0777
force security mode = 0777
directory mask = 0777
force directory mode = 0777
force directory security mode = 0777
cups options = raw
preserve case = No
short preserve case = No
veto files = /*.eml/*.nws/*.{*}/
hide files = /thumbs.db/Thumbs.db/autorun.inf/Autorun.inf/
veto oplock files = /*.odt/*.doc/*.xls/*.mdb/


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


[Samba] Samba conect/disconect/reconect when browsing or when freeze open/save dialogs

2008-11-19 Thread hamacker
Hi everybody,

Recently, I change my server to anoter, but I copied all accounts
linux/samba users to new one.
I migrate from Ubuntu Server 8.04 to 8.10 server
It's the same old smb.conf of old machine, but one new problem.
When logon is OK, but wait 5 minutes or less and when connect remote
drive for second time by explorer, windows says that not respoding,
but wait 30 seconds and reconect drive again, no error, but some users
dont wait, kill explorer/word/excell process thinking.

I inspect samba logs, looking for timout, but it's normal, none message error.

My samba version is Version 3.2.3, my distro is Ubuntu Server 8.10
[amd64] updated.

My smb.conf (PCD) is :
[global]
unix charset = UTF8
workgroup = VIDY2005
server string = %h server (Samba %v)
interfaces = 192.168.1.2, lo
bind interfaces only = Yes
obey pam restrictions = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Please*retype*new*password* %n\n
*password*successfully*updated*
username map = /etc/samba/smbusers
unix password sync = Yes
lanman auth = Yes
client lanman auth = Yes
syslog = 0
log file = /var/log/samba/log.%m.%U
max log size = 1
max xmit = 65535
name resolve order = hosts wins bcast
time server = Yes
deadtime = 15
printcap name = cups
add user script = /usr/sbin/useradd -m '%u'
rename user script = /usr/sbin/usermod -l '%unew' '%uold'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add machine script = /usr/sbin/adduser -n -r -g machines -c Samba
machine -d /dev/null -s /bin/false %u
logon script = scripts\%u.bat
logon path = \\%L\profiles\%U
logon home = /home/samba/netlogon
domain logons = Yes
os level = 100
preferred master = Yes
domain master = Yes
dns proxy = No
wins server = 192.168.1.14
panic action = /usr/share/samba/panic-action %d
idmap uid = 1-2
idmap gid = 1-2
template shell = /bin/bash
admin users = @info, @ntadmin, gladiston, root, robson, administrador
create mask = 0777
force create mode = 0777
force security mode = 0777
directory mask = 0777
force directory mode = 0777
force directory security mode = 0777
cups options = raw
preserve case = No
short preserve case = No
veto files = /*.eml/*.nws/*.{*}/
hide files = /thumbs.db/Thumbs.db/autorun.inf/Autorun.inf/
veto oplock files = /*.odt/*.doc/*.xls/*.mdb/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Samba conect/disconect/reconect when browsing or when freeze open/save dialogs

2008-11-19 Thread hamacker
My smb.conf does not have this line :
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
SO_RCVBUF=8192 SO_SNDBUF=8192

So, SO_KEEPALIVE sounds good for my problem. Is it corrent add this line ?
About socket options , I found this comment on google search :
http://lists.samba.org/archive/samba/2007-February/129652.html
Remove it completely. Sockey options should not be needed with Linux kernels
2.4 or layter.  Check out your networking hardware - NICs, HUBs, Switches and
cables - the quality of these have a significant impact on network
performance.

To resolv my problem, I really need socket options or not ?

thanks a lot.


2008/11/19 hamacker [EMAIL PROTECTED]:
 Hi everybody,

 Recently, I change my server to anoter, but I copied all accounts
 linux/samba users to new one.
 I migrate from Ubuntu Server 8.04 to 8.10 server
 It's the same old smb.conf of old machine, but one new problem.
 When logon is OK, but wait 5 minutes or less and when connect remote
 drive for second time by explorer, windows says that not respoding,
 but wait 30 seconds and reconect drive again, no error, but some users
 dont wait, kill explorer/word/excell process thinking.

 I inspect samba logs, looking for timout, but it's normal, none message 
 error.

 My samba version is Version 3.2.3, my distro is Ubuntu Server 8.10
 [amd64] updated.

 My smb.conf (PCD) is :
 [global]
unix charset = UTF8
workgroup = VIDY2005
server string = %h server (Samba %v)
interfaces = 192.168.1.2, lo
bind interfaces only = Yes
obey pam restrictions = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Please*retype*new*password* %n\n
 *password*successfully*updated*
username map = /etc/samba/smbusers
unix password sync = Yes
lanman auth = Yes
client lanman auth = Yes
syslog = 0
log file = /var/log/samba/log.%m.%U
max log size = 1
max xmit = 65535
name resolve order = hosts wins bcast
time server = Yes
deadtime = 15
printcap name = cups
add user script = /usr/sbin/useradd -m '%u'
rename user script = /usr/sbin/usermod -l '%unew' '%uold'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add machine script = /usr/sbin/adduser -n -r -g machines -c Samba
 machine -d /dev/null -s /bin/false %u
logon script = scripts\%u.bat
logon path = \\%L\profiles\%U
logon home = /home/samba/netlogon
domain logons = Yes
os level = 100
preferred master = Yes
domain master = Yes
dns proxy = No
wins server = 192.168.1.14
panic action = /usr/share/samba/panic-action %d
idmap uid = 1-2
idmap gid = 1-2
template shell = /bin/bash
admin users = @info, @ntadmin, gladiston, root, robson, administrador
create mask = 0777
force create mode = 0777
force security mode = 0777
directory mask = 0777
force directory mode = 0777
force directory security mode = 0777
cups options = raw
preserve case = No
short preserve case = No
veto files = /*.eml/*.nws/*.{*}/
hide files = /thumbs.db/Thumbs.db/autorun.inf/Autorun.inf/
veto oplock files = /*.odt/*.doc/*.xls/*.mdb/

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


Re: [Samba] Eficient method to run [net time \\server] on logon script with winxp+domain ?

2008-10-14 Thread hamacker
Dont worry, your english is better than me.

Your tips is OK, now 'net time \\server /set /yes' it's run fine !

2008/10/14 Bruno La Torre [EMAIL PROTECTED]:
 hamacker ha scritto:

 I can not find any element inside gpedit to change that.
 Do you know, what element I can change that ?

 hamacker ha scritto:


 Any eficient method to run [net time \\server] on logon script with
 winxp+domain ?

 configuration computer
   windows settings
  protection settings
 local settings
set right user
   set change time

 sorry for my traslation.


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


[Samba] Eficient method to run [net time \\server] on logon script with winxp+domain ?

2008-10-14 Thread hamacker
Any eficient method to run [net time \\server] on logon script with
winxp+domain ?

Normal method, winxp refuses that with the error message : you're not
administrator.

In next week, in Brazil enable summer time (Daylight Saving Time) and
I need to update many stations in the automatic way.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Eficient method to run [net time \\server] on logon script with winxp+domain ?

2008-10-14 Thread hamacker
I can not find any element inside gpedit to change that.
Do you know, what element I can change that ?

2008/10/14 Bruno La Torre [EMAIL PROTECTED]:
 you must give right permission to user xp by gpedit.msc

 hamacker ha scritto:

 Any eficient method to run [net time \\server] on logon script with
 winxp+domain ?

 Normal method, winxp refuses that with the error message : you're not
 administrator.

 In next week, in Brazil enable summer time (Daylight Saving Time) and
 I need to update many stations in the automatic way.


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


Re: [Samba] Eficient method to run [net time \\server] on logon script with winxp+domain ?

2008-10-14 Thread hamacker
In my network I have winxp and win98 too, but the same logon script
for both. 'cause this, I need to use 'net time'.
I have a NTP server in my network, my samba server sync them, and
win9x/winxp sync with the samba.
To me, it's the best option.

2008/10/14 Eric Boehm [EMAIL PROTECTED]:
 On Tue, Oct 14, 2008 at 01:00:59PM -0600, Jeff Ross wrote:
 Jeff == Jeff Ross [EMAIL PROTECTED] writes:

f Bruno La Torre wrote:
 hamacker ha scritto:
 I can not find any element inside gpedit to change that.  Do
 you know, what element I can change that ?

 hamacker ha scritto:

 Any eficient method to run [net time \\server] on logon
 script with winxp+domain ?
 configuration computer windows settings protection settings
 local settings set right user set change time

 sorry for my traslation.


 This might be slightly off topic but is there some reason you don't
 use NTP instead. More accurate, less overhead, less maintenance.

 You could set up the Samba server(s) as NTP time servers for your
 local subnet and run

 net time /setsntp:ntp server list just once and you would be good to
 go. You wouldn't need to worry about time after that.


Jeff By co-incidence I've just been looking into this myself.

Jeff I found this article most helpful:

Jeff http://blogs.msdn.com/aaron_margosis/archive/2005/02/11/371474.aspx

Jeff If I use INTERACTIVE as suggested, my netlogon script is
Jeff able to sync the time to the samba server.  Non-privledged
Jeff users are not able to set the time at the toolbar clock,
Jeff though.

 --
 Eric M. Boehm  /\  ASCII Ribbon Campaign
 [EMAIL PROTECTED]   \ /  No HTML or RTF in mail
X   No proprietary word-processing
 Respect Open Standards / \  files in mail
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba

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


Re: [Samba] Samba with 2 NICs

2008-09-22 Thread hamacker
/etc/network/interfaces accept bond0 and runs fine, I change :

interfaces = bond0, lo
bind interfaces only = Yes
in smb.conf

I can ping from anywhere, but Samba can not autenticate any Windows.

Then I change again and back in /etc/network/interfaces to eth0. And
include in smb.conf :

interfaces = bond0, eth0, lo
bind interfaces only = Yes

And now everything is OK, both WinXP e Win9x can logon into domain.
But 'eth0' still disable, see :

bond0 Link encap:Ethernet  HWaddr 00:0c:76:97:04:f3
  inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::20c:76ff:fe97:4f3/64 Scope:Link
  UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
  RX packets:290850 errors:0 dropped:0 overruns:0 frame:0
  TX packets:285844 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:75906076 (72.3 MB)  TX bytes:219213427 (209.0 MB)

eth0  Link encap:Ethernet  HWaddr 00:0c:76:97:04:f3
  UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
  RX packets:96067 errors:0 dropped:0 overruns:0 frame:0
  TX packets:142953 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:28372347 (27.0 MB)  TX bytes:109526393 (104.4 MB)
  Interrupt:18 Base address:0x2000

eth1  Link encap:Ethernet  HWaddr 00:0c:76:97:04:f3
  UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
  RX packets:194783 errors:0 dropped:0 overruns:0 frame:0
  TX packets:142891 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:47533729 (45.3 MB)  TX bytes:109687034 (104.6 MB)
  Interrupt:19 Base address:0x9000

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:1324 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1324 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:106749 (104.2 KB)  TX bytes:106749 (104.2 KB)

I dont know Why change directly /etc/network/interfaces does not
permit Win machines autenticate on Samba, but :
# ifconfig bond0 192.168.1.2 netmask 255.255.255.0
# ifenslave -v bond0 eth0 eth1
# route add default gw 192.168.1.254
in terminal and changes in smb.conf, resolve my problem.

Thanks a lot.


2008/9/20 Chris Smith [EMAIL PROTECTED]:
 On Saturday 20 September 2008 11:35:42 am hamacker wrote:
 # ifconfig eth0
 eth0  Link encap:Ethernet  HWaddr 00:0c:76:97:04:f3
   inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0

 eth0 should not have an address - it should belong only to bond0.
 eth0 and eth1 are both slaves to the master bond0.

 # The primary network interface
 auto eth0
 iface eth0 inet static

 Should probably more like:
 iface bond0 inet static

 my smb.conf :
 [global]
 unix charset = UTF8
 workgroup = VIDY2005
 server string = %h server (Samba %v)
 interfaces = eth0, eth1

 Should be:
 interfaces = bond0, lo
 bind interfaces only = Yes

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


Re: [Samba] Samba with 2 NICs

2008-09-20 Thread hamacker
I bond two NICs in same IP, basicly :
# ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:0c:76:97:04:f3
  inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::20c:76ff:fe97:4f3/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:22185515 errors:0 dropped:0 overruns:0 frame:0
  TX packets:20365072 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:12422061457 (11.5 GB)  TX bytes:7350461490 (6.8 GB)
  Interrupt:18 Base address:0x2000
# modprobe bonding
# ifconfig bond0 192.168.1.2 netmask 255.255.255.0
# ifenslave -v bond0 eth0 eth1
# route add default gw 192.168.1.254

I did tests very well on my switch (on/off ports) and ping from
network - it's run fine. I check default route before and after bond.

My problem is that only WinXP can logon into domain if two nics are
enabled(with bond or not), win95/98 dont logon (with bond or not).

# cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
dns-nameservers 192.168.1.14
dns-search vidylab.com.br

# samba wont authenticate win9x machines if eth1enabed
# then I comment bellow lines
#auto eth1
#iface eth1 inet static
#address 192.168.1.3
#netmask 255.255.255.0
#network 192.168.1.0
#broadcast 192.168.1.255
#gateway 192.168.1.254
## dns-* options are implemented by the resolvconf package, if installed
#dns-nameservers 192.168.1.14
##dns-nameservers 200.204.0.10, 200.204.0.138
#dns-search vidylab.com.br

my smb.conf :
[global]
unix charset = UTF8
workgroup = VIDY2005
server string = %h server (Samba %v)
interfaces = eth0, eth1
obey pam restrictions = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Please*retype*new*password* %n\n
*password*successfully*updated*
unix password sync = Yes
lanman auth = Yes
syslog = 0
log file = /var/log/samba/log.%m.%U
max log size = 1
smb ports = 139
name resolve order = hosts wins bcast
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=16384 IPTOS_LOWDELAY
printcap name = cups
add user script = /usr/sbin/useradd -m '%u'
rename user script = /usr/sbin/usermod -l '%unew' '%uold'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add machine script = /usr/sbin/adduser -n -r -g machines -c Samba
machine -d /dev/null -s /bin/false %u
logon script = scripts\%u.bat
logon path = \\%L\profiles\%U
logon home = /home/samba/netlogon
domain logons = Yes
os level = 100
preferred master = Yes
domain master = Yes
dns proxy = No
panic action = /usr/share/samba/panic-action %d
idmap uid = 1-2
idmap gid = 1-2
template shell = /bin/bash
create mask = 0777
force create mode = 0777
force security mode = 0777
directory mask = 0777
force directory mode = 0777
force directory security mode = 0777
cups options = raw
preserve case = No
short preserve case = No
veto oplock files = /*.odt/*.doc/*.xls/*.mdb/


2008/9/20 Chris Smith [EMAIL PROTECTED]:
 On Friday 19 September 2008 08:35:58 am hamacker wrote:
 I did that.
 I test, and everything is OK.
 It's not misconfiguration.

 When 2 NICs bonded (or 2 NICs only enabled), WinXP can logon into
 domain and win95/98 can not. If I disable one NIC then any OS can
 logon into domain.

 From your first post:

#interfaces = 192.168.1.2/24 192.168.1.3 127.
interfaces = eth0 eth1

 It looks like you have 2 nic's on the same subnet but not bonded or you would
 not have 2 different IP addresses and the interface would be called bond0.
 This scenario - 2 nics on the same subnet, AFAIK, will generally not work.

 Once you bond them there will only be one IP address for the bonded interface
 bond0. You will need to pick a proper bonding mode for your needs and switch
 configuration (see bonding.txt in your kernel source documentation).

 Also try:

 smb ports = 139

 in the global section of your smb.conf file.

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

Re: [Samba] Samba with 2 NICs

2008-09-19 Thread hamacker
I did that.
I test, and everything is OK.
It's not misconfiguration.

When 2 NICs bonded (or 2 NICs only enabled), WinXP can logon into
domain and win95/98 can not. If I disable one NIC then any OS can
logon into domain.

I can't understand why WinXP can logon and win95/98 is not, if enable
2 NICs on my system.

2008/9/18 Chris Smith [EMAIL PROTECTED]:
 Any help will be welcome ?

 Bind the nics, it's the proper way.
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba

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


Re: [Samba] Re: Samba with 2 NICs

2008-09-19 Thread hamacker
Yes, I use switch.
My Wins Server is a Windows 2000 in same network.

I don't have any hub to execute a test.
Hummm...LMHOSTS, it was long time ago, someone remember that ? maybe I
can logon using 192.168.1.2 and not domain name. I will try at monday.


2008/9/19 Avery Payne [EMAIL PROTECTED]:
 Scott Lovenberg wrote:
 Avery Payne wrote:
 hamacker wrote:
 [snip]
 I can't understand why WinXP can logon and win95/98 is not, if enable
 2 NICs on my system.
 The TCP/IP stack in Win95/98 was not exactly, um, state of the art
 (ping of doom anyone?).  It could be something as simple as the Win95/98
 stack doesn't support multihomed hosts properly.
 [snip]
 Another thought; are you using a managed switch?  A simple layer 2
 switch will get very confused if it sees the same MAC address twice on
 different ports, and will usually start multicasting over every switch
 port.
 [snip]

 Easy way to test it - use a hub and see if the problem goes away. :)

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

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


[Samba] Samba with 2 NICs

2008-09-18 Thread hamacker
Hi everybody.

I upgrade samba2 to samba3 in last month, I installed version  3.0.28a-1ubuntu4.

But I have one big problem, I have two NICs that I use to
balance/redundant (timming) that can not be enabled two simultaneos,
if I do then win95 and win98 can not logon to network/domain.

If  I disabled one NIC then win95/win98 can logon normally, if enable
two NICs then only Windows XP can logon.

I try to put in smb.conf :

   #interfaces = 192.168.1.2/24 192.168.1.3 127.
   interfaces = eth0 eth1

But the same problem ocours.

If I enabled two NICs, only WinXP can logon.
If I enabled only one NIC, WinXP and Win95/98 can logon.

Please, I need two NICs and WinXP/Win95/Win98 logon in my network/domain.

Any help will be welcome ?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba