[Samba] Re: Failed to setup RT_SIGNAL_LEASE handler

2005-02-27 Thread gmane.org

Uzytkownik Richard Mandel [EMAIL PROTECTED] napisal w wiadomosci
news:[EMAIL PROTECTED]
 I can not find any solution to this problem. Is this a known bug?
 smbd/oplock_linux.c:linux_init_kernel_oplocks(287) - Failed to setup
 RT_SIGNAL_LEASE handler

 Richard Mandel
 Technology Transfer, Inc.

Try to install newer version of glibc-solibs. I have installed version from
slackware current  - glibc-solibs-2.3.4-i486-1.tgz and it seems to work.

Jacek Chotomski



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


[Samba] SPAM Rejection Notification

2005-02-27 Thread spam_notifier
A message
From:   [EMAIL PROTECTED]
To: Sambasamba@lists.samba.org
Subject:Ahollman, Selèct Softwarè Programs – at upto 80 pèrcènt  
Ð#297;scõùn#355;
Sent:   2/27/2005 4:08:30 AM

Your message to Ahollman[EMAIL PROTECTED]  was flagged by the spam filter 
used by CIBER, Inc and was not delivered to the intended recipient.  If you 
feel this was in error please contact your intended recipient.  Do not respond 
to this email as it was sent by a non-monitored mailbox.

Thank you.

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


[Samba] RE: Abuse, Fèèl youngèr and Bètter Hèrbal Way (verification)

2005-02-27 Thread Edson Internet Staff
You are receiving this reply because you just emailed one of us at EDSON 
Internet and we are protecting ourselves from receiving junk mail.  Please read 
the below, action is required on your part:

Edson Internet has been in business for over 10 years and because of that we 
get over 4000 junk mails a day!  Therefore, we have implemented this system to 
be more responsive to you.  I hope you will find it very beneficial...  Please 
follow these instructions:

Just this once, click the link below so I can receive your emails.
You won't have to do this again.

http://spamarrest.com/a2?ZGV1ZQVjBQcmLJ1vLHOfnKA0pl5mLJ1vLF5ipzpj




Spam Arrest - Take control of your inbox!
http://spamarrest.com/affl?1250208


You are receiving this message in response to your email to
Edson Internet Staff, a Spam Arrest customer.

Spam Arrest requests that senders verify themselves before
their email is delivered.

When you click the above link, you will be taken to a page
with a graphic on it. Simply read the word in the graphic,
type it into the form, and you're verified.

You will only need to do this once per Spam Arrest customer.

Below are the complete headers of the message that this email 
was generated in response to.

Return-Path: samba@lists.samba.org
Date: Sat, 26 Feb 2005 10:40:56 +
From: Samba samba@lists.samba.org
Subject: Abuse, Fèèl youngèr and Bètter  Hèrbal Way
To: Abuse [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Reply-To: Postmaster [EMAIL PROTECTED]
Sender: Ayoti [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: text/html
Content-Transfer-Encoding: 8bit
X-Spam-Status: No, hits=1.5 required=7.0
tests=BIG_FONT,CTYPE_JUST_HTML,FRONTPAGE,HGH,
  HTML_FONT_COLOR_BLUE,HTML_FONT_COLOR_RED,IN_REP_TO,
  REFERENCES,SPAM_PHRASE_02_03,TO_LOCALPART_EQ_REAL
version=2.43
X-UIDL: SBK!!EN7!bN3!!WTL!!
X-SA-Poll-Id: SBK!!EN7!bN3!!WTL!!..5..1109414456000
X-SA-USERIDNR: 1110108




Webmasters help stop spam and make 50%.
http://spamarrest.com/affl?1250208/affiliates/index.jsp 


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


Re: [Samba] smbclient's tar to /dev/null behaves unexpectedly

2005-02-27 Thread Andrew Bartlett
On Fri, 2005-02-25 at 15:34 -0800, Kevin Dalley wrote:
 If I use smbclient to create a tar file at /dev/null, it skips most of
 the steps.  This behavior 

Can you prepare this as a patch, mention it on samba-technical, and
possibly file a bug?

Your reasoning seems sane, but I don't know the history of that file...

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


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

[Samba] Building two redundant servers without clustering

2005-02-27 Thread M. Müller
Hi,
my Fileserver lately refused to work anymore. I'm quite thankfull for 
that for that it was a bit slow anyway ;-)
My idea is to set up two relativley samba-hosts instead of byuing one 
real server with many build in redundancies. That can only work if I 
can manage to keep both filesystems in sync and I see two alternatives:
1.: Use drdb to build a RAID1 across the two host's filesystems. If  one 
host fails, the RAID runs in degraded mode but it runs - or does it 
crawl anyway because drdb is slow?
2.:  Use rsync. If I remember correctly, rsync was not supposed to run 
permanently as a daemon to keep two filesystems in sync(?). I could live 
with that, but how big is the overhead if I ran rsync every 5 or 10 minutes?

I want to achieve a trouble free passive fallover. I one host fails, 
people might have to login again and they even might have to wait up to 
30 minutes but then it has to work and they have to get all their files.

This is a public school and data is not worth real money most of the 
time, but once in year there are final exams written and if the server 
breaks down the whole exam has to be redesigned - that could bring me 
into the news.

Does anybody know of any better alternatives I didn't think of?
Thanks a lot,
Malte Müller
BBS1 Emden
P.S.: My current plans for hardware are two servers, each made up of:
ASUS A8N-SLI plus 2 SATA (WD or Seagate) drives as RAID0 or JBOD.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Adding XP clients to samba domain - samba adminpassword prob?

2005-02-27 Thread Andrew Bartlett
On Thu, 2005-02-24 at 12:11 +, Nick Roberts wrote:
 Tried that... don't think that's neccesary in Samba version 3?

Not in 3.0.11, where you can instead use privileges to the same effect.
See Jerry's posts on the subject.

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


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

Re: [Samba] SLES9+winbind+NT PDC unable to access home shares

2005-02-27 Thread Andrew Bartlett
On Thu, 2005-02-24 at 14:00 +, Robert wrote:

 wbinfo -a rob%pass
 plaintext password authentication failed
 error code was NT_STATUS_NO_SUCH_USER (0xc064)
 error message was: No such user
 Could not authenticate user rob%pass with plaintext password
 challenge/response password authentication succeeded
 
 So it does suggest an authentication problem but how do I fix this?

This much indicates success, actually.  You need to test with the fully-
qualified username (domain\\user) however.

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


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

Re: [Samba] Building two redundant servers without clustering

2005-02-27 Thread Ilia Chipitsine
Thanks a lot,
Malte M?ller
BBS1 Emden
P.S.: My current plans for hardware are two servers, each made up of:
ASUS A8N-SLI plus 2 SATA (WD or Seagate) drives as RAID0 or JBOD.
SATA sucks. choose SCSI.
anyway You are going to pay more for hardware, so why to choose SATA ?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Radar, #288;#279;#355; ready for Romá#328;#26...

2005-02-27 Thread verify
ATTENTION!

A message you recently sent to a 0Spam.com user with the subject Radar, 
#288;#279;#355; ready for Romá#328;#26... was not delivered because they 
are using the 0Spam.com anti-spam service.  Please click the link below to 
confirm that this is not spam. When you confirm, this message and all future 
messages you send will automatically be accepted.

http://www.0spam.com/verify.cgi?user=1106008544verify=407854



This is an automated message from 0Spam.com.
Please do not reply to this Email.

Looking for a free anti-spam service?
Visit us at http://www.0spam.com to find out more.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Building two redundant servers without clustering

2005-02-27 Thread M. Müller
Ilia Chipitsine schrieb:
Thanks a lot,
Malte M?ller
BBS1 Emden
P.S.: My current plans for hardware are two servers, each made up of:
ASUS A8N-SLI plus 2 SATA (WD or Seagate) drives as RAID0 or JBOD.

SATA sucks. choose SCSI.
anyway You are going to pay more for hardware, so why to choose SATA ?
Why should SATA suck? Several comanies build RAIDs with ATA or SATA 
drives (e.g. Transtec). Anyway, I get three years warranty and some 
drives are said to hold that promise. A full fledged server with 
redundant power-supplies and RAID-5 SCSI costs more than 2.5k Euro. A 
cheap one less than 1k. With PCIe it should be possible to get the 
necessary I/O bandwidth.

Thanks for your comment,
Malte Müller

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

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


Re: [Samba] Building two redundant servers without clustering

2005-02-27 Thread Ilia Chipitsine
Thanks a lot,
Malte M?ller
BBS1 Emden
P.S.: My current plans for hardware are two servers, each made up of:
ASUS A8N-SLI plus 2 SATA (WD or Seagate) drives as RAID0 or JBOD.

SATA sucks. choose SCSI.
anyway You are going to pay more for hardware, so why to choose SATA ?
Why should SATA suck? Several comanies build RAIDs with ATA or SATA drives 
(e.g. Transtec). Anyway, I get three years warranty and some drives are said 
to hold that promise. A full fledged server with redundant power-supplies and 
RAID-5 SCSI costs more than 2.5k Euro. A cheap one less than 1k. With PCIe it 
should be possible to get the necessary I/O bandwidth.
if You want to save money, no problem, You can choose either IDE or SATA 
drives, but there's no point of choosing such drives when perfomance is a 
battleneck. For instance, instead of buying full pledged server, You can 
buy

1. SCSI controller itself (about 150 euro)
2. number of SCSI drives (SCSI-320 72G 15K rpm are about 300 euro each)
hardware RAID is not neccessary, software RAID are good as well. It will 
not cost that much.

Thanks for your comment,
Malte M?ller

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


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


[Samba] Out of Office AutoReply: Allen, Selèct Softwarè Programs - at upto 80 pèrcènt Ð#297;scõùn#355;

2005-02-27 Thread Allen Vance
I will be out of the office from the afternoon of Friday 02/25/2005 returning 
on Thursday 03/03/2005.

During this time, I will be checking my voicemail on a regular basis. I will 
also be checking email on a limited basis.

In case of an emergency please contact Kristina Williams at [EMAIL PROTECTED] 
(x.136) or Mark Hembree at [EMAIL PROTECTED] (x.127). Or you can reach me on my 
cell phone at (813) 230-4397.

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


[Samba] smbldap_open: cannot access LDAP when not root ...

2005-02-27 Thread Márcio Luciano Donada
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I am it has two weeks trying to twirl the PDC with samba + LDAP and ties
the moment only migraines. It would like to know which is the problem,
now, below described in mine log's?
[2005/02/27 12:14:47, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 8 try!
[2005/02/27 12:14:48, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:48, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 9 try!
[2005/02/27 12:14:49, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:49, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 10 try!
[2005/02/27 12:14:50, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:50, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 11 try!
[2005/02/27 12:14:51, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:51, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 12 try!
[2005/02/27 12:14:52, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:52, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 13 try!
[2005/02/27 12:14:53, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:53, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 14 try!
[2005/02/27 12:14:54, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:54, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 15 try!
[2005/02/27 12:14:55, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:55, 0] lib/smbldap.c:smbldap_search_suffix(1169)
~  smbldap_search_suffix: Problem during the LDAP search: (unknown)
(Timed out)
[2005/02/27 12:14:55, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2398)
~  could not add user/computer 16178-audit$ to passdb.  Check permissions?
[2005/02/27 12:14:55, 2] smbd/server.c:exit_server(609)
~  Closing connections
[]'s
- --
Márcio Luciano Donada
mdonada at auroraalimentos dot com dot br
FreeBSD - The uptime is mesuared in years!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCIf4yyJq2hZEymxcRAqklAJ93A5VdVRx8j4F+ok4i82AL7zRTSQCgp7P1
SJo/w4FHuH4VbD5OktjtPKo=
=mKHg
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbldap_open: cannot access LDAP when not root ...

2005-02-27 Thread Matthias Spork
Hello,
if you have such in your smb.conf:
   ldap admin dn = uid=samba,o=company,c=com
   ldap ssl = no
   ...
you must have an account uid=samba,o=company,c=com with a password in 
your ldap.
You can tell samba this password by smbpasswd -w password.

matze
Márcio Luciano Donada schrieb:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I am it has two weeks trying to twirl the PDC with samba + LDAP and ties
the moment only migraines. It would like to know which is the problem,
now, below described in mine log's?
[2005/02/27 12:14:47, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 8 try!
[2005/02/27 12:14:48, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:48, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 9 try!
[2005/02/27 12:14:49, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:49, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 10 try!
[2005/02/27 12:14:50, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:50, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 11 try!
[2005/02/27 12:14:51, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:51, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 12 try!
[2005/02/27 12:14:52, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:52, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 13 try!
[2005/02/27 12:14:53, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:53, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 14 try!
[2005/02/27 12:14:54, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:54, 1] lib/smbldap.c:another_ldap_try(1004)
~  Connection to LDAP server failed for the 15 try!
[2005/02/27 12:14:55, 0] lib/smbldap.c:smbldap_open(881)
~  smbldap_open: cannot access LDAP when not root..
[2005/02/27 12:14:55, 0] lib/smbldap.c:smbldap_search_suffix(1169)
~  smbldap_search_suffix: Problem during the LDAP search: (unknown)
(Timed out)
[2005/02/27 12:14:55, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2398)
~  could not add user/computer 16178-audit$ to passdb.  Check 
permissions?
[2005/02/27 12:14:55, 2] smbd/server.c:exit_server(609)
~  Closing connections

[]'s
- --
Márcio Luciano Donada
mdonada at auroraalimentos dot com dot br
FreeBSD - The uptime is mesuared in years!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCIf4yyJq2hZEymxcRAqklAJ93A5VdVRx8j4F+ok4i82AL7zRTSQCgp7P1
SJo/w4FHuH4VbD5OktjtPKo=
=mKHg
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Is it feasable?

2005-02-27 Thread Franco \Sensei\
Hi.
I'm trying to find a solution for our windows clients. I will explain my 
situation.

We have kerberos 5 (mit) kdc, openafs without kaserver (authentication 
using kerberos), openldap, everything on debian stable servers. What do 
our unix/linux clients do? They authenticate over kerberos (pam), gain 
tickets and consequently gain the afs token (krb5afs or 
openafs_session), call ldap and find their home under 
/afs/cell/usr/username (posixAccount, posixGroup). Nothing is local. 
Every file, desktop and stuff, is stored under afs (no matter what, a 
user sees just a directory /afs... nothing different from any other 
directory they will see).

I'd like to do the same thing on windows using samba, but I need some 
advices because I'm not sure. Just two points before asking. These 
things apply clearly for windows only, since linux, unix (aix, irix, and 
solaris), and macosx do what I've said before (all remotely).

- Kerberos for Windows:
   KFW after a successful windows login, if the username and password 
match the kerberos principal and password, automatically gains all 
kerberos tickets.

- OpenAFS for Windows:
   AFS after a successful windows login, if the username and password 
match the kaserver principal and password, automatically gains the AFS 
token. --- If OpenAFS is installed under a kerberos environment, so with 
KFW present on the system, will convert the previously obtained kerberos 
ticket into an AFS token. --- OpenAFS uses a UNC name \\AFS in windows, 
so no letter Z: Y: or whatever is needed anymore, anyway, they can be 
present.

Now, I'd like to have the same thing without a windows server, doing the 
same thing with samba, having remote profiles and all the user's stuff 
on afs, and authenticating users NOT locally... is that possible?

I'd like to know some things. My user authentication and authorization 
data is created on kerberos, afs and ldap servers. I'd like to create 
users just on samba, not modifying users locally on each machine... 
would be quite crazy (and not feasable... ~500 users...).

Can samba help me? In what way?
I know I can create an NT4 domain with samba alone. Good. Can samba tell 
the windows client to use \\AFS or have I to export a drive for afs? Are 
there issues in doing that?

If I specify ``\\AFS\cellname\users\username'' as the profile storing 
directory, will windows go on afs or will samba screw it up all since 
samba do not understand \\AFS since it is working on linux? I mean, 
windows understands \\AFS\blah\blah but I don't know if it's a

I know the answer is no, but I will ask it anyway :) Can samba have no 
password and get authentication/authorization from a kerberos kdc?

How can I sinchronize passwords? I mean, if samba can't use kerberos, 
the user will change just the samba password... I need to modify also 
kerberos passwords since they should be able to use the same username 
and password on every pc in the department.

Any help, even if little, is really appreciated!!!
--
Sensei mailto:[EMAIL PROTECTED] pgp:8998A2DB
   icqnum:241572242
   yahoo!:sensei_sen
   msn-id:[EMAIL PROTECTED]


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

[Samba] Error while opening Excel VBA macros in Samba PDC windows clients

2005-02-27 Thread Prakash Velayutham
Hi All,
Server OS - SuSE Pro 9.0
Samba server version - samba3-3.0.9-1 (SuSE rpm)
Client - Windows XP Pro SP 2
Office XP SP 2
I have everything working well such as machines joining domain, users
logging in, roaming profiles etc. But when a user of the Samba domain
tries to open a Excel VBA document, the following error occurs.
Error accessing the system registry
Please note that the macro security settings are at LOW. If I say OK to
the previous error, then the system opens a window titled Identity
Login with 2 buttons Log Off Identity and Manage Identities and 2
other buttons OK and Cancel. No actual identities are shown in this
window. And because of this reason OK button is greyed out. If I hit
Cancel, then the system opens up the Excel sheet, but with an error
window saying essentially,
#
Microsoft Excel File Repair Log
Errors were detected in file 'C:\Documents and
Settings\prakash\Desktop\autox4.xls'
The following is a list of repairs:
Lost Visual Basic project.
Lost ActiveX controls.
#
I googled around, and tried this article from Microsoft KB,
http://support.microsoft.com/kb/q269383/;, but to no avail.
I turned on debugging on the server to 10, but does not help. I can see
that the server complains about some DLL files being unavailable, but
these errors don't show up when I try to open the excel sheet.
I am attaching the smb.conf file along. Any help greatly appreciated.
Thanks,
Prakash
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] Error while opening Excel VBA macros in Samba PDC windows clients

2005-02-27 Thread Prakash Velayutham
Sorry all. The configuration file did not get attached. Here is the
complete message with the smb.conf file. Sorry again for double posting.
Any help greatly appreciated.

Server OS - SuSE Pro 9.0
Samba server version - samba3-3.0.9-1 (SuSE rpm)
Client - Windows XP Pro SP 2
Office XP SP 2

I have everything working well such as machines joining domain, users
logging in, roaming profiles etc. But when a user of the Samba domain
tries to open a Excel VBA document, the following error occurs.
Error accessing the system registry

Please note that the macro security settings are at LOW. If I say OK to
the previous error, then the system opens a window titled Identity
Login with 2 buttons Log Off Identity and Manage Identities and 2
other buttons OK and Cancel. No actual identities are shown in this
window. And because of this reason OK button is greyed out. If I hit
Cancel, then the system opens up the Excel sheet, but with an error
window saying essentially,

#
Microsoft Excel File Repair Log

Errors were detected in file 'C:\Documents and
Settings\prakash\Desktop\autox4.xls'
The following is a list of repairs:

Lost Visual Basic project.
Lost ActiveX controls.
#

I googled around, and tried this article from Microsoft KB,
http://support.microsoft.com/kb/q269383/;;, but to no avail.

I turned on debugging on the server to 10, but does not help. I can see
that the server complains about some DLL files being unavailable, but
these errors don't show up when I try to open the excel sheet.

I am attaching the smb.conf file along.

Thanks,
Prakash

# smb.conf is the main Samba configuration file. You find a full
commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-07-21
[global]
unix charset = LOCALE
workgroup = CMC-NT
netbios name = MCPILDAP1
server string = SAMBA-LDAP PDC Server

ldap passwd sync = Yes
passdb backend = ldapsam:ldap://127.0.0.1/
;   username map = /etc/samba/smbusers
log level = 10
syslog = 0
;   log file = /var/log/samba/%m
max log size = 50
smb ports = 139 445
name resolve order = wins bcast hosts
time server = yes
printcap name = cups
show add printer wizard = no
printing = cups
printer admin = @ntadmin, root, administrator
;   printcap cache time = 750
;   cups options = raw

add user script = /usr/sbin/smbldap-useradd -a -m %u
delete user script = /usr/sbin/smbldap-userdel %u
add group script = /usr/sbin/smbldap-groupadd -p %g
delete group script = /usr/sbin/smbldap-groupdel %g
add user to group script = /usr/sbin/smbldap-groupmod -m %u
%g
delete user from group script = /usr/sbin/smbldap-groupmod -x
%u %g
set primary group script = /usr/sbin/smbldap-usermod -g %g
%u
add machine script =
/usr/local/sbin/smbldap-tools/smbldap-useradd.pl -w %u
remote announce = 10.10.80.255 10.1.64.255

logon script = scripts\logon.bat
;   logon path = \\MCPILDAP1\%U\%U
logon drive = X:
;   homedir map = auto.users
;   NIS homedir = yes

domain logons = yes
preferred master = yes
domain master = yes
local master = yes
wins support = no

idmap backend = ldap:ldap://127.0.0.1/
ldap admin dn = cn=Manager,o=tchrf,c=us
ldap suffix = o=tchrf,c=us
ldap group suffix = ou=PI-groups
ldap user suffix = ou=PI-users
ldap machine suffix = ou=PI-hosts
ldap idmap suffix = ou=Idmap
;   idmap uid = 1-2
;   idmap gid = 1-2
map acl inherit = yes
;   ldap ssl = start_tls

ldap delete dn = yes
encrypt passwords = yes
;   logon home = \\MCPILDAP1\homes
os level = 33
Dos charset = 850
Unix charset = ISO8859-1
;   map to guest = Bad User
guest account = nobody
security = user

wins server = 10.1.3.200 10.1.1.200
winbind separator = +
winbind uid = 1-2
winbind gid = 1-2

[homes]
comment = Home Directories
valid users = %U
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[profiles]
comment = Roaming Profiles Share
path = /var/lib/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = No
guest ok = yes
profile acls = yes
csc policy = disable
force user = %U
valid users = %U @Domain Admins
;   store dos attributes = Yes
[users]
comment = All users
path = /home
read only = No
inherit permissions = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
   

[Samba] samba code addition

2005-02-27 Thread nac kawathekar
  Hello all,
I am a final year computer engineering student.
As part of my BE project I am working around with Samba (version 2.2.7a)
I have added my own code at certain places in the Server code(Server.c file of 
SMBD). 
The NMBD code is unchanged.

The code is getting executed with following message.
It says that browser.dat file can't be opened.
Why such a thing is happening?

I can't see the SambaServer in Windows neightwork neighbourhood.
If i run the Smbd's original executable,it works fine.
In interactive mode both the original and modified code execute in similar 
fashion except for the above message.
 
I use the shell script provided with Samba to get the compiling and linking 
done.

Please help me out.
Thanking u, 
Regards,
nac



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


Re: [Samba] WinXP not caching credentials

2005-02-27 Thread Juerd
Juerd skribis 2005-02-23 21:24 (+0100):
 I have three Windows XP (All SP2) machines that won't cache
 credentials with a Samba DC.  A Debian Sarge system with Samba 3.0.10
 is the domain controller. It has three users and three machine
 accounts.  The three users all are simple Unix users, with no mapping
 to Windows users.  We use DHCP (entirely different server) and DNS,
 but local IPs do not resolve.  The configuration files for Samba were
 copied from a system that has multiple workstations that correctly
 cache credentials.  Two of the three machinas are notebooks. They have
 to be usable off-line with the same profile they use on-line.  No PAM
 modifications were made. Passwords are still manually synchronised
 between smbpasswd and passwd.  All machines synchronise with the same
 NTP server.  On-line logins work.
 What can be done to get the workstations to cache credentials, so users
 can login without needing to have a domain controller?
 The error message says that the user cannot be logged on because the
 domain controller is unavailable.

Problem solved. Still have no idea what was wrong, but removing
passdb.tdb entirely fixed it. I tried removing individual user and
machine accounts before, to no avail.

Possibly something Debian generates is wrong, as it generated the
original passdb.tdb.

Anyway, rm passdb.tdb appears to be all that is needed...


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] samba share

2005-02-27 Thread spiv007
I have a Windows 2k dc running in pre 2k mode which i guess that means
it can talk nt4 style.  All my user ID are in that w2k domain, and if
I have a samba box up and im sharing a folder from it how can I add
group rights from the w2k side to it?

Do I need to do a group map or somthing?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] modifications require authentication (?????????)

2005-02-27 Thread Márcio Luciano Donada
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Don't change nothing in the smb.conf and appers in the log.smbd this:
[2005/02/27 15:48:57, 2] auth/auth.c:check_ntlm_password(305)
~  check_ntlm_password:  authentication for user [mdonada] - [mdonada]
- - [mdonada] succeeded
[2005/02/27 15:48:57, 2] lib/access.c:check_access(324)
~  Allowed connection from  (192.168.2.252)
[2005/02/27 15:48:58, 2] smbd/server.c:exit_server(609)
~  Closing connections
[2005/02/27 15:48:58, 2] lib/access.c:check_access(324)
~  Allowed connection from  (192.168.2.252)
[2005/02/27 15:48:58, 2] smbd/sesssetup.c:setup_new_vc_session(608)
~  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2005/02/27 15:48:58, 2] smbd/sesssetup.c:setup_new_vc_session(608)
~  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2005/02/27 15:48:58, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
[2005/02/27 15:48:58, 2] passdb/pdb_ldap.c:init_sam_from_ldap(512)
~  init_sam_from_ldap: Entry found for user: mdonada
[2005/02/27 15:48:58, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
[2005/02/27 15:48:58, 2] passdb/pdb_ldap.c:init_group_from_ldap(1974)
~  init_group_from_ldap: Entry found for group: 513
[2005/02/27 15:48:58, 2] auth/auth.c:check_ntlm_password(305)
~  check_ntlm_password:  authentication for user [mdonada] - [mdonada]
- - [mdonada] succeeded
[2005/02/27 15:48:58, 2] lib/access.c:check_access(324)
~  Allowed connection from  (192.168.2.252)
[2005/02/27 15:48:59, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2628)
~  Returning domain sid for domain AURORA -
S-1-5-21-4030740784-4168889780-622727992
[2005/02/27 15:48:59, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2628)
~  Returning domain sid for domain AURORA -
S-1-5-21-4030740784-4168889780-622727992
[2005/02/27 15:48:59, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
Error: modifications require authentication at
/usr/local/lib/perl5/site_perl/5.8.6/smbldap_tools.pm line 892, DATA
line 283.
[2005/02/27 15:49:01, 2] smbd/server.c:exit_server(609)
~  Closing connections
In my smbldap_bind.conf appers:
slaveDN=cn=Manager,dc=auroraalimentos,dc=com,dc=br
slavePw=passwd
masterDN=cn=Manager,dc=auroraalimentos,dc=com,dc=br
masterPw=passwd
#smbpasswd -w passwd
Setting stored password for cn=Manager,dc=auroraalimentos,dc=com,dc=br
in secrets.tdb
what's this problem Some ideas? I'm CRAZY!!!
[]'s
- --
Márcio Luciano Donada
mdonada at auroraalimentos dot com dot br
FreeBSD - The uptime is mesuared in years!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCIjAsyJq2hZEymxcRArrAAJ4v1Zrk39PvFcGXw8YJz0OAgiO9KACfRRom
5HQQ07LE8y6NcK6j1D8Ugwc=
=u6tJ
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Error while opening Excel VBA macros in Samba PDC windows clients

2005-02-27 Thread Jeremy Allison
On Sun, Feb 27, 2005 at 12:42:13PM -0500, Prakash Velayutham wrote:
 Hi All,
 
 Server OS - SuSE Pro 9.0
 Samba server version - samba3-3.0.9-1 (SuSE rpm)
 Client - Windows XP Pro SP 2
 Office XP SP 2
 
 I have everything working well such as machines joining domain, users
 logging in, roaming profiles etc. But when a user of the Samba domain
 tries to open a Excel VBA document, the following error occurs.
 Error accessing the system registry

To debug this we'll need a capture trace between the offending client
and smbd, and also a debug level 10 from the smbd in question.

Is it 100% reproducible ?

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


Re: [Samba] profile not loading properly

2005-02-27 Thread Matthew Easton
On Friday 25 February 2005 15:11, abs pathak wrote:
 Hello,
 I installed samba3.0 on my debian machine to act as a PDC.  Everything
 seems to be working.  The only problem is that I get errors reading
 and writing back to the profile.  When I log in or log out, it gives
 me an error saying some file cannot be written.  When I check the
 profiles folder on the server it's always empty.  I changed the
 permissions on the folder and I still get the same error.  Would
 anyone happen to know what is going on? cheers

 abs

Is the file name something like username.pds?  In my experience this is a 
permission problem or a directory doesn't exist.  To make it easier to help 
you, provide the following information:

the exact error message you are getting
path and permissions to the profile directory
path and permissions on the home directory
the section of your smb.conf file that deals with the [Profiles] share

Another case where I've seen a file cannot be written is when samba has 
trouble with a path or filename or permissions on a file in the local profile 
and cannot write it up to the server on log out.  This is typically in the 
browser cache or an email attachment-- so you probably haven't gotten to the 
point of having an issue like this yet.

And finally, a profile will fail to synchronize if a necessary file or 
resource on the server is in use-- this typically happens if you log out and 
log back in repeatedly in a very short time period.  I think this is because 
the windows computer doesn't fullly release the shares -- my error message in 
this case is vague.  Powering down for 5 minutes will cure this.  But again, 
it's probably not your issue here.


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


[Samba] Samba doesn't work on gateway system.

2005-02-27 Thread Kenneth Corbin
Hi everyone,

I've been trying to get my Linux system to run as a File and printer server 
for the Windows boxes on my local network.  I follow all the examples, check 
all of the trouble shooting guides.  I can access the shares from the server 
itself with smbclient, the but windows box never sees it.

What I didn't mention is that system is also the internet gateway for the 
network.  It has two network cards, one for the local network, and a second 
one hooked to a DSL modem.  What seems to be happening is that Sambo is 
sending out broadcasts on the internet link, and never talking on the local 
LAN network.  Which is incredibly unsurprising because TCP/IP routing is 
configured with the internet link as the default gateway.

Now I'm stuck.  How can I tell samba to only broadcast on the local domain

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


Re: [Samba] Error while opening Excel VBA macros in Samba PDC windows clients

2005-02-27 Thread Prakash Velayutham
Hi,
I can do a ethereal capture if that is good enough. It is 100% 
reproducible.
I will send this info tomorrow as this is in my office.

Thanks,
Prakash
On Feb 27, 2005, at 3:06 PM, Jeremy Allison wrote:
On Sun, Feb 27, 2005 at 12:42:13PM -0500, Prakash Velayutham wrote:
Hi All,
Server OS - SuSE Pro 9.0
Samba server version - samba3-3.0.9-1 (SuSE rpm)
Client - Windows XP Pro SP 2
Office XP SP 2
I have everything working well such as machines joining domain, users
logging in, roaming profiles etc. But when a user of the Samba domain
tries to open a Excel VBA document, the following error occurs.
Error accessing the system registry
To debug this we'll need a capture trace between the offending client
and smbd, and also a debug level 10 from the smbd in question.
Is it 100% reproducible ?
Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Error while opening Excel VBA macros in Samba PDC windows clients

2005-02-27 Thread Jeremy Allison
On Sun, Feb 27, 2005 at 04:58:28PM -0500, Prakash Velayutham wrote:
 Hi,
 
 I can do a ethereal capture if that is good enough. It is 100% 
 reproducible.
 I will send this info tomorrow as this is in my office.

That's great. I'll be at connectathon all next week so
my response time will be slow, but that's exactly what we
need.

Cheers, 

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


[Samba] Re: smb_proc_readX_data

2005-02-27 Thread Ognyan Kulev
/* Cc: samba list */
Vincent Marty wrote:
Hi Ogi !
Did you find a solution to the problem you described in a post in 
linux.samba in dec 2004 ?
I get the same messages from Fedora Core 3 when accessing to a iMax 
under Mac Os 10.3.
Hi!
Since I started to use Debian kernel 2.6.10 (in unstable), the problem 
disappeared.  Fedora Core 3 uses 2.6.10 too so I don't know what to tell 
you.  Debian kernels have many patches applied though.  BTW this problem 
is filed in Debian BTS: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=289690

---
I'm using Debian unstable, with kernel-image-2.6.8-1-686-smp 2.6.8-10, 
and samba 3.0.10-1.  I smbmount a Windows 2003 share with MP3s.  The DC 
is Windows 2003 in mixed mode.  When playing many of these MP3s, there 
is a noticable delay and the following messages are logged into 
/var/log/message:

Dec 22 13:03:24 roller kernel: smb_add_request: request [c0b0f660, 
mid=22535] timed out!
Dec 22 13:03:24 roller kernel: smb_proc_readX_data: *offset* is *larger* 
than SMB_READX_MAX_PAD or negative!
Dec 22 13:03:24 roller kernel: smb_proc_readX_data: -59  64 || -59  0

Every minute there is such message!  I couldn't find anything with 
Google :-( Can you help me?

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


[Samba] Won't Start Automatically

2005-02-27 Thread E E Hines
Greetings,

Running FC3, kernel 2.6.9-1.667.i686, Samba v 3.0.11.

I have been able to guts up Samba by adding a procedure
to /etc/rc.d/rc.local, but I can't get the system to start from
the /etc/rc.d/rcx.d directories.  I have an smb script
in /etc/rc.d/init.d that is soft-linked from the rcx.d directories, and
that runs just fine when I invoke it from the command line, but
apparently the rcx.d links aren't getting called at all.

Any suggestions would be greatly appreciated.

Thanks
Eric Hines
-- 
Dawn is nature's way of telling you to go to bed.
And to stay there until the evil yellow disk is gone again.
--Anonymous

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


Re: [Samba] Won't Start Automatically

2005-02-27 Thread Sp0oKeR Labs
Did u try ntsysv ou chkconfig? Are you using SELinux?

Regards,

On Sun, 27 Feb 2005 18:29:55 -0600, E E Hines [EMAIL PROTECTED] wrote:
 Greetings,
 
 Running FC3, kernel 2.6.9-1.667.i686, Samba v 3.0.11.
 
 I have been able to guts up Samba by adding a procedure
 to /etc/rc.d/rc.local, but I can't get the system to start from
 the /etc/rc.d/rcx.d directories.  I have an smb script
 in /etc/rc.d/init.d that is soft-linked from the rcx.d directories, and
 that runs just fine when I invoke it from the command line, but
 apparently the rcx.d links aren't getting called at all.
 
 Any suggestions would be greatly appreciated.
 
 Thanks
 Eric Hines
 --
 Dawn is nature's way of telling you to go to bed.
 And to stay there until the evil yellow disk is gone again.
 --Anonymous
 
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 


-- 

   Sp0oKeR Labs
   RHCE / LPIC-I
   Desenvolvedor BRMAlinux
[EMAIL PROTECTED]

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


[Fwd: Re: [Samba] Won't Start Automatically]

2005-02-27 Thread E E Hines
Hi,

ntsysv doesn't list the samba daemons (smbd, nmbd), and while I could
use chkconfig, it appears, to add the daemons, I'd rather do this via
the rcx.d links so I can understand what's going on.

Eric Hines

 Forwarded Message 
From: Sp0oKeR Labs [EMAIL PROTECTED]
snipDate: Sun, 27 Feb 2005 21:35:32 -0300
Did u try ntsysv ou chkconfig? Are you using SELinux?

Regards,

On Sun, 27 Feb 2005 18:29:55 -0600, E E Hines [EMAIL PROTECTED] wrote:
 Greetings,
 
 Running FC3, kernel 2.6.9-1.667.i686, Samba v 3.0.11.
 
 I have been able to guts up Samba by adding a procedure
 to /etc/rc.d/rc.local, but I can't get the system to start from
 the /etc/rc.d/rcx.d directories.  I have an smb script
 in /etc/rc.d/init.d that is soft-linked from the rcx.d directories, and
 that runs just fine when I invoke it from the command line, but
 apparently the rcx.d links aren't getting called at all.
 
 Any suggestions would be greatly appreciated.
 
 Thanks
 Eric Hines
 --
 Dawn is nature's way of telling you to go to bed.
 And to stay there until the evil yellow disk is gone again.
 --Anonymous
 
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 



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


Re: [Fwd: Re: [Samba] Won't Start Automatically]

2005-02-27 Thread Paul Gienger

ntsysv doesn't list the samba daemons (smbd, nmbd), and while I could
use chkconfig, it appears, to add the daemons, I'd rather do this via
the rcx.d links so I can understand what's going on.
 

Read up exactly what chkconfig does (man chkconfig).  It just moves the 
links around for you automatically so that locations and such are sane 
and verifiable.

Eric Hines
 Forwarded Message 
From: Sp0oKeR Labs [EMAIL PROTECTED]
snipDate: Sun, 27 Feb 2005 21:35:32 -0300
Did u try ntsysv ou chkconfig? Are you using SELinux?
Regards,
On Sun, 27 Feb 2005 18:29:55 -0600, E E Hines [EMAIL PROTECTED] wrote:
 

Greetings,
Running FC3, kernel 2.6.9-1.667.i686, Samba v 3.0.11.
I have been able to guts up Samba by adding a procedure
to /etc/rc.d/rc.local, but I can't get the system to start from
the /etc/rc.d/rcx.d directories.  I have an smb script
in /etc/rc.d/init.d that is soft-linked from the rcx.d directories, and
that runs just fine when I invoke it from the command line, but
apparently the rcx.d links aren't getting called at all.
Any suggestions would be greatly appreciated.
Thanks
Eric Hines
--
Dawn is nature's way of telling you to go to bed.
And to stay there until the evil yellow disk is gone again.
   --Anonymous
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
   


 

--
--
Paul GiengerOffice: 701-281-1884
Applied Engineering Inc.
Systems Architect   Fax:701-281-1322
URL: www.ae-solutions.com   mailto: [EMAIL PROTECTED]

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


[Samba] How to re-introduce a Samba server into a Win/NT domain?

2005-02-27 Thread Snowwwbelle
I am a Shaffo
 
Am wondering what ethnic group this name is from.
I believe I am Slovak.
 
Do you have any interesting antidotes about your  surname?
I'd love to hear anything as I have found that the people I am  related to 
are extremely gifted.
 
Thank you,
elaine shaffo
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Fwd: Re: [Fwd: Re: [Samba] Won't Start Automatically]]

2005-02-27 Thread E E Hines
Actually, my problem turns out to be even more basic and foolish than
that.  I assumed that since the relevant Kill files were present in the
ls listing, then the Start files would be, too.  Nope.  I had to make
those soft links; when I did, everything worked properly.

Eric Hines

 Forwarded Message 
From: Paul Gienger [EMAIL PROTECTED]
snip
Date: Sun, 27 Feb 2005 19:21:12 -0600
ntsysv doesn't list the samba daemons (smbd, nmbd), and while I could
use chkconfig, it appears, to add the daemons, I'd rather do this via
the rcx.d links so I can understand what's going on.
  

Read up exactly what chkconfig does (man chkconfig).  It just moves the 
links around for you automatically so that locations and such are sane 
and verifiable.

Eric Hines

 Forwarded Message 
From: Sp0oKeR Labs [EMAIL PROTECTED]
snipDate: Sun, 27 Feb 2005 21:35:32 -0300
Did u try ntsysv ou chkconfig? Are you using SELinux?

Regards,

On Sun, 27 Feb 2005 18:29:55 -0600, E E Hines [EMAIL PROTECTED] wrote:
  

Greetings,

Running FC3, kernel 2.6.9-1.667.i686, Samba v 3.0.11.

I have been able to guts up Samba by adding a procedure
to /etc/rc.d/rc.local, but I can't get the system to start from
the /etc/rc.d/rcx.d directories.  I have an smb script
in /etc/rc.d/init.d that is soft-linked from the rcx.d directories, and
that runs just fine when I invoke it from the command line, but
apparently the rcx.d links aren't getting called at all.

Any suggestions would be greatly appreciated.

Thanks
Eric Hines
--
Dawn is nature's way of telling you to go to bed.
And to stay there until the evil yellow disk is gone again.
--Anonymous

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






  



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


[Samba] Samba 3.0.11 port and install issue to solaris 8

2005-02-27 Thread Ray Martin
Hi  Samba Team
I have ported samba  3.0.11 to Solaris 8 because of the security warning
for Samba 2.2.8a
but it will not start from inetd.  I have taken 3 weeks to find that it
starts OK as a standalone daemon
using a startup script  /etc/init.d/samba
#!/bin/sh
# Samba startup
case $1 in
   'start')
   echo Starting smbd...
   /usr/local/samba/sbin/smbd -D
   echo Starting nmbd...
   /usr/local/samba/sbin/nmbd -D
   ;;
   'stop')
   echo Stopping smbd and nmbd...
   /usr/bin/pkill -x -u 0 smbd
   /usr/bin/pkill -x -u 0 nmbd
   rm -f /usr/local/samba/var/locks/smbd.pid
   rm -f /usr/local/samba/var/locks/nmbd.pid
   ;;
   *)
   echo usage: smb {start|stop}
   ;;
esac
The accompanying web pages indicate that the daemons are in
/usr/local/samba/bin which is incorrect.  They are in fact installed to
/usr/local/samba/sbin.  I suspect unless it is standalone on solaris 8
it gets thoroughly lost.  I also suspect it is going back into the
source for some modules and if they are not readable by all then it will
fail.
--
Ray Martin
Unix Administrator (IT)
Seismology
Research School of Earth Science
Jaeger 2, Building 61, Mills Road
Canberra ACT 0200 Australia
T: +61 2 61254269
F: +61 2 62572737
W: http://rses.anu.edu.au/~ray
email: [EMAIL PROTECTED]
CRICOS Provider #001200C
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] session setup failed: Call returned zero bytes (EOF)

2005-02-27 Thread Clay
Hello All,
I have been running samba-3.0.7 with acl/ldap support and decided to 
upgrade to samba-3.0.11..after the install..

I start samba and smbd/nmbd start as expectedso I check to see if I 
can connect with smbclient -L localhost -U username

After the password entry...i get the following message.
session setup failed: Call returned zero bytes (EOF)
NetBIOS over TCP disabled -- no workgroup available
At first I thought it was meso I decided to try samba-3.0.9.did 
my configure and started samba...smbclient connected as expected...

So I tried samba-3.0.10..everything worked as expected.
I went back to samba3.0.11 and decided to read the WhatsNew file...the 
only thing I noticed was about ldap machine and user suffixso I 
rem'ed my out of smb.conf..same session setup failed

I copied the samba-3.0.11/samba.schema into my openldap/schema 
directoryno luck there either

I configured with the same options on all versions samba-3.0.7,9,10,11
./configure --prefix=/usr/local/$VERSION \
--enable-cups \
--with-smbwrapper \
--with-smbmount \
--with-automount \
--with-acl-support \
--with-ldap \
--with-winbind
What am I missing
I checked the var/log.smbd and nothing jumps out at me as being wrong or 
errors

Thanks for any help you can give me
Clay
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] 2.2.1 cannot do what 2.0.7 does!

2005-02-27 Thread vickson cv
Dear all
iam using terminal server 2k with some HDD less  clients 
last day i got a prob with my one client is that not able to connect to 
server.
the error message is ''RDP error:Broken pipe'' But my all other clints no prob 
and working fine 
what should i do to solve this prob.
 
 
thks 
vickson


-
Do you Yahoo!?
 Yahoo! Mail - Easier than ever with enhanced search. Learn more.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Srvtools causes smbldap_open: cannot access LDAP when not root

2005-02-27 Thread Doug Campbell
  I am using Samba 3.0.10-1 on Fedora Core 3.  Most everything seems to be
  working as I expect it to except when I try to use the srvtools
 package to
   administrate the users and groups in the domain.
 
  I want to check and see whether maybe I am just
 misunderstanding usage as
   opposed to their being a configuration problem.
 
  If I log into my workstation as Administrator, either the local account
  or into the domain.  I can administrate the server using the srvtools.
 
  But if I login as a user who is in the Administrators group, Domain
  Admins
  group and I even added the user to the root group and I try to run
  srvtools. I can view all the settings but when I try to submit changes I
  get the following error showing up in the smbd.log file:
 
  smbldap_open: cannot access LDAP when not root...
 
 
  Is this normal?  I would think that Samba would check and see
 that I am a
   part of the Domain Admins group and allow the changes I have submitted
  but it doesn't want to allow anyone but root to access LDAP.
 
  Appreciate any insight on this.

 As which user (Unix) is slapd (presume this is OpenLDAP)running?
 Do you have an 'ldap admin dn' entry in smb.conf with rights to all LDAP
 ACLs?

 I.e., I don't have this problem with Samba 3.0.11/OL 2.2.17-23 and didn't
 with 3.0.7, either.

My smb.conf file does have the ldap admin dn entry.  The relevant section of
my smb.conf file is as follows:

[global]
   workgroup = SWRO
   netbios name = snoopy
   server string = Snoopy Samba-LDAP PDC Server
   domain logons = yes
   os level = 20
   preferred master = yes
   domain master = yes
   local master = yes
   encrypt passwords = yes
   wins support =yes
   username map = /etc/samba/smbusers

   ; SAMBA-LDAP declarations
   passdb backend = ldapsam:ldap://127.0.0.1/
   ldap admin dn = cn=Manager,dc=swro,dc=local
   ldap suffix = dc=swro,dc=local
   ldap group suffix = ou=Groups
   ldap user suffix = ou=Users
   ldap machine suffix = ou=Computers

   add machine script = /usr/local/sbin/smbldap-useradd -w %u
   add user script = /usr/local/sbin/smbldap-useradd -m %u
   ldap delete dn = Yes
   add group script = /usr/local/sbin/smbldap-groupadd -p %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

Also, /etc/samba/smbusers is:

# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest

So I can join the domain without problem.  I can even use the SRVTOOLS when
logged in as administrator which because of smbusers file is really just an
alias for root. But if I log in as user dcampbell who is in the Domain
Admins group, I can't use the SRVTOOLS.

Is this what you say you have working for you?

Also, I just noticed that Samba 3.0.11 came out with the ability to assign
privileges.  This seems to indicate to me the previously, it may have not
been possible to do what I want to do.

I went ahead and upgraded and made the necessary changes and now I can log
in as dcampbell who is in the Domain Admins group and be able to use the
SRVTOOLS package.

I am curious to know if you really are indeed logging in as a user that
isn't some how aliased as root because I would like to make sure I
understand how Samba is supposed to handle this.

Thanks!

Doug Campbell

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


svn commit: samba r5584 - in branches/SAMBA_4_0/source/dsdb: . samdb samdb/ldb_modules

2005-02-27 Thread idra
Author: idra
Date: 2005-02-27 11:31:38 + (Sun, 27 Feb 2005)
New Revision: 5584

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5584

Log:

add new experimental ldb module


Added:
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c
Modified:
   branches/SAMBA_4_0/source/dsdb/config.mk


Changeset:
Sorry, the patch is too large (538 lines) to include; please use WebSVN to see 
it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5584


svn commit: samba r5585 - in branches/SAMBA_4_0/source: dsdb/samdb include ldap_server lib lib/ldb/common lib/ldb/include lib/ldb/ldb_ldap lib/ldb/ldb_tdb lib/ldb/man/man3 lib/ldb/modules lib/ldb/tools lib/registry libnet nbt_server/wins passdb rpc_server/lsa rpc_server/netlogon

2005-02-27 Thread idra
Author: idra
Date: 2005-02-27 11:35:47 + (Sun, 27 Feb 2005)
New Revision: 5585

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5585

Log:

LDB interfaces change:

changes:
- ldb_wrap disappears from code and become a private structure of db_wrap.c
  thanks to our move to talloc in ldb code, we do not need to expose it anymore

- removal of ldb_close() function form the code
  thanks to our move to talloc in ldb code, we do not need it anymore
  use talloc_free() to close and free an ldb database

- some minor updates to ldb modules code to cope with the change and fix some
  bugs I found out during the process



Modified:
   branches/SAMBA_4_0/source/dsdb/samdb/samdb.c
   branches/SAMBA_4_0/source/include/db_wrap.h
   branches/SAMBA_4_0/source/ldap_server/ldap_hacked_ldb.c
   branches/SAMBA_4_0/source/ldap_server/ldap_rootdse.c
   branches/SAMBA_4_0/source/ldap_server/ldap_simple_ldb.c
   branches/SAMBA_4_0/source/lib/db_wrap.c
   branches/SAMBA_4_0/source/lib/ldb/common/ldb.c
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c
   branches/SAMBA_4_0/source/lib/ldb/include/ldb.h
   branches/SAMBA_4_0/source/lib/ldb/include/ldb_private.h
   branches/SAMBA_4_0/source/lib/ldb/ldb_ldap/ldb_ldap.c
   branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c
   branches/SAMBA_4_0/source/lib/ldb/man/man3/ldb.yo
   branches/SAMBA_4_0/source/lib/ldb/modules/schema.c
   branches/SAMBA_4_0/source/lib/ldb/modules/skel.c
   branches/SAMBA_4_0/source/lib/ldb/modules/timestamps.c
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbadd.c
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbdel.c
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbedit.c
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbmodify.c
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbrename.c
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c
   branches/SAMBA_4_0/source/lib/registry/reg_backend_ldb.c
   branches/SAMBA_4_0/source/libnet/libnet_join.c
   branches/SAMBA_4_0/source/nbt_server/wins/winsdb.c
   branches/SAMBA_4_0/source/nbt_server/wins/winsdb.h
   branches/SAMBA_4_0/source/passdb/secrets.c
   branches/SAMBA_4_0/source/rpc_server/lsa/dcesrv_lsa.c
   branches/SAMBA_4_0/source/rpc_server/netlogon/schannel_state.c


Changeset:
Sorry, the patch is too large (2600 lines) to include; please use WebSVN to see 
it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5585


svn commit: samba r5586 - in trunk/source/passdb: .

2005-02-27 Thread vlendec
Author: vlendec
Date: 2005-02-27 11:45:36 + (Sun, 27 Feb 2005)
New Revision: 5586

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5586

Log:
Merge revision 1906 from 3_0
Modified:
   trunk/source/passdb/passdb.c


Changeset:
Modified: trunk/source/passdb/passdb.c
===
--- trunk/source/passdb/passdb.c2005-02-27 11:35:47 UTC (rev 5585)
+++ trunk/source/passdb/passdb.c2005-02-27 11:45:36 UTC (rev 5586)
@@ -190,9 +190,7 @@
const char *guest_account = lp_guestaccount();
GROUP_MAP map;
BOOL ret;
-   DOM_SID user_sid;
-   DOM_SID group_sid;
-
+   
if (!account_data || !pwd) {
return NT_STATUS_INVALID_PARAMETER;
}
@@ -200,7 +198,7 @@
/* this is a hack this thing should not be set
   this way --SSS */
if (!(guest_account  *guest_account)) {
-   DEBUG(1, (pdb_set_sam_sids: NULL guest account!?!?\n));
+   DEBUG(1, (NULL guest account!?!?\n));
return NT_STATUS_UNSUCCESSFUL;
} else {
/* Ensure this *must* be set right */
@@ -215,13 +213,8 @@
}
}
 
-   if (NT_STATUS_IS_OK(uid_to_sid(user_sid, pwd-pw_uid))) {
-   if (!pdb_set_user_sid(account_data, user_sid, PDB_SET)) {
-   DEBUG(0,(pdb_set_sam_sids: Can't set User SID from 
mapped UID\n));
-   return NT_STATUS_INVALID_PARAMETER;
-   }
-   } else if (!pdb_set_user_sid_from_rid(account_data, 
algorithmic_pdb_uid_to_user_rid(pwd-pw_uid), PDB_SET)) {
-   DEBUG(0,(pdb_set_sam_sids: Can't set User SID from RID!\n));
+   if (!pdb_set_user_sid_from_rid(account_data, 
algorithmic_pdb_uid_to_user_rid(pwd-pw_uid), PDB_SET)) {
+   DEBUG(0,(Can't set User SID from RID!\n));
return NT_STATUS_INVALID_PARAMETER;
}

@@ -232,18 +225,13 @@

if( ret ) {
if (!pdb_set_group_sid(account_data, map.sid, PDB_SET)){
-   DEBUG(0,(pdb_set_sam_sids: Can't set Group SID!\n));
+   DEBUG(0,(Can't set Group SID!\n));
return NT_STATUS_INVALID_PARAMETER;
}
} 
else {
-   if (NT_STATUS_IS_OK(gid_to_sid(group_sid, pwd-pw_gid))) {
-   if (!pdb_set_group_sid(account_data, group_sid, 
PDB_SET)) {
-   DEBUG(0,(pdb_set_sam_sids: Can't set Group SID 
from mapped GID\n));
-   return NT_STATUS_INVALID_PARAMETER;
-   }
-   } else if (!pdb_set_group_sid_from_rid(account_data, 
pdb_gid_to_group_rid(pwd-pw_gid), PDB_SET)) {
-   DEBUG(0,(pdb_set_sam_sids: Can't set Group SID\n));
+   if (!pdb_set_group_sid_from_rid(account_data, 
pdb_gid_to_group_rid(pwd-pw_gid), PDB_SET)) {
+   DEBUG(0,(Can't set Group SID\n));
return NT_STATUS_INVALID_PARAMETER;
}
}



svn commit: samba r5587 - in branches/SAMBA_4_0/source: . dsdb dsdb/samdb/ldb_modules

2005-02-27 Thread idra
Author: idra
Date: 2005-02-27 16:35:19 + (Sun, 27 Feb 2005)
New Revision: 5587

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5587

Log:

more work around the samldb module
fix the provision.ldif the layout of the @MODULES dn has changed since last 
commit


Modified:
   branches/SAMBA_4_0/source/dsdb/config.mk
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c
   branches/SAMBA_4_0/source/provision.ldif


Changeset:
Sorry, the patch is too large (259 lines) to include; please use WebSVN to see 
it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5587


svn commit: samba r5588 - in branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules: .

2005-02-27 Thread idra
Author: idra
Date: 2005-02-27 19:57:03 + (Sun, 27 Feb 2005)
New Revision: 5588

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=5588

Log:

We currently use a string representing an hex number so conform to that.
But we should move to a signed integer in future to be AD compatible.


Modified:
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c


Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c
===
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c   2005-02-27 
16:35:19 UTC (rev 5587)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c   2005-02-27 
19:57:03 UTC (rev 5588)
@@ -413,11 +413,11 @@
return NULL;
}
 
-   if ( ! samldb_find_or_add_attribute(msg2, sAMAccountType, NULL, 
268435456)) {
+   if ( ! samldb_find_or_add_attribute(msg2, sAMAccountType, NULL, 
0x1000)) {
return NULL;
}
 
-   if ( ! samldb_find_or_add_attribute(msg2, groupType, NULL, 
-2147483646)) {
+   if ( ! samldb_find_or_add_attribute(msg2, groupType, NULL, 
0x8002)) {
return NULL;
}
 
@@ -539,7 +539,7 @@
return NULL;
}
 
-   if ( ! samldb_find_or_add_attribute(msg2, sAMAccountType, NULL, 
805306368)) {
+   if ( ! samldb_find_or_add_attribute(msg2, sAMAccountType, NULL, 
0x3000)) {
talloc_free(msg2);
return NULL;
}



Build status as of Mon Feb 28 00:00:01 2005

2005-02-27 Thread build
URL: http://build.samba.org/

--- /home/build/master/cache/broken_results.txt.old 2005-02-27 
00:00:31.0 +
+++ /home/build/master/cache/broken_results.txt 2005-02-28 00:00:23.0 
+
@@ -1,15 +1,15 @@
-Build status as of Sun Feb 27 00:00:02 2005
+Build status as of Mon Feb 28 00:00:01 2005
 
 Build counts:
 Tree Total  Broken Panic 
-ccache   41 5  0 
-distcc   41 2  0 
-ppp  24 4  0 
-rsync40 2  0 
+ccache   40 5  0 
+distcc   40 2  0 
+ppp  23 4  0 
+rsync39 2  0 
 samba2  2  2 
 samba-docs   0  0  0 
-samba4   45 13 0 
-samba_3_042 38 0 
+samba4   44 12 0 
+samba_3_041 38 0 
 
 Currently broken builds:
 Host   Tree Compiler   Status
@@ -18,7 +18,6 @@
 cyberone   samba_3_0gcc 1/?/?/?  
 fusberta   samba4   gccok/ 2/?/? 
 fusberta   samba_3_0gccok/ok/ok/ 1
-yurok  samba_3_0cc ok/ok/ok/ 2
 yurok  samba_3_0gcc 127/?/?/?
 samba-s390 samba_3_0gccok/ok/ok/ 1
 rhonwynsamba4   gcc-4.0ok/ 2/?/? 
@@ -34,12 +33,12 @@
 gc8samba4   gccok/ 1/?/? 
 aretnapsamba_3_0gccok/ok/ok/ 1
 aretnapccache   iccok/ok/ok/ 1
-aretnapsamba4   icc 127/?/?/?
-aretnapsamba_3_0iccok/ok/ok/ 1
+aretnapsamba_3_0icc 127/?/?/?
 gc4samba_3_0gccok/ok/ok/ 1
 smartserv1 samba_3_0gccok/ok/ok/ 1
 smartserv1 samba_3_0gcc-4.0ok/ok/ok/ 1
 wetlizard  samba_3_0gccok/ok/ok/ 1
+tardis samba_3_0gccok/ok/ok/ 1
 gwen   distcc   cc ok/ 1/?/? 
 gwen   samba4   cc ok/ 1/?/? 
 gwen   samba_3_0cc ok/ 1/?/?