RE: [Samba] Second Copy 2000 problem

2004-09-14 Thread Matthew Western, IT Support, Lonsdale
Yep.  I did actually.  :)   I pointed it to the same place and it still
had a winge.It just did the access denied...   

Thakns for the suggestion tho.

Take care
Matthew 

-Original Message-
From: Patrick McSwiggen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 15 September 2004 11:46 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Second Copy 2000 problem

On Sep 14, 2004, at 8:46 PM, Matthew Western, IT Support, Lonsdale
wrote:
> Basically we have a share called data.When trying to access the
> share from second copy the log says can't see service 'dat'.
> Bizzaire

Did you try duplicating the share but this time calling it [dat] (make
it "browseable = no") and see if that fools it into working?

-- 
Patrick D. McSwiggen[EMAIL PROTECTED]
Mathematical Sciences513-556-4080
University of Cincinnati 513-556-3417 FAX

--
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] authentication problems after upgrade to samba 3.0.7-2.FC1

2004-09-14 Thread Craig White
On Tue, 2004-09-14 at 18:39, fsb wrote:
> good evening all,
> 
> i upgraded my last samba 2.2.7a (dog2) this afternoon and
> have run into
> problems.
> 
> first, the setup:
> windows 2000 clients
> three sites on three seperate subnets connected by t1
> through routers.  each
> site has a samba server that authenticates the users on its
> subnet.  the
> workgroup name for each server is dognet.  /etc/passwd,
> /etc/group, and
> smbpasswd are synced up manually.  users map drives to
> shares on all servers
> by logon script.  all servers are samba version 3.0.7-2.FC1
> on Fedora Core
> 1.
> 
> dog1 authenticates users on 192.168.1.0.  he is also the
> domain master.
> dog1 is also the wins server for dognet.
> from smb.conf of dog1:
> workgroup=dognet
>  netbios name=dog1
> security=user
> domain logons=yes
> os level=65
> preferred master=true
> domain master=true
> wins support=yes
> 
> dog2 authenticates users on 192.168.2.0.  he is a local
> master for
> 192.168.2.0.
> from smb.conf of dog2:
> workgroup=dognet
>  netbios name=dog2
> security=user
> domain logons=yes
> os level=65
> preferred master=true
> local master=true
> wins server=192.168.1.10
> 
> dog3 authenticates users on 192.168.3.0.  he is a local
> master for
> 192.168.3.0.
> from smb.conf of dog2:
> workgroup=dognet
>  netbios name=dog2
> security=user
> domain logons=yes
> os level=65
> preferred master=true
> local master=true
> wins server=192.168.1.10
> 
> dog1 and dog3 work as expected.  after upgrading dog2, i
> cannot authenticate
> clients on 192.168.2.0 to dog2.  The message on the client
> is:  The system
> cannot log you on because the domain DOGNET is not
> available.  dog2 is not
> available via network neighborhood, but i can ssh, ping,
> etc... into him.
> 
> in /var/log/samba/nmbd.log of dog2, i get the following
> messages when i
> restart smb:
> 
> add_domain_logon_names:  attempting to become logon server
> for workgroup
> DOGNET on subnet 192.168.2.10
> 
> add_domain_logon_names:  attempting to become logon server
> for workgroup
> DOGNET on unicast_subnet
> 
> become_logon_server_success:  samba is now a logon server
> for workgroup
> DOGNET on subnet unicast_subnet
> 
> become_logon_server_success:  samba is now a logon server
> for workgroup
> DOGNET on subnet 192.168.2.10
> 
> register_name_response:  WINS server at 192.168.1.10
> rejected our name
> registration of DOG2<20> IP 192.168.2.10 with error code 5.
> 
> my_name_register_failed:  Failed to register my name
> DOG2<20> on subnet
> unicast_subnet.
> 
> standard_fail_register:  Failed to register/refresh name
> DOG2<20> on subnet
> unicast_subnet
> 
> register_name_response:  WINS server at 192.168.1.10
> rejected our name
> registration of DOG2<03> IP 192.168.2.10 with error code 5.
> 
> my_name_register_failed:  Failed to register/refresh name
> DOG2<03> on subnet
> unicast_subnet
> 
> standard_fail_register:  Failed to register/refresh name
> DOG2<03> on subnet
> unicast_subnet
> 
> register_name_response:  WINS server at 192.168.1.10
> rejected our name
> registration of DOG2<00> IP 192.168.2.10 with error code 5.
> 
> my_name_register_failed:  Failed to register my name
> DOG2<00> on subnet
> unicast_subnet.
> 
> standard_fail_register:  Failed to register/refresh name
> DOG2<00> on subnet
> unicast_subnet
> 
> Samba name server DOG2 is now a local master browser for
> workgroup dognet on
> subnet 192.168.2.10
> 
> i do not get these messages when i restart smb on dog3.  the
> two prior
> upgrades (dog1 and dog3) went smoothly.
> 
> does anybody have any ideas where i can get dog2 up by 8:00
> tomorrow morning
> (local time is 20:30)?

firewall?

check wins.dat on dog1

cat /var/cache/samba/wins.dat #or wherever it may be located...

see if dog3 registers itself successfully. Is it possible that the
router connections between the subnet 192.168.3 and 192.168.1 have
different parameters than the subnet 192.168.2 and 192.168.1?

I'm not sure that I would have 3 different machines listed as 'preferred
master = yes' for the same domain - that doesn't seem to be playing by
the rules (multiple PDC).

Craig

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


Re: [Samba] which version to install/???

2004-09-14 Thread Craig White
On Tue, 2004-09-14 at 16:44, Andrew Bartlett wrote:
> The general impression I get about Samba 3.0 is that it has a lot of
> users, not that most users have problems.  It has been one of our most
> successful releases in that respect.  Samba 3.1, which will become Samba
> 3.2 will not be radically different in that respect, just a continuing
> evolution from this point.  

The general impression that I get about the problems that people are
having is they are caused because they are trying to implement higher
levels of integration with technologies that they don't know anything
about such as kerberos and LDAP and most often with Windows technologies
itself.

I thought 2.2.x was great. I know that 3.0.x is awesome. The developers
are doing a fantastic job - thanks.

Craig

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


RE: [Samba] Field Definition for objectSid (LDAP)

2004-09-14 Thread Burris, Celeste Suliin
Since perl has an "unpack" statement nearly identical to C, that should
work. If I get it working and there is any interest, I'll post it.

This week, I'm in class learning Python - what's another programming
language. 

-Original Message-
From: Andrew Bartlett
To: Celeste Suliin Burris
Cc: [EMAIL PROTECTED]
Sent: 9/14/2004 4:18 PM
Subject: Re: [Samba] Field Definition for objectSid (LDAP)

On Tue, 2004-09-14 at 10:13, Celeste Suliin Burris wrote:
> I'm trying to write a perl program to get user information my boss 
> wants using Net::LDAP in perl. I'm doing fairly well, but when I try
to 
> get the objectSid from the user list, it comes in packed or encrypted 
> in some fashion. 

packed.  The SID is binary encoded into the 'standard' format for SIDs
in CIFS, then binary encoded as per the ldap rules.

> Since dumping the users using the command "net ads 
> search '(&(objectClass=person)(objectCategory=person))'" gets me an 
> unscrambled objectSid, I figure someone out there knows how to put it 
> into human-readable form.

Yes, we have C code that handles that.  Doing it in perl will be another
matter...

lib/util_sid.c:sid_parse() in the Samba3 sources might help.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] NT_STATUS_LOGON_FAILURE on auth to a win NT4-server

2004-09-14 Thread Wolfgang Wagner
Hello,

after long searching in the docs, the web and my Samba-books
I have to ask here.
I followed exact the steps described in the book: "samba-3 by example" up to chapter 5.


What kind of trouble indicates this errormessage after trying this:

server:# smbclient //domain/SHARE -U user -d 2
  Password:

session setup failed: NT_STATUS_LOGON_FAILURE


In my client-logfile apperars always the same message: 

[2004/09/15 04:08:30, 0] auth/auth_util.c:make_server_info_info3(1122)
  make_server_info_info3: pdb_init_sam failed!




I found so many questions with the NT_STATUS_LOGON_FAILURE - error, but 
no solution or at minimum any hint, what is going wrong here.


Connecting from a windows-box I get always the password-dialog-box. 


Mit freundlichen Grüßen


Wolfgang Wagner
--
Systemadministration
Riwa GmbH, Zwingerstraße 1, 87435 Kempten, +49-831-52 29 63-537
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] Second Copy 2000 problem

2004-09-14 Thread Patrick McSwiggen
On Sep 14, 2004, at 8:46 PM, Matthew Western, IT Support, Lonsdale 
wrote:
Basically we have a share called data.When trying to access the
share from second copy the log says can't see service 'dat'.
Bizzaire
Did you try duplicating the share but this time calling it [dat] (make 
it "browseable = no") and see if that fools it into working?

--
Patrick D. McSwiggen[EMAIL PROTECTED]
Mathematical Sciences513-556-4080
University of Cincinnati 513-556-3417 FAX
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] In need of some help - Samba on a NIS Client server

2004-09-14 Thread Kevin M. Barrett
I have a situation that a Client needs SMB access on several servers that 
do not have users listed in the password file as they are using NIS for 
Unix Authentication.  I have looked at the manuals and have not found a 
manor that will authenticate against NIS.  Am I missing something?

Can anyone suggest how to get around this obstacle?
Thanks In Advance
Kevin M. Barrett
KMB IT Consulting, Inc
508-450-7717 

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


[Samba] authentication problems after upgrade to samba 3.0.7-2.FC1

2004-09-14 Thread fsb
good evening all,

i upgraded my last samba 2.2.7a (dog2) this afternoon and
have run into
problems.

first, the setup:
windows 2000 clients
three sites on three seperate subnets connected by t1
through routers.  each
site has a samba server that authenticates the users on its
subnet.  the
workgroup name for each server is dognet.  /etc/passwd,
/etc/group, and
smbpasswd are synced up manually.  users map drives to
shares on all servers
by logon script.  all servers are samba version 3.0.7-2.FC1
on Fedora Core
1.

dog1 authenticates users on 192.168.1.0.  he is also the
domain master.
dog1 is also the wins server for dognet.
from smb.conf of dog1:
workgroup=dognet
 netbios name=dog1
security=user
domain logons=yes
os level=65
preferred master=true
domain master=true
wins support=yes

dog2 authenticates users on 192.168.2.0.  he is a local
master for
192.168.2.0.
from smb.conf of dog2:
workgroup=dognet
 netbios name=dog2
security=user
domain logons=yes
os level=65
preferred master=true
local master=true
wins server=192.168.1.10

dog3 authenticates users on 192.168.3.0.  he is a local
master for
192.168.3.0.
from smb.conf of dog2:
workgroup=dognet
 netbios name=dog2
security=user
domain logons=yes
os level=65
preferred master=true
local master=true
wins server=192.168.1.10

dog1 and dog3 work as expected.  after upgrading dog2, i
cannot authenticate
clients on 192.168.2.0 to dog2.  The message on the client
is:  The system
cannot log you on because the domain DOGNET is not
available.  dog2 is not
available via network neighborhood, but i can ssh, ping,
etc... into him.

in /var/log/samba/nmbd.log of dog2, i get the following
messages when i
restart smb:

add_domain_logon_names:  attempting to become logon server
for workgroup
DOGNET on subnet 192.168.2.10

add_domain_logon_names:  attempting to become logon server
for workgroup
DOGNET on unicast_subnet

become_logon_server_success:  samba is now a logon server
for workgroup
DOGNET on subnet unicast_subnet

become_logon_server_success:  samba is now a logon server
for workgroup
DOGNET on subnet 192.168.2.10

register_name_response:  WINS server at 192.168.1.10
rejected our name
registration of DOG2<20> IP 192.168.2.10 with error code 5.

my_name_register_failed:  Failed to register my name
DOG2<20> on subnet
unicast_subnet.

standard_fail_register:  Failed to register/refresh name
DOG2<20> on subnet
unicast_subnet

register_name_response:  WINS server at 192.168.1.10
rejected our name
registration of DOG2<03> IP 192.168.2.10 with error code 5.

my_name_register_failed:  Failed to register/refresh name
DOG2<03> on subnet
unicast_subnet

standard_fail_register:  Failed to register/refresh name
DOG2<03> on subnet
unicast_subnet

register_name_response:  WINS server at 192.168.1.10
rejected our name
registration of DOG2<00> IP 192.168.2.10 with error code 5.

my_name_register_failed:  Failed to register my name
DOG2<00> on subnet
unicast_subnet.

standard_fail_register:  Failed to register/refresh name
DOG2<00> on subnet
unicast_subnet

Samba name server DOG2 is now a local master browser for
workgroup dognet on
subnet 192.168.2.10

i do not get these messages when i restart smb on dog3.  the
two prior
upgrades (dog1 and dog3) went smoothly.

does anybody have any ideas where i can get dog2 up by 8:00
tomorrow morning
(local time is 20:30)?

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


[Samba] Second Copy 2000 problem

2004-09-14 Thread Matthew Western, IT Support, Lonsdale
Hi All,

I have upgraded a customer from windows 2000 to samba 3.0.4 on fedora
core 2. Second copy refuses to work.   The log files seem to
indicate that it's trying to access the sharename minus one character.
Second Copy tech support are idiots, of course

Basically we have a share called data.When trying to access the
share from second copy the log says can't see service 'dat'.
Bizzaire

Here is the log.I said I'd post in the off chance that anybody would
know something

Here is what I sent to second copy
-

Hi Support People, I have a client who has just put in a linux server
running samba (version 3.0.3 which is a very recent version) which is
working perfectly for everything. The probelm is they use Second Copy
(license attached for proof of purchase) for backing up the server to a
removable hard drive to take home and it fails to connect to the server.
It pops up an Access Denied message when I can browse happily from
windows explorer. I consulted the samba log file and it appears to be
concatinating the share name somehow, so i thought, OK i'll create a
'fake' share to get around this problem, but the problem still appears.
I have two shares, one called data and one called retailm. you can see
from the log file that both shares are exibiting the same behaviour. Can
you point me to either a work around or let me know when a fix will be
available?

 -smb.log- 
[2004/07/05 15:03:05, 0] smbd/service.c:make_connection(771)
server1 (10.0.2.2) couldn't find service dat
[2004/07/05 15:03:05, 0] smbd/service.c:make_connection(771)
server1 (10.0.2.2) couldn't find service dat
[2004/07/05 15:03:07, 0] smbd/service.c:make_connection(771)
server1 (10.0.2.2) couldn't find service dat

[2004/07/05 15:06:35, 0] smbd/service.c:make_connection(771)
server1 (10.0.2.2) couldn't find service retail
[2004/07/05 15:06:35, 0] smbd/service.c:make_connection(771)
server1 (10.0.2.2) couldn't find service retail
[2004/07/05 15:06:37, 0] smbd/service.c:make_connection(771)
server1 (10.0.2.2) couldn't find service retail
-

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


Re: [Samba] which version to install/???

2004-09-14 Thread Andrew Bartlett
On Wed, 2004-09-15 at 01:49, DA Forsyth wrote:
> Hello all
> 
> now that I have finally got CyrusSASL to authenticate
> 
> next up is installing Samba
> 
> I'm running FreeBSD 5.2.1 and have the options in the ports tree of
> 2.2.11 
> and
> 3.0.6

Samba 2.2 is end-of-life very shortly.  This means not even security
updates, and it has been out of maintenance for functionality updates
for a long time.

> I'm seeing a lot of comment here on problems with the 3 series Samba 
> so I'm wondering if I should use it or wait for the 3.1 series (-:

The general impression I get about Samba 3.0 is that it has a lot of
users, not that most users have problems.  It has been one of our most
successful releases in that respect.  Samba 3.1, which will become Samba
3.2 will not be radically different in that respect, just a continuing
evolution from this point.  

Andrew Bartlett
-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Re: SAMBA & ISAM Databases

2004-09-14 Thread David Collier-Brown
On Tue, 2004-09-14 at 18:23, Pepe GuimarÃes wrote:
I have a heterogeneous network with a R.H. Linux server running Samba
3.0.5 and various
Win clients (from Win 98 to Win XP Pro). On a Samba share I have an ISAM
database (Access, FoxPro etc. like)
that is being accessed by applications running on the Win clients and by
applications running in Linux.
  Alas, this is generally a bad idea.  One shouldn't share the
filesystems underneath databases and try to make the filesystem
locking do the work that a database normally does.
  Instead, run the database with its disks directly connected,
and mounted (usually) raw, so as to be under the database's control.
This allows the client to send just the query to the machine with
the DBMS, and get back just the results. let the DBMS worry about
locking, query optimization and caching/flushing.  It's going
to be far better at it than a filesystem.
  Access is what IBM used to call an "access method" (:-)), a way
of talking to a back end. As a database it's rather unimpressive,
and it only scales to a small integer number of users if it's
running on an SMB share. It can run on file systems in order
to be attractive for small tasks, and to encourage you to later
buy a back-end database machine.  Consider it "a free sample of
crack cocaine".
--dave
David Collier-Brown,  | Always do right. This will gratify
[EMAIL PROTECTED]| some people and astonish the rest
  |  -- Mark Twain
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Field Definition for objectSid (LDAP)

2004-09-14 Thread Andrew Bartlett
On Tue, 2004-09-14 at 10:13, Celeste Suliin Burris wrote:
> I'm trying to write a perl program to get user information my boss 
> wants using Net::LDAP in perl. I'm doing fairly well, but when I try to 
> get the objectSid from the user list, it comes in packed or encrypted 
> in some fashion. 

packed.  The SID is binary encoded into the 'standard' format for SIDs
in CIFS, then binary encoded as per the ldap rules.

> Since dumping the users using the command "net ads 
> search '(&(objectClass=person)(objectCategory=person))'" gets me an 
> unscrambled objectSid, I figure someone out there knows how to put it 
> into human-readable form.

Yes, we have C code that handles that.  Doing it in perl will be another
matter...

lib/util_sid.c:sid_parse() in the Samba3 sources might help.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Re: SAMBA & ISAM Databases

2004-09-14 Thread Andrew Bartlett
On Tue, 2004-09-14 at 18:23, Pepe GuimarÃes wrote:
>  I have a heterogeneous network with a R.H. Linux server running Samba
> 3.0.5 and various
> Win clients (from Win 98 to Win XP Pro). On a Samba share I have an ISAM
> database (Access, FoxPro etc. like)
> that is being accessed by applications running on the Win clients and by
> applications running in Linux.
> I have disabled "opplocks" in both Win9x clients and on the Samba share.
> I have "mounted" the Samba share on the Linux server so that Linux
> applications are "pathed"
> to the share and accessing the data there.
> 
> The problem arises with locks. Files locked by the Win clients are
> seeing as locked by Win 
> clients but not by Linux and viceversa.

> Finally:
>  shouldn't "posix locking = yes" in smb.conf give consistent locking
> between SMB and posix (NFS or local) access? 

Yes and no.  'posix locking = yes' will allow *some* coordination
between windows and POSIX locks, but it is far from a complete mapping. 
I presume your linux-side applications are running under wine? 
Unfortunately, wine does not yet work with Samba (and Samba does not yet
work with wine) to jointly manage the windows locks, which are much
richer than can be expressed under posix.

Worse still, smbfs does not support locking at all, and NFS is
notoriously poor at locking.

Andrew Bartlett
 
-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] mount.cifs doesn't do japanese?

2004-09-14 Thread David Wuertele
Bjoern> there has been a false assumption that a UTF-8 presentation of
Bjoern> a filename never longer than the UTF-16 presentation of the
Bjoern> same name. That's fatal for Japanese filenames. This should be
Bjoern> fixed in the cifs version which will come with kernel 2.6.9.

I have to use linux-2.4.18 in my embedded system.  Any chance I can
get this patch for it?

Thanks,
Dave

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


[Samba] Problem with a share without errors

2004-09-14 Thread Jean-Michel Caricand
Hi,

I have a problem with a share. The command df shows a place
available of 3 Gb but Windows posts only 1.25Mb. Do you have a
idea ?

Thanks.

Debian Sarge
Samba 3.0.6



Jean-Michel Caricand 

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)



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


[Samba] Problem with a share

2004-09-14 Thread Jean-Michel Caricand
Hi,

I have a problem with a share. The command df shows a place
available of 3 but Windows posts only 1.25. Do you have a idea ?

Thanks.

Debian Sarge
Samba 3.0.6

Jean-Michel Caricand 

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)



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


RE: [Samba] Samba 3.0.7 and SuSE Yast2.

2004-09-14 Thread Luis G. Riera
Thank you Noèl;

I have already solved it.  I could not install this Yast2, but I used the
rpm -ivh --aid [] and so on and I was enable to install.  I need so se how
it works this coming Saturday.



-Mensaje original-
De: Noèl Köthe [mailto:[EMAIL PROTECTED] 
Enviado el: Martes, 14 de Septiembre de 2004 10:15 a.m.
Para: Luis G. Riera
CC: [EMAIL PROTECTED]
Asunto: Re: [Samba] Samba 3.0.7 and SuSE Yast2.

Am Dienstag, den 14.09.2004, 08:48 -0400 schrieb Luis G. Riera:

> I have down loaded the Samba 3.0.7 binary rpm's for SuSE 9.1 from the
samba
> ftp.  I'm trying to install it using Yast2 and don't let me.  If I use the
> rpm commands I get an error too.  Do I need a signature or something
alike?
> If yes, where do I get it and how can I make this beauty  to work.

It helps alot if you tell us which error you are getting.

-- 
Noèl Köthe 
Debian GNU/Linux, www.debian.org


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


RE: [Samba] Ran into a problem upgrading to Samba 3.0.7

2004-09-14 Thread Daniel Gapinski
I thought I might have removed the wrong mapping. Great! That is fixed
now. The only real problem that remains is that I log into my
workstations as a user that I had added to my unix group "admin". I
mapped admin to Domain Admins by using the command:

net groupmap modify ntgroup="Domain Admins" unixgroup=admin

Did I miss anything? When I run 'net groupmap list' it does have the
correct mapping. I just don't know what else to check.

Really appreciating the feedback,
Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of John H Terpstra
Sent: Tuesday, September 14, 2004 11:55 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Ran into a problem upgrading to Samba 3.0.7


On Tuesday 14 September 2004 10:40, Daniel Gapinski wrote:
> Ok, I figured it out by doing:
>
> net groupmap delete sid="[sid]"
>
> The group with that sid still appears when I run the 'net groupmap 
> list' command, but with an ending of "-> -1" in its line. Does that 
> mean it is a disabled group specifically?

Yes, but apparently you tried to delete a default group. The -1 means
that it 
is not mapped to a group on your UNIX system. ie: It  can not be used to

assign privileges in UNIX.

- John T.

>
> -Dan
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf

> Of Daniel Gapinski
> Sent: Tuesday, September 14, 2004 11:11 AM
> To: 'Misty Stanley-Jones'; [EMAIL PROTECTED]
> Subject: RE: [Samba] Ran into a problem upgrading to Samba 3.0.7
>
>
> That doesn't seem to work. Here is how I used it -(where I put [sid], 
> that means the whole alphanumeric sid with dashes, by itself without 
> the
> brackets):
>
> net groupmap delete [sid]
> net groupmap delete "[sid]"
> net groupmap delete "([sid])"
> net groupmap delete ([sid])
>
> What am I doing wrong in trying to delete this double "Domain Admins" 
> group?
>
> Thanks a lot for your help!
> Dan
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf

> Of Misty Stanley-Jones
> Sent: Tuesday, September 14, 2004 8:50 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Samba] Ran into a problem upgrading to Samba 3.0.7
>
> > I think that the double entry is causing the problem, but when I run

> > 'net groupmap delete "Domain Admins"', it will not allow me to 
> > delete the account so as to recreate it.
> >
> > Any suggestions?
>
> Delete using the SID, not the group name.
>
> Cheers,
> Misty
>
> > Thanks,
> > Dan Gapinski
>
> --
> 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

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3
by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 OpenLDAP
by Example, ISBN: 0131488732 Other books in production.
-- 
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] Error with samba version above 3.0.6

2004-09-14 Thread Andre Luis Fogagnoli
<>I thinks that it's something wrong with my config file, because I 
don't find any think similar on the net.
I updated my samba to version 3.0.6 but now this error is occuring when 
I try to connect to samba:

# /usr/local/samba/bin/smbclient -L romanza
Password:
session setup failed: Call returned zero bytes (EOF)
I'm using samba for a PDC with LDAP. In Samba version 3.0.5 it works ok.
I compiled with this options: --with-ldap and --with-ldapsam
But in version 3.0.6 and 3.0.7 doesn't work. I used the same config file 
(see below), and the same options to configure command.

Does any one have any ideia? Or anyone has the same problem?
My smb.conf:
[global]
  netbios name = ROMANZA
  workgroup = FFS-TESTE
  server string = Bastion File Server - Samba version %v
   

  log level = 9
  log file = /usr/local/samba/var/log
   

  time server = Yes
  unix password sync = Yes
   

  add user script = /usr/local/sbin/smbldap-useradd.pl -w %U
  passwd program = /usr/local/sbin/smbldap-passwd.pl -o %u
  passwd chat = *new*password* %n\n *new*password* %n\n *successfuly*
   

  logon script = logon.bat
  logon path = \%L\profiles\%U\%m
  logon drive = h:
  logon home = \%L\profiles\%U\%m
   

  domain logons = Yes
  preferred master = Yes
  domain master = Yes
  os level = 65
  admin users = @root
   

  ldap server = 127.0.0.1
  ldap port = 389
  ldap suffix = dc=romanza
  ldap machine suffix = ou=Computers,dc=romanza
  ldap user suffix = ou=Users,dc=romanza
  ldap group suffix = ou=Groups,dc=romanza
  ldap idmap suffix = ou=Mail,dc=romanza
  ldap admin dn = "cn=manager,dc=romanza"
  ldap ssl = no
   

[netlogon]
  comment = Network Logon Service
  path = /usr/local/samba/lib/netlogon
  guest ok = Yes
  browseable = No
   

[profiles]
  path = /home/samba-profiles
  read only = No
  create mask = 0600
  directory mask = 0700
  browseable = No
[homes]
  read only = No
  create mask = 0600
  directory mask = 0700
  only user = Yes
  browseable = No
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Access Denied

2004-09-14 Thread Mark Sarria
I am getting an access denied when trying to join my domain, I am using
Samba 2.2.5 EL from SuSe Linux Ent 8. My user is root.
 
 
Thanks
 
Mark
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: smbf errors

2004-09-14 Thread Alexej Davidov
On Tuesday 14 September 2004 12:18, Saras Emigrant wrote:
> Alexej Davidov wrote:
> > Hello,
> >
> > I can't mount shares of some servers since I use kernel 2.6.x. As it
> > works with smbclient and also with smbmount on kernel 2.4.x, I assume the
> > problem lies within smbfs.
> >
> > Kernel version: 2.6.8.1
> > Samba version: 3.0.4
> > Dist: Debian unstable
>
> Same problem was there: smbclient 3.0.x on suse 9.1 with kernels 2.6.8.1
> &  2.6.9-rc2 and SuSE's original 2.6.5-7.
>
> On the server side: FreeBSD 5.2.1, samba 3.0.6,1 & 3.0.7,1 from ports.
>
> Solution:  just put 'use sendfile = no' to the server's smb.conf.
>
>
> Br,
>
> Saras
Thanks for the reply and I will try this. But it is no real solution for me. 
First, the server works fine for all other users, including me, when I boot 
kernel 2.4.x. Second, I have the problem with OS/2 servers, and as we have a 
lot of them in the company, I really need to access them.

I guess the problem lies somewhere on my side, but I just couldn't figure it 
out. Why is it working with kernel 2.4.x, but not with 2.6.x?

Btw.: I made a mistake. I wrote, that it works with smbclient, but it turned 
out, it doesn't. I get the directory listing, but when I try to transfer 
files, I still get time-outs. As smbclient doesn't use smbfs, the problem is 
not in that module. Still, also smbclient works under 2.4 and not under 2.6, 
with exactly the same samba configuration and exactly the same programmes and 
libraries.

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


[Samba] intermittent NT_STATUS_ACCESS_DENIED

2004-09-14 Thread egold




Im having an intermittent problem with samba.
Im running samba 3.0.2a on solaris 8 that i downloaded from sunfreeware.com
I have my smb.conf setup to get passwords from my active directory server
and it usually works fine.
I ran a net join command like so to originally join the domain:

root#  net join -S WIN2KSERVER -w MYDOMAIN.com -U Administrator
Password:

Joined domain MYDOMAIN.

It will run for days fine, but all of a sudden at random, users cannot
connect and I will get the following errors in my samba logs:

  smbd version 3.0.2a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/09/14 15:03:40, 2] param/loadparm.c:do_section(3339)
  Processing section "[export]"
[2004/09/14 15:03:40, 2] lib/interface.c:add_interface(79)
  added interface ip=192.168.6.84 bcast=192.168.6.255 nmask=255.255.255.0
[2004/09/14 15:03:40, 2] lib/tallocmsg.c:register_msg_pool_usage(57)
  Registered MSG_REQ_POOL_USAGE
[2004/09/14 15:03:40, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2004/09/14 15:03:40, 2] smbd/server.c:open_sockets_smbd(318)
  waiting for a connection
[2004/09/14 15:03:41, 2] lib/access.c:check_access(324)
  Allowed connection from  (192.168.21.144)
[2004/09/14 15:03:41, 2] smbd/reply.c:reply_special(105)
  netbios connect: name1=sunserver name2=ACH2000
[2004/09/14 15:03:41, 2] smbd/reply.c:reply_special(112)
  netbios connect: local=sunserver remote=ach2000, name type = 0
[2004/09/14 15:03:41, 2] smbd/sesssetup.c:setup_new_vc_session(591)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2004/09/14 15:03:41, 2] smbd/sesssetup.c:setup_new_vc_session(591)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2004/09/14 15:03:41, 0]
auth/auth_domain.c:connect_to_domain_password_server(123)
  connect_to_domain_password_server: unable to setup the NETLOGON
credentials to machine WIN2KSERVER. Error was : NT_STATUS_ACCESS_DENIED.
[2004/09/14 15:03:41, 0]
auth/auth_domain.c:connect_to_domain_password_server(123)
  connect_to_domain_password_server: unable to setup the NETLOGON
credentials to machine WIN2KSERVER. Error was : NT_STATUS_ACCESS_DENIED.
[2004/09/14 15:03:41, 0]
auth/auth_domain.c:connect_to_domain_password_server(123)
  connect_to_domain_password_server: unable to setup the NETLOGON
credentials to machine WIN2KSERVER. Error was : NT_STATUS_ACCESS_DENIED.
[2004/09/14 15:03:41, 0]
auth/auth_domain.c:connect_to_domain_password_server(123)
  connect_to_domain_password_server: unable to setup the NETLOGON
credentials to machine WIN2KSERVER. Error was : NT_STATUS_ACCESS_DENIED.
[2004/09/14 15:03:41, 0] auth/auth_domain.c:domain_client_validate(175)
  domain_client_validate: Domain password server not available.
[2004/09/14 15:03:41, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [jfl] -> [jfl] FAILED with
error NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE
[2004/09/14 15:03:43, 2] smbd/sesssetup.c:setup_new_vc_session(591)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2004/09/14 15:03:43, 2] smbd/sesssetup.c:setup_new_vc_session(591)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2004/09/14 15:03:43, 0]
auth/auth_domain.c:connect_to_domain_password_server(123)
  connect_to_domain_password_server: unable to setup the NETLOGON
credentials to machine WIN2KSERVER. Error was : NT_STATUS_ACCESS_DENIED.
[2004/09/14 15:03:43, 0]
auth/auth_domain.c:connect_to_domain_password_server(123)
  connect_to_domain_password_server: unable to setup the NETLOGON
credentials to machine WIN2KSERVER. Error was : NT_STATUS_ACCESS_DENIED.
[2004/09/14 15:03:43, 0]
auth/auth_domain.c:connect_to_domain_password_server(123)
  connect_to_domain_password_server: unable to setup the NETLOGON
credentials to machine WIN2KSERVER. Error was : NT_STATUS_ACCESS_DENIED.
[2004/09/14 15:03:43, 0] auth/auth_domain.c:domain_client_validate(175)
  domain_client_validate: Domain password server not available.
[2004/09/14 15:03:43, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [jfl] -> [jfl] FAILED with
error NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE
[2004/09/14 15:03:43, 2] smbd/sesssetup.c:setup_new_vc_session(591)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2004/09/14 15:03:43, 2] smbd/sesssetup.c:setup_new_vc_session(591)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2004/09/14 15:03:44, 0]
auth/auth_domain.c:connect_to_domain_password_server(123)
  connect_to_domain_password_server: unable to setup the NETLOGON
credentials to machine WIN2KSERVER. Error was : NT_STATUS_ACCESS_DENIED.
[2004/09/14 15:03:44, 0]
auth/auth_domain.c:connect_to_domain_password_server(123)
  connect_to_domain_password_server: unable to setup the NETLOGON
cr

[Samba] standalone file and print server inside SAMBA network problem

2004-09-14 Thread Braam Greyling
The lines should be
When I browse the network with a win98 machine and I go to the
printserver, it asks for a network password.
No matter what password you type in there is NOT accepted.


note the NOT accepted, huge apologies for typo


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


[Samba] standalone file and print server inside SAMBA network problem

2004-09-14 Thread Braam Greyling
Hi,


I have an existing Samba network consisting of a SAMBA PDC with win98
and XP clients (there is also some linux machines on the network
connecting via NIS/NFS.

Everything is running nicely.

Now I want to add a samba print server to the domain.
All this server needs to do is share a printer for the domain.

For some reason I cannot get this printer server to share anything.
Not even it's home directories.
I have tried various options, used testparm etc.

When I browse the network with a win98 machine and I go to the
printserver, it asks for a network password.
No matter what password you type in there is accepted.

Please help.

Specs:
Both servers running SuSE9.0 with Samba 
With smbstatus on printserver I get

Samba version 2.2.8a-SuSE
Service  uid  gid  pid machine
--



Here is the smb.conf from the printserver

# Networking configuration options
#  hosts allow = XXX.XXX.XXX.65/24
#  hosts deny = 0.0.0.0/0
#  bind interfaces only = yes

   workgroup = PRLWIN
   os level = 2
   time server = no
   unix extensions = Yes
   encrypt passwords = yes
   map to guest = alluser
   socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
   wins support = yes
   veto files = /*.eml/*.nws/riched20.dll/*.{*}/
   #security = domain
   server string = printserver
   netbios name = printserver
   #add user script =
   domain master = false
   domain logons = yes
   local master = yes
   interfaces = eth0
   preferred master = auto
   password server = XXX.XXX.XXX.66
;;   ldap server = 127.0.0.1

   printing = cups
   printcap name = cups
   load printers = yes

#[printers]
#   comment = All Printers
#   path = /var/spool/samba
#   public = yes
#   guest ok = yes
#   writable = yes
#   printable = yes
#   printer admin = root
#   browseable = yes

[homes]
   comment = Home Directories
#   valid users = %S
   browseable = yes
   read only = yes
   create mask = 0777
   directory mask = 0777
   guest ok = yes
   printable = yes


>>


Here follows the PDC smb.conf (the ip is XXX.XXX.XXX.66

global]
   workgroup = PRLWIN
   security = domain
   encrypt passwords = yes
   server string = Samba Server
   add user script = /usr/sbin/useradd -c Machine -d /dev/null -s
/bin/false  %m$
   domain master = yes
   domain logons = yes
   local master = yes
   preferred master = yes
   os level = 85
;;   ldap server = 127.0.0.1

# If you want Samba to act as a wins server, please set
# 'wins support' to yes.
   wins support = yes

   netbios name = SAMBASERVER

; where to store user profiles?
   logon path = \\%N\profiles\%u


; where is a user's home directory and where should it
; be mounted at?
   logon drive = Z:
   logon home = \\%L\%u
;logon home = \\homeserver\%u
; specify a generic logon script for all users
; this is a relative **DOS** path to the [netlogon] share
;logon script = logon.cmd
; necessary share for domain controller

# This is a simple measure against Nimba Worm. Cf.
README.Win32-Viruses
   veto files = /*.eml/*.nws/riched20.dll/*.{*}/

   printing = cups
   printcap name = cups
   load printers = yes




[netlogon]
   comment = Network Logon Service
   path = /var/lib/samba/netlogon
   read only = yes
   write list = ntadmin
   browseable = yes
   guest ok = no
   printable = no


[netlogon]
   comment = Network Logon Service
   path = /var/lib/samba/netlogon
   read only = yes
   write list = ntadmin
   browseable = yes
   guest ok = no
   printable = no

; share for storing user profiles
[profiles]
   comment = Network Profiles Service
   browseable = yes
   path = /var/lib/samba/profiles
   read only = no
   create mask = 0600
   directory mask = 0700
   guest ok = no
   printable = no


[homes]
   comment = Home Directories
   path = /home/%U
   read only = No
   create mask = 0640
   directory mask = 0750
   browseable = no
   guest ok = no
   printable = no





-- 

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


Re: [Samba] Access from Windows to Samba/LINUX

2004-09-14 Thread John H Terpstra
On Tuesday 14 September 2004 12:09, Darren Martz wrote:
> If you want a "share" to be hidden from browsing, one option is to add $ to
> the end of the share name. Example, rather than :

And the preferred method in Samba is to set in the share definition:

browseable = No

- John T.

>
>  [myshare]
>
> Change it to
>
>  [myshare$]
>
> And the windows browser will ignore it unless you type in the share name in
> the address bar.
>
> That works for both Windows and Linux hosting servers.
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Albert HERVO
> Sent: Tuesday, September 14, 2004 9:58 AM
> To: [EMAIL PROTECTED]
> Subject: [Samba] Access from Windows to Samba/LINUX
>
>
> Hello,
>
>   I am configuring PCs on Windows W2K to access to a LINUX Server
> where Samba is mounted
>
>   Is-it possible to do this ?
>
>   Directory_1 : Browseable (then
> visible with the Network Favorits)
>   -Sub_Directory_1a   : NOT Browseable
> (unvisible) BUT Writable
>   -Sub_Directory_2a   :   "
> " "
>
>
>   If not, then just this ?
>
>   Directory_1 : NOT Browseable
> (unvisible) BUT Writable
>
> Thanks
>
> Albert
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Case-sensitivity problems with smbmount on linux

2004-09-14 Thread Jason Joines
Jason Joines wrote:
Michael Carmack wrote:
Can anyone else confirm this problem so I know I'm not crazy? I've 
tried many different configuration options, but cannot get this working.

Michael,
   I just experienced the exact same problem and ran across you post 
when searching for a solution.

   My server is running SuSE Linux 8.1 with Kernel 2.4.19 and Samba 
2.2.8a.  My client is SuSE Linux 9.1 with Kernel 2.6.5 and Samba 
client 3.0.4.  I had folders on the smb share of our web server called 
phpScheduleIt (original extracted from tar) and phpscheduleit (live 
version).  I made some changes in a file in phpscheduleit using vi on 
the server.  Then I decided to open it up with Kate on my client via 
and smbmount.  The changes were not reflected in the file I viewed 
with Kate.  I made a change with Kate then viewed the file from the 
server and the changes were not reflected in vi.  Then I saved the 
file to a new name with Kate and the file did not show up on the 
server with ls.  I did a search on the server using find and found the 
newly created file was in phpScheduleIt and not phpscheduleit.  
Windows clients were working just find so I did an smbumount and 
remounted but still had the same problem.  I then did an ls -lid via 
my client shell on the smbmount and it showed the two directories as 
having the same inode.  I did the same on the server and they did not 
have the same inode.  Then I used smbclient to connect to the share.  
If I typed "cd PHPSCHEDULEIT" or any other combination I ended up in 
phpScheduleIt.

   I decided to check the server.
# testparm | grep case
   default case = lower
   case sensitive = No
   preserve case = Yes
   short preserve case = Yes
   mangle case = No
   I changed to "case sensitive = Yes" in smb.conf in the global 
section and retried the client.  Now "cd PHPSCHEDULEIT" via smbclient 
failed as desired and "cd phpscheduleit" and "cd phpScheduleIt" took 
me where it was supposed.  I remounted the share and ls -lid still 
showed the same inode for both folders.  Also, "cd phpscheduleit" 
still took me to phpScheduleIt.

   I read that the "case sensitive" option was share specific so I 
moved it to the share definition and retried the cd operations at the 
shell over the smbmount.  Now I am taken to phpscheduleit with both 
"cd phpscheduleit" and "cd phpScheduleIt".

   Problem confirmed!
Jason Joines
=

Michael,
   Went to check out how to file a bug wiht Samba and saw you already 
had and that it had been closed because Samba said smbfs was not their 
code and was known to be broken.  I followed their suggestion to use 
cifs (http://linux-cifs.samba.org, turns out I already had it) and all 
is well.

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


[Samba] Newbie question - Wrong Way to map a share?

2004-09-14 Thread Elizabeth Schwartz
After a recent upgrade (details below) as many as 30 percent of our
returning users are  having trouble mapping SAMBA shares of their home
directories on the "terra" server. Many report that the problem "just
goes away." I've only been able to pin down a couple of them.

Here's what I see. User tries to map the drive, fails, and get a box
with the window:
Username: terra\Guest
Password:  ***

This doesn't work. If I replace terra\Guest  with just the unix
username, it works fine. Everyone says "but it USED to work the other
way. It SHOULD work the other way"

So: *should* it work the other way? What changed? Can I change it
back?  Or do I just need to re-educate all my users? (and take the hit
for making undocumented changes to a production server) I don't
want to make any changes that would  creating an additional account
for every user or every machine.

I did start with a fresh config file with this installation. 


System is authenticating via NFS and unix passwords, NOT using Active
Directory.
Thanks for a clue bonk,
Betsy. 

PS on the server I see check_ntlm_password:  Authentication for user
[Guest] -> [Guest] FAILED with error NT_STATUS_NO_SUCH_USER

Old box:  Sun 220R  running Solaris 7, samba 2.2.2 and Veritas VM/FS 3.4.
New box: Sun 280R running Solaris 9, samba 3.0.2a and Veritas VM/FS 3.5 
(same Clariion LUN, moved to new box, veritas deport/import-ed.)

Config file:
# Global parameters
[global]
workgroup = DESIGN
interfaces = eri0 lo0
bind interfaces only = Yes
password level = 8
log level = 2
syslog = 7
log file = /var/adm/smblog
deadtime = 5
local master = No
wins server = 128.103.170.97
hosts allow = 128.103.170. 128.103.171. 128.103.172. 128.103.173. 128.10
3.174. 128.103.175. 128.103.141. 10.1.1. 10.1.67.
printing = bsd
print command = echo
nis homedir = yes
encrypt passwords = no
posix locking = no
max log size =  524288
[test]
path = /tmp
browsable = yes
valid users = @everyone
guest ok = Yes
[homes]
browsable = no
writable = yes
create mask = 0775
directory mask = 0775
 oplocks = no
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Access from Windows to Samba/LINUX

2004-09-14 Thread Darren Martz
If you want a "share" to be hidden from browsing, one option is to add $ to
the end of the share name. Example, rather than :

 [myshare]

Change it to

 [myshare$]

And the windows browser will ignore it unless you type in the share name in
the address bar.

That works for both Windows and Linux hosting servers.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Albert HERVO
Sent: Tuesday, September 14, 2004 9:58 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Access from Windows to Samba/LINUX


Hello,

I am configuring PCs on Windows W2K to access to a LINUX Server
where Samba is mounted

Is-it possible to do this ?

Directory_1 : Browseable (then
visible with the Network Favorits)
-Sub_Directory_1a   : NOT Browseable
(unvisible) BUT Writable
-Sub_Directory_2a   :   "
"   "


If not, then just this ?

Directory_1 : NOT Browseable
(unvisible) BUT Writable

Thanks

Albert

--
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 >= 3.0.6 connection timeouts

2004-09-14 Thread JG
hi,

> i get connection timeouts, so my samba connection just hangs. i have
> to remount (after lazy umount) the share to make it work again.
> the problem seems to arise after some traffic, but at the moment i was
> only listening to mp3s over the share when it occured again.

and just happenend again while streaming a video. crap. now, security or no working 
samba? *gg*

JG


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

[Samba] RV: SAMBA & ISAM Databases

2004-09-14 Thread Pepe Guimarães


You were correct. The problem was with smbfs. 
But now I have aproblem I didn`t have before: if a file is open by the
application in Linux I can not create new records  thru the application
in Win. I can modify existing records but I can not create new records.

Any ideas

José  Guimarães [ [EMAIL PROTECTED] ]
Director
Moose Software
http://www.moose-software.com


-Mensaje original-
De: Volker Lendecke [mailto:[EMAIL PROTECTED] 
Enviado el: martes, 14 de septiembre de 2004 11:04
Para: Pepe Guimarães
CC: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Asunto: Re: SAMBA & ISAM Databases


On Tue, Sep 14, 2004 at 10:23:09AM +0200, Pepe Guimarães wrote:
> I have "mounted" the Samba share on the Linux server so that Linux
> applications are "pathed" to the share and accessing the data there.

I'd suspect the problem in smbfs, not samba. What happens if you use the
application directly on the samba server without smbfs in between?

Volker


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


[Samba] change Active Directory Password with client tools (smbpasswd, net arp) ?

2004-09-14 Thread Hansjoerg Maurer
Hi
I am trying to change the password of an User in an Active Directory 
using the samba client tools (samba 3.0.7).

A normal user can change the password using
smbpasswd -r ADSERVERNAME
But now a user forgetts his password, and I want to change it as an user 
"ADMINUSER",
who has admin rights in the domain.

Is  there a command, weher I can do something like this:
smbpasswd -r ADSERVERNAME USERNAME -U ADMINUSER
The command should print for the ADMINPASSWD of ADMINUSER and for the 
new passwd of USERNAME,
who's passwd has to be reset.

net -S ADSERVERNAME -U  ADMINUSER rap password USERNAME "" newpass
Does nor work to
If I do an ethereal,
the answer of ADSERVERNAME is
SAMOEMCHANGEPASSWORD (214)
Status: the specified password is invalid (86)
Is it possible to change a userpasswd as admin with the client tools 
without knowing  the old password

Thank you very much
--
_
Dr.  Hansjoerg Maurer   | LAN- & System-Manager
   |
Deutsches Zentrum   | DLR Oberpfaffenhofen
 f. Luft- und Raumfahrt e.V.   |
Institut f. Robotik |
Postfach 1116   | Muenchner Strasse 20
82230 Wessling  | 82234 Wessling
Germany |
   |
Tel: 08153/28-2431  | E-mail: [EMAIL PROTECTED]
Fax: 08153/28-1134  | WWW: http://www.robotic.dlr.de/
__
There are 10 types of people in this world, 
those who understand binary and those who don't.

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


Re: [Samba] samba documentations

2004-09-14 Thread John H Terpstra
On Tuesday 14 September 2004 10:26, komal wrote:
> Hi
>
>  I want to know how often samba documentations revise documents.

The samba team do their best to keep the documentation up to date.
We appreciate contributions of updates from our users.

With the release of 3.2.x due later this year to early next year the 
documentation will receive a major review - time permitting.

Are there any particular issues you need documented or have problems with?

PS: Some have already suggested that we must document smbfs. I fail to see  
why samba documentation should cover that, but please convince me of the 
error of my ways by contributing a solution to the problem.

Cheers,
John T.

>
> Thank you
>
> komal

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] samba client warning for password transmitted with noencryption

2004-09-14 Thread xavier.sinecosa
Hello, 

I am newbie in linux, and have security problems 
with samba. I installed samba server on a box b1 
(v2.2.7a), and samba client is not my last and 
second box b2. They both run under linux (RH9 
distribution). It seems to be installed correctly, 
but I have 2 strange things: 
1) I cannot locate why when I get a connection with 
nautilus, the popup window tells me that password 
will be transmitted with no encryption. 
2) When I start samba in nautilus, the popup window 
asking for a user/password re-opens twice after I 
have filled it for the very 1st time.
Does somebody know why it reopens? Filling again 
and clicking OK, or clicking Cancel has the same 
effect: I can access.

Is this a bug, or a bad configuration? I have set a 
smbpasswd file on samba server, and did the 
procedure to migrate passwords from linux to samba. 
Can I have some advices, please ? 

Thanks, xavier.


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


Re: [Samba] Re: SAMBA & ISAM Databases

2004-09-14 Thread John H Terpstra
On Tuesday 14 September 2004 10:29, komal wrote:
> > I'd suspect the problem in smbfs, not samba. What happens if you use the
> > application directly on the samba server without smbfs in between?
> >
> > Volker
>
> Excuse me what is a difference between smbfs and samba ?

smbfs is a file system driver interface in the Linux kernel. Samba is a user 
space file and print server. Samba sources includes some user space tools for 
interacting with smbfs. The tools are smbmount, smbumount, etc. and are 
included in the samba source code because they use some of the samba 
libraries/code modules.

smbfs is a work that is idependent of samba. It has been replaced with cifsfs 
in the 2.6 kernel.

- John T.

>
> Thank you
>
> Komal

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Access from Windows to Samba/LINUX

2004-09-14 Thread Albert HERVO

Hello,

I am configuring PCs on Windows W2K to access to a LINUX Server where
Samba is mounted

Is-it possible to do this ?

Directory_1 : Browseable (then visible 
with the Network Favorits)
-Sub_Directory_1a   : NOT Browseable (unvisible) 
BUT Writable
-Sub_Directory_2a   :   "   "  
 "


If not, then just this ?

Directory_1 : NOT Browseable (unvisible) 
BUT Writable

Thanks

Albert

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


Re: [Samba] Ran into a problem upgrading to Samba 3.0.7

2004-09-14 Thread John H Terpstra
On Tuesday 14 September 2004 10:40, Daniel Gapinski wrote:
> Ok, I figured it out by doing:
>
> net groupmap delete sid="[sid]"
>
> The group with that sid still appears when I run the 'net groupmap list'
> command, but with an ending of "-> -1" in its line. Does that mean it is
> a disabled group specifically?

Yes, but apparently you tried to delete a default group. The -1 means that it 
is not mapped to a group on your UNIX system. ie: It  can not be used to 
assign privileges in UNIX.

- John T.

>
> -Dan
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Daniel Gapinski
> Sent: Tuesday, September 14, 2004 11:11 AM
> To: 'Misty Stanley-Jones'; [EMAIL PROTECTED]
> Subject: RE: [Samba] Ran into a problem upgrading to Samba 3.0.7
>
>
> That doesn't seem to work. Here is how I used it -(where I put [sid],
> that means the whole alphanumeric sid with dashes, by itself without the
> brackets):
>
> net groupmap delete [sid]
> net groupmap delete "[sid]"
> net groupmap delete "([sid])"
> net groupmap delete ([sid])
>
> What am I doing wrong in trying to delete this double "Domain Admins"
> group?
>
> Thanks a lot for your help!
> Dan
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Misty Stanley-Jones
> Sent: Tuesday, September 14, 2004 8:50 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Samba] Ran into a problem upgrading to Samba 3.0.7
>
> > I think that the double entry is causing the problem, but when I run
> > 'net groupmap delete "Domain Admins"', it will not allow me to delete
> > the account so as to recreate it.
> >
> > Any suggestions?
>
> Delete using the SID, not the group name.
>
> Cheers,
> Misty
>
> > Thanks,
> > Dan Gapinski
>
> --
> 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

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Case-sensitivity problems with smbmount on linux

2004-09-14 Thread Jason Joines
Michael Carmack wrote:
Can anyone else confirm this problem so I know I'm not crazy? I've 
tried many different configuration options, but cannot get this working.

Michael,
   I just experienced the exact same problem and ran across you post 
when searching for a solution.

   My server is running SuSE Linux 8.1 with Kernel 2.4.19 and Samba 
2.2.8a.  My client is SuSE Linux 9.1 with Kernel 2.6.5 and Samba client 
3.0.4.  I had folders on the smb share of our web server called 
phpScheduleIt (original extracted from tar) and phpscheduleit (live 
version).  I made some changes in a file in phpscheduleit using vi on 
the server.  Then I decided to open it up with Kate on my client via and 
smbmount.  The changes were not reflected in the file I viewed with 
Kate.  I made a change with Kate then viewed the file from the server 
and the changes were not reflected in vi.  Then I saved the file to a 
new name with Kate and the file did not show up on the server with ls.  
I did a search on the server using find and found the newly created file 
was in phpScheduleIt and not phpscheduleit.  Windows clients were 
working just find so I did an smbumount and remounted but still had the 
same problem.  I then did an ls -lid via my client shell on the smbmount 
and it showed the two directories as having the same inode.  I did the 
same on the server and they did not have the same inode.  Then I used 
smbclient to connect to the share.  If I typed "cd PHPSCHEDULEIT" or any 
other combination I ended up in phpScheduleIt.

   I decided to check the server.
# testparm | grep case
   default case = lower
   case sensitive = No
   preserve case = Yes
   short preserve case = Yes
   mangle case = No
   I changed to "case sensitive = Yes" in smb.conf in the global 
section and retried the client.  Now "cd PHPSCHEDULEIT" via smbclient 
failed as desired and "cd phpscheduleit" and "cd phpScheduleIt" took me 
where it was supposed.  I remounted the share and ls -lid still showed 
the same inode for both folders.  Also, "cd phpscheduleit" still took me 
to phpScheduleIt.

   I read that the "case sensitive" option was share specific so I 
moved it to the share definition and retried the cd operations at the 
shell over the smbmount.  Now I am taken to phpscheduleit with both "cd 
phpscheduleit" and "cd phpScheduleIt".

   Problem confirmed!
Jason Joines
=
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] samba documentations

2004-09-14 Thread komal
Hi

 I want to know how often samba documentations revise documents.

Thank you

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


Re: [Samba] Re: SAMBA & ISAM Databases

2004-09-14 Thread komal

> I'd suspect the problem in smbfs, not samba. What happens if you use the
> application directly on the samba server without smbfs in between?
> 
> Volker

Excuse me what is a difference between smbfs and samba ?

Thank you

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


RE: [Samba] Ran into a problem upgrading to Samba 3.0.7

2004-09-14 Thread Daniel Gapinski
Ok, I figured it out by doing:

net groupmap delete sid="[sid]"

The group with that sid still appears when I run the 'net groupmap list'
command, but with an ending of "-> -1" in its line. Does that mean it is
a disabled group specifically?

-Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Daniel Gapinski
Sent: Tuesday, September 14, 2004 11:11 AM
To: 'Misty Stanley-Jones'; [EMAIL PROTECTED]
Subject: RE: [Samba] Ran into a problem upgrading to Samba 3.0.7


That doesn't seem to work. Here is how I used it -(where I put [sid],
that means the whole alphanumeric sid with dashes, by itself without the
brackets):

net groupmap delete [sid]
net groupmap delete "[sid]"
net groupmap delete "([sid])"
net groupmap delete ([sid])

What am I doing wrong in trying to delete this double "Domain Admins"
group?

Thanks a lot for your help!
Dan


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Misty Stanley-Jones
Sent: Tuesday, September 14, 2004 8:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Ran into a problem upgrading to Samba 3.0.7


> I think that the double entry is causing the problem, but when I run
> 'net groupmap delete "Domain Admins"', it will not allow me to delete 
> the account so as to recreate it.
>
> Any suggestions?
>

Delete using the SID, not the group name.

Cheers,
Misty

> Thanks,
> Dan Gapinski
-- 
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

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


RE: [Samba] Ran into a problem upgrading to Samba 3.0.7

2004-09-14 Thread Daniel Gapinski
That doesn't seem to work. Here is how I used it -(where I put [sid],
that means the whole alphanumeric sid with dashes, by itself without the
brackets):

net groupmap delete [sid]
net groupmap delete "[sid]"
net groupmap delete "([sid])"
net groupmap delete ([sid])

What am I doing wrong in trying to delete this double "Domain Admins"
group?

Thanks a lot for your help!
Dan


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Misty Stanley-Jones
Sent: Tuesday, September 14, 2004 8:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Ran into a problem upgrading to Samba 3.0.7


> I think that the double entry is causing the problem, but when I run 
> 'net groupmap delete "Domain Admins"', it will not allow me to delete 
> the account so as to recreate it.
>
> Any suggestions?
>

Delete using the SID, not the group name.

Cheers,
Misty

> Thanks,
> Dan Gapinski
-- 
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] Change the unix charset

2004-09-14 Thread William Marques
Dear list ,
I have set in my smb.conf the unix charset  parameter to UTF8, but ind 
the docs I have read that for latin languages the correct setting is 
iso8859-1.
My doubt is: What is the impact in that change in my smb.conf?
Any help will be very apreciated.

best regards,
--
William Marques
Scinergy Consulting Ltda.
http://www.scinergy.com.br
55 (0XX21) 2224-3224
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3.0.7 and SuSE Yast2.

2004-09-14 Thread rruegner
go to the
dir where you store your new rpms
do a
rpm --force --nodeps l*
rpm --force --nodeps s*
This worked for me but you might read
man rpm for a better understanding
also in my case i had to do chmod
/var/spool/samba
you better try this on a test system first
Regards
Luis G. Riera schrieb:
Hi,
 

I have down loaded the Samba 3.0.7 binary rpm's for SuSE 9.1 from the samba
ftp.  I'm trying to install it using Yast2 and don't let me.  If I use the
rpm commands I get an error too.  Do I need a signature or something alike?
If yes, where do I get it and how can I make this beauty  to work.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Samba3 - LDAP - USRMGR.EXE

2004-09-14 Thread rruegner
Hi,
as seen in the logs
could not add user/computer i1 to
>>passdb.  Check permissions?,
why should should an account being added to passdb.
In ldap setups the accounts are all stored
in the ldap database.
I guess you might fail with your general setup
the hosting samba ldap system must ask only ldap
for auth, do you have somthing like this in your nsswitch.conf?
passwd: ldap files
group:  ldap files
shadow: ldap files
Regards
Mark Jones schrieb:
I´ve just had the same problem and came to this post while searching for a
 solution, and I´ve just fixed this problem for my setup after reading
Kang´s
 words:
I disabled the remove user script in smb.conf,
and also removed the -a option from the add user script. Using the scripts
the
way they were configured, Samba tried to add / remove the user twice, though
giving the error. Here is my smb.conf extract:

add user script = /usr/local/sbin/smbldap-useradd -m "%u"
ldap delete dn = Yes
#delete user script = /usr/local/sbin/smbldap-userdel "%u"
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/local/sbin/smbldap-groupdel "%g"
add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u"
"%g"
set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"
...
unix password sync = No
ldap passwd sync = Yes
...
My setup: Samba 3.0.7, openldap 2.1.29, smbldap-tools 0.8.5-2, Fedora Core
2.
Hope this is useful.
Mark Jones
"Kang Sun" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Just a hunch, I didnot test myself.
In your smb.conf, did you set the "add user script" to add posix account
as
well as Windows account? If so, there might be a problem.
From what I read and understand, the script suppose to add Posix account
only, and samba will add the Windows account. If the Windows account is
added by the "add user script", then Samba has to delete it or modify it,
which it might not have the previlege or some error comes up that does not
mean what it says.
Hope this helps!
-- Kang Sun
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
tware.com...
Hello,
have some little problems adding user to domain with USRMGR.EXE
My System runs on SuSE 9.1 (2.6.5-7.75-default), samba-3.0.4,
smbldap-tools-0.8.5, openldap2-2.2.6
If I try to add a new user with USRMGR.EXE I get an error "Access denied",
but if I look into LDAP the new user was correctly added to LDAP.
If I confirm the error-message and then cancel the "NEW USER" Window and
typing "F5" for refreshing the USRMGR. I can see the new user.
By doubble-clicking the new User I am able to make any modification to the
User without any error.
What could be the problem ?
Here is a part of /var/log/messages that
Jul 27 12:36:25 samba3 smbd[2149]: [2004/07/27 12:36:25, 0]
passdb/pdb_ldap.c:ldapsam_add_sam_account(1573)
Jul 27 12:36:25 samba3 smbd[2149]:   ldapsam_add_sam_account: User
'i1' already in the base, with samba attributes
Jul 27 12:36:25 samba3 smbd[2149]: [2004/07/27 12:36:25, 0]
rpc_server/srv_samr_nt.c:_samr_create_user(2267)
Jul 27 12:36:25 samba3 smbd[2149]:   could not add user/computer i1 to
passdb.  Check permissions?
if you need more logs or sambalog with special loglevel just tell me.
The same problem exists when joining a machine to DOMAIN.
On first try => "Access denied" but correctly added to LDAP
On second try => "Welcome to DOMAIN"
Thanks for any help.
Christian Wittmer
-
Büro/Office: +49 (0) 6227/385-120
Email: [EMAIL PROTECTED]
InterComponentWare AG
Otto-Hahn-Strasse 3
69190 Walldorf
Zentrale/Main: +49 (6227) 385-100
http://www.intercomponentware.com
http://www.lifesensor.com
--
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


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


RE: [Samba] Ran into a problem upgrading to Samba 3.0.7

2004-09-14 Thread Daniel Gapinski
Right, but for which one - root or Domain Admins? I assume root, but I
have assumed wrongly before.

Thanks for the help!
Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Misty Stanley-Jones
Sent: Tuesday, September 14, 2004 8:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Ran into a problem upgrading to Samba 3.0.7


> I think that the double entry is causing the problem, but when I run 
> 'net groupmap delete "Domain Admins"', it will not allow me to delete 
> the account so as to recreate it.
>
> Any suggestions?
>

Delete using the SID, not the group name.

Cheers,
Misty

> Thanks,
> Dan Gapinski
-- 
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] Migrate BACK to WINDOWS -> Talk me out of it QUICK

2004-09-14 Thread rruegner
Hi Chris,
sorry but i am not clear what is your Question?
Regards
Chris McKeever schrieb:
Not thinking about migrating back due to issues, it is more due to
implementation needs and a little situation I have been wrestling with
with for a bit now, and would love some feedback
First a little history:
We currently have 10 locations connected via a dedicated 1/2 T-1. 
Last year I migrated from a WINNT domain to a Samba/LDAP domain.  It
has been running great.  Basically did this for license reasons as
well as reduced administrative horror.

NOW:
We have just started to roll out Thinstation thin-clients  that are
connecting to Win TSRV servers.  What is being planned is 1 Terminal
Server per location.  This will significantly reduce the adminstrative
nightmare on multiple Windows boxes and centralize it.  However, this
is where I start to feel that I am having too many servers per
location, seeing that the windows server could do what the Samba
server is doing, I am in debate about moving back to windows (I have
will need to licenses and boxes there anyhows)
One other option is just ot house a ginormous WIN-TSRV at the central
location.  However, I am afraid of issues with printing back to the
remote locations (pushing large files through the 1/2 T-1 to print).
Another option is to remove the samba servers from the remote
location, and just have a samba PDC with authenticating windows tsrv
machines. - I dont like this option for some reason
I really dont want to move away from the SAMBA backend, but at the
same time dont want to stay with it just because I 'like it' and I
'want to'.  So I am looking for discussion/arguements as to why I
should stay with the Samba server and a win-tsrv server, as opposed to
just moving to a MS backend.
Please Obi-won Kenobi, you are our only help! thanks
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Memory allocation error: failed to expand to 1108555744 bytes

2004-09-14 Thread Adam Tauno WIlliams
I saw the following log entry when connecting to a print share on a
Samba 3.0.7 box from a Windows 2000 client.

I assume the attempt to allocate 1Gb+ of RAM has got to be wrong?

[2004/09/14 11:07:14, 1] smbd/service.c:make_connection_snum(648)
  pcladydeath (192.168.1.110) connect to service print$ initially as
user pcnet (uid=288, gid=230) (pid 18501)[2004/09/14 11:07:17, 0]
smbd/connection.c:register_message_flags(220)
  register_message_flags: tdb_fetch failed
[2004/09/14 11:07:19, 0] lib/util.c:Realloc(856)
  Memory allocation error: failed to expand to 1108555744 bytes
[2004/09/14 11:07:19, 0] rpc_parse/parse_prs.c:prs_grow(270)
  prs_grow: Realloc failure for size 1108555744.
[2004/09/14 11:07:19, 0]
rpc_server/srv_spoolss.c:api_spoolss_rfnpcnex(341)
  spoolss_io_r_rfnpcnex: unable to marshall SPOOL_R_RFNPCNEX.
[2004/09/14 11:07:19, 0] rpc_server/srv_pipe.c:api_rpcTNP(1563)
  api_rpcTNP: spoolss: SPOOLSS_RFNPCNEX failed.
[2004/09/14 11:07:19, 0] smbd/connection.c:register_message_flags(220)
  register_message_flags: tdb_fetch failed


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


[Samba] Interdomain trust to Windows 2003 native mode domain ?

2004-09-14 Thread Hans B. Randgaard
Dear list and Samba Team,

It says in the Samba Howto, that it "should" be possible to
trust a Windows 2000 domain, but it needs more testing.

Have any of you made this work ?

I ask because we implemented our Samba/LDAP-3 domain
during the week-end and had to rool back since we couldn't
get the user validation to a trusted Windows 2003 native domain
to work.

Samba team,

If this feature is not fully functional and you are interested, we
can provide tcpdump and level 10 data if we make another try.

Kind regards, Hans Randgaard.


**
This e-mail and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to which they 
are addressed. If you have received this e-mail in error please notify 
the system manager at [EMAIL PROTECTED]

This e-mail and its contents do not constitute and shall not be 
considered as a financial commitment of Maersk Olie og Gas AS 
and its affiliates. 
Maersk Olie og Gas AS expressly disclaims any responsibility
as to the accuracy and use of this e-mail and its contents.
**

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


Re: [Samba] Samba 3.0.7 and SuSE Yast2.

2004-09-14 Thread Noèl Köthe
Am Dienstag, den 14.09.2004, 08:48 -0400 schrieb Luis G. Riera:

> I have down loaded the Samba 3.0.7 binary rpm's for SuSE 9.1 from the samba
> ftp.  I'm trying to install it using Yast2 and don't let me.  If I use the
> rpm commands I get an error too.  Do I need a signature or something alike?
> If yes, where do I get it and how can I make this beauty  to work.

It helps alot if you tell us which error you are getting.

-- 
NoÃl KÃthe 
Debian GNU/Linux, www.debian.org


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] samba >= 3.0.6 connection timeouts

2004-09-14 Thread JG
hi,

i get connection timeouts, so my samba connection just hangs. i have to
remount (after lazy umount) the share to make it work again.
the problem seems to arise after some traffic, but at the moment i was
only listening to mp3s over the share when it occured again.

dmesg output:
smb_add_request: request [c3d1c0e0, mid=59360] timed out!
smb_add_request: request [c3d1c1e0, mid=59361] timed out!
smb_add_request: request [c3d1c0e0, mid=59362] timed out!
smb_add_request: request [c3d1c0e0, mid=59363] timed out!
[...]
smb_file_read: path/file validation failed,
error=4294967291 smb_lookup: find //mnt failed, error=-512


on the server side with smbstatus i see many requests for the mp3 file
with the same pid.
8712  DENY_NONE 0x3 RDWR NONE //path/file  Tue Sep 14 16:04:24 2004

i do not have problems with samba 3.0.5 or lower. the problem only
occurs in 3.0.6 and also 3.0.7.
client samba version is 3.0.6, client kernel: 2.6.7-gentoo-r11
server samba version is 3.0.7, server kernel: 2.6.6-mm3

how can i debug this?

thx,
JG


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

[Samba] home template not expanding

2004-09-14 Thread Tony Scholes
Hi

I have a server that joins a NT domain and uses winbind ...

All seems fine, joins domain OK, wbinfo -u, wbinfo -g works fine...

I have home template = /home/winnt/%D/%U in smb.conf and  getent passwd
lists all users in the NT domains (there are several trusted domains).. with
the home directory expanded properly e.g.

ALPHA+fred:x:11:10001:Fred Smith:/home/winnt/ALPHA/fred:

and so on...

and users can access samba shares from their PC's fine, but once they have
don, if i type 'getent passwd fred' then it lists

fred:x:10001:99:Fred Smith:/home/winnt/%D/%U:

i.e. without the home template expanded, and in group 99 (nobody)...

Any ideas why it is doing this?

TIA

--
Tony Scholes
[EMAIL PROTECTED]

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.760 / Virus Database: 509 - Release Date: 10/09/2004


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


Re: [Samba] Suse (SLES8) Kerberos

2004-09-14 Thread Bjoern JACKE
On 2004-08-09 at 11:18 +0200 Mattias Andersson sent off:
http://ftp.sernet.de/pub/samba/sles8-i386/ (You can also find rpms for 
other distros there).
But the book also tells me that I need either Heimdal 0.6 (plus specific 
patches) or MIT Kerberos 1.3.1 or later.
Of course Suse SLES8 doesnt come with any of these, it comes with 
Heimdal 0.4. The easiest thing would probably be to use Heimdal since 
the system comes with Heimdal, but does anyone know where I can find 
rpm-packages with heimdal 0.6 for SLES8?
Also, what does specific patches mean? Isn't Heimdal 0.6 enough?
there is no need to install a new heimdal if you use the SerNet RPMs because
they are linked statically against the needed kerberos libs. On ftp.sernet.de
you find all samba3 RPMs for all recent SUSE versions with working kerberos and
now also RPMs for RHEL3 with sane kerberos support to even join a Windows 2003
Active Direcory.
Bjoern
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Ran into a problem upgrading to Samba 3.0.7

2004-09-14 Thread Misty Stanley-Jones
> I think that the double entry is causing the problem, but when I run
> 'net groupmap delete "Domain Admins"', it will not allow me to delete
> the account so as to recreate it.
>
> Any suggestions?
>

Delete using the SID, not the group name.

Cheers,
Misty

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


[Samba] which version to install/???

2004-09-14 Thread DA Forsyth
Hello all

now that I have finally got CyrusSASL to authenticate

next up is installing Samba

I'm running FreeBSD 5.2.1 and have the options in the ports tree of
2.2.11 
and
3.0.6

In my test server intall I used 2.2.8 with success, and it is still 
running at home on a P166 as a PDC

but here at work it must work for mostly Win98SE machines, plus a 
couple of Win2000 and XP laptops.  And in the future we'll have more 
W2k and XP of course.  22 seats this month, more in the future.
I will be using disk quotas if that makes any difference, and may use 
recycle bins.

I'm seeing a lot of comment here on problems with the 3 series Samba 
so I'm wondering if I should use it or wait for the 3.1 series (-:

Thanks for all advice


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer  -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/



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


Re: [Samba] mount.cifs doesn't do japanese?

2004-09-14 Thread Bjoern JACKE
On 2004-09-13 at 14:38 -0700 David Wuertele sent off:
On a FC2 system (which includes kernel 2.6.5 and samba-3.0.3), I am
able to use "smbmount" to mount filesystems with japanese filenames on
them by specifying codepage=cp932.  But when I mount with "mount.cifs"
the translation from SJIS to UTF-8 isn't done right:
there has been a false assumption that a UTF-8 presentation of a 
filename never longer than the UTF-16 presentation of the same name. 
That's fatal for Japanese filenames. This should be fixed in the cifs 
version which will come with kernel 2.6.9.

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


[Samba] Smbpasswd problem fine before but now ?

2004-09-14 Thread Ken Walker
I set up a LM ( Linux Mandrake ) machine a 6 or 7 months ago with LM8.2 and
samba 2.2.8a.

I set up a 5 disk software raid 5 and made 5 accounts and 5 entries into
smbpasswd using

smbpasswd -an XX

All went fine, nothing out of the usual happened and all users could hammer
the raid remotely to see if it died.

I have just resurrected the machine, which has been powered down for about 4
months now.

When i now enter

smbpasswd -an 

i get the following !!

[EMAIL PROTECTED] mctkeaw]# smbpasswd -an mctssvw
LDAPS option set...!
ldap_connect_system: Binding to ldap server as ""
Bind failed: Can't contact LDAP server
LDAPS option set...!
ldap_connect_system: Binding to ldap server as ""
Bind failed: Can't contact LDAP server
Failed to add entry for user mctssvw.
Failed to modify password entry for user mctssvw
[EMAIL PROTECTED] mctkeaw]#

I have looked in passwd and mctssvw is there.

allow null passwords is in the global settings of smb.conf

I have also looked in smb.conf and the ldap options are commented out.

I have no idea why this should start now, nothing has been added or changed
since it was last powered down.

Can anybody help

Many thanks 

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


[Samba] printing is broken at reboot - HELP

2004-09-14 Thread Vladuta Cristian



Hello,

I am relying on my samba PDC (3.0.1pre3 release)  for some of the
network printing jobs. There is this annoying problem : 
Following a normal -peaceful shutdown/reboot I ALWAYS have to delete my
existing printer definitions ex. xxx.tdb in the
/var/cache/samba/printing directory as they get corrupt (file size
increased as opposed to 24576 bytes normal) . That makes printing no
longer possible. After deleting and restarting the smb service
everything is back to normal. 

How can I solve this other than upgrading my samba version? 

Thank you v much,





Cristian Vladuta



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


[Samba] Ran into a problem upgrading to Samba 3.0.7

2004-09-14 Thread Daniel Gapinski
Hi everybody,

I am almost done with my migration to Samba 3 using smb passwd, and I
have to say I like the tools a lot. I did run into a problem though, and
I think it is because I used the "domain admin group" line in smb.conf,
not knowing it had deprecated. I removed it, but now when I run net
groupmap list, I have 2 entries for the Domain Admins group. 1 entry
maps to my UNIX admin group, and the other maps to root. The practical
downside of this is that when I log onto my account (a member of
admin/Domain Admins), I have no administrative privilege. 

I think that the double entry is causing the problem, but when I run
'net groupmap delete "Domain Admins"', it will not allow me to delete
the account so as to recreate it.

Any suggestions?

Thanks,
Dan Gapinski

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


[Samba] Samba 3.0.7 and SuSE Yast2.

2004-09-14 Thread Luis G. Riera
Hi,

 

I have down loaded the Samba 3.0.7 binary rpm's for SuSE 9.1 from the samba
ftp.  I'm trying to install it using Yast2 and don't let me.  If I use the
rpm commands I get an error too.  Do I need a signature or something alike?
If yes, where do I get it and how can I make this beauty  to work.

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


[Samba] some question

2004-09-14 Thread Pascal Legrand
Hello ,
in first sorry for my poor english
i've got some questions
- I wanted to know in which measure it was possible for a user to change his password 
on several
  servers from Windows 2000 I explain:
  the toto user authenticates on serveur1 domaine1 (his machine, Windows 2000 is thus 
integrated in
  domaine1.)
  but this user has access to resources situated on serveur2
  How can he modify his password on serveur2 from his machine, which by default 
proposes him as only
  choice of connection only serveur1.
- The same user toto has access to a share without restriction (public) but i would like to create 
in this share a directory protected by a login/password as htaccess with apache.
  i don't know how to do
  i create a new share with the option "valid user= tiptop", the user tiptop exist in passwd and
  smbpasswd but on my w2000 when i'm logged as "pascal" i cant access to this share with the new
  name "tiptop" and new password

- does anybody knows how limit simultaneous login by a unique user (preexec maybe??)
thank you

All this with the version 3.0.2 of samba
  thank you and good day
--
Pascal Legrand
*IUT de Chartres* - _Service Informatique_
1 place Pierre Mendès France - 28000 Chartres
Tel: 02 37 91 83 36 - Fax: 02 37 91 83 01
[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] giving write permission to a machine

2004-09-14 Thread Nandan Rao
Hi,
   How can I give write permission to only one machine
while configuring samba as a workgroup/domain.

 Thanks in advance.

Regds,
Nan.


Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] SOLVED: Roaming profiles not updating XP

2004-09-14 Thread Mac
Hi all,

I originally sent this message about a month ago, but it never made it
to the mailing list, so here it is again.  There's an update at the end
too!

[I've removed the typos from the August version]


Subject: Re: [Samba] SOLVED: Roaming profiles not updating XP
Date: Wed, 11 Aug 2004 17:09:22 +0100 (BST)
From: Mac <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: <[EMAIL PROTECTED]> (Jon Noren)
[EMAIL PROTECTED] (Campbell March)
[EMAIL PROTECTED] (Brandon Franzke)
<[EMAIL PROTECTED]> (Caitiff)
<[EMAIL PROTECTED]> (Poulet Fabrice)
<[EMAIL PROTECTED]> (Cory Verellen)
<[EMAIL PROTECTED]> (Matt Wilson)
<[EMAIL PROTECTED]> (Campbell March)

Hi all,

They say it's bad form to follow up to one's own post, but I don't care.

I've had a rather odd email today.  It's private correspondence, so I'm not
able to post it here yet, but it looks to me like Nvidia think they've solved
the problem.


To recap: (for those of you to whom this new)

Back in April (2004) there was this post:-

  http://lists.samba.org/archive/samba/2004-April/084023.html

by Brandon Franzke about Windows XP profiles not saving.  It turned out
that the saving of Roaming Profiles to a server (_any_ server) was silently
stopped by the Nvidida Display Manager service, that was part of the
drivers around version 5.3.0.3 upwards.

If this sounds odd to you, then you'd be right.  It's very odd.

We here at NIBSC also hit that problem, as did everyone else in the Cc: list
of this message.  My original post is here:-

  http://lists.samba.org/archive/samba/2004-April/085183.html


The e-mail I received this morning had that URL as its subject.  Its body
was only two lines long and indicates that, subsequent to version 5.6.7.2
of the Nvidia drivers, the problem was fixed.  In particular, the 61 versions
do not have the problem.


I've looked at the Nvidia web site, and there is indeed a new version of
the drivers available (http://www.nvidia.com/object/winxp_2k_61.77).

The release notes do not make any mention (that I can see) of this bug 
being present or having been fixed.

Anyway,  I suspect that this really has been fixed.  I don't have the time
right now to sit down and properly test this, but I don't think anyone else
received this mail.

The final line of the email apologised for the inconvenience.


   Mac
  Assistant Systems Adminstrator @nibsc.ac.uk
[EMAIL PROTECTED]
   Work: +44 1707 641565  Everything else: +44 7956 237670 (anytime)



September Update!  I've received (from Matt Wilson) confirmation that this
update _does_ solve the Roaming Profiles problem. So my odd email
appears to have been genuine.


Anyway, this whole matter can now be laid to rest.  Hurrah!



   Mac
  Assistant Systems Adminstrator @nibsc.ac.uk
[EMAIL PROTECTED]
   Work: +44 1707 641565  Everything else: +44 7956 237670 (anytime)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Profiles pemissions and ldap backend

2004-09-14 Thread Adam Tauno Williams

> Two quick questions:
> 1.
> For a samba server what backend would produce the best performance with
> samba. ldbm or bdb?

bdb performance will always be MANY ORDERS OF MAGNITUDE faster than
ldbm.  And ldbm is depricated anyway.

Make sure your using a recent OpenLDAP version, not one of the antique
ones provided with your distribution.

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


Re: [Samba] quota-support seems to be broken in 3.0.6/3.0.7

2004-09-14 Thread Ingo Steuwer
Some additional Information:

smbcquotas -vv  //server/share  -F -U Administrator

gives me after asking for my pasword:

Failed to open \$Extend/$Quota:$Q:$INDEX_ALLOCATION 
NT_STATUS_OBJECT_PATH_NOT_FOUND.

what (kind of) object is samba looking for ?

Thanks
Ingo Steuwer

Am Di, den 14.09.2004 schrieb Ingo Steuwer um 09:32:
> Hello
> 
> we're using samba based on the debian-package, which we translated
> including the configure-option "--with-quotas"
> 
> The user-interaction with quotas is OK, in his (the users) view the
> partition-size is limited to his quota-hard-limit. This works both with
> XFS and EXT3.
> 
> Windows (XP SP1 and SP2) administration of quota is not possible. Using
> 3.0.5 I can do a right-click->Eigenschaften (preferences) on a
> network-device and can set/modify quotas using the
> "Kontingentverwaltung" (quota administration). With samba 3.0.6 or 3.0.7
> this tab is missing. Is this a general problem or only with the
> debian-package ?
> 
> Debug level "6 quota:11" gives me the appended messages. As far as I can
> see the first difference apart from line-numbers is in "got message type
> 0x0 of len 0x64" from process.c:process_smb. Does it mean the client
> asks different or the server sends in a different way ?
> 
> Maybe anyone can give me a hint, more debug-output or testing through us
> is available.
> 
> Thanks in advance
> Ingo Steuwer
> 
> 
> 3.0.5 == :
> 
> [2004/09/14 03:41:46, 5] auth/auth_util.c:debug_unix_user_token(505)
>   UNIX token of user 0
>   Primary group is 5000 and contains 1 supplementary groups
>   Group[  0]: 5000
> [2004/09/14 03:41:46, 5] smbd/uid.c:change_to_user(267)
>   change_to_user uid=(0,0) gid=(0,5000)
> [2004/09/14 03:41:46, 4] smbd/vfs.c:vfs_ChDir(654)
>   vfs_ChDir to /home/Administrator
> [2004/09/14 03:41:46, 3] smbd/trans2.c:call_trans2qfsinfo(1804)
>   call_trans2qfsinfo: level = 1007
> [2004/09/14 03:41:46, 10] lib/sysquotas.c:sys_get_quota(391)
>   sys_get_quota() uid(0, 0)
> [2004/09/14 03:41:46, 10] lib/sysquotas_xfs.c:sys_get_xfs_quota(93)
>   sys_get_xfs_quota: path[/home] bdev[/dev/sda3] SMB_USER_QUOTA_TYPE
> uid[0]
> [2004/09/14 03:41:46, 10] lib/sysquotas.c:sys_get_quota(401)
>   sys_get_xfs_quota() called for mntpath[/home] bdev[/dev/sda3] qtype[2]
> id[0].
> [2004/09/14 03:41:46, 10] lib/sysquotas.c:sys_get_quota(391)
>   sys_get_quota() uid(0, 0)
> [2004/09/14 03:41:46, 10] lib/sysquotas_xfs.c:sys_get_xfs_quota(101)
>   sys_get_xfs_quota: path[/home] bdev[/dev/sda3] SMB_GROUP_QUOTA_TYPE
> gid[5000]
> [2004/09/14 03:41:46, 10] lib/sysquotas.c:sys_get_quota(401)
>   sys_get_xfs_quota() called for mntpath[/home] bdev[/dev/sda3] qtype[4]
> id[5000].
> [2004/09/14 03:41:46, 5] smbd/trans2.c:call_trans2qfsinfo(1963)
>   call_trans2qfsinfo : SMB_QUERY_FS_FULL_SIZE_INFO bsize=1024,
> cSectorUnit=2, cBytesSector=512, cUnitTotal=967120, cUnitAvail=910064
> [2004/09/14 03:41:46, 6] lib/util_sock.c:write_socket(432)
>   write_socket(22,92)
> [2004/09/14 03:41:46, 6] lib/util_sock.c:write_socket(435)
>   write_socket(22,92) wrote 92
> [2004/09/14 03:41:46, 4] smbd/trans2.c:call_trans2qfsinfo(2087)
>   SMBtrans2 info_level = 1007
> [2004/09/14 03:41:46, 6] smbd/process.c:process_smb(889)
>   got message type 0x0 of len 0xc8
> [2004/09/14 03:41:46, 3] smbd/process.c:process_smb(890)
>   Transaction 84 of length 204
> [2004/09/14 03:41:46, 5] lib/util.c:show_msg(456)
> [2004/09/14 03:41:46, 5] lib/util.c:show_msg(466)
>   size=200
>   smb_com=0x25
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=24
>   smb_flg2=51207
>   smb_tid=3
>   smb_pid=848
>   smb_uid=100
>   smb_mid=7554
>   smt_wct=16
>   smb_vwv[ 0]=0 (0x0)
>   smb_vwv[ 1]=  116 (0x74)
>   smb_vwv[ 2]=0 (0x0)
>   smb_vwv[ 3]= 1024 (0x400)
>   smb_vwv[ 4]=0 (0x0)
>   smb_vwv[ 5]=0 (0x0)
>   smb_vwv[ 6]=0 (0x0)
>   smb_vwv[ 7]=0 (0x0)
>   smb_vwv[ 8]=0 (0x0)
>   smb_vwv[ 9]=0 (0x0)
>   smb_vwv[10]=   84 (0x54)
>   smb_vwv[11]=  116 (0x74)
>   smb_vwv[12]=   84 (0x54)
>   smb_vwv[13]=2 (0x2)
>   smb_vwv[14]=   38 (0x26)
>   smb_vwv[15]=28946 (0x7112)
>   smb_bcc=133
> [2004/09/14 03:41:46, 3] smbd/process.c:switch_message(685)
>   switch message SMBtrans (pid 19796)
> [2004/09/14 03:41:46, 3] smbd/sec_ctx.c:set_sec_ctx(288)
>   setting sec ctx (0, 5000) - sec_ctx_stack_ndx = 0
> 
> 3.0.6 == :
> 
> [2004/09/14 03:55:53, 5] auth/auth_util.c:debug_unix_user_token(505)
>   UNIX token of user 0
>   Primary group is 5000 and contains 1 supplementary groups
>   Group[  0]: 5000
> [2004/09/14 03:55:53, 5] smbd/uid.c:change_to_user(280)
>   change_to_user uid=(0,0) gid=(0,5000)
> [2004/09/14 03:55:53, 3] smbd/trans2.c:call_trans2qfsinfo(1814)
>   call_trans2qfsinfo: level = 1007
> [2004/09/14 03:55:53, 10] lib/sysquotas.c:sys_get_quota(391)
>   sys_get_quota() uid(0, 0)
> [2004/09/14 03:55:53, 10] lib/sysquotas_xfs.c:sys_get_xfs_quota(93)
>   sys_get_xfs_quota

[Samba] Re: Workgroup Browsing Issue and wins on 3.0.6

2004-09-14 Thread Carl Matthews
okay the wins issue is resolved it was the firewall not allowing port 
445, so theres just the network browsing issue left and then I can be happy.

Carl.
To add to what i said before the second server (that cant register to 
the first servers wins) has these errors in its log file :

Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0] 
nmbd/nmbd_nameregister.c:register_name_response(130)
Sep 14 08:37:36 fedora2 nmbd[2389]:   register_name_response: WINS 
server at IP 192.168.123.241 rejected our name registration of 
WORKGROUP<00> IP 192.168.1
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0] 
nmbd/nmbd_workgroupdb.c:fail_register(215)
Sep 14 08:37:36 fedora2 nmbd[2389]:   fail_register: Failed to register 
name WORKGROUP<00> on subnet UNICAST_SUBNET.
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0] 
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Sep 14 08:37:36 fedora2 nmbd[2389]:   standard_fail_register: Failed to 
register/refresh name WORKGROUP<00> on subnet UNICAST_SUBNET
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0] 
nmbd/nmbd_nameregister.c:register_name_response(130)
Sep 14 08:37:36 fedora2 nmbd[2389]:   register_name_response: WINS 
server at IP 192.168.123.241 rejected our name registration of 
WORKGROUP<1e> IP 192.168.1
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0] 
nmbd/nmbd_workgroupdb.c:fail_register(215)
Sep 14 08:37:36 fedora2 nmbd[2389]:   fail_register: Failed to register 
name WORKGROUP<1e> on subnet UNICAST_SUBNET.
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0] 
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Sep 14 08:37:36 fedora2 nmbd[2389]:   standard_fail_register: Failed to 
register/refresh name WORKGROUP<1e> on subnet UNICAST_SUBNET
Sep 14 08:46:30 fedora2 smbd[2414]: [2004/09/14 08:46:30, 0] 
lib/util_sock.c:get_peer_addr(1000)
Sep 14 08:46:30 fedora2 smbd[2414]:   getpeername failed. Error was 
Transport endpoint is not connected
Sep 14 08:46:30 fedora2 smbd[2414]: [2004/09/14 08:46:30, 0] 
lib/util_sock.c:read_socket_data(384)
Sep 14 08:46:30 fedora2 smbd[2414]:   read_socket_data: recv failure for 
4. Error = Connection reset by peer
Sep 14 08:58:01 fedora2 nmbd[2389]: [2004/09/14 08:58:01, 0] 
nmbd/nmbd_nameregister.c:register_name_response(130)
Sep 14 08:58:01 fedora2 nmbd[2389]:   register_name_response: WINS 
server at IP 192.168.123.241 rejected our name registration of FC2<00> 
IP 192.168.123.252
Sep 14 08:58:01 fedora2 nmbd[2389]: [2004/09/14 08:58:01, 0] 
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Sep 14 08:58:01 fedora2 nmbd[2389]:   standard_fail_register: Failed to 
register/refresh name FC2<00> on subnet UNICAST_SUBNET
Sep 14 08:58:01 fedora2 nmbd[2389]: [2004/09/14 08:58:01, 0] 
nmbd/nmbd_nameregister.c:register_name_response(130)
Sep 14 08:58:01 fedora2 nmbd[2389]:   register_name_response: WINS 
server at IP 192.168.123.241 rejected our name registration of FC2<03> 
IP 192.168.123.252
Sep 14 08:58:01 fedora2 nmbd[2389]: [2004/09/14 08:58:01, 0] 
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Sep 14 08:58:01 fedora2 nmbd[2389]:   standard_fail_register: Failed to 
register/refresh name FC2<03> on subnet UNICAST_SUBNET
Sep 14 09:00:47 fedora2 smbd[2417]: [2004/09/14 09:00:47, 0] 
lib/util_sock.c:get_peer_addr(1000)
Sep 14 09:00:47 fedora2 smbd[2417]:   getpeername failed. Error was 
Transport endpoint is not connected
Sep 14 09:00:47 fedora2 smbd[2417]: [2004/09/14 09:00:47, 0] 
lib/util_sock.c:read_socket_data(384)
Sep 14 09:00:47 fedora2 smbd[2417]:   read_socket_data: recv failure for 
4. Error = Connection reset by peer
Sep 14 10:34:02 fedora2 smbd[2468]: [2004/09/14 10:34:02, 0] 
lib/util_sock.c:get_peer_addr(1000)
Sep 14 10:34:02 fedora2 smbd[2468]:   getpeername failed. Error was 
Transport endpoint is not connected
Sep 14 10:34:02 fedora2 smbd[2468]: [2004/09/14 10:34:02, 0] 
lib/util_sock.c:read_socket_data(384)
Sep 14 10:34:02 fedora2 smbd[2468]:   read_socket_data: recv failure for 
4. Error = Connection reset by peer
Sep 14 10:40:25 fedora2 smbd[2476]: [2004/09/14 10:40:25, 0] 
lib/util_sock.c:get_peer_addr(1000)
Sep 14 10:40:25 fedora2 smbd[2476]:   getpeername failed. Error was 
Transport endpoint is not connected
Sep 14 10:40:25 fedora2 smbd[2476]: [2004/09/14 10:40:25, 0] 
lib/util_sock.c:read_socket_data(384)
Sep 14 10:40:25 fedora2 smbd[2476]:   read_socket_data: recv failure for 
4. Error = Connection reset by peer


Hi,
I am having an issue browsing my work group, i have made the samba 
server the master browser and it wins the elections. As far as i can 
tell from the nmbd.logs it is also collecting hosts for the workgroup 
but when you try to list the workgroup this error is recorded in the 
messages log :

nss_wins[7417]: [2004/09/14 09:54:23, 0] 
smbd/service.c:make_connection_snum(570)

nss_wins[7417]:   Can't become connected user!
Now all users can use \\server and list the shares and access them 
all, so all users and passwords are correct

[Samba] Re: smbf errors

2004-09-14 Thread Saras Emigrant
Alexej Davidov wrote:
Hello,
I can't mount shares of some servers since I use kernel 2.6.x. As it works 
with smbclient and also with smbmount on kernel 2.4.x, I assume the problem 
lies within smbfs.

Kernel version: 2.6.8.1
Samba version: 3.0.4
Dist: Debian unstable
Same problem was there: smbclient 3.0.x on suse 9.1 with kernels 2.6.8.1 
&  2.6.9-rc2 and SuSE's original 2.6.5-7.

On the server side: FreeBSD 5.2.1, samba 3.0.6,1 & 3.0.7,1 from ports.
Solution:  just put 'use sendfile = no' to the server's smb.conf.
Br,
Saras
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] domain groups and winbind

2004-09-14 Thread Collen
Well must i got the following prob,

i got samba and winbind up and running..
but when i want to alter the file and directory permissions on a samba
share,
there are only domain users, i miss the domain groups!
the server uses winbind to do that..
with wbinfo and getent the users and groups names are resolved..
so winbind must be working correct.. ??
but still no groups in my domain list at the winbind/samba server..
anny cluess ??!

-
Collen Blijenberg (Systeem/Netwerk Beheerder)

Montessori Lyceum 
Herman Jordan
Zeist

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


[Samba] Re: Workgroup Browsing Issue and wins on 3.0.6

2004-09-14 Thread Carl Matthews
To add to what i said before the second server (that cant register to 
the first servers wins) has these errors in its log file :

Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0] 
nmbd/nmbd_nameregister.c:register_name_response(130)
Sep 14 08:37:36 fedora2 nmbd[2389]:   register_name_response: WINS 
server at IP 192.168.123.241 rejected our name registration of 
WORKGROUP<00> IP 192.168.1
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0] 
nmbd/nmbd_workgroupdb.c:fail_register(215)
Sep 14 08:37:36 fedora2 nmbd[2389]:   fail_register: Failed to register 
name WORKGROUP<00> on subnet UNICAST_SUBNET.
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0] 
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Sep 14 08:37:36 fedora2 nmbd[2389]:   standard_fail_register: Failed to 
register/refresh name WORKGROUP<00> on subnet UNICAST_SUBNET
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0] 
nmbd/nmbd_nameregister.c:register_name_response(130)
Sep 14 08:37:36 fedora2 nmbd[2389]:   register_name_response: WINS 
server at IP 192.168.123.241 rejected our name registration of 
WORKGROUP<1e> IP 192.168.1
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0] 
nmbd/nmbd_workgroupdb.c:fail_register(215)
Sep 14 08:37:36 fedora2 nmbd[2389]:   fail_register: Failed to register 
name WORKGROUP<1e> on subnet UNICAST_SUBNET.
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0] 
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Sep 14 08:37:36 fedora2 nmbd[2389]:   standard_fail_register: Failed to 
register/refresh name WORKGROUP<1e> on subnet UNICAST_SUBNET
Sep 14 08:46:30 fedora2 smbd[2414]: [2004/09/14 08:46:30, 0] 
lib/util_sock.c:get_peer_addr(1000)
Sep 14 08:46:30 fedora2 smbd[2414]:   getpeername failed. Error was 
Transport endpoint is not connected
Sep 14 08:46:30 fedora2 smbd[2414]: [2004/09/14 08:46:30, 0] 
lib/util_sock.c:read_socket_data(384)
Sep 14 08:46:30 fedora2 smbd[2414]:   read_socket_data: recv failure for 
4. Error = Connection reset by peer
Sep 14 08:58:01 fedora2 nmbd[2389]: [2004/09/14 08:58:01, 0] 
nmbd/nmbd_nameregister.c:register_name_response(130)
Sep 14 08:58:01 fedora2 nmbd[2389]:   register_name_response: WINS 
server at IP 192.168.123.241 rejected our name registration of FC2<00> 
IP 192.168.123.252
Sep 14 08:58:01 fedora2 nmbd[2389]: [2004/09/14 08:58:01, 0] 
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Sep 14 08:58:01 fedora2 nmbd[2389]:   standard_fail_register: Failed to 
register/refresh name FC2<00> on subnet UNICAST_SUBNET
Sep 14 08:58:01 fedora2 nmbd[2389]: [2004/09/14 08:58:01, 0] 
nmbd/nmbd_nameregister.c:register_name_response(130)
Sep 14 08:58:01 fedora2 nmbd[2389]:   register_name_response: WINS 
server at IP 192.168.123.241 rejected our name registration of FC2<03> 
IP 192.168.123.252
Sep 14 08:58:01 fedora2 nmbd[2389]: [2004/09/14 08:58:01, 0] 
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Sep 14 08:58:01 fedora2 nmbd[2389]:   standard_fail_register: Failed to 
register/refresh name FC2<03> on subnet UNICAST_SUBNET
Sep 14 09:00:47 fedora2 smbd[2417]: [2004/09/14 09:00:47, 0] 
lib/util_sock.c:get_peer_addr(1000)
Sep 14 09:00:47 fedora2 smbd[2417]:   getpeername failed. Error was 
Transport endpoint is not connected
Sep 14 09:00:47 fedora2 smbd[2417]: [2004/09/14 09:00:47, 0] 
lib/util_sock.c:read_socket_data(384)
Sep 14 09:00:47 fedora2 smbd[2417]:   read_socket_data: recv failure for 
4. Error = Connection reset by peer
Sep 14 10:34:02 fedora2 smbd[2468]: [2004/09/14 10:34:02, 0] 
lib/util_sock.c:get_peer_addr(1000)
Sep 14 10:34:02 fedora2 smbd[2468]:   getpeername failed. Error was 
Transport endpoint is not connected
Sep 14 10:34:02 fedora2 smbd[2468]: [2004/09/14 10:34:02, 0] 
lib/util_sock.c:read_socket_data(384)
Sep 14 10:34:02 fedora2 smbd[2468]:   read_socket_data: recv failure for 
4. Error = Connection reset by peer
Sep 14 10:40:25 fedora2 smbd[2476]: [2004/09/14 10:40:25, 0] 
lib/util_sock.c:get_peer_addr(1000)
Sep 14 10:40:25 fedora2 smbd[2476]:   getpeername failed. Error was 
Transport endpoint is not connected
Sep 14 10:40:25 fedora2 smbd[2476]: [2004/09/14 10:40:25, 0] 
lib/util_sock.c:read_socket_data(384)
Sep 14 10:40:25 fedora2 smbd[2476]:   read_socket_data: recv failure for 
4. Error = Connection reset by peer


Hi,
I am having an issue browsing my work group, i have made the samba 
server the master browser and it wins the elections. As far as i can 
tell from the nmbd.logs it is also collecting hosts for the workgroup 
but when you try to list the workgroup this error is recorded in the 
messages log :

nss_wins[7417]: [2004/09/14 09:54:23, 0] 
smbd/service.c:make_connection_snum(570)

nss_wins[7417]:   Can't become connected user!
Now all users can use \\server and list the shares and access them all, 
so all users and passwords are correct.

windows gives the error "Workgroup is not accessible, you might not have 
permission to use the network resource"

The server is running Fedora Core 1 a

[Samba] I finde the files but I cannot open them!

2004-09-14 Thread Tarjei Huse
Hi, I just upgraded my one of my servers to 3.0.7 using the rpms for
suse 8.2.

now, hell has broken loose. The clients may log on, open shares, browse
folders, but they cannot open files!

Using smbclient I see that samba starts the transfer, than aborts. 

In my log I find a whole bunch of errors saying:
Sep 14 11:24:39 mail2 smbd[4464]: [2004/09/14 11:24:39, 0]
lib/util_sock.c:read_socket_data(384)
Sep 14 11:24:39 mail2 smbd[4464]:   read_socket_data: recv failure for
4. Error = Connection reset by peer

Does anyone know what may be wrong?

yours,
Tarjei

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


[Samba] Re: locked files in smbstatus

2004-09-14 Thread éric le hénaff
i answer to my own question : everything i need to know about locking is in
the HOWTO :
http://sambafr.idealx.org/samba/docs/man/Samba-HOWTO-Collection/locking.html
regards

"éric le hénaff" <[EMAIL PROTECTED]> a écrit dans le message de
news:[EMAIL PROTECTED]
> hello,
> can anybody explain or point me to a document that explain the locked
files
> section produced by smbstatus -L (see below).
> what means denymode ? access ? what means exclusive+batch in the oplock
> section ?
> can anybody point me to a document explaining the way file locking works ?
> regards
>
> # smbstatus -L
> Locked files:
> PidDenyMode   Access  R/WOplock   Name
> --
> 18621  DENY_NONE  0x2019f RDWR   EXCLUSIVE+BATCH
> /share/users/David.Schreiber/Ancillon, Notes.doc   Wed Sep  8 14:42:50
2004
> 9447   DENY_WRITE 0x2019f RDWR   EXCLUSIVE+BATCH
> /share/users/Julie.Valet/mail/attach/Inscription Recto 2004.rtf   Wed Sep
8
> 11:44:49 2004
> 13412  DENY_WRITE 0x20089 RDONLY EXCLUSIVE+BATCH
> /share/users/suppr_tmp_users.bat   Wed Sep  8 13:10:44 2004
> 22515  DENY_NONE  0x20089 RDONLY EXCLUSIVE+BATCH  ¾W   Wed Sep  8
> 15:22:31 2004
> 19366  DENY_WRITE 0x20089 RDONLY EXCLUSIVE+BATCH  K   Wed Sep  8
> 14:51:40 2004
> 3782   DENY_NONE  0x20189 RDONLY EXCLUSIVE+BATCH
> /share/users/Anne.Wettly/mail/attach/Agrippa d'Aubigné.xls   Wed Sep  8
> 11:12:30 2004
> 8
>
> -- 
> _
>
> Eric LE HENAFF
> Informaticien auprès des bibliothèques de l'ENS
> Centre de Ressources Informatiques
> Ecole Normale Supérieure
> Paris
>
>
>
> -- 
> 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] Workgroup Browsing Issue and wins on 3.0.6

2004-09-14 Thread Carl Matthews
Hi,
I am having an issue browsing my work group, i have made the samba 
server the master browser and it wins the elections. As far as i can 
tell from the nmbd.logs it is also collecting hosts for the workgroup 
but when you try to list the workgroup this error is recorded in the 
messages log :

nss_wins[7417]: [2004/09/14 09:54:23, 0] 
smbd/service.c:make_connection_snum(570)

nss_wins[7417]:   Can't become connected user!
Now all users can use \\server and list the shares and access them all, 
so all users and passwords are correct.

windows gives the error "Workgroup is not accessible, you might not have 
permission to use the network resource"

The server is running Fedora Core 1 and samba version : 3.0.6-2.FC1
Also i had a problem the other day where some wins entries were wrong so 
i deleted the wins.dat and restarted the server, but the wrong wins 
entries reappeared. after rebooting the server it seems to be working 
now, apart from another samba server doesnt add it self to the wins 
server list. It has win support = false and win server = xxx.xxx.xxx.xxx 
in its config.

The best bits of my smb.conf is below, thanks for any help.
Carl Matthews
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/06/23 10:15:40
# Global parameters
[global]
log file = /var/log/samba/%m.log
loglevel = 1
load printers = No
security = user
encrypt passwords = yes
guest ok = yes
dos filemode = Yes
ldap ssl = no
name resolve order = wins lmhosts host bcas
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
deadtime = 15
create mask = 0775
encrypt passwords = yes
oplock break wait time = 100
wins support = Yes
dns proxy = No
netbios aliases = FC1
server string = -Server- FC1
#unix password sync = yes
local master = yes
mangle prefix = 8
os level = 255
directory mask = 0775
valid users = @MLE-ALL
preferred master = yes
max log size = 500

[www]
comment = Mandrake Webserver
path = /var/www
valid users = carl
admin users = carl
read list = carl
write list = carl
read only = No
[homes]
comment = Home Directories
path = /home/%u
read only = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[NET-Eng]
comment = Product Design By Genius
path = /mnt/mle-net/MLE-NET/MLE-NET-Eng
write list = @MLE-ALL
force user = mleall
read only = No

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


Re: [Samba] Winbind - Getting W2K-User Names Problem

2004-09-14 Thread Hamish
Make sure nscd is off as well, you can do this with `/etc/init.d/nscd 
stop` most of the time, restart samba afterwards as well and you should 
be ok

Pallas Bernhard wrote:
Hallo Hamish and List
yeah, this was the bug!! Thanks a lot.
But now, I have another problem: getent passwd does not show
the DOMAIN+users.
Hope you can help me in this case ?
Thanks in advance!
Bernhard

Am Di 14.09.2004 10:44 schrieb Hamish <[EMAIL PROTECTED]>:
 

Have you tried to put 'winbind use default domain = no' in your 
smb.conf? This seems like the behavior that setting =yes would cause.
Hope that helps
H

Pallas Bernhard wrote:
   

Hallo List, 

I have set up a SAMBA 3.0.7 as a ADS-Domain Member with Kerberos
and/or
rpc.
Kerberos seems to work fine.
net ads join ... was successfully.
wbinfo -t : checking the trust secret via RPC calls succeeded
wbinfo -u results in
aschmidt
agall
aglock
aklein
aschaefer
aturmus
aweiche
where  I expected 

DOMAIN+agall
DOMAIN+aklein 
What went wrong ??
Any hints are highly appreciated -- Thanx in advance!!
Mit freundlichen GrÃÃen
Bernhard Pallas
Mail [EMAIL PROTECTED]


 

Mit freundlichen GrÃÃen
Bernhard Pallas
Neue Schulstrasse 15
71665 Vaihingen / Enz
Telefon  07042 840019
Telefax  07042 840029
Mail [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] Can't get logon script option working with PDC

2004-09-14 Thread christoph
Hi,
have your useres at least linux-read-permissions on all the dir's downto
/var/lib/samba/netlogon and on the directory itself?
if not AFAIK they won't be allowed to acces the files in this dir.
Christoph
Mark Murphy schrieb:
Environment: Samba 3.0.6 on FC2 as PDC (replacing an NT 4.0 PDC)
Windows 98/ME/2K/XP desktops on the domain
I can't seem to get "logon script" to function. My [netlogon] share
exists, the batch file is there, and if I manually run
\\MAINSERVER\netlogon\logon.bat, it runs just fine. However, it doesn't 
run on login.

I set "log level" to 3 and poked through the results. I can see where
clients are accessing [netlogon], but I see no evidence that they're
even requesting logon.bat.
Here's the relevant snippets out of smb.conf:
[global]
log file = /var/log/samba/%m.log
log level = 0
load printers = yes
idmap gid = 16777216-33554431
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
username map = /etc/samba/smbusers
domain master = yes
preferred master = yes
local master = yes
winbind use default domain = no
passdb backend = tdbsam
template shell = /bin/false
dns proxy = no
netbios name = MAINSERVER
printing = cups
server string = Samba Server
idmap uid = 16777216-33554431
workgroup = SNICKLEFRITZ
os level = 65
printcap name = /etc/printcap
security = user
max log size = 50
domain logons = yes
logon script = logon.bat
logon path =
[netlogon]
#   browseable = no
path = /var/lib/samba/netlogon
read only = yes
write list = foo, bar
It feels like things should be working, based on the docs I've read 
(including both Samba-3 books), but I'm obviously missing something...

Any suggestions? Thanks!
Mark Murphy
[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: SAMBA & ISAM Databases

2004-09-14 Thread Volker Lendecke
On Tue, Sep 14, 2004 at 10:23:09AM +0200, Pepe Guimarães wrote:
> I have "mounted" the Samba share on the Linux server so that Linux
> applications are "pathed"
> to the share and accessing the data there.

I'd suspect the problem in smbfs, not samba. What happens if you use the
application directly on the samba server without smbfs in between?

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


Re: [Samba] Winbind - Getting W2K-User Names Problem

2004-09-14 Thread Pallas Bernhard
Hallo Hamish and List

yeah, this was the bug!! Thanks a lot.
But now, I have another problem: getent passwd does not show
the DOMAIN+users.
Hope you can help me in this case ?
Thanks in advance!
Bernhard



Am Di 14.09.2004 10:44 schrieb Hamish <[EMAIL PROTECTED]>:

> Have you tried to put 'winbind use default domain = no' in your 
> smb.conf? This seems like the behavior that setting =yes would cause.
> Hope that helps
> H
> 
> Pallas Bernhard wrote:
> 
> >Hallo List, 
> >
> >I have set up a SAMBA 3.0.7 as a ADS-Domain Member with Kerberos
> >and/or
> >rpc.
> >Kerberos seems to work fine.
> >net ads join ... was successfully.
> >wbinfo -t : checking the trust secret via RPC calls succeeded
> >wbinfo -u results in
> >aschmidt
> >agall
> >aglock
> >aklein
> >aschaefer
> >aturmus
> >aweiche
> >
> >where  I expected 
> >
> >DOMAIN+agall
> >DOMAIN+aklein 
> >
> >What went wrong ??
> >Any hints are highly appreciated -- Thanx in advance!!
> >
> >  
> >Mit freundlichen GrÃÃen
> >
> >
> >Bernhard Pallas
> >Mail [EMAIL PROTECTED]
> >
> >
> >
> >  
> >
> 

Mit freundlichen GrÃÃen


Bernhard Pallas
Neue Schulstrasse 15
71665 Vaihingen / Enz

Telefon  07042 840019
Telefax  07042 840029

Mail [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] Browsing Sucks on VPN

2004-09-14 Thread Hamish
It looks like your client that is doing this, have you tried adding your 
wins/dns server to your vpn client setup? (In XP it is in properties > 
tcp/ip > properties > advanced > wins/dns of the vpn connection)

Saad Ahmed wrote:
Hi,
I am using Samba on RH9 for providing namaing services. We were using WINS before for 
naming.
On networking neighborhood, I can see all computers (when I am in the office), however 
when I am travelling, I am not able to see the list. Not only that, I am unable to 
connect to my computer using \\NameOfComputer. I can connect through \\MyIpAddress.
I could see the list of computers when I was using WINS in the past. Does anyone know the solution to fix this on Samba. 

Your help would be highly appreciated.
MSA
 

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


Re: [Samba] Winbind - Getting W2K-User Names Problem

2004-09-14 Thread Hamish
Have you tried to put 'winbind use default domain = no' in your 
smb.conf? This seems like the behavior that setting =yes would cause.
Hope that helps
H

Pallas Bernhard wrote:
Hallo List, 

I have set up a SAMBA 3.0.7 as a ADS-Domain Member with Kerberos and/or
rpc.
Kerberos seems to work fine.
net ads join ... was successfully.
wbinfo -t : checking the trust secret via RPC calls succeeded
wbinfo -u results in
aschmidt
agall
aglock
aklein
aschaefer
aturmus
aweiche
where  I expected 

DOMAIN+agall
DOMAIN+aklein 
What went wrong ??
Any hints are highly appreciated -- Thanx in advance!!
 
Mit freundlichen GrÃÃen

Bernhard Pallas
Mail [EMAIL PROTECTED]

 

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


[Samba] Profiles pemissions and ldap backend

2004-09-14 Thread Dan
Two quick questions:
1.
For a samba server what backend would produce the best performance with
samba. ldbm or bdb?
2.
What permissions should be on the profiles folder and the subsequent users
folders?

/data/profiles
/date/profiles/user1
/date/profiles/user2

Thanks for your time

Dan



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


[Samba] SAMBA & ISAM Databases

2004-09-14 Thread Pepe Guimarães
 I have a heterogeneous network with a R.H. Linux server running Samba
3.0.5 and various
Win clients (from Win 98 to Win XP Pro). On a Samba share I have an ISAM
database (Access, FoxPro etc. like)
that is being accessed by applications running on the Win clients and by
applications running in Linux.
I have disabled "opplocks" in both Win9x clients and on the Samba share.
I have "mounted" the Samba share on the Linux server so that Linux
applications are "pathed"
to the share and accessing the data there.

The problem arises with locks. Files locked by the Win clients are
seeing as locked by Win 
clients but not by Linux and viceversa.

Any solution for this?
I have "played" with options in Samba (level2 oplocks, veto oplocks,
locking, 
kernel oplocks, etc.) without any improvements. One thing that I have
clear is oplocks = no.

Other parameters we have tried:
 
To be more specific:
Network name for Linux machine: pepe
Name of Samba share (as seen by Win clients) : testdata
Directory where data is on linux machine : /u/testdata

Thus data can be accessed by: //pepe/testdata

Mount point for Samba share in Linux: /

Comand given to mount Samba share:

mount -t smbfs -o username=whatever,password=key //pepe/testdata
/testdata

Checked mounting with:

mount

gives me : //pepe/testdata mounted on /testdata type smbfs (o)<---
By the way: what means the (o)?

Then I make the paths to access the data from Linux to be /testdata and
fron win clients to be //pepe/testdata

Can you see anything wrong?

Tests I am going to make are:

1-Modify the name of the Samba share so that  "share name <> name linux
directory"
2-Mount the Samba share at another point rather than /
3-Try to access the data from Linux with the same full path as Win
clients. In the above case //pepe/testdata rather than /testdata

Finally:
 shouldn't "posix locking = yes" in smb.conf give consistent locking
between SMB and posix (NFS or local) access? 
 
 
TIA
 
José  Guimarães [ [EMAIL PROTECTED] ]
Director
Moose Software
http://www.moose-software.com  
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] quota-support seems to be broken in 3.0.6/3.0.7

2004-09-14 Thread Ingo Steuwer
Hello

we're using samba based on the debian-package, which we translated
including the configure-option "--with-quotas"

The user-interaction with quotas is OK, in his (the users) view the
partition-size is limited to his quota-hard-limit. This works both with
XFS and EXT3.

Windows (XP SP1 and SP2) administration of quota is not possible. Using
3.0.5 I can do a right-click->Eigenschaften (preferences) on a
network-device and can set/modify quotas using the
"Kontingentverwaltung" (quota administration). With samba 3.0.6 or 3.0.7
this tab is missing. Is this a general problem or only with the
debian-package ?

Debug level "6 quota:11" gives me the appended messages. As far as I can
see the first difference apart from line-numbers is in "got message type
0x0 of len 0x64" from process.c:process_smb. Does it mean the client
asks different or the server sends in a different way ?

Maybe anyone can give me a hint, more debug-output or testing through us
is available.

Thanks in advance
Ingo Steuwer


3.0.5 == :

[2004/09/14 03:41:46, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 5000 and contains 1 supplementary groups
  Group[  0]: 5000
[2004/09/14 03:41:46, 5] smbd/uid.c:change_to_user(267)
  change_to_user uid=(0,0) gid=(0,5000)
[2004/09/14 03:41:46, 4] smbd/vfs.c:vfs_ChDir(654)
  vfs_ChDir to /home/Administrator
[2004/09/14 03:41:46, 3] smbd/trans2.c:call_trans2qfsinfo(1804)
  call_trans2qfsinfo: level = 1007
[2004/09/14 03:41:46, 10] lib/sysquotas.c:sys_get_quota(391)
  sys_get_quota() uid(0, 0)
[2004/09/14 03:41:46, 10] lib/sysquotas_xfs.c:sys_get_xfs_quota(93)
  sys_get_xfs_quota: path[/home] bdev[/dev/sda3] SMB_USER_QUOTA_TYPE
uid[0]
[2004/09/14 03:41:46, 10] lib/sysquotas.c:sys_get_quota(401)
  sys_get_xfs_quota() called for mntpath[/home] bdev[/dev/sda3] qtype[2]
id[0].
[2004/09/14 03:41:46, 10] lib/sysquotas.c:sys_get_quota(391)
  sys_get_quota() uid(0, 0)
[2004/09/14 03:41:46, 10] lib/sysquotas_xfs.c:sys_get_xfs_quota(101)
  sys_get_xfs_quota: path[/home] bdev[/dev/sda3] SMB_GROUP_QUOTA_TYPE
gid[5000]
[2004/09/14 03:41:46, 10] lib/sysquotas.c:sys_get_quota(401)
  sys_get_xfs_quota() called for mntpath[/home] bdev[/dev/sda3] qtype[4]
id[5000].
[2004/09/14 03:41:46, 5] smbd/trans2.c:call_trans2qfsinfo(1963)
  call_trans2qfsinfo : SMB_QUERY_FS_FULL_SIZE_INFO bsize=1024,
cSectorUnit=2, cBytesSector=512, cUnitTotal=967120, cUnitAvail=910064
[2004/09/14 03:41:46, 6] lib/util_sock.c:write_socket(432)
  write_socket(22,92)
[2004/09/14 03:41:46, 6] lib/util_sock.c:write_socket(435)
  write_socket(22,92) wrote 92
[2004/09/14 03:41:46, 4] smbd/trans2.c:call_trans2qfsinfo(2087)
  SMBtrans2 info_level = 1007
[2004/09/14 03:41:46, 6] smbd/process.c:process_smb(889)
  got message type 0x0 of len 0xc8
[2004/09/14 03:41:46, 3] smbd/process.c:process_smb(890)
  Transaction 84 of length 204
[2004/09/14 03:41:46, 5] lib/util.c:show_msg(456)
[2004/09/14 03:41:46, 5] lib/util.c:show_msg(466)
  size=200
  smb_com=0x25
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=3
  smb_pid=848
  smb_uid=100
  smb_mid=7554
  smt_wct=16
  smb_vwv[ 0]=0 (0x0)
  smb_vwv[ 1]=  116 (0x74)
  smb_vwv[ 2]=0 (0x0)
  smb_vwv[ 3]= 1024 (0x400)
  smb_vwv[ 4]=0 (0x0)
  smb_vwv[ 5]=0 (0x0)
  smb_vwv[ 6]=0 (0x0)
  smb_vwv[ 7]=0 (0x0)
  smb_vwv[ 8]=0 (0x0)
  smb_vwv[ 9]=0 (0x0)
  smb_vwv[10]=   84 (0x54)
  smb_vwv[11]=  116 (0x74)
  smb_vwv[12]=   84 (0x54)
  smb_vwv[13]=2 (0x2)
  smb_vwv[14]=   38 (0x26)
  smb_vwv[15]=28946 (0x7112)
  smb_bcc=133
[2004/09/14 03:41:46, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans (pid 19796)
[2004/09/14 03:41:46, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 5000) - sec_ctx_stack_ndx = 0

3.0.6 == :

[2004/09/14 03:55:53, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 5000 and contains 1 supplementary groups
  Group[  0]: 5000
[2004/09/14 03:55:53, 5] smbd/uid.c:change_to_user(280)
  change_to_user uid=(0,0) gid=(0,5000)
[2004/09/14 03:55:53, 3] smbd/trans2.c:call_trans2qfsinfo(1814)
  call_trans2qfsinfo: level = 1007
[2004/09/14 03:55:53, 10] lib/sysquotas.c:sys_get_quota(391)
  sys_get_quota() uid(0, 0)
[2004/09/14 03:55:53, 10] lib/sysquotas_xfs.c:sys_get_xfs_quota(93)
  sys_get_xfs_quota: path[/home] bdev[/dev/sda3] SMB_USER_QUOTA_TYPE
uid[0]
[2004/09/14 03:55:53, 10] lib/sysquotas.c:sys_get_quota(401)
  sys_get_xfs_quota() called for mntpath[/home] bdev[/dev/sda3] qtype[2]
id[0].
[2004/09/14 03:55:53, 10] lib/sysquotas.c:sys_get_quota(391)
  sys_get_quota() uid(0, 0)
[2004/09/14 03:55:53, 10] lib/sysquotas_xfs.c:sys_get_xfs_quota(101)
  sys_get_xfs_quota: path[/home] bdev[/dev/sda3] SMB_GROUP_QUOTA_TYPE
gid[5000]
[2004/09/14 03:55:53, 10] lib/sysquotas.c:sys_get_quota(401)
  sys_get_xfs_quota() called for mntpath[/home] bdev[/dev/sda3] qtype[

[Samba] mount smb auto-reconnect?

2004-09-14 Thread Darren Martz
Is it me or does "mount -t smb" not auto-reconnect?

Can anyone comment on that, maybe there is an option I overlooked. 

I'm running Fedora Core 2 with Samba version 3.0.3-5


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


Re: [Samba] throughput of 300MB/s

2004-09-14 Thread Volker Tanger
Greetings!

> I would like to emphasize that your protocol weather samba, nfs or
> even afp for that matter isn't the bottle neck as they are dependant
> on how well you;
[...]
> 3) how well the hardware is config'd in terms of bus speed of PCI bus,
> raid card throughput, drive throughput, network card throughput,
> etc...

Standard PCI:  32bit @ 33MHz = 1Gbit/s (theoretically, minus overhead)
wide PCI:  64bit @ 33MHz = 2Gbit/s (theoretically, minus overhead)
fast PCI:  32bit @ 66MHz = 2Gbit/s (theoretically, minus overhead)
wide+fast PCI: 64bit @ 66MHz = 4Gbit/s (theoretically, minus overhead)

And that is *per*bus*, not per card. Standard PCs (and also vanilla PC
servers) only have one PCI bus, so that capacity is divided up
*at*least* between IDE/RAID controller and network card. Minus overhead.
So you won't be able to reach 500Mbit/s (half-duplex) even under optimal
conditions on such hardware.

Alas, if you're not using absolutely collision-free network media (e.g.
exclusively a single crossover cable between server and client) you
won't get above ~600Mbit/s on Gbit-ethernet anyway... 

Bye

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