Re: [Samba] [SAMBA] Problem connecting Computer to network

2010-07-30 Thread Gaiseric Vandal
I am fairly certain that the underlying OS will need to see the samba 
account with the getent command.   We use ldap for unix level 
authentication anyway so I am not 100% sure this is true.



Check  /etc/nsswitch.conf

passwd: files ldap
shadow: files ldap
group:  files ldap


Also check /etc/ldap.conf and /etc/openldap/ldap.conf (assuming you are 
on linux and not solaris.)






On 07/30/2010 03:09 PM, Clark Johnston wrote:
I reexamined the slapcat output and it did create iet013c$ account in 
LDAP, but getent passwd isn't showing it.


When I look at a previous installation of a Samba LDAP PDC  I do not 
see the accounts in /etc/passwd , but I do see them when I put in 
getent passwd.


dn: uid=iet013c$,ou=Computers,dc=internaltest
objectClass: top
objectClass: account
objectClass: posixAccount
cn: iet013c$
uid: iet013c$
uidNumber: 1001
gidNumber: 515
homeDirectory: /dev/null
loginShell: /bin/false
description: Computer
gecos: Computer
structuralObjectClass: account
entryUUID: e73c4f2e-2ee7-102f-8017-31ff3607ac6d
creatorsName: cn=Manager,dc=internaltest
createTimestamp: 20100728230213Z
entryCSN: 20100728230213Z#01#00#00
modifiersName: cn=Manager,dc=internaltest
modifyTimestamp: 20100728230213Z

So I am not quite sure what is going on here.


On Thu, Jul 29, 2010 at 4:44 PM, Gaiseric Vandal 
gaiseric.van...@gmail.com mailto:gaiseric.van...@gmail.com wrote:


When you try to join a computer to the network, you mean you are
trying to join a Windows PC (e.g. XP Pro) to the domain?  Or you
are trying to join the PDC machine to the domain?


I would guess you need to manually create the PDC's unix account,
even if samba is going to create the other unix accounts for you.
 (I don't have samba do this myself.)  Does getent passwd show
the accounts for your PDC and other computers?   If you manually
create the unix account for  a computer, is it able to join the
domain?





On 07/29/2010 11:10 AM, Clark Johnston wrote:

I am trying to attempt to set up a samba ldap PDC server.

When I try and connect a computer to the network I get error
'Username could
not be found'

I have included smbldap.conf ##smbldap.conf
slapd.conf ##slapd.conf
the smb.conf   ##smb.conf
the results of slapcat ##slapcat
the eriror log for log.roor ##log.root



The error I marked as interesting ##interesting , shows that
it can't create
the user or maybe something else.  But up until that time
there didn't seem
to be a problem.

##smbldap.conf
SID=S-1-5-21-2244683438-1300233924-2635510394
sambaDomain=internaltest
slaveLDAP=127.0.0.1
slavePort=389
masterLDAP=127.0.0.1
masterPort=389
ldapTLS=0
ldapSSL=0
verify=none
cafile=/etc/smbldap-tools/ca.pem
clientcert=/etc/smbldap-tools/smbldap-tools.iallanis.info.pem
clientkey=/etc/smbldap-tools/smbldap-tools.iallanis.info.key
suffix=dc=internaltest
usersdn=ou=Users,${suffix}
computersdn=ou=Computers,${suffix}
groupsdn=ou=Groups,${suffix}
idmapdn=ou=Idmap,${suffix}
sambaUnixIdPooldn=sambaDomainName=${sambaDomain},${suffix}
scope=sub
hash_encrypt=SSHA
crypt_salt_format=%s
userLoginShell=/bin/bash
userHome=/home/%U
userHomeDirectoryMode=700
userGecos=System User
defaultUserGid=513
defaultComputerGid=515
skeletonDir=/etc/skel
defaultMaxPasswordAge=45
userSmbHome=\\PDC-TEST2\%U
userProfile=\\PDC-TEST2\profiles\%U
userHomeDrive=H:
userScript=logon.bat
mailDomain=internaltest.com http://internaltest.com
with_smbpasswd=0
smbpasswd=/usr/bin/smbpasswd
with_slappasswd=0
slappasswd=/usr/sbin/slappasswd

##slapd.conf
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/samba3.schema
allow bind_v2
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
database bdb
suffix dc=internaltest
rootdn cn=Manager,dc=internaltest
rootpw {SSHA}a7kYChHl9wXQKkJJYJ+JRLi/4EE2PH+B
password-hash {SSHA}
directory /var/lib/ldap
index cn,sn,uid,displayName pres,sub,eq
index uidNumber,gidNumber eq
index sambaSID eq
index sambaPrimaryGroupSID eq
index sambaDomainName eq
index objectClass pres,eq
index default sub


##smb.conf

# Global parameters
[global]
workgroup = internaltest
netbios name = PDC-TEST2
#security = DOMAIN
enable 

Re: [Samba] [SAMBA] Problem connecting Computer to network

2010-07-30 Thread Clark Johnston
Yep, I had a problem with ldap.conf
I had checked that 3 times,  I found a problem yesterday, but didn't see
that there was an error in my suffix for rootdn

getent passwd  worked
and entering the computer into the domain worked.

Thank you very much

That's one of the bad things about linux, is you set it up and it works for
8 years and then do it again and you've forgotten all the nuances.
Well this really wasn't a nuance, more like suffering from config blindness.

Thanks

On Fri, Jul 30, 2010 at 3:05 PM, Gaiseric Vandal
gaiseric.van...@gmail.comwrote:

  I am fairly certain that the underlying OS will need to see the samba
 account with the getent command.   We use ldap for unix level
 authentication anyway so I am not 100% sure this is true.


 Check  /etc/nsswitch.conf

 passwd: files ldap
 shadow: files ldap
 group:  files ldap


 Also check /etc/ldap.conf and /etc/openldap/ldap.conf (assuming you are on
 linux and not solaris.)






 On 07/30/2010 03:09 PM, Clark Johnston wrote:

 I reexamined the slapcat output and it did create iet013c$ account in LDAP,
 but getent passwd isn't showing it.

 When I look at a previous installation of a Samba LDAP PDC  I do not see
 the accounts in /etc/passwd , but I do see them when I put in getent passwd.

 dn: uid=iet013c$,ou=Computers,dc=internaltest
 objectClass: top
 objectClass: account
 objectClass: posixAccount
 cn: iet013c$
 uid: iet013c$
 uidNumber: 1001
 gidNumber: 515
 homeDirectory: /dev/null
 loginShell: /bin/false
 description: Computer
 gecos: Computer
 structuralObjectClass: account
 entryUUID: e73c4f2e-2ee7-102f-8017-31ff3607ac6d
 creatorsName: cn=Manager,dc=internaltest
 createTimestamp: 20100728230213Z
 entryCSN: 20100728230213Z#01#00#00
 modifiersName: cn=Manager,dc=internaltest
 modifyTimestamp: 20100728230213Z

 So I am not quite sure what is going on here.


 On Thu, Jul 29, 2010 at 4:44 PM, Gaiseric Vandal 
 gaiseric.van...@gmail.com wrote:

 When you try to join a computer to the network, you mean you are trying to
 join a Windows PC (e.g. XP Pro) to the domain?  Or you are trying to join
 the PDC machine to the domain?


 I would guess you need to manually create the PDC's unix account, even if
 samba is going to create the other unix accounts for you.  (I don't have
 samba do this myself.)  Does getent passwd show the accounts for your PDC
 and other computers?   If you manually create the unix account for  a
 computer, is it able to join the domain?





 On 07/29/2010 11:10 AM, Clark Johnston wrote:

 I am trying to attempt to set up a samba ldap PDC server.

 When I try and connect a computer to the network I get error 'Username
 could
 not be found'

 I have included smbldap.conf ##smbldap.conf
 slapd.conf ##slapd.conf
 the smb.conf   ##smb.conf
 the results of slapcat ##slapcat
 the eriror log for log.roor ##log.root



 The error I marked as interesting ##interesting , shows that it can't
 create
 the user or maybe something else.  But up until that time there didn't
 seem
 to be a problem.

 ##smbldap.conf
 SID=S-1-5-21-2244683438-1300233924-2635510394
 sambaDomain=internaltest
 slaveLDAP=127.0.0.1
 slavePort=389
 masterLDAP=127.0.0.1
 masterPort=389
 ldapTLS=0
 ldapSSL=0
 verify=none
 cafile=/etc/smbldap-tools/ca.pem
 clientcert=/etc/smbldap-tools/smbldap-tools.iallanis.info.pem
 clientkey=/etc/smbldap-tools/smbldap-tools.iallanis.info.key
 suffix=dc=internaltest
 usersdn=ou=Users,${suffix}
 computersdn=ou=Computers,${suffix}
 groupsdn=ou=Groups,${suffix}
 idmapdn=ou=Idmap,${suffix}
 sambaUnixIdPooldn=sambaDomainName=${sambaDomain},${suffix}
 scope=sub
 hash_encrypt=SSHA
 crypt_salt_format=%s
 userLoginShell=/bin/bash
 userHome=/home/%U
 userHomeDirectoryMode=700
 userGecos=System User
 defaultUserGid=513
 defaultComputerGid=515
 skeletonDir=/etc/skel
 defaultMaxPasswordAge=45
 userSmbHome=\\PDC-TEST2\%U
 userProfile=\\PDC-TEST2\profiles\%U
 userHomeDrive=H:
 userScript=logon.bat
 mailDomain=internaltest.com
 with_smbpasswd=0
 smbpasswd=/usr/bin/smbpasswd
 with_slappasswd=0
 slappasswd=/usr/sbin/slappasswd

 ##slapd.conf
 include /etc/openldap/schema/core.schema
 include /etc/openldap/schema/cosine.schema
 include /etc/openldap/schema/inetorgperson.schema
 include /etc/openldap/schema/nis.schema
 include /etc/openldap/schema/samba3.schema
 allow bind_v2
 pidfile /var/run/openldap/slapd.pid
 argsfile /var/run/openldap/slapd.args
 database bdb
 suffix dc=internaltest
 rootdn cn=Manager,dc=internaltest
 rootpw {SSHA}a7kYChHl9wXQKkJJYJ+JRLi/4EE2PH+B
 password-hash {SSHA}
 directory /var/lib/ldap
 index cn,sn,uid,displayName pres,sub,eq
 index uidNumber,gidNumber eq
 index sambaSID eq
 index sambaPrimaryGroupSID eq
 index sambaDomainName eq
 index objectClass pres,eq
 index default sub


 ##smb.conf

 # Global parameters
 [global]
 workgroup = internaltest
 netbios name = PDC-TEST2
 #security = DOMAIN
 enable privileges = yes
 #interfaces = 192.168.5.11
 #username 

[Samba] [SAMBA] Problem connecting Computer to network

2010-07-29 Thread Clark Johnston
I am trying to attempt to set up a samba ldap PDC server.

When I try and connect a computer to the network I get error 'Username could
not be found'

I have included smbldap.conf ##smbldap.conf
slapd.conf ##slapd.conf
the smb.conf   ##smb.conf
the results of slapcat ##slapcat
the eriror log for log.roor ##log.root



The error I marked as interesting ##interesting , shows that it can't create
the user or maybe something else.  But up until that time there didn't seem
to be a problem.

##smbldap.conf
SID=S-1-5-21-2244683438-1300233924-2635510394
sambaDomain=internaltest
slaveLDAP=127.0.0.1
slavePort=389
masterLDAP=127.0.0.1
masterPort=389
ldapTLS=0
ldapSSL=0
verify=none
cafile=/etc/smbldap-tools/ca.pem
clientcert=/etc/smbldap-tools/smbldap-tools.iallanis.info.pem
clientkey=/etc/smbldap-tools/smbldap-tools.iallanis.info.key
suffix=dc=internaltest
usersdn=ou=Users,${suffix}
computersdn=ou=Computers,${suffix}
groupsdn=ou=Groups,${suffix}
idmapdn=ou=Idmap,${suffix}
sambaUnixIdPooldn=sambaDomainName=${sambaDomain},${suffix}
scope=sub
hash_encrypt=SSHA
crypt_salt_format=%s
userLoginShell=/bin/bash
userHome=/home/%U
userHomeDirectoryMode=700
userGecos=System User
defaultUserGid=513
defaultComputerGid=515
skeletonDir=/etc/skel
defaultMaxPasswordAge=45
userSmbHome=\\PDC-TEST2\%U
userProfile=\\PDC-TEST2\profiles\%U
userHomeDrive=H:
userScript=logon.bat
mailDomain=internaltest.com
with_smbpasswd=0
smbpasswd=/usr/bin/smbpasswd
with_slappasswd=0
slappasswd=/usr/sbin/slappasswd

##slapd.conf
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/samba3.schema
allow bind_v2
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
database bdb
suffix dc=internaltest
rootdn cn=Manager,dc=internaltest
rootpw {SSHA}a7kYChHl9wXQKkJJYJ+JRLi/4EE2PH+B
password-hash {SSHA}
directory /var/lib/ldap
index cn,sn,uid,displayName pres,sub,eq
index uidNumber,gidNumber eq
index sambaSID eq
index sambaPrimaryGroupSID eq
index sambaDomainName eq
index objectClass pres,eq
index default sub


##smb.conf

# Global parameters
[global]
workgroup = internaltest
netbios name = PDC-TEST2
#security = DOMAIN
enable privileges = yes
#interfaces = 192.168.5.11
#username map = /etc/samba/smbusers
server string = Samba Server %v
#security = ads
encrypt passwords = Yes
#min passwd length = 3
#pam password change = no
#obey pam restrictions = No

# method 1:
unix password sync = no
ldap passwd sync = yes

# method 2:
#unix password sync = no
#ldap passwd sync = no
passwd program = /usr/sbin/smbldap-passwd -u %u
passwd chat = Changing *\nNew password* %n\n *Retype new
password* %n\n

log level = 3
syslog = 0
log file = /var/log/samba/log.%U
max log size = 10
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
SO_KEEPALIVE
mangling method = hash2
Dos charset = 850
Unix charset = ISO8859-1

logon script = logon.bat
logon drive = H:
logon home =
logon path =

domain logons = Yes
domain master = Yes
os level = 65
preferred master = Yes
wins support = yes
# passdb backend = ldapsam:ldap://ldap1.company.com ldap://
ldap2.company.com
passdb backend = ldapsam:ldap://127.0.0.1
ldap admin dn = cn=Manager,dc=internaltest
idmap backend = ldap:ldap://127.0.0.1
idmap uid = 1-2
idmap gid = 1-2
winbind trusted domains only = Yes
ldap admin dn = cn=Manager,dc=internaltest
  ldap suffix = dc=internaltest
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Idmap
add user script = /usr/sbin/smbldap-useradd -m %u
#ldap delete dn = Yes
delete user script = /usr/sbin/smbldap-userdel %u
add machine script = /usr/sbin/smbldap-useradd -t 0 -w %u
add group script = /usr/sbin/smbldap-groupadd -p %g
#delete group script = /usr/sbin/smbldap-groupdel %g
add user to group script = /usr/sbin/smbldap-groupmod -m %u %g
delete user from group script = /usr/sbin/smbldap-groupmod -x %u
%g
set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'

# printers configuration
#printer admin = @Print Operators
load printers = Yes
create mask = 0640
directory mask = 0750
#force create mode = 0640
#force directory mode = 0750
ldap ssl = off
nt acl support = yes
printing = cups
printcap name = cups
deadtime = 10
guest account = nobody
map to guest 

Re: [Samba] [SAMBA] Problem connecting Computer to network

2010-07-29 Thread Gaiseric Vandal
When you try to join a computer to the network, you mean you are trying 
to join a Windows PC (e.g. XP Pro) to the domain?  Or you are trying to 
join the PDC machine to the domain?



I would guess you need to manually create the PDC's unix account, even 
if samba is going to create the other unix accounts for you.  (I don't 
have samba do this myself.)  Does getent passwd show the accounts for 
your PDC and other computers?   If you manually create the unix account 
for  a computer, is it able to join the domain?





On 07/29/2010 11:10 AM, Clark Johnston wrote:

I am trying to attempt to set up a samba ldap PDC server.

When I try and connect a computer to the network I get error 'Username could
not be found'

I have included smbldap.conf ##smbldap.conf
slapd.conf ##slapd.conf
the smb.conf   ##smb.conf
the results of slapcat ##slapcat
the eriror log for log.roor ##log.root



The error I marked as interesting ##interesting , shows that it can't create
the user or maybe something else.  But up until that time there didn't seem
to be a problem.

##smbldap.conf
SID=S-1-5-21-2244683438-1300233924-2635510394
sambaDomain=internaltest
slaveLDAP=127.0.0.1
slavePort=389
masterLDAP=127.0.0.1
masterPort=389
ldapTLS=0
ldapSSL=0
verify=none
cafile=/etc/smbldap-tools/ca.pem
clientcert=/etc/smbldap-tools/smbldap-tools.iallanis.info.pem
clientkey=/etc/smbldap-tools/smbldap-tools.iallanis.info.key
suffix=dc=internaltest
usersdn=ou=Users,${suffix}
computersdn=ou=Computers,${suffix}
groupsdn=ou=Groups,${suffix}
idmapdn=ou=Idmap,${suffix}
sambaUnixIdPooldn=sambaDomainName=${sambaDomain},${suffix}
scope=sub
hash_encrypt=SSHA
crypt_salt_format=%s
userLoginShell=/bin/bash
userHome=/home/%U
userHomeDirectoryMode=700
userGecos=System User
defaultUserGid=513
defaultComputerGid=515
skeletonDir=/etc/skel
defaultMaxPasswordAge=45
userSmbHome=\\PDC-TEST2\%U
userProfile=\\PDC-TEST2\profiles\%U
userHomeDrive=H:
userScript=logon.bat
mailDomain=internaltest.com
with_smbpasswd=0
smbpasswd=/usr/bin/smbpasswd
with_slappasswd=0
slappasswd=/usr/sbin/slappasswd

##slapd.conf
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/samba3.schema
allow bind_v2
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
database bdb
suffix dc=internaltest
rootdn cn=Manager,dc=internaltest
rootpw {SSHA}a7kYChHl9wXQKkJJYJ+JRLi/4EE2PH+B
password-hash {SSHA}
directory /var/lib/ldap
index cn,sn,uid,displayName pres,sub,eq
index uidNumber,gidNumber eq
index sambaSID eq
index sambaPrimaryGroupSID eq
index sambaDomainName eq
index objectClass pres,eq
index default sub


##smb.conf

# Global parameters
[global]
 workgroup = internaltest
 netbios name = PDC-TEST2
 #security = DOMAIN
 enable privileges = yes
 #interfaces = 192.168.5.11
 #username map = /etc/samba/smbusers
 server string = Samba Server %v
 #security = ads
 encrypt passwords = Yes
 #min passwd length = 3
 #pam password change = no
 #obey pam restrictions = No

 # method 1:
 unix password sync = no
 ldap passwd sync = yes

 # method 2:
 #unix password sync = no
 #ldap passwd sync = no
 passwd program = /usr/sbin/smbldap-passwd -u %u
 passwd chat = Changing *\nNew password* %n\n *Retype new
password* %n\n

 log level = 3
 syslog = 0
 log file = /var/log/samba/log.%U
 max log size = 10
 time server = Yes
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
SO_KEEPALIVE
 mangling method = hash2
 Dos charset = 850
 Unix charset = ISO8859-1

 logon script = logon.bat
 logon drive = H:
 logon home =
 logon path =

 domain logons = Yes
 domain master = Yes
 os level = 65
 preferred master = Yes
 wins support = yes
 # passdb backend = ldapsam:ldap://ldap1.company.com ldap://
ldap2.company.com
 passdb backend = ldapsam:ldap://127.0.0.1
 ldap admin dn = cn=Manager,dc=internaltest
 idmap backend = ldap:ldap://127.0.0.1
 idmap uid = 1-2
 idmap gid = 1-2
 winbind trusted domains only = Yes
 ldap admin dn = cn=Manager,dc=internaltest
   ldap suffix = dc=internaltest
 ldap group suffix = ou=Groups
 ldap user suffix = ou=Users
 ldap machine suffix = ou=Computers
 ldap idmap suffix = ou=Idmap
 add user script = /usr/sbin/smbldap-useradd -m %u
 #ldap delete dn = Yes
 delete user script = /usr/sbin/smbldap-userdel %u
 add machine script = /usr/sbin/smbldap-useradd -t 0 -w %u
 add group script = /usr/sbin/smbldap-groupadd -p %g
 #delete group script = /usr/sbin/smbldap-groupdel %g
   

[Samba] Samba (problem with password server = 192.168.0.20 192.168.0.30 line in smb.conf)

2010-01-22 Thread Акулов Алексей
Hello, dear developers!

We have the several problems with interaction between our Linux and Windows 
servers.

Description of problem:

There are three servers in our network:
 1). Red Hat Enterprise Linux 5.2 (64-bit) with shared folders for users of 
network (192.168.0.10);
 2). Windows Server 2003 R2 (primary domain controller of AD) (192.168.0.20);
 3). Windows Server 2003 R2 (secondary domain controller of AD) (192.168.0.30);

 Configuration of /etc/samba/smb.conf-file:
--
[global]
 workgroup = AAA
 server string = srv-db
 netbios name = srv-db
 hosts allow = 192.168.0.
 security = server
 password server = 192.168.0.20 192.168.0.30
 encrypt passwords = yes
 smb passwd file = /etc/samba/smbpasswd
 username map = /etc/samba/smbusers
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

---
When both of Windows domain controllers work successfully Samba-service on 
RHEL-server work good.
If 192.168.0.30 (second server in configuration-file) is failed - Samba-service 
work good, 
but when 192.168.0.20 (first server in configuration-file) is failed 
then the shared directories on RHEL-server will be unavailable for users.

There is information in Samba documentation that a password server line may 
be with several servers names or ips.

Couldn't you help us with this problem.

Thanks very much.


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


[Samba] samba problem

2009-07-01 Thread Krystian Kaczmarski
Hi 

I have samba AT work and some of the Shares have sticky bit on them so only
a person who created the file can delete it. Problem is when opening office
2007 files for example: docx created by one person can be opened by another
but that person cannot save changes!!! The owner can btw. With office 2003
everything is ok.

Please help- I tried installing the newest samba 3.3.6 but still the same.

 

Regards

KK



Sanfarm Sp. z o.o.
Grupa Kapitalowa Polfa Warszawa S.A.
39-460 Nowa Deba
ul. Szypowskiego 1
tel: +48-15 846 54 00
fax: +48-15 846 54 54
PEKAO SA I O/Tarnobrzeg
211240274440042965
Bank Millennium SA O/Warszawa
801160220268091909
email: sekretar...@sanfarm.pl
NIP: 867-19-30-428
Regon: 830457790
KRS: 065167
Sad Rejonowy w Rzeszowie
XII Wydzial Gosp. KRS
Kapital zakladowy: 90 822 000 zl

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


[Samba] Samba problem

2008-12-15 Thread heena kaushik
Hi
I tried your suggestion-
export LD_LIBRARY_PATH=directory-where-libtalloc-lives
But still things are not working. I have installed samba in
/tmp/samba/samba-3.2.5.
I have installed samba in Unix, AIX server 5.2
The following are the steps of my installation.
-Configure
./configure --with-smbwrapper --with-smbmount \
--with-msdfs --with-syslog --with-utmp 21 | tee config.my.log
-Compile
make 21 | tee make.log
-Install
make install 21 | tee make-install.log.

I don't know how to proceed. I am still not able to start to samba daemons.
Can anyone please help me out.

Thans and regards
Heena Kaushik



 Original message 
Date: Fri, 12 Dec 2008 12:53:50 +0100
From: Volker Lendecke Volker.Lendecke at 
SerNet.DEhttps://lists.samba.org/mailman/listinfo/samba
Subject: Re: [Samba] problem regarding samba
To: heena kaushik heenakaushik at 
bharatpetroleum.inhttps://lists.samba.org/mailman/listinfo/samba
Cc: samba at lists.samba.orghttps://lists.samba.org/mailman/listinfo/samba 
samba at lists.samba.orghttps://lists.samba.org/mailman/listinfo/samba

On Fri, Dec 12, 2008 at 04:39:04PM +0530, heena kaushik wrote:
 Hi all
 I have installed samba in my UNIX server 5.2.But I am
 facing problem both in running swat and starting the samba
 daemons.
 When I type http:/localhost:901 in IE it gives the
 following error
 exec(): 0509-036 Cannot load program swat because of the
 following errors: 0509-150 Dependent module libtalloc.so
 could not be loaded. 0509-022 Cannot load module
 libtalloc.so. 0509-026 System error: A file or directory
 in the path name does not exist.

You should do an

export LD_LIBRARY_PATH=directory-where-libtalloc-lives


Unless this is AIX, which it sounds like it is, and probably running the 
prebuilt pWare code. :-)

Is this the case, Heena?


Cheers,
Bill


Volker

application.pgp-signature (1k bytes)





Disclaimer***
The information contained in this message is BPCL's Confidential and 
Proprietary information and is intended only for the use of the recipient(s) 
named above.  If the reader of this message is not the intended recipient, 
he/she is hereby notified that any use, dissemination, distribution, or copying 
of this communication or any of its content is strictly prohibited. In such 
case, please advise the sender immediately and delete it from your system.  
Further acknowledge that any views expressed in this message are those of the 
individual sender and no binding nature of the message shall be implied or 
assumed unless the sender does so expressly with due authority of BPCL.
***
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba Problem Connecting

2008-02-08 Thread Adam Williams
can you even get to to your samba server?  telnet ip_addpress 139.  does 
it respond?  if not figure out why smbd isn't running or if something is 
firewalling it.  It sounds like you have multiple samba servers, so the 
way to handle the user accounts across them is with LDAP (such as 
www.openldap.org ) since you can't replicate smbpasswd between the servers.


Carter, David SIS SB56 ITMOXF POWERGEN wrote:

RE previous untitled mail ..

Installed Samba 3.0.10 via 'pkgadd' on Solaris 2.6 workstation s080
(137.223.31.80) - previously running Samba 2.2.8 which has worked for a
long time. 


Samba 3.0.10 smb.conf file - changed to security =DOMAIN  from SERVER at
2.2.8 version
password server = 137.223.33.45, 137.223.33.72  - these are DCs 

  

Tried recommendation from Doug VanLeuven (thanks for the response)
You might try adding 127.0.0.1
interfaces = 137.223.31.80/255.255.255.0, 127.0.0.1/24

There are some issues documented in the manual and it seems to help


with
  

any broadcast related issues.




But I am still getting message -
\\s080
Configuration information could not be read from the domain controller,
either because the machine is unavailable, or access has been denied.


  

Adam Williams (again, thanks for the response)

when you have a bunch of samba servers like you sound like you do, you
should be using an LDAP backend.




Forgive the ignorance - not a great deal of knowledge/experience of
networking or
Active Directory and Domain Controllers - but what exactly is 'an LDAP
backend'  


I have included a 'Full View' of the smb.conf file with the relevant
bits of samba 
log files after I tried Doug's recommendation


---smb.conf + logs --- 
smb.conf


# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2008/02/08 13:40:14

# Global parameters
[global]
dos charset = CP850
unix charset = UTF-8
display charset = LOCALE
workgroup = WW007
netbios name = S080
	netbios aliases = 
	netbios scope = 
	server string = Samba Server ww007

interfaces = 137.223.31.80/255.255.255.0, 127.0.0.1/24
bind interfaces only = Yes
security = DOMAIN
	auth methods = 
	encrypt passwords = Yes

update encrypted = No
client schannel = Auto
server schannel = Auto
allow trusted domains = Yes
	hosts equiv = 
	min password length = 5

map to guest = Never
null passwords = No
obey pam restrictions = No
password server = 137.223.33.45, 137.223.33.72
smb passwd file = /usr/local/samba/private/smbpasswd
private dir = /usr/local/samba/private
passdb backend = smbpasswd
algorithmic rid base = 1000
	root directory = 
	guest account = nobody

pam password change = No
	passwd program = 
	passwd chat = *new*password* %n\n *new*password* %n\n *changed*

passwd chat debug = No
passwd chat timeout = 2
	check password script = 
	username map = 
	password level = 0

username level = 0
unix password sync = No
restrict anonymous = 0
lanman auth = Yes
ntlm auth = Yes
client NTLMv2 auth = Yes
client lanman auth = No
client plaintext auth = No
	preload modules = 
	use kerberos keytab = No

log level = 1
syslog = 1
syslog only = No
	log file = 
	max log size = 50

debug timestamp = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
smb ports = 445 139
large readwrite = Yes
max protocol = NT1
min protocol = CORE
read bmpx = No
read raw = Yes
write raw = Yes
disable netbios = No
	acl compatibility = 
	defer sharing violations = Yes

nt pipe support = Yes
nt status support = Yes
announce version = 4.9
announce as = NT
max mux = 50
max xmit = 16644
name resolve order = lmhosts wins host bcast
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
unix extensions = Yes
use spnego = Yes
client signing = auto
server signing = No
client use spnego = Yes
change notify timeout = 60
deadtime = 15
getwd cache = Yes
keepalive = 300
kernel change notify = Yes
lpq cache time = 30
max smbd processes = 0
paranoid server security = Yes
max disk size = 0
max open files = 1
socket options = TCP_NODELAY
use mmap = Yes
hostname lookups = No
name cache timeout = 660
load printers = No
printcap cache time = 0
printcap name = lpstat
	cups server = 
	disable spoolss = No
	enumports command = 
	addprinter command = 
	deleteprinter command = 
	show add printer wizard = Yes
	os2 driver map = 
	mangling method = hash2


[Samba] Samba Problem Connecting

2008-02-08 Thread Carter, David SIS SB56 ITMOXF POWERGEN
RE previous untitled mail ..

Installed Samba 3.0.10 via 'pkgadd' on Solaris 2.6 workstation s080
(137.223.31.80) - previously running Samba 2.2.8 which has worked for a
long time. 

Samba 3.0.10 smb.conf file - changed to security =DOMAIN  from SERVER at
2.2.8 version
password server = 137.223.33.45, 137.223.33.72  - these are DCs 

 Tried recommendation from Doug VanLeuven (thanks for the response)
 You might try adding 127.0.0.1
 interfaces = 137.223.31.80/255.255.255.0, 127.0.0.1/24

 There are some issues documented in the manual and it seems to help
with
 any broadcast related issues.


But I am still getting message -
\\s080
Configuration information could not be read from the domain controller,
either because the machine is unavailable, or access has been denied.


 Adam Williams (again, thanks for the response)
 
 when you have a bunch of samba servers like you sound like you do, you
 should be using an LDAP backend.


Forgive the ignorance - not a great deal of knowledge/experience of
networking or
Active Directory and Domain Controllers - but what exactly is 'an LDAP
backend'  

I have included a 'Full View' of the smb.conf file with the relevant
bits of samba 
log files after I tried Doug's recommendation

---smb.conf + logs --- 
smb.conf

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2008/02/08 13:40:14

# Global parameters
[global]
dos charset = CP850
unix charset = UTF-8
display charset = LOCALE
workgroup = WW007
netbios name = S080
netbios aliases = 
netbios scope = 
server string = Samba Server ww007
interfaces = 137.223.31.80/255.255.255.0, 127.0.0.1/24
bind interfaces only = Yes
security = DOMAIN
auth methods = 
encrypt passwords = Yes
update encrypted = No
client schannel = Auto
server schannel = Auto
allow trusted domains = Yes
hosts equiv = 
min password length = 5
map to guest = Never
null passwords = No
obey pam restrictions = No
password server = 137.223.33.45, 137.223.33.72
smb passwd file = /usr/local/samba/private/smbpasswd
private dir = /usr/local/samba/private
passdb backend = smbpasswd
algorithmic rid base = 1000
root directory = 
guest account = nobody
pam password change = No
passwd program = 
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd chat debug = No
passwd chat timeout = 2
check password script = 
username map = 
password level = 0
username level = 0
unix password sync = No
restrict anonymous = 0
lanman auth = Yes
ntlm auth = Yes
client NTLMv2 auth = Yes
client lanman auth = No
client plaintext auth = No
preload modules = 
use kerberos keytab = No
log level = 1
syslog = 1
syslog only = No
log file = 
max log size = 50
debug timestamp = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
smb ports = 445 139
large readwrite = Yes
max protocol = NT1
min protocol = CORE
read bmpx = No
read raw = Yes
write raw = Yes
disable netbios = No
acl compatibility = 
defer sharing violations = Yes
nt pipe support = Yes
nt status support = Yes
announce version = 4.9
announce as = NT
max mux = 50
max xmit = 16644
name resolve order = lmhosts wins host bcast
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
unix extensions = Yes
use spnego = Yes
client signing = auto
server signing = No
client use spnego = Yes
change notify timeout = 60
deadtime = 15
getwd cache = Yes
keepalive = 300
kernel change notify = Yes
lpq cache time = 30
max smbd processes = 0
paranoid server security = Yes
max disk size = 0
max open files = 1
socket options = TCP_NODELAY
use mmap = Yes
hostname lookups = No
name cache timeout = 660
load printers = No
printcap cache time = 0
printcap name = lpstat
cups server = 
disable spoolss = No
enumports command = 
addprinter command = 
deleteprinter command = 
show add printer wizard = Yes
os2 driver map = 
mangling method = hash2
mangle prefix = 1
stat cache = Yes
machine password timeout = 604800
add user script = 
delete user script = 
add group script = 
delete group script = 
add user to group script = 
delete 

[Samba] Samba problem connecting

2008-01-10 Thread Carter, David SIS SB56 ITMOXF POWERGEN
 

 
Installed Samba 3.0.10 via 'pkgadd' on Solaris 2.6 - previously running
Samba 2.2.8. 
 
It starts up and SWAT confirms that it is running and I am using the
same smb.conf but I am unable 
to connect to a share via PC.
Message \\s080 is not accessible. You might not have permission to use
this network resource. 
Contact the administrator of this server to find out if you have access
permissions.  
The account is not authorized to log in from this station
 
Restarting old Samba 2.2.8 version allows me connect to a share via PC. 
What do I need to do to get the newer version to work. As yet I have not
been able to find any helpful information on this message/condition.
 
 
Dave Carter
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba problem connecting

2008-01-10 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Carter, David SIS SB56 ITMOXF POWERGEN wrote:
  
 
  
 Installed Samba 3.0.10 via 'pkgadd' on Solaris 2.6 - previously running
 Samba 2.2.8. 
  
 It starts up and SWAT confirms that it is running and I am using the
 same smb.conf but I am unable 
 to connect to a share via PC.
 Message \\s080 is not accessible. You might not have permission to use
 this network resource. 
 Contact the administrator of this server to find out if you have access
 permissions.  
 The account is not authorized to log in from this station
  
 Restarting old Samba 2.2.8 version allows me connect to a share via PC. 
 What do I need to do to get the newer version to work. As yet I have not
 been able to find any helpful information on this message/condition.
  
  
 Dave Carter

Turn up logging with log level/debug level (synonyms for each other).

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHhiW/mb+gadEcsb4RAoPtAJkBEN/KZH+9/O2uP2YWuhyZFz/qwACeJzHA
QYdNwjThyLdV8nngEg8oGZU=
=c88t
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] Samba Problem

2007-12-31 Thread Sven Buchstaller
Hi List,

Last week i have upgrate my samba from 3.023d to 3.0.28 and now i have
some trouble in my LOGs like this:

Dec 31 08:59:23 ldapmaster smbd[10453]:
pdb_increment_bad_password_count: pdb_get_account_policy failed.
Dec 31 08:59:39 ldapmaster smbd[12758]: [2007/12/31 08:59:39, 0,
effective(0, 0), real(0, 0)] passdb/pdb_get_set.c:pdb_get_group_sid(211)
Dec 31 08:59:39 ldapmaster smbd[12758]:   pdb_get_group_sid: Failed to
find Unix account for pcoc081$
Dec 31 09:02:53 ldapmaster smbd[12836]: [2007/12/31 09:02:53, 0,
effective(0, 0), real(0, 0)] passdb/pdb_get_set.c:pdb_get_group_sid(211)
Dec 31 09:02:53 ldapmaster smbd[12836]:   pdb_get_group_sid: Failed to
find Unix account for application1$
Dec 31 09:02:53 ldapmaster smbd[12836]: [2007/12/31 09:02:53, 0,
effective(0, 0), real(0, 0)] passdb/pdb_get_set.c:pdb_get_group_sid(211)
Dec 31 09:02:53 ldapmaster smbd[12836]:   pdb_get_group_sid: Failed to
find Unix account for application1$
Dec 31 09:02:53 ldapmaster smbd[12836]: [2007/12/31 09:02:53, 0,
effective(0, 0), real(0, 0)] passdb/pdb_get_set.c:pdb_get_group_sid(211)
Dec 31 09:02:53 ldapmaster smbd[12836]:   pdb_get_group_sid: Failed to
find Unix account for application1$
Dec 31 09:02:53 ldapmaster smbd[12836]: [2007/12/31 09:02:53, 0,
effective(0, 0), real(0, 0)] passdb/pdb_get_set.c:pdb_get_group_sid(211)
Dec 31 09:02:53 ldapmaster smbd[12836]:   pdb_get_group_sid: Failed to
find Unix account for application1$
Dec 31 09:02:53 ldapmaster smbd[12836]: [2007/12/31 09:02:53, 0,
effective(10064, 1), real(10064, 0)]
rpc_parse/parse_samr.c:init_sam_u
ser_info21A(6318)
Dec 31 09:02:53 ldapmaster smbd[12836]:   init_sam_user_info_21A: User
application1$ has Primary Group SID (NULL SID),
Dec 31 09:02:53 ldapmaster smbd[12836]:   which conflicts with the
domain sid S-1-5-21-3991578539-3149662252-1894531253.  Failing operation

It looks like only Maschines are involved, anyone an idear?
what can i do ?


.


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


Re: [Samba] Samba Problem

2007-10-10 Thread Darryl Tidd

Darryl Tidd wrote:

Frank Van Damme wrote:

On 9/28/07, Tomasz Chmielewski [EMAIL PROTECTED] wrote:
 

Darryl Tidd schrieb:
   

I am running Kubunt 7.04.  I downloaded the latest Samba release from
samba.org.  I configured and installed Samba.  However, after doing 
all

this, I can't seem to get Samba to run.  I have tried starting smbd,
winbindd, nmbd, sambaclient, samba, and swat.  I either get a message
that the program is not installed or the computer just does nothing.
Any help will be greatly appreciated.
  

Why don't you just get Kubuntu Samba packages?

Apparently, you don't really know what you are doing (I have tried
starting smbd, winbindd, nmbd, sambaclient, samba, and swat)



... and you (the OP) should have a clear idea of what you're trying to
achieve with Samba. Like: set up some simple shares, make home
directories available over the network, or the same but including
keeping your sister from overwriting your files,...


  


Now it seems I really don't know what I'm doing.  it appears I replied 
to a post with no reply included.  Talk about your bone headed things to 
do.  I only realized it today when I was wondering why no one replied to 
my reply, well my reply didn't include a reply, so why would anyone 
reply.  HuH?


Anyway.  you guys were both right, I didn't know what I was doing, and I 
didn't have a clear idea of what I was wanted to do.  In the meantime, I 
have samba up and running.  Still trying to figure out exactly what to 
do next.  Thanks for the responses.

Darryl

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

Re: [Samba] Samba Problem

2007-10-05 Thread Lukasz Szybalski
On 9/28/07, Tomasz Chmielewski [EMAIL PROTECTED] wrote:
 Darryl Tidd schrieb:
  I am running Kubunt 7.04.  I downloaded the latest Samba release from
  samba.org.  I configured and installed Samba.  However, after doing all
  this, I can't seem to get Samba to run.  I have tried starting smbd,
  winbindd, nmbd, sambaclient, samba, and swat.  I either get a message
  that the program is not installed or the computer just does nothing.
  Any help will be greatly appreciated.

 Why don't you just get Kubuntu Samba packages?

apt-get update
apt-get install samba

Status
 To see what services are available on samba use this command.
 If samba is not running start it by /etc/init.d/samba start
 When prompted for password, hit enter to login anonymously.

smbclient -L servername


 Apparently, you don't really know what you are doing (I have tried
 starting smbd, winbindd, nmbd, sambaclient, samba, and swat)


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



-- 
-- 
Easy, Highly Configurable and Customizable Operating System for Business.
http://www.lucasmanual.com
TurboGears from start to finish:
http://www.lucasmanual.com/mywiki/TurboGears
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba Problem

2007-10-04 Thread Darryl Tidd

Frank Van Damme wrote:

On 9/28/07, Tomasz Chmielewski [EMAIL PROTECTED] wrote:
  

Darryl Tidd schrieb:


I am running Kubunt 7.04.  I downloaded the latest Samba release from
samba.org.  I configured and installed Samba.  However, after doing all
this, I can't seem to get Samba to run.  I have tried starting smbd,
winbindd, nmbd, sambaclient, samba, and swat.  I either get a message
that the program is not installed or the computer just does nothing.
Any help will be greatly appreciated.
  

Why don't you just get Kubuntu Samba packages?

Apparently, you don't really know what you are doing (I have tried
starting smbd, winbindd, nmbd, sambaclient, samba, and swat)



... and you (the OP) should have a clear idea of what you're trying to
achieve with Samba. Like: set up some simple shares, make home
directories available over the network, or the same but including
keeping your sister from overwriting your files,...


  


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

[Samba] Samba Problem

2007-09-28 Thread Darryl Tidd
I am running Kubunt 7.04.  I downloaded the latest Samba release from 
samba.org.  I configured and installed Samba.  However, after doing all 
this, I can't seem to get Samba to run.  I have tried starting smbd, 
winbindd, nmbd, sambaclient, samba, and swat.  I either get a message 
that the program is not installed or the computer just does nothing.

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

Re: [Samba] Samba Problem

2007-09-28 Thread Tomasz Chmielewski

Darryl Tidd schrieb:
I am running Kubunt 7.04.  I downloaded the latest Samba release from 
samba.org.  I configured and installed Samba.  However, after doing all 
this, I can't seem to get Samba to run.  I have tried starting smbd, 
winbindd, nmbd, sambaclient, samba, and swat.  I either get a message 
that the program is not installed or the computer just does nothing.

Any help will be greatly appreciated.


Why don't you just get Kubuntu Samba packages?

Apparently, you don't really know what you are doing (I have tried 
starting smbd, winbindd, nmbd, sambaclient, samba, and swat)



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


Re: [Samba] Samba Problem

2007-09-28 Thread Frank Van Damme
On 9/28/07, Tomasz Chmielewski [EMAIL PROTECTED] wrote:
 Darryl Tidd schrieb:
  I am running Kubunt 7.04.  I downloaded the latest Samba release from
  samba.org.  I configured and installed Samba.  However, after doing all
  this, I can't seem to get Samba to run.  I have tried starting smbd,
  winbindd, nmbd, sambaclient, samba, and swat.  I either get a message
  that the program is not installed or the computer just does nothing.
  Any help will be greatly appreciated.

 Why don't you just get Kubuntu Samba packages?

 Apparently, you don't really know what you are doing (I have tried
 starting smbd, winbindd, nmbd, sambaclient, samba, and swat)

... and you (the OP) should have a clear idea of what you're trying to
achieve with Samba. Like: set up some simple shares, make home
directories available over the network, or the same but including
keeping your sister from overwriting your files,...


-- 
Frank Van Damme   A: Because it destroys the flow of the conversation
  Q: Why is it bad?
  A: No, it's bad.
  Q: Should I top post in replies to mails or on usenet?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba Problem With Big File Transfer on Windows Client

2007-07-05 Thread Nuno Pissarra

Hi
After your sugestion i have been testing samba with the options keepalive,
dead time, debug level = 4, but the final result was the same apparently,
even the logs dont show any useful information.
During the test i notice a peak in the CPU usage bye the process pdflush
and smbd. I think pdflush is a kernel process dont konw if this helps to
identify the problem origin.
Aravinda Guzzar thanks for the sugestion on the ftruncate function and the
packets situation, but i dont think i have the know-how  to do it

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


[Samba] Samba Problem With Big File Transfer on Windows Client

2007-07-04 Thread Nuno Pissarra

I use fedora 7 and the last stable version of samba 3.0.25a-3
on an embedded linux system as a server and a windows xp.
I 'am using truecrypt and sharing de mount directory with the XP machine via
samba. Selniux is disabled.

Everything works well such as connection or small files transfers but we
have a
huge problem when we try to transfer a big file (~100 MB) from the client
(Windows) to the server (embedded linux). No problem in the other side.

Indeed, windows displays an error saying that the specified network name is
no
longer available.

Moreover, we have performed different kinds of tests such as using a Linux
client or using a Linux PC as a server (with a Windows client) and
everything
goes right. We assume that our problem comes from our Linux Embedded system
but
we cannot find out the critical point. Moreover logs messages do not give us
more information execpting the oplocks problems, which are not the problem
origin.

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


Re: [Samba] Samba Problem With Big File Transfer on Windows Client

2007-07-04 Thread Aravinda Guzzar

problem when we try to transfer a big file (~100 MB) from the client
(Windows) to the server (embedded linux).


I had encountered a similar while copying the larger file from client to
server. I had figured out that this causes due to failure in extending the
file using ftruncate call.

While copying a file from client to the server, server first extends the
file up to the file size by executing the ftruncate() and writes 0 to the
extended area. If the file is huge say in your case 100MB the client times
out by the time ftruncate returns after extending the file.

The code this happens in samba is in below module:

/smbd/vfs-wrap.c

int vfswrap_ftruncate(vfs_handle_struct *handle, files_struct *fsp, int fd,
SMB_OFF_T len)
{

...
result = sys_ftruncate(fd, len);



}

To confirm whether this is the problem you can write a small program to see
whether ftruncate is taking a lot of time. Also you can capture packets and
see where exactly the problem is?

HTH

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


[Samba] samba problem: Multiple Heap Overflows Allow Remote Code Execution

2007-06-01 Thread liujack
Dear  Jeremy:We use samba 2.2.12 as our samba server,  and  it  worked  
perfectly before, but now  there  is one  security problem found in samba 3.0  
now, so we  worry about our samba server, but for some reason we can't update 
to samba 3.0.25, so can you tell us whether the problem be  existent in samba 
2.2.12, or how can I test our samba server with some tools software?   
Thanks,   Jack
_
通过 Live.com 查看资讯、娱乐信息和您关心的其他信息!
http://www.live.com/getstarted.aspx
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba problem: Multiple Heap Overflows Allow Remote Code Execution

2007-06-01 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

liujack,

 Dear  Jeremy:We use samba 2.2.12 as our 
 samba server,  and  it  worked  perfectly before,
 but now  there  is one  security problem found in
 samba 3.0  now, so we  worry about our samba server, 
 but for some reason we can't update to samba 3.0.25,
 so can you tell us whether the problem be  existent
 in samba 2.2.12, or how can I test our samba server
 with some tools software?   Thanks,   Jack

For the record:

  CVE-2007-2447 was present in some form in the 2.2.x branch.
  CVE-2007-2444 does not apply to 3.0.23c or earlier releases.
  CVE-2007-2446 probably applies in some fashion to 2.2.x

But Samba 2.2. was declared EOL in Oct of 2004.  Your only
option is to backport the patches yourself or contact a vendor
for paid support and have them do it.





cheers, jerry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGYAxEIR7qMdg1EfYRAiOuAJ4yoTBF28Zadx9vGv1OA8k7Mt0lYgCdGglQ
iYoLUmtywlj6kEJ4dBi8DVw=
=fqrj
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba problem: Multiple Heap Overflows Allow Remote Code Execution

2007-06-01 Thread Volker Lendecke
On Fri, Jun 01, 2007 at 03:54:05PM +0800, liujack wrote:
 Dear  Jeremy:We use samba 2.2.12 as our samba
 server,  and  it  worked  perfectly before, but now  there
 is one  security problem found in samba 3.0  now, so we
 worry about our samba server, but for some reason we can't
 update to samba 3.0.25, so can you tell us whether the
 problem be  existent in samba 2.2.12, or how can I test
 our samba server with some tools software?   Thanks,

Sorry, Samba 2.2 has been declared end of life for ages now.
What are your reasons that you can not upgrade?

Volker


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

Re: [Samba] SAMBA Problem - Users take ownership

2007-05-07 Thread Travis Bullock
OK. I did an upgrade on this server to FC6 so the new options will be available 
to me. 

The inherit owner option seems to do the trick in keeping users from taking 
ownership.

Only one problem left:

When I open, edit and change a file it is changing the file permissions from:

rwxrwx---

to

rwxrw---

Not sure why. Any ideas?

Travis Bullock
Systems Administrator
Avmax Group Inc.

- Original Message -
From: Jeremy Allison [EMAIL PROTECTED]
To: Travis Bullock [EMAIL PROTECTED]
Cc: samba samba@lists.samba.org
Sent: Wednesday, April 18, 2007 2:39:00 PM (GMT-0700) America/Denver
Subject: Re: [Samba] SAMBA Problem - Users take ownership

On Wed, Apr 18, 2007 at 02:08:50PM -0600, Travis Bullock wrote:
 Can anyone help me with this? This is a serious problem and it is really 
 screwing me over.

Experiment with the inherit owner option.

Jeremy.

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


Re: [Samba] SAMBA Problem - Users take ownership

2007-05-07 Thread Travis Bullock
Got it.

Entered: 

force create mode = 0770

in the Global section of my smb.conf file

Cheers,

Travis Bullock
Systems Administrator
Avmax Group Inc.

- Original Message -
From: Travis Bullock [EMAIL PROTECTED]
To: Jeremy Allison [EMAIL PROTECTED]
Cc: samba samba@lists.samba.org
Sent: Monday, May 7, 2007 9:25:37 AM (GMT-0700) America/Denver
Subject: Re: [Samba] SAMBA Problem - Users take ownership

OK. I did an upgrade on this server to FC6 so the new options will be available 
to me. 

The inherit owner option seems to do the trick in keeping users from taking 
ownership.

Only one problem left:

When I open, edit and change a file it is changing the file permissions from:

rwxrwx---

to

rwxrw---

Not sure why. Any ideas?

Travis Bullock
Systems Administrator
Avmax Group Inc.

- Original Message -
From: Jeremy Allison [EMAIL PROTECTED]
To: Travis Bullock [EMAIL PROTECTED]
Cc: samba samba@lists.samba.org
Sent: Wednesday, April 18, 2007 2:39:00 PM (GMT-0700) America/Denver
Subject: Re: [Samba] SAMBA Problem - Users take ownership

On Wed, Apr 18, 2007 at 02:08:50PM -0600, Travis Bullock wrote:
 Can anyone help me with this? This is a serious problem and it is really 
 screwing me over.

Experiment with the inherit owner option.

Jeremy.

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


Re: [Samba] SAMBA Problem - Users take ownership

2007-05-07 Thread simo
On Mon, 2007-05-07 at 09:25 -0600, Travis Bullock wrote:
 OK. I did an upgrade on this server to FC6 so the new options will be 
 available to me. 
 
 The inherit owner option seems to do the trick in keeping users from taking 
 ownership.
 
 Only one problem left:
 
 When I open, edit and change a file it is changing the file permissions from:
 
 rwxrwx---
 
 to
 
 rwxrw---
 
 Not sure why. Any ideas?

see the store dos attributes option

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: [EMAIL PROTECTED]
http://samba.org

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


Re: [Samba] SAMBA Problem - Users take ownership

2007-04-18 Thread Travis Bullock
Can anyone help me with this? This is a serious problem and it is really 
screwing me over.

Cheers,

Travis Bullock
Systems Administrator
Avmax Group Inc.

- Original Message -
From: Travis Bullock [EMAIL PROTECTED]
To: samba samba@lists.samba.org
Sent: Saturday, April 14, 2007 10:12:30 AM (GMT-0700) America/Denver
Subject: [Samba] SAMBA Problem - Users take ownership

Hi, 

I have a problem with my Samba/WinBIND implementation. In folders shared by 
multiple people the last one to access and modify a file takes ownership of the 
file and changes the permissions so other users cannot make changes to the same 
file: 
[EMAIL PROTECTED] PLANNING RECORDS]# cd REGIONAL\ 1\ AIRLINE\ DOCS/ 
[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# ls -al 
total 1232 
drwxrws---+ 8 root AVMAX+Domain Admins 4096 Apr 13 13:16 . 
drwxrws---+ 23 root AVMAX+Domain Admins 4096 Apr 3 08:14 .. 
drwxrws---+ 7 root AVMAX+Domain Admins 4096 Mar 20 13:01 AALI Reserves 
drwxrws---+ 3 root AVMAX+Domain Admins 4096 Mar 20 13:02 Archived Documents for 
Reg. 1 
-rwxrwx---+ 1 AVMAX+RMesheau AVMAX+Domain Admins 64512 Apr 13 12:56 LOG BOOK 
entry template.xls 
drwxrws---+ 6 root AVMAX+Domain Admins 4096 Mar 30 16:20 Logpages Monthly 
Templates Reports etc 
-rwxrwx---+ 1 AVMAX+ALee AVMAX+Domain Admins 552448 Apr 13 13:16 MOD SB 
Compliance Status ALEX.xls 
-r--rwx---+ 1 AVMAX+ALee AVMAX+Domain Admins 552448 Apr 12 13:35 MOD SB 
Compliance Status.xls 
drwxrws---+ 2 root AVMAX+Domain Admins 4096 Mar 30 16:09 Monthly Workorder 
Templates 
drwxrws---+ 3 root AVMAX+Domain Admins 4096 Apr 3 09:06 SIP + Audit 
Spreadsheets 
drwxrws---+ 5 root AVMAX+Domain Admins 4096 Mar 20 13:04 Tally Sheets for 
Regional 1 

I want all ownerships to remain root:AVMAX+Domain Admins with drwxrws--- set as 
the permissions. My ACL's look like this for a file: 

[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# getfacl MOD\ SB\ Compliance\ 
Status.xls 
# file: MOD SB Compliance Status.xls 
# owner: AVMAX+ALee 
# group: AVMAX+Domain Admins 
user::r-- 
user:root:rwx 
group::rw- 
group:AVMAX+Planning:rwx 
mask::rwx 
other::--- 

I think group:AVMAX+Planning:rwx is good but appears to be ineffective once a 
user takes ownership of a file. 

And this for a directory: 

[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# getfacl Tally\ Sheets\ for\ 
Regional\ 1/ 
# file: Tally Sheets for Regional 1 
# owner: root 
# group: AVMAX+Domain Admins 
user::rwx 
group::rwx 
group:AVMAX+Planning:rwx 
mask::rwx 
other::--- 
default:user::rwx 
default:group::rwx 
default:group:AVMAX+Planning:rwx 
default:mask::rwx 
default:other::--- 

Any ideas as to why this is happening? 


Travis Bullock 
Systems Administrator 
Avmax Group Inc. 
-- 
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 Problem - Users take ownership

2007-04-18 Thread Carlos Rivera-Jones

Smb.conf share settings?

carlos 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Travis Bullock
Sent: Wednesday, April 18, 2007 4:09 PM
To: samba
Subject: Re: [Samba] SAMBA Problem - Users take ownership

Can anyone help me with this? This is a serious problem and it is really
screwing me over.

Cheers,

Travis Bullock
Systems Administrator
Avmax Group Inc.

- Original Message -
From: Travis Bullock [EMAIL PROTECTED]
To: samba samba@lists.samba.org
Sent: Saturday, April 14, 2007 10:12:30 AM (GMT-0700) America/Denver
Subject: [Samba] SAMBA Problem - Users take ownership

Hi, 

I have a problem with my Samba/WinBIND implementation. In folders shared
by multiple people the last one to access and modify a file takes
ownership of the file and changes the permissions so other users cannot
make changes to the same file: 
[EMAIL PROTECTED] PLANNING RECORDS]# cd REGIONAL\ 1\ AIRLINE\ DOCS/
[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# ls -al total 1232 
drwxrws---+ 8 root AVMAX+Domain Admins 4096 Apr 13 13:16 . 
drwxrws---+ 23 root AVMAX+Domain Admins 4096 Apr 3 08:14 .. 
drwxrws---+ 7 root AVMAX+Domain Admins 4096 Mar 20 13:01 AALI Reserves
drwxrws---+ 3 root AVMAX+Domain Admins 4096 Mar 20 13:02 Archived 
drwxrws---+ Documents for Reg. 1
-rwxrwx---+ 1 AVMAX+RMesheau AVMAX+Domain Admins 64512 Apr 13 12:56 LOG 
-rwxrwx---+ BOOK entry template.xls
drwxrws---+ 6 root AVMAX+Domain Admins 4096 Mar 30 16:20 Logpages 
drwxrws---+ Monthly Templates Reports etc
-rwxrwx---+ 1 AVMAX+ALee AVMAX+Domain Admins 552448 Apr 13 13:16 MOD SB 
-rwxrwx---+ Compliance Status ALEX.xls
-r--rwx---+ 1 AVMAX+ALee AVMAX+Domain Admins 552448 Apr 12 13:35 MOD SB 
-r--rwx---+ Compliance Status.xls
drwxrws---+ 2 root AVMAX+Domain Admins 4096 Mar 30 16:09 Monthly 
drwxrws---+ Workorder Templates
drwxrws---+ 3 root AVMAX+Domain Admins 4096 Apr 3 09:06 SIP + Audit 
drwxrws---+ Spreadsheets
drwxrws---+ 5 root AVMAX+Domain Admins 4096 Mar 20 13:04 Tally Sheets 
drwxrws---+ for Regional 1

I want all ownerships to remain root:AVMAX+Domain Admins with drwxrws---
set as the permissions. My ACL's look like this for a file: 

[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# getfacl MOD\ SB\ Compliance\
Status.xls # file: MOD SB Compliance Status.xls # owner: AVMAX+ALee #
group: AVMAX+Domain Admins
user::r--
user:root:rwx
group::rw-
group:AVMAX+Planning:rwx
mask::rwx
other::--- 

I think group:AVMAX+Planning:rwx is good but appears to be ineffective
once a user takes ownership of a file. 

And this for a directory: 

[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# getfacl Tally\ Sheets\ for\
Regional\ 1/ # file: Tally Sheets for Regional 1 # owner: root # group:
AVMAX+Domain Admins user::rwx group::rwx group:AVMAX+Planning:rwx
mask::rwx
other::---
default:user::rwx
default:group::rwx
default:group:AVMAX+Planning:rwx
default:mask::rwx
default:other::--- 

Any ideas as to why this is happening? 


Travis Bullock
Systems Administrator
Avmax Group Inc. 
--
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


Re: [Samba] SAMBA Problem - Users take ownership

2007-04-18 Thread Travis Bullock
smb.conf file:

[global]
security = domain
workgroup = AVMAX
netbios name = atlas
map to guest = Bad User

encrypt passwords = yes
password server = 10.2.32.1 10.2.0.4 10.4.0.3
username level = 0
#password server = 10.2.0.3 10.2.0.4 10.2.32.1
deadtime = 3
local master = no
domain master = no
domain logons = no
wins support = yes
remote announce = 10.4.0.0/20 10.3.0.0/20
#winbind use default domain = yes
winbind separator = +
winbind cache time = 10
idmap uid = 1-2
idmap gid = 1-2
winbind enum users = yes
winbind enum groups = yes

hosts allow = 10.0.0.0/20 10.2.0.0/20 10.2.32.0/20 10.2.16.0/20 
10.3.0.0/16 10.128.0.0/16 10.4.0.0/16
interfaces = 10.2.0.12 192.168.0.4
log level = 2 winbind:5

[Planning]
   comment = Avmax Planning Group Share
   browseable = yes
   writable = yes
   read only = no
   create mode = 0770
   directory mode = 0770
   path = /usr/avmax_shares/Planning

[GFQ]
   comment = Great Falls QA
   browseable = yes
   writable = yes
   read  only = no
   create mask = 0765
   create mode = 0777
   directory mode = 0770
   force create mode = 000
   path = /usr/avmax_shares/GFQ


Those are two different types of shares. I am playing with the settings to see 
if I can make a difference to the share but so far no joy. Probably because I 
don't have a firm understanding of how those settings work.

Cheers,

Travis

- Original Message -
From: Carlos Rivera-Jones [EMAIL PROTECTED]
To: Travis Bullock [EMAIL PROTECTED], samba samba@lists.samba.org
Sent: Wednesday, April 18, 2007 2:14:19 PM (GMT-0700) America/Denver
Subject: RE: [Samba] SAMBA Problem - Users take ownership


Smb.conf share settings?

carlos 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Travis Bullock
Sent: Wednesday, April 18, 2007 4:09 PM
To: samba
Subject: Re: [Samba] SAMBA Problem - Users take ownership

Can anyone help me with this? This is a serious problem and it is really
screwing me over.

Cheers,

Travis Bullock
Systems Administrator
Avmax Group Inc.

- Original Message -
From: Travis Bullock [EMAIL PROTECTED]
To: samba samba@lists.samba.org
Sent: Saturday, April 14, 2007 10:12:30 AM (GMT-0700) America/Denver
Subject: [Samba] SAMBA Problem - Users take ownership

Hi, 

I have a problem with my Samba/WinBIND implementation. In folders shared
by multiple people the last one to access and modify a file takes
ownership of the file and changes the permissions so other users cannot
make changes to the same file: 
[EMAIL PROTECTED] PLANNING RECORDS]# cd REGIONAL\ 1\ AIRLINE\ DOCS/
[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# ls -al total 1232 
drwxrws---+ 8 root AVMAX+Domain Admins 4096 Apr 13 13:16 . 
drwxrws---+ 23 root AVMAX+Domain Admins 4096 Apr 3 08:14 .. 
drwxrws---+ 7 root AVMAX+Domain Admins 4096 Mar 20 13:01 AALI Reserves
drwxrws---+ 3 root AVMAX+Domain Admins 4096 Mar 20 13:02 Archived 
drwxrws---+ Documents for Reg. 1
-rwxrwx---+ 1 AVMAX+RMesheau AVMAX+Domain Admins 64512 Apr 13 12:56 LOG 
-rwxrwx---+ BOOK entry template.xls
drwxrws---+ 6 root AVMAX+Domain Admins 4096 Mar 30 16:20 Logpages 
drwxrws---+ Monthly Templates Reports etc
-rwxrwx---+ 1 AVMAX+ALee AVMAX+Domain Admins 552448 Apr 13 13:16 MOD SB 
-rwxrwx---+ Compliance Status ALEX.xls
-r--rwx---+ 1 AVMAX+ALee AVMAX+Domain Admins 552448 Apr 12 13:35 MOD SB 
-r--rwx---+ Compliance Status.xls
drwxrws---+ 2 root AVMAX+Domain Admins 4096 Mar 30 16:09 Monthly 
drwxrws---+ Workorder Templates
drwxrws---+ 3 root AVMAX+Domain Admins 4096 Apr 3 09:06 SIP + Audit 
drwxrws---+ Spreadsheets
drwxrws---+ 5 root AVMAX+Domain Admins 4096 Mar 20 13:04 Tally Sheets 
drwxrws---+ for Regional 1

I want all ownerships to remain root:AVMAX+Domain Admins with drwxrws---
set as the permissions. My ACL's look like this for a file: 

[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# getfacl MOD\ SB\ Compliance\
Status.xls # file: MOD SB Compliance Status.xls # owner: AVMAX+ALee #
group: AVMAX+Domain Admins
user::r--
user:root:rwx
group::rw-
group:AVMAX+Planning:rwx
mask::rwx
other::--- 

I think group:AVMAX+Planning:rwx is good but appears to be ineffective
once a user takes ownership of a file. 

And this for a directory: 

[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# getfacl Tally\ Sheets\ for\
Regional\ 1/ # file: Tally Sheets for Regional 1 # owner: root # group:
AVMAX+Domain Admins user::rwx group::rwx group:AVMAX+Planning:rwx
mask::rwx
other::---
default:user::rwx
default:group::rwx
default:group:AVMAX+Planning:rwx
default:mask::rwx
default:other::--- 

Any ideas as to why this is happening? 


Travis Bullock
Systems Administrator
Avmax Group Inc. 
--
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

RE: [Samba] SAMBA Problem - Users take ownership

2007-04-18 Thread Carlos Rivera-Jones
 

   create mask = 0765
   create mode = 0777
   directory mode = 0770
   force create mode = 000


Turn it to

   create mask = 2765
   create mode = 2777
   directory mode = 2770

Delete

   force create mode = 000

Test


carlos

-Original Message-
From: Travis Bullock [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 18, 2007 4:19 PM
To: Carlos Rivera-Jones
Cc: samba
Subject: Re: [Samba] SAMBA Problem - Users take ownership

smb.conf file:

[global]
security = domain
workgroup = AVMAX
netbios name = atlas
map to guest = Bad User

encrypt passwords = yes
password server = 10.2.32.1 10.2.0.4 10.4.0.3
username level = 0
#password server = 10.2.0.3 10.2.0.4 10.2.32.1
deadtime = 3
local master = no
domain master = no
domain logons = no
wins support = yes
remote announce = 10.4.0.0/20 10.3.0.0/20 #winbind use default
domain = yes
winbind separator = +
winbind cache time = 10
idmap uid = 1-2
idmap gid = 1-2
winbind enum users = yes
winbind enum groups = yes

hosts allow = 10.0.0.0/20 10.2.0.0/20 10.2.32.0/20 10.2.16.0/20
10.3.0.0/16 10.128.0.0/16 10.4.0.0/16
interfaces = 10.2.0.12 192.168.0.4
log level = 2 winbind:5

[Planning]
   comment = Avmax Planning Group Share
   browseable = yes
   writable = yes
   read only = no
   create mode = 0770
   directory mode = 0770
   path = /usr/avmax_shares/Planning

[GFQ]
   comment = Great Falls QA
   browseable = yes
   writable = yes
   read  only = no
   create mask = 0765
   create mode = 0777
   directory mode = 0770
   force create mode = 000
   path = /usr/avmax_shares/GFQ


Those are two different types of shares. I am playing with the settings
to see if I can make a difference to the share but so far no joy.
Probably because I don't have a firm understanding of how those settings
work.

Cheers,

Travis

- Original Message -
From: Carlos Rivera-Jones [EMAIL PROTECTED]
To: Travis Bullock [EMAIL PROTECTED], samba
samba@lists.samba.org
Sent: Wednesday, April 18, 2007 2:14:19 PM (GMT-0700) America/Denver
Subject: RE: [Samba] SAMBA Problem - Users take ownership


Smb.conf share settings?

carlos 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Travis Bullock
Sent: Wednesday, April 18, 2007 4:09 PM
To: samba
Subject: Re: [Samba] SAMBA Problem - Users take ownership

Can anyone help me with this? This is a serious problem and it is really
screwing me over.

Cheers,

Travis Bullock
Systems Administrator
Avmax Group Inc.

- Original Message -
From: Travis Bullock [EMAIL PROTECTED]
To: samba samba@lists.samba.org
Sent: Saturday, April 14, 2007 10:12:30 AM (GMT-0700) America/Denver
Subject: [Samba] SAMBA Problem - Users take ownership

Hi, 

I have a problem with my Samba/WinBIND implementation. In folders shared
by multiple people the last one to access and modify a file takes
ownership of the file and changes the permissions so other users cannot
make changes to the same file: 
[EMAIL PROTECTED] PLANNING RECORDS]# cd REGIONAL\ 1\ AIRLINE\ DOCS/
[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# ls -al total 1232 
drwxrws---+ 8 root AVMAX+Domain Admins 4096 Apr 13 13:16 . 
drwxrws---+ 23 root AVMAX+Domain Admins 4096 Apr 3 08:14 .. 
drwxrws---+ 7 root AVMAX+Domain Admins 4096 Mar 20 13:01 AALI Reserves
drwxrws---+ 3 root AVMAX+Domain Admins 4096 Mar 20 13:02 Archived 
drwxrws---+ Documents for Reg. 1
-rwxrwx---+ 1 AVMAX+RMesheau AVMAX+Domain Admins 64512 Apr 13 12:56 LOG 
-rwxrwx---+ BOOK entry template.xls
drwxrws---+ 6 root AVMAX+Domain Admins 4096 Mar 30 16:20 Logpages 
drwxrws---+ Monthly Templates Reports etc
-rwxrwx---+ 1 AVMAX+ALee AVMAX+Domain Admins 552448 Apr 13 13:16 MOD SB 
-rwxrwx---+ Compliance Status ALEX.xls
-r--rwx---+ 1 AVMAX+ALee AVMAX+Domain Admins 552448 Apr 12 13:35 MOD SB 
-r--rwx---+ Compliance Status.xls
drwxrws---+ 2 root AVMAX+Domain Admins 4096 Mar 30 16:09 Monthly 
drwxrws---+ Workorder Templates
drwxrws---+ 3 root AVMAX+Domain Admins 4096 Apr 3 09:06 SIP + Audit 
drwxrws---+ Spreadsheets
drwxrws---+ 5 root AVMAX+Domain Admins 4096 Mar 20 13:04 Tally Sheets 
drwxrws---+ for Regional 1

I want all ownerships to remain root:AVMAX+Domain Admins with drwxrws---
set as the permissions. My ACL's look like this for a file: 

[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# getfacl MOD\ SB\ Compliance\
Status.xls # file: MOD SB Compliance Status.xls # owner: AVMAX+ALee #
group: AVMAX+Domain Admins
user::r--
user:root:rwx
group::rw-
group:AVMAX+Planning:rwx
mask::rwx
other::--- 

I think group:AVMAX+Planning:rwx is good but appears to be ineffective
once a user takes ownership of a file. 

And this for a directory: 

[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# getfacl Tally\ Sheets\ for\
Regional\ 1/ # file: Tally Sheets for Regional 1 # owner: root # group:
AVMAX+Domain Admins user::rwx group::rwx

Re: [Samba] SAMBA Problem - Users take ownership

2007-04-18 Thread Travis Bullock
Thanks Carlos for helping.

PERMISSIONS BEFORE OPENING AND CHANGING AVMAX TOOL LIST FILE:

[EMAIL PROTECTED] Tool_list]# ls -al
total 4360
drwsrws---+ 2 root AVMAX+Domain Admins4096 Apr 18 14:09 .
drwsrws---+ 9 root AVMAX+Domain Admins4096 Feb 22 15:20 ..
-rwsrws---+ 1 root AVMAX+Domain Admins1536 Feb 21 11:18 AF673B00
-rwsrws---+ 1 root AVMAX+Domain Admins 2225664 Apr 18 11:25 atr list.xls
-rwxrwx---+ 1 root AVMAX+Domain Admins 2191872 Apr 18 14:09 AVMAX TOOL LIST 
REVISED.xls

PERMISSIONS AFTER OPEN AND CHANGE:

[EMAIL PROTECTED] Tool_list]# ls -al
total 4360
drwsrws---+ 2 root   AVMAX+Domain Admins4096 Apr 18 14:36 .
drwsrws---+ 9 root   AVMAX+Domain Admins4096 Feb 22 15:20 ..
-rwsrws---+ 1 root   AVMAX+Domain Admins1536 Feb 21 11:18 AF673B00
-rwsrws---+ 1 root   AVMAX+Domain Admins 2225664 Apr 18 11:25 atr 
list.xls
-rwxrwx---+ 1 AVMAX+tbullock AVMAX+Domain Admins 2191872 Apr 18 14:36 AVMAX 
TOOL LIST REVISED.xls

User is still taking ownership. In this case me TBULLOCK. I have seen the 
permissions for the user change as well not just the owner.

Example here is what it looked like after RHazen opened the same file:

[EMAIL PROTECTED] Tool_list]# ls -al
total 4320
drwsrws---+ 2 root AVMAX+Domain Admins4096 Apr 18 13:58 .
drwsrws---+ 9 root AVMAX+Domain Admins4096 Feb 22 15:20 ..
-rwsrws---+ 1 root AVMAX+Domain Admins1536 Feb 21 11:18 AF673B00
-rwsrws---+ 1 root AVMAX+Domain Admins 2225664 Apr 18 11:25 atr list.xls
-r-Srwx---+ 1 AVMAX+RHazen AVMAX+Domain Admins 2154496 Apr 18 13:54 AVMAX TOOL 
LIST REVISED.xls



What do you think?



Travis Bullock
Systems Administrator
Avmax Group Inc.

- Original Message -
From: Carlos Rivera-Jones [EMAIL PROTECTED]
To: Travis Bullock [EMAIL PROTECTED]
Cc: samba samba@lists.samba.org
Sent: Wednesday, April 18, 2007 2:31:38 PM (GMT-0700) America/Denver
Subject: RE: [Samba] SAMBA Problem - Users take ownership

 

   create mask = 0765
   create mode = 0777
   directory mode = 0770
   force create mode = 000


Turn it to

   create mask = 2765
   create mode = 2777
   directory mode = 2770

Delete

   force create mode = 000

Test


carlos

-Original Message-
From: Travis Bullock [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 18, 2007 4:19 PM
To: Carlos Rivera-Jones
Cc: samba
Subject: Re: [Samba] SAMBA Problem - Users take ownership

smb.conf file:

[global]
security = domain
workgroup = AVMAX
netbios name = atlas
map to guest = Bad User

encrypt passwords = yes
password server = 10.2.32.1 10.2.0.4 10.4.0.3
username level = 0
#password server = 10.2.0.3 10.2.0.4 10.2.32.1
deadtime = 3
local master = no
domain master = no
domain logons = no
wins support = yes
remote announce = 10.4.0.0/20 10.3.0.0/20 #winbind use default
domain = yes
winbind separator = +
winbind cache time = 10
idmap uid = 1-2
idmap gid = 1-2
winbind enum users = yes
winbind enum groups = yes

hosts allow = 10.0.0.0/20 10.2.0.0/20 10.2.32.0/20 10.2.16.0/20
10.3.0.0/16 10.128.0.0/16 10.4.0.0/16
interfaces = 10.2.0.12 192.168.0.4
log level = 2 winbind:5

[Planning]
   comment = Avmax Planning Group Share
   browseable = yes
   writable = yes
   read only = no
   create mode = 0770
   directory mode = 0770
   path = /usr/avmax_shares/Planning

[GFQ]
   comment = Great Falls QA
   browseable = yes
   writable = yes
   read  only = no
   create mask = 0765
   create mode = 0777
   directory mode = 0770
   force create mode = 000
   path = /usr/avmax_shares/GFQ


Those are two different types of shares. I am playing with the settings
to see if I can make a difference to the share but so far no joy.
Probably because I don't have a firm understanding of how those settings
work.

Cheers,

Travis

- Original Message -
From: Carlos Rivera-Jones [EMAIL PROTECTED]
To: Travis Bullock [EMAIL PROTECTED], samba
samba@lists.samba.org
Sent: Wednesday, April 18, 2007 2:14:19 PM (GMT-0700) America/Denver
Subject: RE: [Samba] SAMBA Problem - Users take ownership


Smb.conf share settings?

carlos 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Travis Bullock
Sent: Wednesday, April 18, 2007 4:09 PM
To: samba
Subject: Re: [Samba] SAMBA Problem - Users take ownership

Can anyone help me with this? This is a serious problem and it is really
screwing me over.

Cheers,

Travis Bullock
Systems Administrator
Avmax Group Inc.

- Original Message -
From: Travis Bullock [EMAIL PROTECTED]
To: samba samba@lists.samba.org
Sent: Saturday, April 14, 2007 10:12:30 AM (GMT-0700) America/Denver
Subject: [Samba] SAMBA Problem - Users take ownership

Hi, 

I have a problem with my Samba/WinBIND implementation. In folders shared
by multiple people the last one to access

Re: [Samba] SAMBA Problem - Users take ownership

2007-04-18 Thread Jeremy Allison
On Wed, Apr 18, 2007 at 02:08:50PM -0600, Travis Bullock wrote:
 Can anyone help me with this? This is a serious problem and it is really 
 screwing me over.

Experiment with the inherit owner option.

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


[Samba] SAMBA Problem - Users take ownership

2007-04-14 Thread Travis Bullock
Hi, 

I have a problem with my Samba/WinBIND implementation. In folders shared by 
multiple people the last one to access and modify a file takes ownership of the 
file and changes the permissions so other users cannot make changes to the same 
file: 
[EMAIL PROTECTED] PLANNING RECORDS]# cd REGIONAL\ 1\ AIRLINE\ DOCS/ 
[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# ls -al 
total 1232 
drwxrws---+ 8 root AVMAX+Domain Admins 4096 Apr 13 13:16 . 
drwxrws---+ 23 root AVMAX+Domain Admins 4096 Apr 3 08:14 .. 
drwxrws---+ 7 root AVMAX+Domain Admins 4096 Mar 20 13:01 AALI Reserves 
drwxrws---+ 3 root AVMAX+Domain Admins 4096 Mar 20 13:02 Archived Documents for 
Reg. 1 
-rwxrwx---+ 1 AVMAX+RMesheau AVMAX+Domain Admins 64512 Apr 13 12:56 LOG BOOK 
entry template.xls 
drwxrws---+ 6 root AVMAX+Domain Admins 4096 Mar 30 16:20 Logpages Monthly 
Templates Reports etc 
-rwxrwx---+ 1 AVMAX+ALee AVMAX+Domain Admins 552448 Apr 13 13:16 MOD SB 
Compliance Status ALEX.xls 
-r--rwx---+ 1 AVMAX+ALee AVMAX+Domain Admins 552448 Apr 12 13:35 MOD SB 
Compliance Status.xls 
drwxrws---+ 2 root AVMAX+Domain Admins 4096 Mar 30 16:09 Monthly Workorder 
Templates 
drwxrws---+ 3 root AVMAX+Domain Admins 4096 Apr 3 09:06 SIP + Audit 
Spreadsheets 
drwxrws---+ 5 root AVMAX+Domain Admins 4096 Mar 20 13:04 Tally Sheets for 
Regional 1 

I want all ownerships to remain root:AVMAX+Domain Admins with drwxrws--- set as 
the permissions. My ACL's look like this for a file: 

[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# getfacl MOD\ SB\ Compliance\ 
Status.xls 
# file: MOD SB Compliance Status.xls 
# owner: AVMAX+ALee 
# group: AVMAX+Domain Admins 
user::r-- 
user:root:rwx 
group::rw- 
group:AVMAX+Planning:rwx 
mask::rwx 
other::--- 

I think group:AVMAX+Planning:rwx is good but appears to be ineffective once a 
user takes ownership of a file. 

And this for a directory: 

[EMAIL PROTECTED] REGIONAL 1 AIRLINE DOCS]# getfacl Tally\ Sheets\ for\ 
Regional\ 1/ 
# file: Tally Sheets for Regional 1 
# owner: root 
# group: AVMAX+Domain Admins 
user::rwx 
group::rwx 
group:AVMAX+Planning:rwx 
mask::rwx 
other::--- 
default:user::rwx 
default:group::rwx 
default:group:AVMAX+Planning:rwx 
default:mask::rwx 
default:other::--- 

Any ideas as to why this is happening? 


Travis Bullock 
Systems Administrator 
Avmax Group Inc. 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: FW: [Samba] Samba problem with APS .NET web farm (IIS) - change notify

2006-12-14 Thread Alex Orlov
Oh, eee :)
It works two days, and not crash...
Thnx.

-- Damien 'zaide' Desmarets, 11 декабря 2006 18:46:
 Effectively it solves my problem :)
 thanks :)
 
 max mux = 1 is a good value for me and it is the equivalent of a
 MaxMpxCt value inside the database on a windows server.
 
 ?sgeir Halld?rsson a ?crit :
  Forgot to send to list also
  
  Regards,
  ?sgeir Halld?rsson
  
  
  -Original Message-
  From: ?sgeir Halld?rsson
  Sent: 9. desember 2006 04:01
  To: 'Damien 'zaide' Desmarets'
  Subject: RE: [Samba] Samba problem with APS .NET web farm (IIS) - change 
  notify
  
  Hi,
  
  This might help in samba config
  
  [global]
   max open files = 65536
   max mux = 2147483547
   smb ports = 445
  
  Regards,
  ?sgeir Halld?rsson
  
  
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Damien 
  'zaide' Desmarets
  Sent: 7. desember 2006 15:43
  To: Alex Orlov
  Cc: samba@lists.samba.org
  Subject: Re: [Samba] Samba problem with APS .NET web farm (IIS) - change 
  notify
  
  Alex Orlov a ?crit :
  Hi,
  Hello
  i have problems with change notify in my ASP server...
  problem details in this KB http://support.microsoft.com/kb/810886
  but i dont know how fix it in samba?
 
  this man have same problem...
  http://www.nabble.com/Samba-problem-with-web-farm-t2755718.html
  yep and it steel continue
  PS: http://support.microsoft.com/default.aspx?scid=kb;en-us;281253
  
  It could bee cool to found the default value of the MaxMpxCt value in
  samba this could explain something (but i don't think).
  I think it's more a microsoft bug, cause the value you set in your data
  base is ignored at the first packet send by the web server to establish
  a SMB session. You can found this be doing a network capture with wireshark.
  So the answer must come from microsoft and not samba i think.
  Thank to give me your advance in the resolution of this problem.
  --
  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


Re: FW: [Samba] Samba problem with APS .NET web farm (IIS) - change notify

2006-12-13 Thread Alex Orlov
Oh, eee :)
It works two days, and not crash...
Thnx.

-- Damien 'zaide' Desmarets, 11 декабря 2006 18:46:
 Effectively it solves my problem :)
 thanks :)
 
 max mux = 1 is a good value for me and it is the equivalent of a
 MaxMpxCt value inside the database on a windows server.
 
 ?sgeir Halld?rsson a ?crit :
  Forgot to send to list also
  
  Regards,
  ?sgeir Halld?rsson
  
  
  -Original Message-
  From: ?sgeir Halld?rsson
  Sent: 9. desember 2006 04:01
  To: 'Damien 'zaide' Desmarets'
  Subject: RE: [Samba] Samba problem with APS .NET web farm (IIS) - change 
  notify
  
  Hi,
  
  This might help in samba config
  
  [global]
   max open files = 65536
   max mux = 2147483547
   smb ports = 445
  
  Regards,
  ?sgeir Halld?rsson
  
  
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Damien 
  'zaide' Desmarets
  Sent: 7. desember 2006 15:43
  To: Alex Orlov
  Cc: samba@lists.samba.org
  Subject: Re: [Samba] Samba problem with APS .NET web farm (IIS) - change 
  notify
  
  Alex Orlov a ?crit :
  Hi,
  Hello
  i have problems with change notify in my ASP server...
  problem details in this KB http://support.microsoft.com/kb/810886
  but i dont know how fix it in samba?
 
  this man have same problem...
  http://www.nabble.com/Samba-problem-with-web-farm-t2755718.html
  yep and it steel continue
  PS: http://support.microsoft.com/default.aspx?scid=kb;en-us;281253
  
  It could bee cool to found the default value of the MaxMpxCt value in
  samba this could explain something (but i don't think).
  I think it's more a microsoft bug, cause the value you set in your data
  base is ignored at the first packet send by the web server to establish
  a SMB session. You can found this be doing a network capture with wireshark.
  So the answer must come from microsoft and not samba i think.
  Thank to give me your advance in the resolution of this problem.
  --
  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


Re: FW: [Samba] Samba problem with APS .NET web farm (IIS) - change notify

2006-12-11 Thread Damien 'zaide' Desmarets
Effectively it solves my problem :)
thanks :)

max mux = 1 is a good value for me and it is the equivalent of a
MaxMpxCt value inside the database on a windows server.

Ásgeir Halldórsson a écrit :
 Forgot to send to list also
 
 Regards,
 Ásgeir Halldórsson
 
 
 -Original Message-
 From: Ásgeir Halldórsson
 Sent: 9. desember 2006 04:01
 To: 'Damien 'zaide' Desmarets'
 Subject: RE: [Samba] Samba problem with APS .NET web farm (IIS) - change 
 notify
 
 Hi,
 
 This might help in samba config
 
 [global]
  max open files = 65536
  max mux = 2147483547
  smb ports = 445
 
 Regards,
 Ásgeir Halldórsson
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Damien 'zaide' 
 Desmarets
 Sent: 7. desember 2006 15:43
 To: Alex Orlov
 Cc: samba@lists.samba.org
 Subject: Re: [Samba] Samba problem with APS .NET web farm (IIS) - change 
 notify
 
 Alex Orlov a écrit :
 Hi,
 Hello
 i have problems with change notify in my ASP server...
 problem details in this KB http://support.microsoft.com/kb/810886
 but i dont know how fix it in samba?

 this man have same problem...
 http://www.nabble.com/Samba-problem-with-web-farm-t2755718.html
 yep and it steel continue
 PS: http://support.microsoft.com/default.aspx?scid=kb;en-us;281253
 
 It could bee cool to found the default value of the MaxMpxCt value in
 samba this could explain something (but i don't think).
 I think it's more a microsoft bug, cause the value you set in your data
 base is ignored at the first packet send by the web server to establish
 a SMB session. You can found this be doing a network capture with wireshark.
 So the answer must come from microsoft and not samba i think.
 Thank to give me your advance in the resolution of this problem.
 --
 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 problem with APS .NET web farm (IIS) - change notify

2006-12-07 Thread Damien 'zaide' Desmarets
Alex Orlov a écrit :
 Hi,
Hello
 
 i have problems with change notify in my ASP server...
 problem details in this KB http://support.microsoft.com/kb/810886
 but i dont know how fix it in samba?
 
 this man have same problem...
 http://www.nabble.com/Samba-problem-with-web-farm-t2755718.html
yep and it steel continue
 
 PS: http://support.microsoft.com/default.aspx?scid=kb;en-us;281253

It could bee cool to found the default value of the MaxMpxCt value in
samba this could explain something (but i don't think).
I think it's more a microsoft bug, cause the value you set in your data
base is ignored at the first packet send by the web server to establish
a SMB session. You can found this be doing a network capture with wireshark.
So the answer must come from microsoft and not samba i think.
Thank to give me your advance in the resolution of this problem.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba problem with APS .NET web farm (IIS) - change notify

2006-12-06 Thread Alex Orlov
Hi,

i have problems with change notify in my ASP server...
problem details in this KB http://support.microsoft.com/kb/810886
but i dont know how fix it in samba?

this man have same problem...
http://www.nabble.com/Samba-problem-with-web-farm-t2755718.html

PS: http://support.microsoft.com/default.aspx?scid=kb;en-us;281253
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba problem with web farm

2006-12-05 Thread Damien 'zaide' Desmarets
When i capture my traffic and when i see the webserver establish a SMB
session setup, the 'Max Mpx Count' value in this session is locked to
the 50 default value. But i have change it to his maximal value
(0x) in the database like in
http://support.microsoft.com/kb/810886 but it don't seems to take effect.
Do you have some suggestion? Samba can hardcode or to oblige this value?
Greets

Damien 'zaide' Desmarets a écrit :
 Hello list,
 After using NFS with windows with the SFU windows extensions and somes
 sad stories with it, i have decided to migrate to samba.
 Good choice cause everything is right except one thing.
 I get an error on a ASP .NET application only.
 I get a Failed to start monitoring changes to
 '\\UNCSERVER\path\aspapplication'.
 I have search on internet and found somes things about this.
 First :
 http://support.microsoft.com/kb/810886
 I set the value on the client http server to the maximum.
 But the message continue to appear.
 When I run the filemon.exe i get a :
 19:30:27  w3wp.exe:13572  DIRECTORY   
 \\UNCSERVER\path\aspapplication\TOO
 MANY COMMANDS Change Notify   
 The TOO MANY COMMANDS seem to relate to the MaxCmds, but i have put
 at his maximum, in the registry or a samba limitation?
 When i browse the repertory from explorer.exe no problems and no errors.
 When i restart iis the website work very well but after 10minutes i get
 this message.
 Nothing appear in the smbstatus in relation with the ASP application...
 It run on a unique share path.
 I have found some posts who deal with this problem on this list with no
 responses/solutions.
 I can give a wireshark capture from a windows http server to a
 developer, run my samba in debug mode and make a dump during this occur.
 
 Thanks in advance for the resolution of this problem.
 
 Salutations

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


[Samba] Samba problem with web farm

2006-12-04 Thread Damien 'zaide' Desmarets
Hello list,
After using NFS with windows with the SFU windows extensions and somes
sad stories with it, i have decided to migrate to samba.
Good choice cause everything is right except one thing.
I get an error on a ASP .NET application only.
I get a Failed to start monitoring changes to
'\\UNCSERVER\path\aspapplication'.
I have search on internet and found somes things about this.
First :
http://support.microsoft.com/kb/810886
I set the value on the client http server to the maximum.
But the message continue to appear.
When I run the filemon.exe i get a :
19:30:27w3wp.exe:13572  DIRECTORY   
\\UNCSERVER\path\aspapplication\TOO
MANY COMMANDS   Change Notify   
The TOO MANY COMMANDS seem to relate to the MaxCmds, but i have put
at his maximum, in the registry or a samba limitation?
When i browse the repertory from explorer.exe no problems and no errors.
When i restart iis the website work very well but after 10minutes i get
this message.
Nothing appear in the smbstatus in relation with the ASP application...
It run on a unique share path.
I have found some posts who deal with this problem on this list with no
responses/solutions.
I can give a wireshark capture from a windows http server to a
developer, run my samba in debug mode and make a dump during this occur.

Thanks in advance for the resolution of this problem.

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


[Samba] Samba problem

2006-11-07 Thread Roger Martí

Hi, 
I'm a System Administrator of a little bank in Catalonia(Spain). 
I visit your web ( http://www.samba.org) to look for information about a 
problem with shared resources between hosts.
Our problem is:
We want to share directories of the production hosts into the developer 
hosts. 
The hosts are HPUX 11.11, and we have the version A.02.01 of the CIFS 
Client, and A.02.01.01 for the Server.
We have directories in Production hosts with 'root' user, and we want to do 
that other users(not Administrators/root) in the developer hosts could see 
the content of this directories, only for reading.
Also, we want to restrict by group (unix) the acces to this mount points in the 
developer hosts
The problem is that in the production hosts not exists the users/groups of the 
developer hosts.

A practical example:

 Client Host (developers)
  group1: user1, user2, user3
  group2: user5, user 6, user1
  /Mountpoint1/ is a mount point of the shared_dir1 = only visible/accessible 
for the users of group1 
  /Mountpoint2/ is a mount point of the shared_dir2 = only visible/accessible 
for the users of group2.

 Server Host (Production)
  root
  admin1: /Shared_dir1
  admin2: /Shared_dir2

Could you send us the basics steps to resolve our problem?

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


[Samba] samba problem

2006-10-27 Thread Wilson A. Galafassi Jr.
Hello.

I'm using samba as my PDC. My version is samba-3.0.21b-2 with Fedora Core 5.

I having alot of problems specially with windows 98 stations. I have a
program hosted on samba that's uses DBF database and aparently the system
freeze and stop to working on stations. I see in logs this information when
the system freeze: closed connection to service sys

My smb.conf

[global]
   workgroup = DORIGON
   netbios name = SRV
   server string = srv
   smb ports = 139
   printcap name = /etc/printcap
   load printers = yes
  cups options = raw
guest account = nobody
  log file = /var/log/samba/%m.log
   max log size = 50
   security = user
encrypt passwords = yes
  unix password sync = Yes
  passwd program = /usr/bin/passwd %u

  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
   interfaces =  eth1
local master = yes
   os level = 100
domain master = yes
   preferred master = yes
domain logons = yes
 logon script = dorigon.bat
   logon path = \\%L\Profiles\%U
   wins support = yes
dns proxy = no

[homes]
   comment = Pastas dos Usuarios
   public= no
   browseable = no
   writable = yes

[IPC$]
path = /home/tmp
guest ok = yes
valid users =
hosts allow =

[netlogon]
   comment = Compartilhamento de Scripts
   path = /home/netlogon
   guest ok = yes
   writable = yes
   share modes = no
   public= no
   browseable = no

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

[sys]
comment =
path = /home/sys
public = yes
browseable = yes
writable = yes
locking = no
printable = no
valid users= @dorigon
force create mode = 0777
force directory mode = 0777






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


[Samba] Samba problem

2006-06-28 Thread Farid Jafarov

Dear Samba,

I have installed Samba 3.022 version on my FreeBSD 6.1 Release version.
Samba installation purpose is to integrate squid authentication
process with AD2003 system. Everything works fine, by mean users
authenticates and get acces to internet. But if I wanna to implement
group access level for users  I get trouble with winbindd, so it does
not want to work. The trouble is in invalid request size format. I
have searched internet with this problem but theres some solution with
libnss_winbind.so and so on. But I had a look for my system, it seems
it doesnt have such files. It'll be very grate if you point what to
do.
Thanx in advance.

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


[Samba] samba problem

2006-05-25 Thread Ajish Cheeran

hi

My name is Ajish I am working as system administrator. I want to set my
RedHat Enterprise linux machine as authaneticated server. Can u help me ?



Yours
Ajish C.T
System Administrator
Vidya Academy of Science Technology
mob:09895192612


--
Ajish C.T
System Administrator
Vidya Academy of Science Technology
mob:09895192612
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba Problem on AIX

2006-02-17 Thread earl . rose
5300-03 for both servers.  One works fine.  The other worked fine for 
several weeks until yesterday. 





William Jojo [EMAIL PROTECTED] 
02/16/2006 05:57 PM

To
[EMAIL PROTECTED]
cc
samba@lists.samba.org
Subject
Re: [Samba] Samba Problem on AIX








On Thu, 16 Feb 2006, [EMAIL PROTECTED] wrote:

 I've been running Samba3.0.21a on two AIX5.3 servers for several weeks
 with no major problems.  Today, one of the servers stopped working.  I
 received the following message from Windows when I tried to access one 
of
 the share drives:



What does oslevel -r report?

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


[Samba] Samba Problem on AIX

2006-02-16 Thread earl . rose
I've been running Samba3.0.21a on two AIX5.3 servers for several weeks 
with no major problems.  Today, one of the servers stopped working.  I 
received the following message from Windows when I tried to access one of 
the share drives:

An error occurred while reconnecting T: to \\wara01\TSMreports 
Microsoft Windows Network: This local device name is already in use
This connection has not been restored

I received this error a couple of times before.  But when I cleared out 
the logs and refreshed the inetd daemon the problem was resolved. However, 
that did not work today.   I went through all the troubleshooting steps 
and have concluded the following: 
-  Networking software is working
- TCP with FTP is working
- Samba daemons (nmbd  smbd) are running
- The daemons are bound to ports (netstat -a )
- inetd.conf lines are correct
  netbios-ssn stream  tcp nowait  root 
/opt/Samba/3.0.21a/sbin/smbd smbd
  netbios-ns  dgram   udp waitroot 
/opt/Samba/3.0.21a/sbin/nmbd nmbd
- smbd works with telnet
- testparm shows no error messages


The following is where I encountered problems :
/opt/Samba/3.0.21a/bin  ./smbclient -L localhost -U%
Domain=[NA2] OS=[Unix] Server=[Samba 3.0.21a]
tree connect failed: Call timed out: server did not respond after 
2 milliseconds

/opt/Samba/3.0.21a/bin  ./smbclient '\\wara01\root'
session request to WARA01 failed (Call timed out: server did not 
respond after 2 milliseconds)
Password:
Domain=[NA2] OS=[Unix] Server=[Samba 3.0.21a]
tree connect failed: Call timed out: server did not respond after 
2 milliseconds

C:\net use \\wara01\root
System error 121 has occurred.
The semaphore timeout period has expired.

C:\net view \\wara01
System error 121 has occurred.
The semaphore timeout period has expired.

I can't find any help for these particular error messages in 
ch12.html#samba webpage.  I would appreciate any advice anyone has to 
offer.

Thanks
Earl

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


Re: [Samba] Samba Problem on AIX

2006-02-16 Thread William Jojo



On Thu, 16 Feb 2006, [EMAIL PROTECTED] wrote:


I've been running Samba3.0.21a on two AIX5.3 servers for several weeks
with no major problems.  Today, one of the servers stopped working.  I
received the following message from Windows when I tried to access one of
the share drives:




What does oslevel -r report?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba Problem on AIX

2006-02-16 Thread William Jojo



On Thu, 16 Feb 2006, [EMAIL PROTECTED] wrote:



An error occurred while reconnecting T: to \\wara01\TSMreports
Microsoft Windows Network: This local device name is already in use
This connection has not been restored

I received this error a couple of times before.  But when I cleared out
the logs and refreshed the inetd daemon the problem was resolved. However,
that did not work today.   I went through all the troubleshooting steps
and have concluded the following:
-  Networking software is working
- TCP with FTP is working
- Samba daemons (nmbd  smbd) are running
- The daemons are bound to ports (netstat -a )
- inetd.conf lines are correct
 netbios-ssn stream  tcp nowait  root
/opt/Samba/3.0.21a/sbin/smbd smbd
 netbios-ns  dgram   udp waitroot
/opt/Samba/3.0.21a/sbin/nmbd nmbd
- smbd works with telnet
- testparm shows no error messages



I've not had a log of success with inetd controlling access to Samba. You 
should either script the nmbd and smbd startup or use swat. smbd will fork 
children as necessary.


You may also want to look at 3.0.21b based on the release note entries 
alone.



Cheers,

Bill

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


[Samba] Samba problem

2005-10-27 Thread diamondz
I have several Sun Solaris 8 servers running samba 2.2.7a.  I have Windows 2000 
and Windows NT workstations mapping to the servers.  The problem we are 
experiencing is drag and drop does not work.  I've tried several options in the 
smb.conf file and none work.  
Any help would be greatly appreciated.
Thanks,
Cathy

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


Re: [Samba] Samba problem

2005-10-27 Thread Craig White
On Thu, 2005-10-27 at 15:44 -0400, [EMAIL PROTECTED] wrote:
 I have several Sun Solaris 8 servers running samba 2.2.7a.  I have Windows 
 2000 and Windows NT workstations mapping to the servers.  The problem we are 
 experiencing is drag and drop does not work.  I've tried several options in 
 the smb.conf file and none work.  
 Any help would be greatly appreciated.
 Thanks,
 Cathy

lest you think that no one is paying attention, consider...

- samba 2.2.x is ancient history and no longer in development.

- logs ? no indication that you checked them for clues

- 'drag and drop doesn't work' doesn't actually offer much clarity to
the issue. A better explanation includes what you are doing, what
happens and what you expect to happen. Are you saying that if \\Solaris1
\file_share is mapped to J:\ on Windows 2000 professional system and
from DOS Prompt 'copy My_file.doc j:\' works but doing the same thing
with Windows Explorer doesn't work, that would seem unlikely.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


[Samba] Samba Problem

2005-10-06 Thread Gruener, Hannes
Hallo my name is Hannes Grüner.

 

I have some problem with the samba server and don't know is it possible to help 
me.

 

I'm use the Samba Version 3.0.14a and authenticate this over Kerberos to a 
windows 2003 domain. This works fine because I have some Problems with the 
folder permissions:

 

I'm using an server with is connected with USB 2.0 to an external storage. If 
change the owner permissions to a domain user it works fine but when I change 
the group permissions to a domain group it doesn't work.

When I make this on the local disk everything works.

Is there some Problems witch authentication over USB 2.0?

 

If you can help me Thanks

Very much

 

Hannes Grüner

 

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


[Samba] Samba problem under IRIX ....

2005-04-10 Thread William A. Mahaffey III
 I am using Samba 2.2.2 (from SGI freeware) under IRIX 6.5.20 very 
successfully until a few weeks ago. I use it to backup my Gtw 1600 MHz 
box using smbclient under cron for automated backups. I attach a small 
file of error messages I am getting now. This worked (for months) when I 
first set it up about 15-18 months ago. Unfortunately at some 
indetermniate time in the recent past (a few weeks ?) it stopped working 
(not much help, I know :-)).

--
William A. Mahaffey III
--
In your best 'James Earl Jones w/ light echo'
(a.k.a. Darth Vader) voice:
Never underestimate the POWER of the keyboard.

error messages in LOG file 

Unknown parameter encountered: share modes
Ignoring unknown parameter share modes
added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
session setup failed: ERRSRV - 2242

.
.
.
.

WAM III on OCTANE 10:30:36am 759 % /usr/samba/bin/smbclient //gtw1600/c -U% -D 
Documents and Settings/wam/My Documents
Unknown parameter encountered: share modes
Ignoring unknown parameter share modes
added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
Domain=[CFDINC] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
WAM III on OCTANE 10:30:57am 760 % /usr/samba/bin/smbclient //gtw1600/c -N -D 
Documents and Settings/wam/My Documents
Unknown parameter encountered: share modes
Ignoring unknown parameter share modes
added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
Anonymous login successful
Domain=[CFDINC] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
WAM III on OCTANE 10:31:10am 761 % /usr/samba/bin/smbclient //gtw1600/c 
-Uuser%passwd -D Documents and Settings/wam/My Documents
Unknown parameter encountered: share modes
Ignoring unknown parameter share modes
added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
session setup failed: ERRSRV - 2242
WAM III on OCTANE 10:37:42am 762 % 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] SAMBA problem

2005-03-16 Thread samba
Hello all,

We are configuring a SAMBA server with multipile Windows 2000 computers.  We are
using Debian Sarge (Testing) and using the SAMBA software (3.0.10) that comes
with it.  We have populated the smb.conf file with just the following:


netbios name = server-cardiff
workgroup = bda-cdf
passdb backend = tdbsam
os level = 65
preferred master = yes
domain master = yes
local master = yes
security = user
domain logons = yes


and then started the server, and the log shows:

Mar 16 19:23:44 server-cardiff nmbd[5586]: [2005/03/16 19:23:44, 0]
nmbd/nmbd_logonnames.c:become_logon_server_success(124)
Mar 16 19:23:44 server-cardiff nmbd[5586]:   become_logon_server_success: Samba
is now a logon server for workgroupBDA-CDF on subnet 10.3.1.3
Mar 16 19:23:44 server-cardiff nmbd[5586]: [2005/03/16 19:23:44, 0]
nmbd/nmbd_logonnames.c:become_logon_server_success(124)
Mar 16 19:23:44 server-cardiff nmbd[5586]:   become_logon_server_success: Samba
is now a logon server for workgroupBDA-CDF on subnet 10.3.1.3
Mar 16 19:23:48 server-cardiff nmbd[5586]: [2005/03/16 19:23:48, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
Mar 16 19:23:48 server-cardiff nmbd[5586]:   *
Mar 16 19:23:48 server-cardiff nmbd[5586]:
Mar 16 19:23:48 server-cardiff nmbd[5586]:   Samba server SERVER-CARDIFF is now
a domain master browser for workgroup BDA-CDF on subnet 10.3.1.3
Mar 16 19:23:48 server-cardiff nmbd[5586]:
Mar 16 19:23:48 server-cardiff nmbd[5586]:   *

Then I do an smbpasswd -a piersk and enter the password.

All seems OK.  Then take one Windows 2000 computer, go to System Properties,
then Network Identification, then click on Properties, select domain and
type in bda-cdf and click on OK and after a while, it asks for the username
and password, and I enter piersk as username, and then the password, and it
always return an Logon filure: unknown username or bad password even tho
pdbedit -Lv | grep piers shows an entey.  We have been attacking this problem
for several hours and we don't know what's wrong - we even tried debug level 3
but it's not showing anything helpful - does anyone have an idea where we are
going wrong?

Thanks very much for your help in advance

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


Re: [Samba] SAMBA problem

2005-03-16 Thread Tony Earnshaw

[EMAIL PROTECTED]:

[...]

 Then I do an smbpasswd -a piersk and enter the password.


 All seems OK.  Then take one Windows 2000 computer, go to System
 Properties,
 then Network Identification, then click on Properties, select domain
 and type in bda-cdf and click on OK and after a while, it asks for the
 username and password, and I enter piersk as username, and then the
 password, and it always return an Logon filure: unknown username or bad
 password even tho pdbedit -Lv | grep piers shows an entey.  We have
 been attacking this problem for several hours and we don't know what's
 wrong - we even tried debug level 3 but it's not showing anything helpful
 - does anyone have an idea where we are
 going wrong?

Basically,you have first to create a Posix user including his Posix group
(like in /etc/passwd and /etc/group - or the same in LDAP or NIS? if
you're into those), and only then can you run smbpasswd on that.

It's all in the docs, follow the docs (aka RTFM).

 Thanks very much for your help in advance

I didn't help in advance, I tried to help afterward. Read the docs, is
good advice for help in advance.

--Tonni

--
mail: [EMAIL PROTECTED]
http://www.billy.demon.nl

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


[Samba] Samba Problem

2005-02-25 Thread gerard . lynch
Hi

this is really a last resort as I'm literally pulling my hair
out over AIX and Samba and cannot find any threads on this particular
issue.

Basically we have  3 systems running  AIX 5.1 and Samba  2.2.7
We upgraded one system to Aix 5.2 and everything works no problem.

Upgraded the next  two and both will not join the domain using
the   smbpasswd -j  domain-name -r  ny000 -U  myaccount.
After the password is entered they just hang even although I can query
the domain using  smbclient -L  ny000 -U myaccount.

Tried re-installing etc and to no avail so now we're out of ideas and
really
need to get 5.2 working with Samba. Note also tried  newer versions of
Samba too.

Any suggestions you may have would be great

Regards

Gerry



This message and any attachments (the message) is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

-

Ce message et toutes les pieces jointes (ci-apres le 
message) sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.

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


Re: [Samba] Samba Problem

2005-02-25 Thread Doug VanLeuven
Hi Gerry,
[EMAIL PROTECTED] wrote:
Hi
this is really a last resort as I'm literally pulling my hair
out over AIX and Samba and cannot find any threads on this particular
issue.
Basically we have  3 systems running  AIX 5.1 and Samba  2.2.7
We upgraded one system to Aix 5.2 and everything works no problem.
Upgraded the next  two and both will not join the domain using
the   smbpasswd -j  domain-name -r  ny000 -U  myaccount.
After the password is entered they just hang even although I can query
the domain using  smbclient -L  ny000 -U myaccount.
Tried re-installing etc and to no avail so now we're out of ideas and
really
need to get 5.2 working with Samba. Note also tried  newer versions of
Samba too.
Any suggestions you may have would be great
 

I originally migrated to AIX 5.2 by recompiling samba 2.2.8a and just 
running it without changing any of the samba config or data files.  
There was no need to rejoin.

I don't know if it's too late for that, but potentially you could 
restore a backup of the samba install/private directory from before you 
tried to join and it should just work unless the machine password has 
already been changed.

Other than that, once or twice my AIX samba got out of sync with the 
domain controller.  I found I had to delete the old account on the PDC 
before attempting to create a new one from the command line.  But don't 
do that until the backup fails to work.

myaccount would need to be a domain admin.
Regards, Doug
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] SAMBA problem.

2004-12-10 Thread Pant Sandeep
Hi, 
Here I would like to share one problem may be related to SAMBA. 
We are using SAP ERP system, SAP central instance is on HP-UX /SAMBA system
and SAP application servers are on Window servers and window servers access
the files from SAP central instance which is on HP UX via SAMBA share. 
Sometimes we face the problem of read/write access to the files shared by
SAMBA on UNIX server. 
Please guide us to resolve the problem and let us know if you need any
further information. 
Regards, 
Sandeep Pant 

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


[Samba] samba problem

2004-07-04 Thread Danesh Daroui
Hi all,

I have installed Samba 3 on a system with Linux Fedora Core 2. When I use SWAT it 
shows that SMBD daemon is not running. I click on restart and run button too, but 
nothing happens and it is still not running, but when I run on the Terminal prompt

smb restart

it shows that SMBD and NMBD daemons both shut down and restarts successfuly, but SWAT 
shows something different. Why ? Please help me...

Regards,

Danesh Daroui

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


[Samba] Samba problem on HP-UX

2004-06-03 Thread lkapoor




Hi All,
I am using samba 2.2.8a on HP-UX 11.11 server.

The problem i am facing is that after making 10-12 shares, it does not
allow new mappings. While trying from smbclient it is saying
 SMBSERVER failed  .

Kindly let me know any config options needs to be set in smb.conf

Regds/Lalit Kapoor

DISCLAIMER: This message is proprietary to Hughes Software Systems Limited
(HSS) and is intended solely for the use of the individual to whom it is
addressed. It may contain  privileged or confidential information and
should not be circulated or used for any purpose other than for what it is
intended. If you have received this message in error, please notify the
originator immediately. If you are not the intended recipient, you are
notified that you are strictly prohibited from using, copying, altering, or
disclosing the contents of this message. HSS accepts no responsibility for
loss or damage arising from the use of the information transmitted by this
email including damage from virus.

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


Re: [Samba] Samba problem on HP-UX

2004-06-03 Thread eric roseme
You probably have the default HP-UX kernal values for nfiles and 
nflocks. You need to increase these for connecting more than 10 users. 
Here are formulas:

nflocks
(10*maximum smbd)+(other apps + system)
example 1000 connected clients and baseline NFS system
(10*1000)+(2048) = 12048
nfile
((23+opens_per_smbd)*maximum smbd)+(other apps+system))
example 1000 connected clients and baseline NFS system
((23+7)*1000)+(8192)=38192
Eric Roseme
Hewlett-Packard
[EMAIL PROTECTED] wrote:

Hi All,
I am using samba 2.2.8a on HP-UX 11.11 server.
The problem i am facing is that after making 10-12 shares, it does not
allow new mappings. While trying from smbclient it is saying
 SMBSERVER failed  .
Kindly let me know any config options needs to be set in smb.conf
Regds/Lalit Kapoor
DISCLAIMER: This message is proprietary to Hughes Software Systems Limited
(HSS) and is intended solely for the use of the individual to whom it is
addressed. It may contain  privileged or confidential information and
should not be circulated or used for any purpose other than for what it is
intended. If you have received this message in error, please notify the
originator immediately. If you are not the intended recipient, you are
notified that you are strictly prohibited from using, copying, altering, or
disclosing the contents of this message. HSS accepts no responsibility for
loss or damage arising from the use of the information transmitted by this
email including damage from virus.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba problem of users access

2004-05-21 Thread riviere guillaume
Dear all samba users,

We try to install a Samba files server as a member of a W2K network.
The domain controler is a W2K server with Active Directories, Groups and
users.

We want to shared our linux disk with rigths in function of thoses
groups and users.

We use Samba 3 and a GNU/Debian sarge distribution.

There is no problem to join the W2K network:

$ net rpc join -U Administrator
password: ...
Joined domain MYDOMAIN.

We see all groups and users:

$ wbinfo -u
guillaume
foo
faa
fii
...

$wbinfo -g
mygroup
othergroup
...

We can see the disk from the W2K network, no problems.

The problem is that is I put as a valid users a user name it's not work:
For exemple, my user name is guillaume and my group is mygroup:

1/ If I put in smb.conf the line:

valid users = @mygroup

it work, only members of mygroup (and so guillaume) can access to this
folder

2/ If I put in smb.conf the line:

valid users = guillaume

It doesn't work, I cannot access to this folder with the guillaume user,
and this is the same problem with invalid users, admin users ... only
groups work.

Do you know somthing about this problem, I try to search on google but
it's difficult to explain for search ...




Here is my smb.conf:
# Global parameters
[global]
workgroup = MYDOMAIN
security = DOMAIN
printcap name = cups
disable spoolss = Yes
show add printer wizard = No
idmap uid = 15000-2
idmap gid = 15000-2
winbind separator = +
winbind use default domain = Yes
use sendfile = Yes
printing = cups

[myshared]
comment = This folder is shared
path = /var/shared/
valid users = guillaume
read only = No


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


[Samba] Samba problem

2004-04-08 Thread Baran YURDAGUL
Hi List,
I am new to this group and also samba :) 
I have setup a samba server on hp-ux 10.20 and 11.00. I have a very
basic smb.conf file but when the smbd daemon reaches 20 in the samba
server, no W2k client can connect to samba shares. They get remote
computer not available message ! I am using samba only for file
sharing..

Any ideas ?

Thanks,regards!





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


Re: [Samba] samba: problem in copying directories with many files

2004-01-15 Thread Jeremy Allison
On Thu, Jan 15, 2004 at 12:08:52AM -0500, Mitch Crane wrote:
 
 I see. I can also reproduce the symptoms, btw, with:
 smbclient //some-server/some-share -U user%pass -c 'dir foo/*' | wc -l
 
 Though I see the missing entries less frequently (which is why I originally
 thought smbclient was ok).

Does this happen using smbclient to smbd or does this only happen
against a Windows server ?

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


RE: [Samba] samba: problem in copying directories with many files

2004-01-15 Thread Mitch Crane
 On Thu, Jan 15, 2004 at 12:08:52AM -0500, Mitch Crane wrote:
 
  I see. I can also reproduce the symptoms, btw, with:
  smbclient //some-server/some-share -U user%pass -c 'dir foo/*' | wc -l
 
  Though I see the missing entries less frequently (which is why I
 originally
  thought smbclient was ok).
 
 Does this happen using smbclient to smbd or does this only happen
 against a Windows server ?
 
 Jeremy.

I don't know. I suspect it's just against a Windows server, and possibly
just 2000 and XP (maybe 2003). I've only seen it when accessing my Windows
XP machine, and all the reports I googled involved Windows based shares. I
run the one Linux web server which only uses the client to serve files which
reside on my XP box.



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


Re: [Samba] samba: problem in copying directories with many files

2004-01-14 Thread Jeremy Allison
On Tue, Jan 13, 2004 at 06:55:15AM -0500, Mitch Crane wrote:
 
 That's why I added that no one from the samba team had acknowledged it--I
 wasn't sure you guys were aware of it, just that some people were. I only
 joined the samba list about 2 weeks ago (mainly in search of a solution for
 this problem) yet I've seen four reports of this problem (including this one
 and mine) or something similar.

Ok - the problem is this looks like a smbfs problem, not a Samba
server problem. The Samba Team doesn't maintain smbfs - one of our
members (Steve French from IBM) has written and maintains cifsvfs,
the replacement for smbfs. I don't think we can promise to fix any
smbfs problem as we aren't the maintainers.

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


RE: [Samba] samba: problem in copying directories with many files

2004-01-14 Thread Mitch Crane


 -Original Message-
 From: Jeremy Allison [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 14, 2004 11:33 PM
 To: Mitch Crane
 Cc: 'Jeremy Allison'; [EMAIL PROTECTED]
 Subject: Re: [Samba] samba: problem in copying directories with many files
 
 Ok - the problem is this looks like a smbfs problem, not a Samba
 server problem. The Samba Team doesn't maintain smbfs - one of our
 members (Steve French from IBM) has written and maintains cifsvfs,
 the replacement for smbfs. I don't think we can promise to fix any
 smbfs problem as we aren't the maintainers.

I see. I can also reproduce the symptoms, btw, with:
smbclient //some-server/some-share -U user%pass -c 'dir foo/*' | wc -l

Though I see the missing entries less frequently (which is why I originally
thought smbclient was ok).




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


RE: [Samba] samba: problem in copying directories with many files

2004-01-13 Thread Mitch Crane
 From: Jeremy Allison [mailto:[EMAIL PROTECTED]
 Subject: Re: [Samba] samba: problem in copying directories with many files

 On Mon, Jan 12, 2004 at 05:48:19PM -0500, Mitch Crane wrote:
 
  If you are mounting a share from your XP machine then yes, it's a known
  problem. Though I don't recall anyone from the samba team actually
  acknowledging it, I have the problem and I have seen several other
 reports
  of this problem.
 
 Not a known problem to us :-). This is the first I've seen
 of it. Do you have a reproducible test case for this ?

That's why I added that no one from the samba team had acknowledged it--I
wasn't sure you guys were aware of it, just that some people were. I only
joined the samba list about 2 weeks ago (mainly in search of a solution for
this problem) yet I've seen four reports of this problem (including this one
and mine) or something similar.

My post:
http://groups.google.com/groups?hl=enlr=ie=UTF-8oe=utf-8safe=offselm=1
9W2K-6UJ-11%40gated-at.bofh.it

Seems to be the same issue:
http://groups.google.com/groups?hl=enlr=ie=UTF-8oe=utf-8safe=offselm=1
b1Ws-4Sl-13%40gated-at.bofh.it


Possibly related:
http://groups.google.com/groups?q=%5BSamba%5D+Issues+with+SMBFShl=enlr=i
e=UTF-8oe=utf-8safe=offselm=19Dtg-6cT-23%40gated-at.bofh.itrnum=1

Also, searching Google reveals other reports of the same or similar issues
(some fairly old).

 If so I'll commit to get it fixed for 3.0.2 final - but if
 it's a only happens sometimes kind of thing it will take
 longer and probably not make 3.0.2.

I can reproduce it on my machine. I only have the one Linux box and one
Windows box, but this problem has persisted for months while I've gone from
Redhat 9 to SuSE 9, through various kernel versions (all 2.4.*) and a
complete reinstall on the Windows side. (I'm running 3.0.1 now, btw, though
I original discovered the issue in 2.2.x)

It seems to happen fairly consistently, though it's worse at times than
others. The more files in a directory, the more likely it is to occur. 

 Send me details asap (I'm in Australia at the moment so will
 be working funny timezones).

I filed a bug report which details some of my findings:
https://bugzilla.samba.org/show_bug.cgi?id=939

I hope it wasn't too rambling. Take this with several hundred grains of
salt, but it seems to me, from looking at Ethereal captures, that it could
actually be a problem on the Windows side. The XP box appear to, at random
times, skip a directory item on FIND_NEXT2 commands.

Also, Michael Pflüger reported that using CIFS solved the problem.
Unfortunately, I have no idea how to do that (though I did try, always
ending in a target server not found and error 22).



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


RE: [Samba] samba: problem in copying directories with many files

2004-01-12 Thread Mitch Crane
 We have setup samba share between XP and Redhat 8.0. We usually deal
 with copying directories with 1000 files over samba share. When we copy,
 we always find that few files are randomly skipped in copying and one
 has to copy few times to get all the files.
 Is this a known problem and is there any fix for this?

If you are mounting a share from your XP machine then yes, it's a known
problem. Though I don't recall anyone from the samba team actually
acknowledging it, I have the problem and I have seen several other reports
of this problem.



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


Re: [Samba] samba: problem in copying directories with many files

2004-01-12 Thread Jeremy Allison
On Mon, Jan 12, 2004 at 05:48:19PM -0500, Mitch Crane wrote:
 
 If you are mounting a share from your XP machine then yes, it's a known
 problem. Though I don't recall anyone from the samba team actually
 acknowledging it, I have the problem and I have seen several other reports
 of this problem.

Not a known problem to us :-). This is the first I've seen
of it. Do you have a reproducible test case for this ?

If so I'll commit to get it fixed for 3.0.2 final - but if
it's a only happens sometimes kind of thing it will take
longer and probably not make 3.0.2.

Send me details asap (I'm in Australia at the moment so will
be working funny timezones).

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


[Samba] samba: problem in copying directories with many files

2004-01-09 Thread Suresh Narayanan
Hi,

We have setup samba share between XP and Redhat 8.0. We usually deal 
with copying directories with 1000 files over samba share. When we copy, 
we always find that few files are randomly skipped in copying and one 
has to copy few times to get all the files.
Is this a known problem and is there any fix for this?

Thanks.

Suresh



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


Re: [Samba] samba: problem in copying directories with many files

2004-01-09 Thread John H Terpstra
Suresh,

I am sure that you know exactly what you are doing, but from your
description it is not clear at all.

I can see that you believe that you have a problem, a pretty bad one at
that. If this is a Samba problem, we really ought to fix it, if it has not
been fixed already.

But please help us to understand what you are doing. Here are three
possible interpretations of your posting:

 Case A --

A. You have configured Samba. Your RH 8.0 server is used as a file server
and you have configured a directory on the hard disk storage of that Red
Hat server for which you have in your smb.conf file created a share.

In this situation, your Windows XP clients map a drive letter to the Samba
server. Users on that machine make use of the network drive.

Sometimes your users copy up to 1000 files off their local hard disk using
Microsoft Windows Explorer and copy them to the Network drive that maps to
the Samba server. When this operation completes, you find files missing.

That is a serious problem, if it is a Samba problem. We would need to
investigate that to find the cause.


 Case B --

B. You have shared data that resides on a Windows XP machine. The
application runs locally and stores its data on the Windows XP machine.

You have a Red Hat 8.0 machine. You log onto the Red Hat 8.0 machine
and you mount the file system resource that is on the Windows XP machine
as part of your Linux file system. In other words, you use the smbmount
tool.

You may be using:
mount -t smbfs -ousername=x,password=xxx,rw,uid=xxx,gid=xxx \
//windowsxpmachine/share /mnt/windowsxp

_OR_ you may be using:

smbmount //windowsxpmachine/share /mnt/windowsxp -o 'options'

_OR_ you may be using:

smbmnt /mnt/windowsxp -s //windowsxpmachine/share -u xxx -g xxx


When you have mounted the Windows share unto your local Linux file system
you copy (Ipresume using the UNIX cp command) files from the
/mnt/windowsxp directory to some part of the local Linux file system.

 Case C --

C. You log onto the Red Hat Linux 8.0 machine, change into a directory you
want to copy files to, then you use the smbclient tool to copy the files
across, just like yo would if you wree using FTP.


-

So please help us to understand precisely what you are doing. I makes a
huge difference.

Case A means we possibly have a serious bug in Samba.

Case B means there is a bug in smbfs (well known). But smbfs is part of
the Linux kernel and is not Samba.

Case C means we may have a bug in the smbclient tool. One that needs to be
fixed.


I look forward to your clarification.

- John T.



On Fri, 9 Jan 2004, Suresh Narayanan wrote:

 Hi,

 We have setup samba share between XP and Redhat 8.0. We usually deal
 with copying directories with 1000 files over samba share. When we copy,
 we always find that few files are randomly skipped in copying and one
 has to copy few times to get all the files.
 Is this a known problem and is there any fix for this?

 Thanks.

 Suresh





-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba: problem in copying directories with many files

2004-01-09 Thread Bob Crandell
Hi,

This problem is really bad in Win98.  I would have thought MS would have that fixed
in WinXP.  Try XCOPY Source: Destination: /R /I /C /H /K /E /Y from the DOS prompt
instead.

I hope this helps.

Suresh Narayanan ([EMAIL PROTECTED]) wrote:

Hi,

We have setup samba share between XP and Redhat 8.0. We usually deal
with copying directories with 1000 files over samba share. When we copy,
we always find that few files are randomly skipped in copying and one
has to copy few times to get all the files.
Is this a known problem and is there any fix for this?

Thanks.

Suresh





--
Assured Computing
When you need to be sure.
[EMAIL PROTECTED]
www.assuredcomp.com
Voice - 541-868-0331
FAX - 541-463-1627
Eugene, Oregon


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


[Samba] Samba Problem

2003-10-13 Thread Sampath Ganji
Hi,

I have the below shown network setup.

IP from ISP
---
| Gateway |-NATed and Firewalled (E-mail and web server)
---
 | 192.168.0.1
 |
 -
 |  |  | |
 |.2|.3|.4   |.5
---------   ---
|SAMBA||Clnt ||Clnt |   |Routr|-Wireless Router
---------   ---
 Samba OK   Samba OK | 192.168.1.1
 WWW   OK   WWW   OK |
   -
   |   |
192.168.1.2|   |192.168.1.3
--- ---
  Wired Client-|Clnt | |Clnt |-Wireless Client
--- ---
Samba NoSamba No
WWW   OKWWW   OK
The samba server can be accessed from the clients directly connected to 
the gateway and can connect to the internet without any problem.

From the clients behind the router... everything (Internet, E-mail) is 
okay. And also telnet 192.168.0.2 works good. But when the samba server 
is searched from the Client (192.168.1.2 or 192.168.1.3 both running 
windows XP) it fails. Does it have to do anything with samba? I have set 
hosts allow = 192.168.0. 127. 192.168.1. in the samba server 
configuration.

Please help.

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


Re: [Samba] Samba Problem

2003-10-13 Thread Alexey Lobanov
Hi.

On 13 Oct 2003 at 14:23, Sampath Ganji wrote:

  From the clients behind the router... everything (Internet, E-mail) is 
 okay. And also telnet 192.168.0.2 works good. But when the samba server 
 is searched from the Client (192.168.1.2 or 192.168.1.3 both running 
 windows XP) it fails.

Surely. By default routers do not pass broadcast packets, and browsing uses 
broadcast in absence of WINS or DNS server. See docs/textdocs/BROWSING.txt for 
details.

 Does it have to do anything with samba?

Enable WINS in Samba (RTFM), and configure 192.168.0.1 as WINS server in all 
clients. Either manually or via DHCP.

Alexey

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


RE: Re[2]: [Samba] Samba problem

2003-08-19 Thread PHELPS, SCOTT

 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:samba-
 [EMAIL PROTECTED] On Behalf Of Àíäðåé
Åäóíîâ
 Sent: Tuesday, August 19, 2003 3:55 AM
 To: [EMAIL PROTECTED]
 Subject: Re[2]: [Samba] Samba problem
 
  I know this is stating the obvious, but it appears that the server
is
  unreachable.  A few questions:
 
  - Can you ping Samba Server and 'password server'?
  - Are you using hostname or IP as 'password server='
 
 
  We need more info to help you..  ;-)
 
 
  --
  Scott
  --
 
 Thanks for replay Scott!
 
 Sure I can ping both of this servers (but they in the different
 subnetworks)
 I'm using hostname as 'password server=', but after your advice i
replace
 this string to IP, the same problem.
 
 and one more thing, in Event Log if 'password server' i got the
following
 message:
 
 Can't determinate username or hostname. Returned code 1326.
 
 Any ideas?

You'll have to crank up debugging to like 3 or 4 and watch the output.
Also if it works for a while and then stops then you may have other
issues.  You'll have to isolate it via normal IT detective work.  :)

Then you can submit an effective bug report if necessary.

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


[Samba] Samba problem

2003-08-18 Thread
Hi list! 

I have some problem with my Samba samba-2.2.5-178 
I'm using the following config: 

 
security = SERVER 
password server = some_server.com 
 

All work fine some time (about 30 minutes). After that I receive the message in Samba 
log: 

[2003/08/18 14:11:27, 0] lib/util_sock.c:write_socket_data(499) 
write_socket_data: write failure. Error = Connection reset by peer 

After this message when I try to map some shared resource using net use command on 
Windows box, I receive the next message: 

[2003/08/18 14:21:28, 1] smbd/password.c:server_validate(1099) 
password server is not connected 
[2003/08/18 14:21:28, 1] smbd/password.c:pass_check_smb(545) 
Couldn't find user 'and' in passdb. 

What does it mean? And how can I close this problem? 

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


RE: [Samba] Samba problem

2003-08-18 Thread PHELPS, SCOTT
 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:samba-
 [EMAIL PROTECTED] On Behalf Of Àíäðåé
Åäóíîâ
 Sent: Monday, August 18, 2003 11:32 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Samba problem
 
 Hi list!
 
 I have some problem with my Samba samba-2.2.5-178
 I'm using the following config:
 
 
 security = SERVER
 password server = some_server.com
 
 
 All work fine some time (about 30 minutes). After that I receive the
 message in Samba log:
 
 [2003/08/18 14:11:27, 0] lib/util_sock.c:write_socket_data(499)
 write_socket_data: write failure. Error = Connection reset by peer
 
 After this message when I try to map some shared resource using net
use
 command on Windows box, I receive the next message:
 
 [2003/08/18 14:21:28, 1] smbd/password.c:server_validate(1099)
 password server is not connected
 [2003/08/18 14:21:28, 1] smbd/password.c:pass_check_smb(545)
 Couldn't find user 'and' in passdb.
 
 What does it mean? And how can I close this problem?

I know this is stating the obvious, but it appears that the server is
unreachable.  A few questions:

- Can you ping Samba Server and 'password server'?
- Are you using hostname or IP as 'password server='


We need more info to help you..  ;-)


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


[Samba] Samba - problem

2003-08-14 Thread Mariusz Rosinski
Hi 
I have small problem - samba-2.2.7a-7.9.0 for Red Hat 9... 
When I copy more files or large file with Server Samba to Windows 98, all computer 
(server samba) restart... so 

Mariusz Rosinski 

PS Sorry, my English is not very well - but :)) 



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


[Samba] Samba problem with WinXP

2003-06-03 Thread Ziemowit Marcinkowski
We have some problems in our Network, some times when we tried to login in to 
samba server we cann't go in, there is a window prompting to write user and password, 
but the data used day before doesn't work, only one way to work is go to administrator 
and he must change smbpasswd. We don't wont to expire the password and we donnt know 
where the problem is. We aren't permision to change passwd by the console because, 
there is no permision to password file. So mayby there is some configuration to don't 
expire password i Samba, or mayby there is WinXP some bug or switch.

Best Regards, and thank you for your help

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


[Samba] Samba problem

2003-02-07 Thread Angie Yee
Hi there:

My problem is (I have asked this question for lots of time but no one can
give me the answer):

I have a Redhat 7.0 server with Samba 2.0.7-2 ssl.  We have upgraded Samba
to 2.2.7a by using tar.gz..
Before I upgrade to 2.2.7a, I checked the samba version as below:

Samba-2.0.7-2 ssl
Samba-common-2.0.7-2 ssl
Samba-client-2.0.7-2 ssl

Then after I upgraded to Samba 2.2.7a, I check the samba version as below:

Samba-2.2.7a (upgrade)
Samba-common-2.0.7-2 ssl (still the same)
Samba-client-2.0.7-2 ssl (still the same)

 I supposed that the Samba is upgraded.After 2 weeks, the users reported
that they cannot talk with Samba.  Also, they told me that someone has been
checked with the samba.  That's a library has missing.  I have no idea why's
that since I am a newbie for samba and linux system.

BR,
Angie


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



RE: [Samba] Samba problem

2003-02-07 Thread Don Zajic
When you say you checked the samba version, what did you do to get the
version?
At your prompt type 'smbd -V' without the quotes, is should come back
with Version 2.2.7a
Do the same for nmbd.

If it come back with Version 2.0.7, then you probably have two copies of
samba on your system, one copy in your path and another copy in the
default location of a samba install.  The one being executed in your
path.

When you did the ./configure what switches did you pass?

Here is how I configured samba:
./configure  --prefix=/usr --with-lockdir=/var/lock/samba
--with-privatedir=/etc/samba --with-swatdir=/usr/share/swat
--with-smbmount --with-configdir=/etc/samba

This will place the binaries in the /usr/sbin directory.

Don Zajic

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On
Behalf Of Angie Yee
Sent: Friday, February 07, 2003 9:58 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba problem


Hi there:

My problem is (I have asked this question for lots of time but no one
can give me the answer):

I have a Redhat 7.0 server with Samba 2.0.7-2 ssl.  We have upgraded
Samba to 2.2.7a by using tar.gz.. Before I upgrade to 2.2.7a, I checked
the samba version as below:

Samba-2.0.7-2 ssl
Samba-common-2.0.7-2 ssl
Samba-client-2.0.7-2 ssl

Then after I upgraded to Samba 2.2.7a, I check the samba version as
below:

Samba-2.2.7a (upgrade)
Samba-common-2.0.7-2 ssl (still the same)
Samba-client-2.0.7-2 ssl (still the same)

 I supposed that the Samba is upgraded.After 2 weeks, the users
reported
that they cannot talk with Samba.  Also, they told me that someone has
been checked with the samba.  That's a library has missing.  I have no
idea why's that since I am a newbie for samba and linux system.

BR,
Angie


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


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



[Samba] Samba Problem Fixxed

2002-12-17 Thread Kenny Mann
Title: Message



I have found the 
problem to be that grsecurity was built into the kernel (and set to high). 

Has anyone ran into 
this problem before? or perhaps know if there is a gr log that would say 
something so I could figure out what settings I could have for a samba 
server?


-- Kenny Mann



Re: [Samba] SAMBA problem

2002-12-11 Thread Mohammad Noman
 I looked into technical documents and I found this information, regarding my problem with windows machine not connecting to Samba.  It says that if I can ping but still not see host port 137 might be blocked either by firewall/router etc.  How is it possible to check that I'm not blocking port 137 by firewall? is there any specific places i can look at.  I'm sure I never installed nor configure firewall while installing linux (not a good idea, but I did it to see atleast if everything works).  Which files in linux I can look for to make sure port 137 is enabled???It is possible to “ping” the HOST from the client (on port 7; the echo port) but the client is unable to obtain the list of shares on HOST.Cause:	Traffic on one or more of the NetBIOS-over-TCP ports (137, 138, 139) are blocked. To verify this, type one of the following commands: 	(DOS)		nbtstat –A ipaddr 	(where “ipaddr” is numeric) 	If this command shows a list of NetBIOS nam
 es, then port 137 is open. Otherwise, it is blocked.Resolution:	Find the router, firewall, switch or other device that is blocking ports 137-139 and reconfigure it. UDP traffic must be permitted on ports 137 and 138, and TCP traffic must be permitted on port 139.No banners. No pop-ups. No kidding.Introducing My Way - http://www.myway.com


Re: [Samba] SAMBA problem

2002-12-11 Thread Joel Hammer
Try telnet server 137. My box just hangs, which suggests, I think, that the
connection was made.

Joel
On Wed, Dec 11, 2002 at 03:40:32PM -0500, Mohammad Noman wrote:
  I looked into technical documents and I found this information, regarding my 
problem with windows machine not connecting to Samba.  It says that if I can ping but 
still not see host port 137 might be blocked either by firewall/router etc.  How is 
it possible to check that I'm not blocking port 137 by firewall? is there any 
specific places i can look at.  I'm sure I never installed nor configure firewall 
while installing linux (not a good idea, but I did it to see atleast if everything 
works).  Which files in linux I can look for to make sure port 137 is enabled???
 
 
 
 It is possible to “ping” the HOST from the client (on port 7; the echo port) but the 
client is unable to obtain the list of shares on HOST.
 
 Cause:Traffic on one or more of the NetBIOS-over-TCP ports (137, 138, 139) 
are blocked. To verify this, type one of the following commands:
 
   (DOS)   nbtstat –A ipaddr   (where “ipaddr” is numeric)
 
   If this command shows a list of NetBIOS names, then port 137 is open. 
Otherwise, it is blocked.
 
 Resolution:   Find the router, firewall, switch or other device that is blocking 
ports 137-139 and reconfigure it. UDP traffic must be permitted on ports 137 and 138, 
and TCP traffic must be permitted on port 139.
 
 ___
 No banners. No pop-ups. No kidding.
 Introducing My Way - http://www.myway.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] SAMBA problem

2002-12-10 Thread Mohammad Noman
 This is what i did to run a samba file server on linux.  I installed liux 8.0 server installation (all packages, selecting security to be medium, no firewalls).  After linux was installed i checked samba was already installed along with it.  I created user accounts and port them to samba,created smb.conf (and directories to access through samba like public).

 i understand that linux box is somehow rejecting the connection when windows tries to connect it.  But I couldn't find any instructions on how to enable port 137 and 139 for samba.  Only thing i find is to run smbd -D and nmbd -D.
This is what i see if i run netstat -a.

[root@terran samba]# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address   Foreign Address State
tcp0  0 *:32768 *:* LISTEN
tcp0  0 localhost.localdo:32867 *:* LISTEN
tcp0  0 *:printer   *:* LISTEN
tcp0  0 *:netbios-ssn   *:* LISTEN
tcp0  0 *:9099  *:* LISTEN
tcp0  0 *:sunrpc*:* LISTEN
tcp0  0 *:x11   *:* LISTEN
tcp0  0 *:ftp   *:* LISTEN
tcp0  0 localhost.localdom:8118 *:* LISTEN
tcp0  0 *:ssh   *:* LISTEN
tcp0  0 *:telnet*:* LISTEN
tcp0  0 localhost.localdom:smtp *:* LISTEN
udp0  0 *:32768 *:*
udp0  0 terran:netbios-ns   *:*
udp0  0 *:netbios-ns*:*
udp0  0 terran:netbios-dgm  *:*
udp0  0 *:netbios-dgm   *:*
udp0  0 *:bootpc*:*
udp0  0 *:sunrpc*:*


 --- On Tue 12/10, Joel Hammer < [EMAIL PROTECTED] > wrote:From: Joel Hammer [mailto: [EMAIL PROTECTED]]To: [EMAIL PROTECTED], [EMAIL PROTECTED]Date: Tue, 10 Dec 2002 00:22:30 -0500Subject: Re: [Samba] SAMBA problemYou need to make sure the firewall on your linux machine is not blocking
those ports. So, what is the fireall on your linux machine doing?

Joel

On Tue, Dec 10, 2002 at 04:09:23AM +, Mohammad Noman Hameed wrote:
> by both demons i meant smbd and nmbd, i do not have firewall selected in 
> windows xp machine.
> i checked in etc/services and it has the necessary lines.
> 
> netbios-ns  137/udp #NETBIOS Name Service
> netbios-dgm 138/udp #NETBIOS Datagram Service
> netbios-ssn 139/tcp #NETBIOS Session Service
> microsoft-ds445/udp #Direct-Hosted Service
> microsoft-ds445/tcp #Direct-Hosted Service
> 
> is there anything that needs to be done on windows part to enable 137 and 
> 139 port?
> 
> Thanks,
> 
> Mohammad Hameed
> 
> 
> 
> 
> 
> _
> Add photos to your messages with MSN 8. Get 2 months FREE*. 
> http://join.msn.com/?page=features/featuredemail
> 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
No banners. No pop-ups. No kidding.Introducing My Way - http://www.myway.com


Re: [Samba] SAMBA problem

2002-12-10 Thread John H Terpstra
On Tue, 10 Dec 2002, Mohammad Noman wrote:

  This is what i did to run a samba file server on linux.  I installed
  liux 8.0 server installation (all packages, selecting security to be
  medium, no firewalls).  After linux was installed i checked samba was
  already installed along with it.  I created user accounts and port them
  to samba,created smb.conf (and directories to access through samba like
  public).

  i understand that linux box is somehow rejecting the connection when
 windows tries to connect it.  But I couldn't find any instructions on
 how to enable port 137 and 139 for samba.  Only thing i find is to run
 smbd -D and nmbd -D. This is what i see if i run netstat -a.

This is interesting, but does not help. When logged in as root what is the
output of:
iptables -L -v

- John T.


 [root@terran samba]# netstat -a
 Active Internet connections (servers and established)
 Proto Recv-Q Send-Q Local Address   Foreign Address State
 tcp0  0 *:32768 *:* LISTEN
 tcp0  0 localhost.localdo:32867 *:* LISTEN
 tcp0  0 *:printer   *:* LISTEN
 tcp0  0 *:netbios-ssn   *:* LISTEN
 tcp0  0 *:9099  *:* LISTEN
 tcp0  0 *:sunrpc*:* LISTEN
 tcp0  0 *:x11   *:* LISTEN
 tcp0  0 *:ftp   *:* LISTEN
 tcp0  0 localhost.localdom:8118 *:* LISTEN
 tcp0  0 *:ssh   *:* LISTEN
 tcp0  0 *:telnet*:* LISTEN
 tcp0  0 localhost.localdom:smtp *:* LISTEN
 udp0  0 *:32768 *:*
 udp0  0 terran:netbios-ns   *:*
 udp0  0 *:netbios-ns*:*
 udp0  0 terran:netbios-dgm  *:*
 udp0  0 *:netbios-dgm   *:*
 udp0  0 *:bootpc*:*
 udp0  0 *:sunrpc*:*


  --- On Tue 12/10, Joel Hammer  wrote:From: Joel Hammer [mailto: 
[EMAIL PROTECTED]]To: [EMAIL PROTECTED], [EMAIL PROTECTED]: Tue, 10 Dec 
2002 00:22:30 -0500Subject: Re: [Samba] SAMBA problemYou need to make sure the 
firewall on your linux machine is not blocking
 those ports. So, what is the fireall on your linux machine doing?

 Joel

 On Tue, Dec 10, 2002 at 04:09:23AM +, Mohammad Noman Hameed wrote:
  by both demons i meant smbd and nmbd, i do not have firewall selected in
  windows xp machine.
  i checked in etc/services and it has the necessary lines.
 
  netbios-ns  137/udp #NETBIOS Name Service
  netbios-dgm 138/udp #NETBIOS Datagram Service
  netbios-ssn 139/tcp #NETBIOS Session Service
  microsoft-ds445/udp #Direct-Hosted Service
  microsoft-ds445/tcp #Direct-Hosted Service
 
  is there anything that needs to be done on windows part to enable 137 and
  139 port?
 
  Thanks,
 
  Mohammad Hameed
 
 
 
 
 
  _
  Add photos to your messages with MSN 8. Get 2 months FREE*.
  http://join.msn.com/?page=features/featuredemail
 


-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] SAMBA problem

2002-12-09 Thread Mohammad Noman Hameed
Here is the problem I'm having with Samba.

Problem:

When trying to connect to Samba Server from windows xp pro machine, it gives 
the following error:

System error 1234
No service is operating at the destination network endpoint on the remote 
system.

Things that work:
-
Both demons are running. already checked.  Can connect from linux smbclient.

1. All tests except test 8 works from the diagnosis.txt on samba website. 
http://hr.uoregon.edu/davidrl/local_docs/samba/docs/textdocs/DIAGNOSIS.txt

2. Able to ping PC machine from linux (where server is installed), put pc ip 
address in the /etc/hosts file.  Same works vise versa from PC to Samba, it 
is able to ping the machine.

3.  Windows sees the Samba Server in view workgroups

4.  Trying to connect Samba from linux (same machine on which samba is 
installed) works fine.

I'm not sure where is the error.  Please help me if you've any idea why I'm 
having this error.  I'm attaching smb.conf




_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


smb.conf
Description: Binary data


Re: [Samba] SAMBA problem

2002-12-09 Thread Joel Hammer
By both daemons, you mean smbd and nmbd?

Is this a firewall issue? You need to have ports 137 and 139 open.

Joel



On Mon, Dec 09, 2002 at 09:12:13PM +, Mohammad Noman Hameed wrote:
 Here is the problem I'm having with Samba.
 
 Problem:
 
 When trying to connect to Samba Server from windows xp pro machine, it gives 
 the following error:
 
 System error 1234
 No service is operating at the destination network endpoint on the remote 
 system.
 
 Things that work:
 -
 Both demons are running. already checked.  Can connect from linux smbclient.
 
 1. All tests except test 8 works from the diagnosis.txt on samba website. 
 http://hr.uoregon.edu/davidrl/local_docs/samba/docs/textdocs/DIAGNOSIS.txt
 
 2. Able to ping PC machine from linux (where server is installed), put pc ip 
 address in the /etc/hosts file.  Same works vise versa from PC to Samba, it 
 is able to ping the machine.
 
 3.  Windows sees the Samba Server in view workgroups
 
 4.  Trying to connect Samba from linux (same machine on which samba is 
 installed) works fine.
 
 I'm not sure where is the error.  Please help me if you've any idea why I'm 
 having this error.  I'm attaching smb.conf
 
 
 
 
 _
 STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
 http://join.msn.com/?page=features/junkmail


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



Re: [Samba] SAMBA problem

2002-12-09 Thread Joel Hammer
You need to make sure the firewall on your linux machine is not blocking
those ports. So, what is the fireall on your linux machine doing?

Joel

On Tue, Dec 10, 2002 at 04:09:23AM +, Mohammad Noman Hameed wrote:
 by both demons i meant smbd and nmbd, i do not have firewall selected in 
 windows xp machine.
 i checked in etc/services and it has the necessary lines.
 
 netbios-ns  137/udp #NETBIOS Name Service
 netbios-dgm 138/udp #NETBIOS Datagram Service
 netbios-ssn 139/tcp #NETBIOS Session Service
 microsoft-ds445/udp #Direct-Hosted Service
 microsoft-ds445/tcp #Direct-Hosted Service
 
 is there anything that needs to be done on windows part to enable 137 and 
 139 port?
 
 Thanks,
 
 Mohammad Hameed
 
 
 
 
 
 _
 Add photos to your messages with MSN 8. Get 2 months FREE*. 
 http://join.msn.com/?page=features/featuredemail
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Samba problem on HP-UX

2002-10-10 Thread Yogesh Jadhav




Hi Gurus,

I am facing problem while 
configuring Samba on HP-UX, I have installed samba on HP-UX, I can run swat on 
port 901, I am able to see my samba on my windows 2000 machine, but when I try 
to access thru my windows machine it says “Network Path not found” or in windows 
98 I get this message “the username cannot be found or the path incorrect” 


Can u help me in this, its very 
urgent?

Thanks and 
Regards,

Yogesh


Re: [Samba] SAMBA problem: nmblookup

2002-10-09 Thread Joel Hammer

Are you sure nmbd is running? The cat services just shows the ports
involved.
try
ps ax | grep nmbd 

21017 ?S  0:06 /usr/local/samba/bin/nmbd -D
 9546 ttyp2S  0:00 grep nmbd   


or
netstat -an | egrep 13[789]
tcp   52  0 192.168.0.2:2960192.168.0.6:139 ESTABLISHED
tcp0  0 0.0.0.0:139 0.0.0.0:*   LISTEN
udp0  0 192.168.0.2:138 0.0.0.0:*
udp0  0 192.168.0.2:137 0.0.0.0:*
udp0  0 0.0.0.0:138 0.0.0.0:*
udp0  0 0.0.0.0:137 0.0.0.0:* 

Try netstat -anp if your box supports the p option. It shows which daemon is
listening.

Joel

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



[Samba] SAMBA problem: nmblookup

2002-10-08 Thread In Labore Fructus

Hello,
I am hoping someone can help me

I am trying to configure my samba...and the problem is the following:
When I use nmblookup with -B option and Broadcast address it is
impossible to find my samba server (named prova) that is:

# nmblookup -B 10.254.14.127 prova
querying prova on 10.254.14.127
name_query failed to find name prova

If I do the same lookin up to another machine different from my samba
server, then it is ok:
# nmblookup -B 10.254.14.127 my_win_client
querying my_win_client on 10.254.14.127
10.254.14.94 my_win_client00

If I make: c:\net view \\prova
there will be : error 1234

And id I do : nbtstat -A 10.254.14.80 (samba server ip)
the answer is : unknown host

Would some body help me 

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



[Samba] samba problem

2002-10-02 Thread helpdesk

Hello I am kinda new to the whole samba and linux platform.  Well I have a
samba problem.  We are using Red Hat 7.3 as our intranet server and we are
trying to use samba for rights and security.  We want to lock everyone
except IT department from accessing files on the intranet server.  As of now
everyone can get into it.  We are trying for a password protected area.
Also if we change the security level from share level to anything else, it
will not let anyone in, or it will ask for a user name and password that we
have no clue which it is.  Can anyone help?  Thank you.

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



[Samba] Samba Problem

2002-06-05 Thread Steve Dyer

When I try to connect to a QNX machine running SAMBA it fails. The smb.log
file shows the following:
No interface found for address 10.104.1.21
Added interface ip=10.104.1.21 bcast=10.255.255.255 nmask=255.0.0.0
0:  loaded services
0:  becoming a daemon
bind succeeded on port 139
waiting for a connection
samba_shm_open : using shmem file /SMBD_MEM_FILE to be of size 102400
ERROR samba_shm_open : samba_lock_fd open failed with code 2
samba_shm_open : using shmem file /SMBD_MEM_FILE to be of size 102400
ERROR samba_shm_open : samba_lock_fd open failed with code 2
samba_shm_open : using shmem file /SMBD_MEM_FILE to be of size 102400
ERROR samba_shm_open : samba_lock_fd open failed with code 2
samba_shm_open : using shmem file /SMBD_MEM_FILE to be of size 102400
ERROR samba_shm_open : samba_lock_fd open failed with code 2

Can you tell me what this means?

Steve Dyer
Orbital TMS
7160 Riverwood Drive
Columbia, Maryland 21046
[EMAIL PROTECTED]
Tel: (443) 259-7348


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



Re: [Samba] samba problem!!!

2002-05-01 Thread Joel Hammer

This sounds like a browsing problem.

Have you read BROWSING.txt in the source docs? Are you on the same
subnet? Have you got a wins server you can point your windows box
at? If you haven't a wins server, set one up.  Have you walked through
DIAGNOSIS.txt? Is it only the linux server not showing up or all computers?
Do all the windows machines have this problem?

Joel


On Wed, May 01, 2002 at 05:40:28AM +, kailash vyas wrote:
 hi
 
 the samba server is working fine also i can access the windows and linux m/c 
 and vice versa but the only problem i face is that when i login to the 
 windows machine it does not show any of the machines on the network 
 neighbourhood. But when i right click and use find computer and type the 
 computer name then i am able to access it.
 i also checked the workgroup and it is same for all the machines.
 
 pls help
 Thanks in advance
 Kailash Vyas
 
 
 
 
 _
 MSN Photos is the easiest way to share and print your photos: 
 http://photos.msn.com/support/worldwide.aspx
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

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



Re: [Samba] Samba problem

2002-04-30 Thread Dirk Allaert

If the user is not already in the smbpasswd file, you have to use 
smbpasswd -a

Greg Prapat Oudomugsorn wrote:
 Hello,
 
 I'm new to Samba and just trying version 2.0.6 on Red Hat 6.2 
 system. After I tried to change password for a user using command 
 smbpasswd, I got the message machine 127.0.0.1 rejected the password 
 change: Error was : The specified password is invalid. Failed to change 
 password for username. Everything seems working alright except this 
 particular issue. I would appreciate any suggestion, please help me out.
 
 Thank you,
 Greg
 



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



[Samba] samba problem!!!

2002-04-30 Thread kailash vyas

hi

the samba server is working fine also i can access the windows and linux m/c 
and vice versa but the only problem i face is that when i login to the 
windows machine it does not show any of the machines on the network 
neighbourhood. But when i right click and use find computer and type the 
computer name then i am able to access it.
i also checked the workgroup and it is same for all the machines.

pls help
Thanks in advance
Kailash Vyas




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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



[Samba] Samba problem

2002-04-29 Thread Greg Prapat Oudomugsorn

Hello,

I'm new to Samba and just trying version 2.0.6 on Red Hat 6.2
system. After I tried to change password for a user using command
smbpasswd, I got the message machine 127.0.0.1 rejected the password
change: Error was : The specified password is invalid. Failed to change
password for username. Everything seems working alright except this
particular issue. I would appreciate any suggestion, please help me out.

Thank you,
Greg

attachment: winmail.dat