[Samba] problem changing the password as non-root user

2004-05-06 Thread Sergio Belkin
I set the following in smb.conf:
 encrypt passwords = true
 unix password sync = true


As says smb.conf
# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.

1) Always I  had understood if I change the smb passwd, the unix passwoed 
in /etc/passwd did too. However this does not happen. ¿Am I understanding 
right that comment? If that is the case, so, I don't understand the usability 
of 'password sync'ç

2) Also, when I try to change the smb password as non-root user, I can't do 
it, and the following message appear:
machine 127.0.0.1 rejected the password change: Error was : RAP86: The 
specified
 password is invalid.
Failed to change password for sergio
Why? I searched in google, but I don't understand exactly if that is a problem 
of SAmba 3.x
(As root, I can change the password)

3. Finally a question more: How would I do from WIndows if an user change his 
password and automagically change in Linux too? Must I compose a script for 
his connect with samba server?

SErgio BELKin
Obed Liberty
Software Libre al desktop
http://obed.com.ar
-
Baje el manual para el nuevo usuario de GNU/Linux de 
http://www.obed.com.ar/doc/
--
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] problem changing the password as non-root user

2004-05-06 Thread jamal
If you want change client password from Windows 2000, you must
add line in smb.conf :

 unix password sync = yes
 pam password change = yes
 passwd program = /etc/passwd %u
 passwd chat = New*UNIX*Password* %n\n *ReType*New*UNIX*Password* %n\n \

*passwd:*all*authentication*tokens*updated*successfully*
 passwd chat debug = yes

--jmz--

- Original Message -
From: Sergio Belkin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, 07 May 2004 10:33 AM
Subject: [Samba] problem changing the password as non-root user


I set the following in smb.conf:
 encrypt passwords = true
 unix password sync = true


As says smb.conf
# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.

1) Always I  had understood if I change the smb passwd, the unix passwoed
in /etc/passwd did too. However this does not happen. ¿Am I understanding
right that comment? If that is the case, so, I don't understand the
usability
of 'password sync'ç

2) Also, when I try to change the smb password as non-root user, I can't do
it, and the following message appear:
machine 127.0.0.1 rejected the password change: Error was : RAP86: The
specified
 password is invalid.
Failed to change password for sergio
Why? I searched in google, but I don't understand exactly if that is a
problem
of SAmba 3.x
(As root, I can change the password)

3. Finally a question more: How would I do from WIndows if an user change
his
password and automagically change in Linux too? Must I compose a script for
his connect with samba server?

SErgio BELKin
Obed Liberty
Software Libre al desktop
http://obed.com.ar
-
Baje el manual para el nuevo usuario de GNU/Linux de
http://www.obed.com.ar/doc/
--
--
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]Re: NT4 to Samba 3 Migration

2004-05-06 Thread Philip Washington
Chris Cameron wrote:

I've done the net rpc vampire and gotten all the user and machine
accounts from the NT server, I've test logged in, checked permissions,
set groups, tested some of our odd apps and it all looks good. The
problem I'm having is switching the desktops, and keeping the
(non-roaming) profiles.
Which backend are you using?


I'd like to have it so everyone reboots their computer after the Samba
switch over, and then have it so they can just log in as usual. Have the
Samba PDC authenticate them and they get their (non-roaming) profile
load up.
However, I've found the user is unable to log in when the NT4 PDC is
turned off and the Samba one turned on (no longer BDC of course).
I had the same problem, the passwords didn't get transfered with vampire.
I manually entered the passwords into the samba server using the 
smbldap-tools and then the user could log in.

After we were able to get the user logged in, the profile changed upon 
login.  I am not sure but this may be how it is supposed to operate or 
the best it can do.  If I understand the scenario you were shooting for, 
 this is also what we were expecting or hoping for.

 Hopefully someone here can either confirm or deny that this is the way 
it is, because we have put in a serious amount of head banging and hair 
pulling also.

 We had the system setup for local profiles.
 logon path=

Am I missing something here, or is this just not the way it works?

I've checked the domain SID on both the Samba and the NT server and they
appear to be the same. I would have figured this was the problem for
sure.
I've been spinning my wheels on this far to long, so -any- help would be
appreciated.
Chris

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


RE: [Samba] Migrating to new server

2004-05-06 Thread Kevin Kallsen
Thanks for the reply, but don't I also need to copy all the users, groups,
and sid?  Or do I have to manually recreate them on the new machine?

Kevin

-Original Message-
From: alton bailey [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 07, 2004 12:21 AM
To: Kevin Kallsen
Subject: Re: [Samba] Migrating to new server

did you try to copy all the /etc/passwd  /etc/shadow to the new server also

copy the passwd data from smb.conf and smbuser to the new server or you can 
jus upgrade from 2.2 to 3.3


- Original Message - 
From: Kevin Kallsen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 05/06/2004 11:05 AM
Subject: [Samba] Migrating to new server


Hi folks.



I asked this question a couple of weeks ago, but nobody posted any answers.



I have mandrake 9.1 with Samba 2.2.8 running a domain with 500 users.  It
has worked flawlessly for a long time.  However, it is time to set up a new
server.  I have a new server with Mandrake 10 OE and Samba  3.0.3 running.
Please explain to this newbie and very satisfied samba user how to migrate
all my users, groups, sid, domain, etc to the new machine.  My goal is to
rsync the correct folders and then power down the old server and have the
domain clients recognize the new server.  In  addition I do not use cups and
can avoid some of the current issues with the mandrake/samba/cup systems.



I would also like to know:  Could I just install 3.0.3 on the Mandrake 9.1
and then migrate over?



Thanks for your timely response,



Kevin

-- 
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] slow connecting to mapped drive after restart smbd

2004-05-06 Thread steven . tse
Hi,
 
I have a running samba3.3 as a file server in NT4 domain.  After a several
weeks without rebooting, I found alot of SMBD process exist and they
occupied a high usage of CPU, so I restart SMB service then all the thing
seems work nice again.  However, after this restart, some of the user report
that they are very difficult to connect to the mapped drive, they have to
wait for a long time to connect.  This case is not always happen, but
occured sometime.  
 
I would like to ask, is that mean I should not restart the SMB service?  or,
how can I restarting it without problem?  Please kindly advise, thankyou.
 
Best Regards,
Steven
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Blocking options !! I can't open the same file in two diferents clients (win98) in same time

2004-05-06 Thread Tony Whitmore
Flávio Henrique wrote:
Hi all !
I changed my win2k server last night for Mandrake 9.2 and made my shares in Samba, 
and everything goes fine...
but today when we try to run our software, that access the database (data.mdb) in 
Linux server, the error: the file is locked...
Only one user can open the file...
Plz, someone can help me?? I'm in trouble!
Someone else reported this problem a couple of months ago.
From the list archives on 5/3/04:
tom wrote:
 I am using Samba 2.2.8 and this fixed my problem with MS ACCESS.

 Make sure your ms access has the following options set.

 Click Tools

 Click Options

 Click General Tab and make sure the Default Database folder points to
 your Samba share

 Click Advanced Tab and make sure Default Open Mode = shared
 Default record locking = Edited Record
 Open databases using record-level locking is checked

 In your Samba shared set the option force create mode = 777

 My MS ACCESS database runs like a charm now.

 Hope this helps you.

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


[Samba] More roaming profile-Windows XP Data

2004-05-06 Thread Bill MacAllister
Hello,
I have a Samba 3.0.2a PDC that I have joined server Windows XP machines to. 
Joining the domain was painfully enough, but now I am having problems with 
roaming profiles.  We initially thought the problem was intermittent, but 
we finally figured out that if the same user logs in again and again the 
roaming profile is found and login proceeds normally.  When a second user 
attempts to login to the system the cannot locate the server copy of your 
roaming profile message appears.  Until the system is rebooted no one that 
attempts to login, even the user that originally logged in successfully, 
can load their roaming profile.  Is there something else to set on the 
client other than the do not check for user ownership of roaming profiles 
folders group policy that I have missed?

Bill
+--
| Bill MacAllister, System Manager
| Nevada City School District
| 530-265-1857
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Domain security, users still asked for login

2004-05-06 Thread Hamish
I just used the rpms from suse, one of them was samba-winbind, so would 
this update the file you are talking of?

Gerald (Jerry) Carter wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hamish wrote:
| Thanks Jerry
| I have reverted to 3.0.2a and it seems to work fine.
ok, but I would really like to find out why upgrading
to 3.0.3 broke your configuration?  Did you update
/lib/*nss_winbind* ?


cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAmPphIR7qMdg1EfYRAs5mAJ91ceEOZRovzIDrtRVWrpw5T304YACZAYyK
ZPnKgAzr7SEnQOKSNrt+UOk=
=bBln
-END PGP SIGNATURE-

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


[Samba] Re: More roaming profile-Windows XP Data

2004-05-06 Thread Wim Vandermissen
Bill MacAllister wrote:
Hello,
I have a Samba 3.0.2a PDC that I have joined server Windows XP machines 
to. Joining the domain was painfully enough, but now I am having 
problems with roaming profiles.  We initially thought the problem was 
intermittent, but we finally figured out that if the same user logs in 
again and again the roaming profile is found and login proceeds 
normally.  When a second user attempts to login to the system the 
cannot locate the server copy of your roaming profile message 
appears.  Until the system is rebooted no one that attempts to login, 
even the user that originally logged in successfully, can load their 
roaming profile.  Is there something else to set on the client other 
than the do not check for user ownership of roaming profiles folders 
group policy that I have missed?
I've had the same problem with roaming profiles. Do you have map to 
guest = Bad Password in your smb.conf ?

If so try changing it to map to guest = Never this solved my problems.
--Wim
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] tdb_fetch failed

2004-05-06 Thread Hoogstraten, Ton
Hi,

I got a samba 3.0.2-6.3E (normal rpm) server running on Redhat Enterprise
3.0. since yesterday I can't connect to the printers share to administrate
the printer drivers. When I try to connect I get the following error in the
log file:

[2004/05/06 10:36:26, 0] lib/util_sock.c:read_socket_data(342)
  read_socket_data: recv failure for 4. Error = Connection reset by peer
[2004/05/06 10:36:27, 0] smbd/connection.c:register_message_flags(220)
  register_message_flags: tdb_fetch failed

Is there a way to track which TDB file is failing?

Kind regards,

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


[Samba] Migrate Accounts from Novell Netware 4.x to Samba3-Openldap

2004-05-06 Thread Ruslanas Cechovskis
Hi,
Is there any scripts/tools to migrate user accounts/passwords from Novell
Netware 4.x to Samba3-Openldap?

WBR,

Ruslanas Cechovskis
UAB Forbis inzinerius

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


RE: [Samba] Kerberos case sensitive with Mac OS X on Samba 3.0.x

2004-05-06 Thread ww m-pubsyssamba
PS the account is stored in /etc/passwd in the same case as AD, ie in my problem it is 
mixed case in
both locations,

thanks Andy.

-Original Message-
From: ww m-pubsyssamba 
Sent: 06 May 2004 10:12
To: 'Jeremy Allison'; '[EMAIL PROTECTED]'
Subject: RE: [Samba] Kerberos case sensitive with Mac OS X on Samba
3.0.x


Hi Jeremy/All,

I've attached a zip with both a good authentication (Kinit obtained using the 
same case as account is
stored in AD) and also a bad authentication (Where I've obtained a ticket for a 
username in all lower case
where the account is stored with mixed case in AD). The zip password is samba

thanks Andy.

-Original Message-
From: Jeremy Allison [mailto:[EMAIL PROTECTED]
Posted At: 05 May 2004 19:26
Posted To: Samba
Conversation: [Samba] Kerberos case sensitive with Mac OS X on Samba
3.0.x
Subject: Re: [Samba] Kerberos case sensitive with Mac OS X on Samba
3.0.x


On Wed, May 05, 2004 at 06:39:38PM +0100, ww m-pubsyssamba wrote:
 Hi List,
 
   I'm having an issue between Samba and OS X with regards to Kerberos 
 authentication to a Samba AD member server.
 I'm using local UNIX accounts and entries in the passdb instead of Windind on the 
 samba server, ie create account by adding
 to /etc/passwd then smbpasswd -a username. From an OS X client system if I obtain a 
 ticket for user UserA like
 kinit [EMAIL PROTECTED] then when I run klist I see the default principal remebers 
 the case I used to obtain the ticket.
 Now when I try and access my Samba member server I successfully recieve a ticket for 
 the Samba server and am able to access
 the server as expected.
 However if I then try kinit [EMAIL PROTECTED] (username is wrong case) I again 
 successfully recieve my TGT but with
 the default principal listed in lower case and when I try and access the Samba 
 server I get this error could not connect to server 
 because user or password was incorrect. This is a big problem because when using 
 the Apple AD plugin for authentication it 
 always requested the ticket with a lower case username! Also this problem does not 
 affect Kerberos authentiction to a Windows 
 member server only Samba.
 Can anyone shed any light on this, whose fault is it? Samba or Apple?

Can you send in a debug level 10 log so we can try and determine where
the problem is ?

Thanks,

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


RE: [Samba] Using the same LDAP entry for posixAccount and

2004-05-06 Thread ww m-pubsyssamba
El intento y la ayuda de I'll, pero ésta es traducido por la computadora así que 
espero que usted entienda. ¿Usted está utilizando el servidor de OpenLDAP? el 
esquema se encuentra con el código de fuente para Samba3.0 en ./examples/LDAP de la 
carpeta. Una vez que usted haya agregado el esquema de la samba a su servidor de 
LDAP sus objetos del usuario pueden estar de posixAccount y el objeto del 
sambaSamAccount clasifica simultáneamente. Una vez que usted setup su servidor de 
LDAP allí sea varias entradas que usted debe hacer en su smb.conf para hacer que 
utiliza el LDAP backend, he incluido algunas entradas del ejemplo, gracias Andy

passdb backend = ldapsam:ldap://ldapserver.domain.com ldap://ldapserver2.domain.com;
 ldap suffix = dc=domain,dc=com
 ldap user suffix = ou=People
 ldap group suffix = ou=Groups
 ldap machine suffix = ou=machines
 ldap idmap suffix = ou=idmap
 ldap admin dn = uid=sambaadmin,ou=Special Users,dc=worldwide,dc=bbc,dc=co,dc=uk
 ldap ssl = no


+ ejecútese smbpasswd -w para LDAP admin cuenta.

¡Esperanza del picosegundo entendía por lo menos algunas de sus preguntas!



Hola Soy Maricela

Debo realizar un proyecto de autenticacion de usuarios para una red interna de una 
empresa, esto se realizara en linux con Samba 3.0.2 y LDAP.  

Estube mirando este articulo porq me recomendaron usar:
sambaSamAccount y posixAccount, pero tengo dudas.

Queria preguntarte si me puedes ayudar:
1. El esquema jerarquico es definir el los componentes de domino y los objectclass 
autilizar y esto en q archivo se almacena?
2. Las entradas van aparte en una .ldif y al pasarlas el LDAP las asimila?
3. Tengo entendido q Samba se debe configurar como PDC y segun loq vi en el smb.conf q 
aparece aqui entiendo los parametros de PDC, pero en este archivo es necesario algun 
parametro de LDAP.?

Y cualquier otro dato importante o si estoy equibicada en algo, te agradeceria.

De verdad necesito esta informacion. Ayudame

Gracias


BBCi at http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain personal views which 
are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. Do not use, copy 
or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the BBC monitors 
e-mails sent or received.
Further communication will signify your consent to this.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] hello

2004-05-06 Thread valluri srirambabu
___
Mailman mailing list
[EMAIL PROTECTED]
http://lists.samba.org/mailman/listinfo/mailman
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] slow connecting to mapped drive after restart smbd

2004-05-06 Thread tms3
It could be a WINS type problem. Try mapping the share this way and see
if the problem persists:

\\IP_Adress of samba server\share-name

[EMAIL PROTECTED] wrote:

Hi,
 
I have a running samba3.3 as a file server in NT4 domain.  After a several
weeks without rebooting, I found alot of SMBD process exist and they
occupied a high usage of CPU, so I restart SMB service then all the thing
seems work nice again.  However, after this restart, some of the user report
that they are very difficult to connect to the mapped drive, they have to
wait for a long time to connect.  This case is not always happen, but
occured sometime.  
 
I would like to ask, is that mean I should not restart the SMB service?  or,
how can I restarting it without problem?  Please kindly advise, thankyou.
 
Best Regards,
Steven
  




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


Re: [Samba] Script repository?

2004-05-06 Thread Tarjei Huse
Don't forget the idealx scripts:
samba.idealx.org

tarjei

On Wed, 2004-05-05 at 22:34, Tony Whitmore wrote:
 Jonathan Johnson wrote:
  Does anyone know of a place where I can find sample scripts for use
  with Samba?
  
  Looking thru smb.conf we have these options:
  
  add user script
  delete user script
  add group script
  delete group script
  add user to group script
  delete user from group script
  set primary group script
  add machine script
  shutdown script
  abort shutdown script
  logon script
  
  There are probably others that I'm missing.
  
 
 I think this is a really good idea. I've put some bash scripts on my 
 website at http://www.tonywhitmore.co.uk/scripts but they're fairly 
 crude. More experienced Samba admins out there must have more powerful 
 sets of scripts to share! :)
 
 Cheers,
 
 Tony

-- 
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 PDC + OpenLDAP + Mandrake 10.0

2004-05-06 Thread Buchan Milne
On Thu, 29 Apr 2004, Wisudanto C Suntoyo wrote:

 Hi all Need Urgent Help :(


Sorry for my late reply, I have been quite busy catching up on package 
maintenance and on a project on a tight schedule.

 
 I' m new to this List... I'm trying to setup a new Samba 3 PDC + OpenLDAP
 on a Mandrake 10.0 to replace an older server...
 Cause I need an LDAP Backend for a BDC planned on a remote site, and Samba 3
 came along.
 
 So I'm following this Doc
 http://au1.samba.org/samba/docs/man/guide/happy.html

This document has a number of errors, and does not address a number of 
issues that have been taken care of for you in the Mandrake packages of 
openldap and samba.

Additionally, it shows a *very* convoluted method of getting network 
authentication for unix clients working against unix servers (via 
wnbind??).

Although I haven't had time to update the articles at mandrakesecure.net 
for OpenLDAP-2.1 and samba3, I think they would still be a better 
startingpoint.

http://www.mandrakesecure.net/en/docs/samba-ldap-advanced.php

 
 1. I fail once I get to this step 18 of initialization and creation
 
   [EMAIL PROTECTED] root]# net rpc join -U Administrator%My_Pa555
   The username or password was not correct.
 

This is the ridiculous part, it's not necessary to run winbind on unix 
clients when you have a unix LDAP server, so you don't need to join unix 
clients to the domain.

The method I suggest is to add an LDAP account for 'root, for example by 
using the openldap-migration package. Then, you will be able to set this 
root user's smb password (via smbpasswd -a), and use that account to join 
machines to the domain.

Additionally, if you have users who are members of the adm group with smb 
passwords, they should also be able to join machines to the domain.

 I've Tried changing the pass a few times with the smbldap-passwd tool
 nothing changed
 
 2. I also cant seem to authenticate my Administrator user (uid=0) to add
 Machine
 accounts... an unknown username or bad password error comes up
 
 Any Ideas
 
 Regards Wisu
 
 
 LDAP log ---
 

From the LDAP log, it seems you are having samba bind as your OpenLDAP 
rootdn, which is a bad practice. You should instead add an account for the 
machine (exampes such as those shown in the mandrakesecure.net articles 
should work), and add that dn to the cn=Domain Controllers group (it 
should not be a posixGroup ... so delete the one the smb-populate makes 
for you, andmake it a groupofnames:
$ ldapsearch -x (cn=Domain Controllers) -LLL
dn: cn=Domain Controllers,ou=Group,dc=ranger,dc=dnsalias,dc=com
objectClass: groupOfNames
objectClass: top
cn: Domain Controllers
member: cn=kiowa.ranger.dnsalias.com,ou=Hosts,dc=ranger,dc=dnsalias,dc=com
)

(BTW, this only applies if you are using the Mandrake packages, if you've 
compiled from source, you've lost a lot of good configuration).

Regards,
Buchan

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


[Samba] Add input locales automatically

2004-05-06 Thread Nicki Messerschmidt, Linksystem Muenchen GmbH
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
does anyone on this list know how to add input locales on windows
clients automatically? I have samba 2.2.8a installed and there are
already some group restrictions (german: Gruppenrichtlinien) active.
I'd like to do it via the login script if possible.


Cheers
Nicki

- -- 
Linksystem Muenchen GmbH [EMAIL PROTECTED]
Schloerstrasse 10  http://www.link-m.de
80634 Muenchen Tel. 089 / 890 518-0
We make the Net work.  Fax 089 / 890 518-77
PGP-Key:
https://www.link-m.de/pgp/n.messerschmidt.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Get keys at: https://www.link-m.de/pgp

iD8DBQFAmi446zWc+bXuIEMRAlxdAJ9IPEDtwIwkfFmuR9QhDggEh2cdbQCg4D1w
UaN8tzCyMHnKOtD65TjZbHk=
=Ecpl
-END PGP SIGNATURE-

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


[Samba] Administrator rights for Windows update?

2004-05-06 Thread Nicki Messerschmidt, Linksystem Muenchen GmbH
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi List,
is it really necessary to add every user to the administrators group to
allow them to update their windows boxes? I really can't believe this...



Cheers
Nicki

- -- 
Linksystem Muenchen GmbH [EMAIL PROTECTED]
Schloerstrasse 10  http://www.link-m.de
80634 Muenchen Tel. 089 / 890 518-0
We make the Net work.  Fax 089 / 890 518-77
PGP-Key:
https://www.link-m.de/pgp/n.messerschmidt.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Get keys at: https://www.link-m.de/pgp

iD8DBQFAmi6J6zWc+bXuIEMRAnNjAKDqT4UP8NVIP0Ew6t2QGa6dQUvJYACfek+A
YwwgmzMloe3iVuYXcxiMbIk=
=swAu
-END PGP SIGNATURE-

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


Re: [Samba] Domain security, users still asked for login

2004-05-06 Thread Hamish
Hi Jerry
Thanks for your patience, I have tried installing 3.0.3 again and it has 
once again started to ask for logins. I restarted all the services 
(nmb,smb,winbind) and it continued. After another 5 minutes, i restarted 
the services again, it started accepting connections - I am really sorry 
for the hassle, still trying to figure out what I did wrong!
Some things have been added to smb.conf: here is the working one:

[global]
   unix charset = LOCALE
   workgroup = MYDOMAIN
   realm = MYDOMAIN.MYDOMAIN.MY
   server string = dataserver
   interfaces = 127.0.0.1, eth0
   bind interfaces only = Yes
   security = DOMAIN
   password server = MYPWDSERVER
   local master = No
   idmap uid = 1-2
   idmap gid = 1-2
[share defs...]
My next step is to move some multi-user (around 15 max users) approach 
database files to the samba server.
Thanks again, and sorry for being a pain!

Gerald (Jerry) Carter wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hamish wrote:
| Thanks Jerry
| I have reverted to 3.0.2a and it seems to work fine.
ok, but I would really like to find out why upgrading
to 3.0.3 broke your configuration?  Did you update
/lib/*nss_winbind* ?


cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAmPphIR7qMdg1EfYRAs5mAJ91ceEOZRovzIDrtRVWrpw5T304YACZAYyK
ZPnKgAzr7SEnQOKSNrt+UOk=
=bBln
-END PGP SIGNATURE-

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


Re: [Samba] Administrator rights for Windows update?

2004-05-06 Thread Paul Gienger
Is it necessary to give root access to install system wide packages in 
UNIX?  There is really no difference, aside from this being a new 
concept to long time windows users.   Installing updates requires enough 
permissions to modify/delete critical system files, and you don't want 
Joe Schmoe doing that.

Nicki Messerschmidt, Linksystem Muenchen GmbH wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi List,
is it really necessary to add every user to the administrators group to
allow them to update their windows boxes? I really can't believe this...

Cheers
Nicki
- -- 
Linksystem Muenchen GmbH [EMAIL PROTECTED]
Schloerstrasse 10  http://www.link-m.de
80634 Muenchen Tel. 089 / 890 518-0
We make the Net work.  Fax 089 / 890 518-77
PGP-Key: 	https://www.link-m.de/pgp/n.messerschmidt.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Get keys at: https://www.link-m.de/pgp

iD8DBQFAmi6J6zWc+bXuIEMRAnNjAKDqT4UP8NVIP0Ew6t2QGa6dQUvJYACfek+A
YwwgmzMloe3iVuYXcxiMbIk=
=swAu
-END PGP SIGNATURE-
 

--
Paul Gienger Office:701-281-1884
Applied Engineering Inc. Cell:  701-306-6254
Information Systems Consultant   Fax:   701-281-1322
URL: www.ae-solutions.commailto:[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] Administrator rights for Windows update?

2004-05-06 Thread Nicki Messerschmidt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 6 May 2004, Paul Gienger wrote:
 Nicki Messerschmidt, Linksystem Muenchen GmbH wrote:
is it really necessary to add every user to the administrators group to
allow them to update their windows boxes? I really can't believe this...
 Is it necessary to give root access to install system wide packages in
 UNIX?  There is really no difference, aside from this being a new
 concept to long time windows users.   Installing updates requires enough
 permissions to modify/delete critical system files, and you don't want
 Joe Schmoe doing that.
No, but I thought that there might be a service running in the system
context to automate this whole procedure... And this service should work
without a sus (security update server)...


Cheers
Nicki

- -- 
Linksystem Muenchen GmbH [EMAIL PROTECTED]
Schloerstrasse 10  http://www.link-m.de
80634 Muenchen Tel. 089 / 890 518-0
We make the Net work.  Fax 089 / 890 518-77
PGP-Key:
https://www.link-m.de/pgp/n.messerschmidt.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Get keys at: https://www.link-m.de/pgp

iD8DBQFAmjLn6zWc+bXuIEMRAoyfAKDI1H2Kl0m39D8YlAdVmERonwPnfQCeM6Cx
3NHsBeFmo3SMdiYDeDRG6SY=
=1jHZ
-END PGP SIGNATURE-

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


RE: [Samba] Compiling --with-ldap on Solaris 9

2004-05-06 Thread Yohann Ferreira
sorry, ldconfig is no solaris utility...
Have you tried the export line ?
Bertram


From: Bost, David [EMAIL PROTECTED]
To: 'Yohann Ferreira' [EMAIL PROTECTED]
Subject: RE: [Samba] Compiling --with-ldap on Solaris 9
Date: Thu, 6 May 2004 08:31:05 -0400
Yohann,
I don't find a ldconfig utility anywhere on my machine.  Is this supposed
to be a Solaris utility, or something that comes in the Samba bundle?
-Original Message-
From: Yohann Ferreira [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 3:10 AM
To: Bost, David
Subject: RE: [Samba] Compiling --with-ldap on Solaris 9
Maybe you should try these commands before configure :
ldconfig
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib

From: Bost, David [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: [Samba] Compiling --with-ldap on Solaris 9
Date: Wed, 5 May 2004 13:22:17 -0400

I am trying to compile the small Samba 3.0.2a source on Solaris 9 to use
ldap.  The ./configure run reports: WARNING: libldap is needed for LDAP
support.  The Solaris installation has it's native libldap installed in
/usr/lib, but the configuration does not seem to find it.  Would anyone
know
what I am missing?  Thanks...dlb

David Bost
Dow Jones and Co.
4300 North Route 1
South Brunswick NJ 08852
(609)520-5291
Heqhlu'meH QaQ jajvam!
  Bost, David.vcf
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
_
Bloquez les fenêtres pop-up, c'est gratuit ! http://toolbar.msn.fr
_
MSN Search, le moteur de recherche qui pense comme vous !  
http://search.msn.fr

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


[Samba] SMBCLIENT: error on mounting

2004-05-06 Thread Rodrigo Noroaldo de Castro Fernandes
Dear all,

I use smbmount on a script. The package used is (SuSe 7.2):
...
[EMAIL PROTECTED]:~  which smbmount
/usr/bin/smbmount
[EMAIL PROTECTED]:~  rpm -qf /usr/bin/smbmount
smbclnt-2.2.0-15
[EMAIL PROTECTED]:~  ls -l /usr/bin/smbmount
-rwsr-sr-t1 root root   497224 May 12  2001
/usr/bin/smbmount
[EMAIL PROTECTED]:~ 
...

This script runs on crontab each 20 minutes.

It uses the follow line to mount the remoteWinNT shared folder:
...
/usr/bin/smbmount //WinNTSever/shared_folder /mnt/xfer -o
username=user1,password=**,fmask=750,dmask=750,uid=507,gid=104
...

After mounted, the script lists, copies and moves some files from there
to local folders.

Some times, this script fails to list, copy and move these files... :-(

I could check the reason is because the smbmount falied.

The error message:
...
Can't get /etc/mtab~ lock filesmbmnt failed: 1
...

Followed by the other command falied messages:
...
ls: /mnt/xfer/DIR/F0005161: Input/output error
cp: cannot stat `/mnt/xfer/DIR/F0005161': Input/output error
mv: cannot stat `/mnt/xfer/DIR/F0005161': Input/output error
ls: /mnt/xfer/TMP/F0005161.tmp: Input/output error
...

The follow messages appeared on /var/log/message:
...
May  6 03:00:17 gprod kernel: smb_retry: no connection process
May  6 03:00:17 gprod kernel: smb_lookup: find //DIR failed, error=-5
May  6 03:00:17 gprod kernel: smb_lookup: find //DIR failed, error=-5
May  6 03:00:17 gprod kernel: smb_lookup: find //TMP failed, error=-5
May  6 03:00:17 gprod kernel: smb_lookup: find //DIR failed, error=-5
May  6 03:00:17 gprod kernel: smb_lookup: find //TMP failed, error=-5
...

What does this error message mean? (Can't get /etc/mtab~ lock
filesmbmnt failed: 1)

How can i correct this?

Regards
-- 
  Rodrigo Noroaldo de Castro Fernandes
  [EMAIL PROTECTED]

  DARUMA ORGA Card Systems S/A
  Technology Division

  Av. Independencia 3451,  Taubate,  Sao Paulo,  BRAZIL,   12.032-000
  Tel: +55 12 281-1900 X 109/110/111 Fax: +55 12 281-1909
  Hot Line: +55 12 281-1925, Mo to Fr, 08:00 to 17:00,  UTC-3

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

Re: [Samba] Compiling --with-ldap on Solaris 9

2004-05-06 Thread Paul Gienger
Not really on topic for the group, but on solaris you use the crle 
command, take a look at the man page for configuring it.

Yohann Ferreira wrote:
sorry, ldconfig is no solaris utility...
Have you tried the export line ?
Bertram


From: Bost, David [EMAIL PROTECTED]
To: 'Yohann Ferreira' [EMAIL PROTECTED]
Subject: RE: [Samba] Compiling --with-ldap on Solaris 9
Date: Thu, 6 May 2004 08:31:05 -0400
Yohann,
I don't find a ldconfig utility anywhere on my machine.  Is this 
supposed
to be a Solaris utility, or something that comes in the Samba bundle?

-Original Message-
From: Yohann Ferreira [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 3:10 AM
To: Bost, David
Subject: RE: [Samba] Compiling --with-ldap on Solaris 9
Maybe you should try these commands before configure :
ldconfig
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib

From: Bost, David [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: [Samba] Compiling --with-ldap on Solaris 9
Date: Wed, 5 May 2004 13:22:17 -0400

I am trying to compile the small Samba 3.0.2a source on Solaris 9 to 
use
ldap.  The ./configure run reports: WARNING: libldap is needed for 
LDAP
support.  The Solaris installation has it's native libldap 
installed in
/usr/lib, but the configuration does not seem to find it.  Would anyone
know
what I am missing?  Thanks...dlb

David Bost
Dow Jones and Co.
4300 North Route 1
South Brunswick NJ 08852
(609)520-5291
Heqhlu'meH QaQ jajvam!
  Bost, David.vcf
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

_
Bloquez les fenêtres pop-up, c'est gratuit ! http://toolbar.msn.fr
_
MSN Search, le moteur de recherche qui pense comme vous !  
http://search.msn.fr

--
Paul Gienger Office:701-281-1884
Applied Engineering Inc. Cell:  701-306-6254
Information Systems Consultant   Fax:   701-281-1322
URL: www.ae-solutions.commailto:[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] Administrator rights for Windows update?

2004-05-06 Thread Andrew Bartlett
On Thu, 2004-05-06 at 22:43, Nicki Messerschmidt wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Thu, 6 May 2004, Paul Gienger wrote:
  Nicki Messerschmidt, Linksystem Muenchen GmbH wrote:
 is it really necessary to add every user to the administrators group to
 allow them to update their windows boxes? I really can't believe this...
  Is it necessary to give root access to install system wide packages in
  UNIX?  There is really no difference, aside from this being a new
  concept to long time windows users.   Installing updates requires enough
  permissions to modify/delete critical system files, and you don't want
  Joe Schmoe doing that.
 No, but I thought that there might be a service running in the system
 context to automate this whole procedure... And this service should work
 without a sus (security update server)...

SUS works surprisingly well, but I think you can just set a policy for
the machines to update themselves automatically from the master site if
you wish. 

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org 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:  http://lists.samba.org/mailman/listinfo/samba

[Samba] having problems with samba 3 + net groupmap

2004-05-06 Thread asky
Hi,
Could somebody help me out, here. I have samba-3.02a, openldap-2.1.25 on 
mandrake 10 and I´m trying to setup a pdc. This is what I´ve done so far:
1. configured ldap  both for server and client thats slapd.conf, 
ldap.conf and ldap.secret
2. edited pam.d/samba
3. edited nsswitch.conf
4. configured samba - smb.conf
5. added the ldap password to secrets.tdb
6. configured smbldap-tools using the configure.pl script ( smbldap.conf 
and smbldap_bind.conf)
7. populated the ldap db using the smbldap-populate script

Everything works ok up to this point but when I try to use the net tools 
to manage groups I come up with these errors:

[EMAIL PROTECTED] root]# net groupmap modify ntgroup=Administrators 
unixgroup=domadmin
*[2004/05/06 09:25:14, 0] 
passdb/pdb_ldap.c:ldapsam_update_group_mapping_entry(2015)
 ldapsam_update_group_mapping_entry: No group to modify!
Could not update group database
*
[EMAIL PROTECTED] root]# net groupmap add rid=513 unixgroup=users type=domain 
ntgroup=Domain Users*
adding entry for group Domain Users failed!

I have this when do a net groupmap list:
Domain Admins (S-1-5-21-405122049-3903294769-2376448101-512) - Domain 
Admins
users (S-1-5-21-405122049-3903294769-2376448101-545) - Domain Users
Domain Guests (S-1-5-21-405122049-3903294769-2376448101-514) - Domain 
Guests
Administrators (S-1-5-21-405122049-3903294769-2376448101-544) - 
Administrators
users (S-1-5-21-405122049-3903294769-2376448101-545) - Users
Guests (S-1-5-21-405122049-3903294769-2376448101-546) - Guests
Power Users (S-1-5-21-405122049-3903294769-2376448101-547) - Power Users
Account Operators (S-1-5-21-405122049-3903294769-2376448101-548) - 
Account Operators
Server Operators (S-1-5-21-405122049-3903294769-2376448101-549) - 
Server Operators
Print Operators (S-1-5-21-405122049-3903294769-2376448101-550) - Print 
Operators
Backup Operators (S-1-5-21-405122049-3903294769-2376448101-551) - 
Backup Operators
Replicator (S-1-5-21-405122049-3903294769-2376448101-552) - Replicator
Domain Computers (S-1-5-21-405122049-3903294769-2376448101-553) - 
Domain Computers

I did some basic testing and got the following:
[EMAIL PROTECTED] root]# smbclient -L localhost -U%*
Domain=[NIJACOL] OS=[Unix] Server=[Samba 3.0.2a]
   Sharename  Type  Comment
   -    ---
   netlogon Disk Network Logon Service
   print$ Disk
   pdf-generator  Printer  PDF Generator (only valid users)
   publicDisk  Repertoire public
   IPC$  IPC   IPC Service (Samba Server 3.0.2a)
   ADMIN$   IPC   IPC Service (Samba Server 3.0.2a)
Domain=[NIJACOL] OS=[Unix] Server=[Samba 3.0.2a]
   Server  Comment
   - ---
   ADMIN-DEPT-DSL   Admin Department, DSL
   EC13Scanner_Color Printer
   EC6
   PDC Samba Server 3.0.2a
   SERVER2
   WorkgroupMaster
   -  ---
   NIJACOL  PDC
   SUSEMAIL
[EMAIL PROTECTED] root]# smbclient3 '\\PDC\printer$' -U Administrator*
Password:
tree connect failed: Call returned zero bytes (EOF)
Here are my configuration files:
*/etc/ldap.conf file*
host pdc.nijacol.net
base dc=nijacol,dc=net
rootbinddn cn=root,dc=nijacol,dc=net
scope one
pam_filter objectclass=posixaccount
pam_login_attribute uid
pam_member_attribute gid
pam_password md5
nss_base_passwd ou=people,dc=nijacol,dc=net?one
nss_base_shadow ou=People,dc=nijacol,dc=net?one
nss_base_group  ou=Groups,dc=nijacol,dc=net?one
nss_base_hosts  ou=Hosts,dc=nijacol,dc=net?one
ssl off
*/etc/openldap/slapd.conf file
*include /usr/share/openldap/schema/core.schema
include /usr/share/openldap/schema/cosine.schema
include /usr/share/openldap/schema/corba.schema
include /usr/share/openldap/schema/inetorgperson.schema
include /usr/share/openldap/schema/misc.schema
include /usr/share/openldap/schema/nis.schema
include /usr/share/openldap/schema/openldap.schema
include /usr/share/doc/samba-doc-3.0.2a/examples/LDAP/samba.schema
*
*# Define global ACLs to disable default read access.
include /etc/openldap/slapd.access.conf
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral   ldap://root.openldap.org
pidfile /var/run/ldap/slapd.pid
argsfile/var/run/ldap/slapd.args
modulepath  /usr/lib/openldap
# ldbm database definitions
databaseldbm
suffix  dc=nijacol,dc=net
rootdn  cn=root,dc=nijacol,dc=net
rootpw  {MD5}G8u9oftfrVzk7wt0OLaffQ==
directory   /var/lib/ldap
# Indices to maintain
index   objectClass,uid,uidNumber,gidNumber eq
index   cn,mail,surname,givenname   eq,subinitial
# logging
loglevel 256
*/etc/openldap/slapd.access.conf file
*# Basic ACL
access to 

[Samba] Compiling --with-ldap on Solaris 9

2004-05-06 Thread Sojka Reinhard
Hi David,

as Paul has stated already you need the OpenLDAP libraries to compile
Samba on a Solaris 9 machine with LDAP or ADS support. The LDAP
libraries from Sun do not provide all necessary functions.

The problem is that compiling with OpenLDAP libraries comes with a price
if you are authenticating Solaris against LDAP using the native Sun
LDAP-Client. Samba will not get any information about secondary groups
from the LDAP server, while everything is OK whith information from
/etc/group.
This behaviour is known as bug #395, which is already closed because it
is not a real bug, see https://bugzilla.samba.org/show_bug.cgi?id=395 .
I would call it a compatibility problem between the LDAP libraries from
Sun and OpenLDAP. (Many thanks to the people at the Sun Center in Berlin
for helping me here)

If you are affected from this problem, there are 3 workarounds known to
me. Please note that I haven't tried all.
* put all group information in /etc/group (don't like this idea)
* use Patch-ID 112960-03 (rev. -04 and -05 should work too)
   with authentication method simple. With tls:simple
   the problem seems to exists for all revisions of this patch. 
* avoid Sun's LDAP completely and shift to OpenLDAP and nss_ldap
   from Padl, see
http://lists.samba.org/archive/samba/2004-February/081509.html

cheers,
Reinhard

-- 
Reinhard Sojka [EMAIL PROTECTED]
System-  Networkadmin
Parlamentsdirektion
+43 1 40110 2824

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


[Samba] Wierd Printing problem

2004-05-06 Thread Jose V Martinez
Running Samba 3.0.2 on Redhat Linux ES.

The users can print using any program on their desktop. The printers are not
working through SAMBA itself. They are connected to the desktop via the
network.  The weird part is, their Lotus Notes is on a samba share. They
cant print through their notes. They can print from any other app on the box
that is local, but not through the notes.  Real weird.. does anyone have any
insight on this?

Thanks in advance.

Jose

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


RE: [Samba] Compiling --with-ldap on Solaris 9

2004-05-06 Thread ww m-pubsyssamba

Can anyone from the Samba team tell me with this Bug and similar where the OS is
identified as having a problem/Bug do the Samba team notify and/or work with the
likes of Sun to resolve the issues?

thanks Andy.



Hi David,

as Paul has stated already you need the OpenLDAP libraries to compile
Samba on a Solaris 9 machine with LDAP or ADS support. The LDAP
libraries from Sun do not provide all necessary functions.

The problem is that compiling with OpenLDAP libraries comes with a price
if you are authenticating Solaris against LDAP using the native Sun
LDAP-Client. Samba will not get any information about secondary groups
from the LDAP server, while everything is OK whith information from
/etc/group.
This behaviour is known as bug #395, which is already closed because it
is not a real bug, see https://bugzilla.samba.org/show_bug.cgi?id=395 .
I would call it a compatibility problem between the LDAP libraries from
Sun and OpenLDAP. (Many thanks to the people at the Sun Center in Berlin
for helping me here)

If you are affected from this problem, there are 3 workarounds known to
me. Please note that I haven't tried all.
* put all group information in /etc/group (don't like this idea)
* use Patch-ID 112960-03 (rev. -04 and -05 should work too)
   with authentication method simple. With tls:simple
   the problem seems to exists for all revisions of this patch. 
* avoid Sun's LDAP completely and shift to OpenLDAP and nss_ldap
   from Padl, see
http://lists.samba.org/archive/samba/2004-February/081509.html

cheers,
Reinhard

-- 
Reinhard Sojka [EMAIL PROTECTED]
System-  Networkadmin
Parlamentsdirektion
+43 1 40110 2824

-- 
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] Re: Blocking options !! I can't open the same file in two diferents clients (win98) in same time

2004-05-06 Thread tom
Make sure that your Samba shares have rwx on all the MSACCESS files.
Also make sure that your MS ACCESS options are set to share the files 
and do only record locking.
Look under Tools Options  General Tab and Advanced Tab

Flávio Henrique wrote:
Hi all !
I changed my win2k server last night for Mandrake 9.2 and made my shares in Samba, 
and everything goes fine...
but today when we try to run our software, that access the database (data.mdb) in 
Linux server, the error: the file is locked...
Only one user can open the file...
Plz, someone can help me?? I'm in trouble!
thanx
Flávio Henrique
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] different win machines on PDC not accessible at different times

2004-05-06 Thread Ralf Cirksena
Hello Rauno,
Thank you for your comment in
http://lists.samba.org/archive/samba/2004-January/078040.html
I have the same problem here. It occurs only when accessing a Windows 
2000 Server machine. In the lower network layers everything works as 
expected. Only SMB has these problems.

For now I followed your advise by downgrading 3.0.1 to 3.0.0. As I can 
see in the Whatsnew file 3.0.0 should do the job here.

Do you know if more recent versions solves this problem (3.0.2 or 
3.0.3)? Thank you for your help.

Ralf
--
R. Cirksena [EMAIL PROTECTED]
Holmberg GmbH  Co. KG
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Winbindd/network freeze samba

2004-05-06 Thread Simone
Packet send failed to 62.101.92.90(137) ERRNO=Network is unreachable

[2004/05/03 10:27:45, 0] nmbd/nmbd_packets.c:reply_netbios_packet(975)



Hi list,
once again looking for some good advice. I apologize for the long email and for the 
mistakes I could have done.

I'm running Samba 3.0.2-6.3E on White box linux 3.0 kernel 2.4.21-4.EL  (clone of Red 
Hat EL 3.0), the environment is a Win 2k ADS domain. Users log into the shares (just 
common folders - no home dir) using winbind. Everything works fine for days, but a 
couple time the server froze and I was unable to even log in from console. Last time 
it happened, I could have a look at processes running on the box cause I had an 
already opened shell, and I found winbindd was using 149M memory. I couldn't ping from 
or to the box (1 ping success on 6 circa) and restarting winbindd and network solved 
the problem. Now everything is working fine, the server has not been restarted.

I had a look at the logs, and this is what I think is more important:

log.smbd

a lot of:
[2004/05/05 14:54:54, 0] lib/util_sock.c:get_peer_addr(952)

getpeername failed. Error was Transport endpoint is not connected   



I read that this means a broken connection, but then how can it be that just 
restarting network services all goes back working fine? Couldn't it be that in any way 
samba interacting with network produced a network collapse? 



log.winbind

[2004/05/05 14:50:25, 1] libads/ldap.c:ads_connect(222)

Failed to get ldap server info

[2004/05/05 14:55:54, 1] libads/ldap.c:ads_connect(222)

Failed to get ldap server info

[2004/05/05 14:57:16, 0] rpc_client/cli_pipe.c:rpc_api_pipe(424)

cli_pipe: return critical error. Error was Call timed out: server did not respond 
after 1 milliseconds

[2004/05/05 15:00:47, 1] libads/ldap.c:ads_connect(222)

Failed to get ldap server info

[2004/05/05 15:01:13, 1] libsmb/cliconnect.c:cli_start_connection(1372)

failed negprot

[2004/05/05 15:01:23, 1] libsmb/cliconnect.c:cli_start_connection(1372)

failed negprot

[2004/05/05 15:01:37, 1] libsmb/cliconnect.c:cli_start_connection(1372)

failed negprot

[2004/05/05 15:05:48, 1] libads/ldap.c:ads_connect(222)

Failed to get ldap server info

[2004/05/05 15:13:10, 0] rpc_client/cli_pipe.c:rpc_api_pipe(424)

cli_pipe: return critical error. Error was Call timed out: server did not respond 
after 1 milliseconds

[2004/05/05 15:17:32, 0] rpc_client/cli_pipe.c:cli_nt_session_open(1437)

cli_nt_session_open: cli_nt_create failed on pipe \NETLOGON to machine FBCSRVDC01. 
Error was Call timed out: server did not respond after 1 milliseconds

[2004/05/05 15:21:02, 0] lib/pidfile.c:pidfile_create(84)

ERROR: winbindd is already running. File /var/run/winbindd.pid exists and process id 
1127 is running.

[2004/05/05 15:21:32, 1] libads/ldap.c:ads_connect(222)

Failed to get ldap server info

[2004/05/05 15:22:25, 1] libads/ldap.c:ads_connect(222)

Failed to get ldap server info

[2004/05/05 15:22:25, 1] libads/ldap_utils.c:ads_do_search_retry(77)

ads_search_retry: failed to reconnect (Can't contact LDAP server)

[2004/05/05 15:22:25, 1] libads/ads_ldap.c:ads_name_to_sid(58)

name_to_sid ads_search: Can't contact LDAP server

[2004/05/05 15:22:25, 1] nsswitch/winbindd_group.c:winbindd_getgroups(954)

user 'fbcrompc116$' does not exist

[2004/05/05 15:22:25, 0] lib/fault.c:fault_report(36)

===

[2004/05/05 15:22:25, 0] lib/fault.c:fault_report(37)

INTERNAL ERROR: Signal 11 in pid 1127 (3.0.2-6.3E)

Please read the appendix Bugs of the Samba HOWTO collection

[2004/05/05 15:22:25, 0] lib/fault.c:fault_report(39)

===

[2004/05/05 15:22:25, 0] lib/util.c:smb_panic(1422)

PANIC: internal error

[2004/05/05 15:22:25, 0] lib/util.c:smb_panic(1430)

BACKTRACE: 14 stack frames:

#0 winbindd(smb_panic+0x13f) [0x80cb96f]

#1 winbindd [0x80b7428]

#2 /lib/tls/libc.so.6 [0xb73b3c08]

#3 winbindd(ads_name_to_sid+0x5c) [0x8181a6c]

#4 winbindd [0x8084980]

#5 winbindd [0x807912c]

#6 winbindd(winbindd_lookup_sid_by_name+0x66) [0x8074cf6]

#7 winbindd(winbindd_getpwnam+0x249) [0x806f0f9]

#8 winbindd(strftime+0x14bc) [0x806d6d8]

#9 winbindd(winbind_process_packet+0x2f) [0x806da2f]

#10 winbindd(strftime+0x2197) [0x806e3b3]

#11 winbindd(main+0x43e) [0x806e97e]

#12 /lib/tls/libc.so.6(__libc_start_main+0xf8) [0xb73a1748]

#13 winbindd(chroot+0x35) [0x806cdf1]

[2004/05/05 15:23:18, 1] libads/ldap.c:ads_connect(222)

Failed to get ldap server info

[2004/05/05 15:23:38, 1] libsmb/cliconnect.c:cli_start_connection(1372)

failed negprot

[2004/05/05 15:24:55, 0] rpc_client/cli_pipe.c:rpc_api_pipe(424)

cli_pipe: return critical error. Error was Call timed out: server did not respond 
after 1 milliseconds

[2004/05/05 15:24:55, 1] nsswitch/winbindd_util.c:add_trusted_domain(166)

Added domain FBCMEDIA FBCMEDIA.COM S-0-0

[2004/05/05 15:24:55, 1] 

[Samba] Migrating to new server

2004-05-06 Thread Kevin Kallsen
Hi folks.

 

I asked this question a couple of weeks ago, but nobody posted any answers.

 

I have mandrake 9.1 with Samba 2.2.8 running a domain with 500 users.  It
has worked flawlessly for a long time.  However, it is time to set up a new
server.  I have a new server with Mandrake 10 OE and Samba  3.0.3 running.
Please explain to this newbie and very satisfied samba user how to migrate
all my users, groups, sid, domain, etc to the new machine.  My goal is to
rsync the correct folders and then power down the old server and have the
domain clients recognize the new server.  In  addition I do not use cups and
can avoid some of the current issues with the mandrake/samba/cup systems.

 

I would also like to know:  Could I just install 3.0.3 on the Mandrake 9.1
and then migrate over?

 

Thanks for your timely response,

 

Kevin

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


Re: [Samba] tdb_fetch failed

2004-05-06 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hoogstraten, Ton wrote:
| [2004/05/06 10:36:26, 0] lib/util_sock.c:read_socket_data(342)
|   read_socket_data: recv failure for 4. Error =
|   Connection reset by peer
| [2004/05/06 10:36:27, 0] smbd/connection.c:register_message_flags(220)
|   register_message_flags: tdb_fetch failed
|
| Is there a way to track which TDB file is failing?
This is a false postive IIRC and is not the cause of the
socket being dropped.  The client did that.


cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAmlW+IR7qMdg1EfYRAuAoAJ9uTw75mWMkIJvdUKchpResdhYMowCgoStn
2JsEwC7m+UeAUMpr+DV8ZCg=
=exiq
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3 Operational Question

2004-05-06 Thread William Jojo


We have three Samba 2.2.8a DC's. They share the smbpasswd database over
NFS. This is not a problem whatsoever. It works wonderfully!

We are becoming a complete LDAP authenticating site for everything and
want to migrate the smbpasswd file to LDAP. We have the scripts to process
all of this so I don't see a problem with merging the sambaSamAccount info
with our posixAccount stuff which I saw was very simple to do.

All the framework is ready, but where I get confused is can we continue
with three DC's and use the single database to auth everyone, or should we
be considering a consolidation to one large DC.

The reasons for three DC's originally was:

1) Load balancing

2) Distribution of different types of data and services

3) Physical separation of Academic, Administrative and EverthingElse
content management.

--

This all made sense then, but perhaps not so much now.

My questions are these:

1) How would the three Samba DC's share the SID attributes for a given DN
between domains so we can keep one password and one id across all domains?
It doesn't appear to me that they would. I could really use some insight
here.

2) When do I know that I need to use winbindd? The docs seem to refer to
merging credential info between Samba and Windows servers, but we don't
plan on that.

3) The group information for Samba as laid out in 6.3.5 of the Samba By
Example book is quite exciting from the perspective of support for true
windows groups in Samba which would be awesome for adding a user as an
administrator or Debug Users and such. Will this be complicated by the
use of three DC's accessing this info?

4) Assuming I do need winbindd, AIX has LDAP method already, but Andrew's
WINBIND method looks equally exciting especially if we can implement the
extentions that allow WINBIND to have options for authonly,db=LDAP or
auth=KRB5,db=LDAP.  The former allows winbindd to do the AIX auth and
gather user info from LDAP.  The latter one would allow for AIX to auth
against KRB, lookup user info from LDAP (which allows the use of
secldapclntd and the AIX, RFC2307 or RFC2307AIX mappings allowed by AIX so
you can use any LDAP server backend with optional schemas) keeping the
ability to still change all passwords and gather RID information from
winbindd. This mechanism is easily implemented with getauthdb and
setauthdb for AIX loadable authentication modules. Or am I just making
this too complicated and missing a rudimentary point?

5) If no SID attribute is listed in the user's DN, and no winbindd is
configured does Samba revert back to the computed RID of (uidNumber * 2 +
1000)? I can easily calculate the full SID for the user and store is in
the  attribute, but I'm curious. (I'm looking throught the code, but
some things are just not obvious to me.)



I thank you all in advance for your responses and continued documentation
of all these features.


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


FW: [Samba] Kerberos case sensitive with Mac OS X on Samba 3.0.x

2004-05-06 Thread ww m-pubsyssamba
This was blocked with both good and bad log output due to the size limit on attachments
so I've removed the log from the successfull authentication. I think its pretty obvious
whats going on from the failed log,

thanks Andy.

-Original Message-
From: ww m-pubsyssamba 
Sent: 06 May 2004 10:32
To: 'Jeremy Allison'; '[EMAIL PROTECTED]'
Subject: RE: [Samba] Kerberos case sensitive with Mac OS X on Samba
3.0.x


Second attempt, didn't accept my zip file first time

Hi Jeremy/All,

I've attached two gzips with both a good authentication (Kinit obtained using 
the same case as account is
stored in AD) and also a bad authentication (Where I've obtained a ticket for a 
username in all lower case
where the account is stored with mixed case in AD).

thanks Andy.

PS the account is stored in /etc/passwd in the same case as AD, ie in my problem it is 
mixed case in
both locations.



-Original Message-
From: Jeremy Allison [mailto:[EMAIL PROTECTED]
Posted At: 05 May 2004 19:26
Posted To: Samba
Conversation: [Samba] Kerberos case sensitive with Mac OS X on Samba
3.0.x
Subject: Re: [Samba] Kerberos case sensitive with Mac OS X on Samba
3.0.x


On Wed, May 05, 2004 at 06:39:38PM +0100, ww m-pubsyssamba wrote:
 Hi List,
 
   I'm having an issue between Samba and OS X with regards to Kerberos 
 authentication to a Samba AD member server.
 I'm using local UNIX accounts and entries in the passdb instead of Windind on the 
 samba server, ie create account by adding
 to /etc/passwd then smbpasswd -a username. From an OS X client system if I obtain a 
 ticket for user UserA like
 kinit [EMAIL PROTECTED] then when I run klist I see the default principal remebers 
 the case I used to obtain the ticket.
 Now when I try and access my Samba member server I successfully recieve a ticket for 
 the Samba server and am able to access
 the server as expected.
 However if I then try kinit [EMAIL PROTECTED] (username is wrong case) I again 
 successfully recieve my TGT but with
 the default principal listed in lower case and when I try and access the Samba 
 server I get this error could not connect to server 
 because user or password was incorrect. This is a big problem because when using 
 the Apple AD plugin for authentication it 
 always requested the ticket with a lower case username! Also this problem does not 
 affect Kerberos authentiction to a Windows 
 member server only Samba.
 Can anyone shed any light on this, whose fault is it? Samba or Apple?

Can you send in a debug level 10 log so we can try and determine where
the problem is ?

Thanks,

Jeremy.

BBCi at http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain personal views which 
are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. Do not use, copy 
or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the BBC monitors 
e-mails sent or received.
Further communication will signify your consent to this.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] tdb_fetch failed

2004-05-06 Thread Adina S
Hi

I have a samba server 3.0.0-15 acting as a PDC on a
Windows domain (98, XP and 2000). Is there a way to
automatically  install printers to windows clients
when users log in? Maybe by running a logon script... 


Thank you in advance.




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] script to automatically install printers to win clients?

2004-05-06 Thread Adina S
Hi
 
I have a samba server 3.0.0-15 acting as a PDC on a
Windows domain (98, XP and 2000). Is there a way to
automatically  install printers to windows clients
when users log in? Maybe by running a logon
script... 

 
Thank you in advance.
 
 







__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] script to automatically install printers to win clients?

2004-05-06 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Adina S wrote:
| Hi
|
| I have a samba server 3.0.0-15 acting as a PDC on a
| Windows domain (98, XP and 2000). Is there a way to
| automatically  install printers to windows clients
| when users log in? Maybe by running a logon
| script...
con2prt.exe from the NT 4 RK
or see 'rundll32.exe printui.dll,PrintUIEntry /?'


cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAmltgIR7qMdg1EfYRAutmAKCdQX7Ao6T2/pMmrrO9Sv1JfqigbwCgnUC5
gl6v8l6A/6fcUNrVpK4xefI=
=6yS0
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Authenticates right on AD server, but still no access...

2004-05-06 Thread Anders Berg
I have a linux (redhat 8.0) samba server that is a part of a Windows ADS.
I have gotten user authentication to work fine (I THINK), but still I have 
some problems with access to share.

The strange thing is that I can access the share from smbclient (on the 
linux server:

#smbclient -d4 //Bones/share -U foo
where user foo has no user on the linux box itself, so the authentication 
is done on/with the ADS server. Cut from log:

[2004/05/06 16:23:12, 1] smbd/service.c:make_connection_snum(619)
bones (10.221.32.80) connect to service vgdesk initially as user FIRM+foo 
(uid=15006, gid=15000) (pid 5811)

And I can access the share from a windows XP computer where I have logged 
in on the XP machine locally first, then accessed the share with 
authentication (user foo). Then like the linux client test, I am all good. 
Cut from log:

[2004/05/06 16:04:29, 1] smbd/service.c:make_connection_snum(619)
hoth3 (10.221.32.20) connect to service vgdesk initially as user FIRM+foo 
(uid=15006, gid=15000) (pid 5512)

But then I try accessing the share from a windows XP computer where I have 
logged in from the start (the machine is in the ADS domain) as an ADS user 
(foo). When I then try to access the share it does not ask me for 
authentication (which is shouldn't) but it does not give me any access to 
the share. There is only an error message (No need to tell you exactly what 
is says, since It is a non-english Windows OS), that tells me I do not have 
access to the share. If I right click the share it tells me under 
properties that I (foo) have no rights at all on the folder (and this I had 
on the examples over). Strange part is that it seems like it has 
autenticated alright to... Cut from log:

[2004/05/06 16:17:00, 1] smbd/service.c:make_connection_snum(619)
vg-andersb (10.221.75.121) connect to service vgdesk initially as user 
FIRM+foo (uid=15006, gid=15000) (pid 5749)

So as you can see it looks like it has authenticated alright, but still no 
access to the same folder I have access to from 2 other machines. FYI: 
There is no TCP wrapper that blocks that machine (10.221.75.121) or anything.

Here is the smb.conf file (foo is in VGMM group, ADS server = 10.221.1.202):
[global]
workgroup = FIRM
server string = Bones
security = ads
encrypt passwords = yes
realm = FIRM.LOCAL
#auth methods = sam, winbind
password server = 10.221.1.202
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
local master = No
wins server = pluto
idmap uid = 15000-2
idmap gid = 15000-2
winbind separator = +
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = Yes
use sendfile = Yes
[vgdesk]
path = /samba/shared/vgdesk
valid users = @VGMM
write list = @VGMM
read only = No
create mask = 0664
directory mask = 0775
inherit permissions = Yes
hide unreadable = Yes
writeable = yes
Samba version: 3.0.3
Anybody have a clue?
YS
TheBog

*
Denne fotnoten bekrefter at denne e-postmeldingen ble
skannet av MailSweeper og funnet fri for virus.
*
This footnote confirms that this email message has been swept by
MailSweeper for the presence of computer viruses.
*
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba and Winbind ?

2004-05-06 Thread Talwar, Puneet (NIH/NIAID)
I have a question about Samba and Winbind setup.  I have successfully setup
Samba, Winbind and Kerberos w/out any problems and I am even able to pull
all the info from the AD user list running the wbinfo -u, and -g and the
getent passwd as well.  The question I have is when it comes time to login
to the Linux box from via console using my AD account and password it for
some reason fail to do so, so I was wondering do I need to create a local
account the linux which has the same username in the passwd file?
 
Thanks,
 
Puneet
 
--
Puneet Talwar
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] I'm losting the samba's shares automatically of time in time.. why?

2004-05-06 Thread Flávio Henrique
Hi all

I create some shares here and everything is right
for begin I made a 'chmod -R 777 /share' to make sure that all users will be access
and ok, all users can use the share

but sometimes the shares seems to be broken...
nobody can use the share...

to recover again, I must type chmod -R 777 again...
'service smb restart' do not work... only 'chmod -R 777'...

someone can help me with this ???

thanx

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


Fw: [Samba] I'm losting the samba's shares automatically of time in time.. why?

2004-05-06 Thread Flávio Henrique



 adding:

 I can see in /var/log/samba/log.%m the error message:

 smbd.service.c:make_connection(599)
 %m (ip) Can't change directory to /share (Permission denied)

 but, like I said before, I already type 'chmod -R 777 /share'

 this is the only problem (until now) that do not allow me to change my
 server to Linux...

 plz

 some help ?

 Flávio Henrique

 - Original Message - 
 From: Flávio Henrique [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, May 06, 2004 12:57 PM
 Subject: [Samba] I'm losting the samba's shares automatically of time in
 time.. why?


 Hi all

 I create some shares here and everything is right
 for begin I made a 'chmod -R 777 /share' to make sure that all users will
be
 access
 and ok, all users can use the share

 but sometimes the shares seems to be broken...
 nobody can use the share...

 to recover again, I must type chmod -R 777 again...
 'service smb restart' do not work... only 'chmod -R 777'...

 someone can help me with this ???

 thanx

 Flávio Henrique
 -- 
 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] nmbd doesn't start: Address already in use

2004-05-06 Thread Rainer Koslowski
Hello!

I have cross-compiled Samba 2.2.3a for my Dreambox(PPC
DVB receiver with Linux).
smbd runs without any problems but when I start nmbd I
get the following error message:

standard input is not a socket, assuming -D option
open_socket_in(): setsockopt: SO_REUSEADDR = True on
port 137 failed with error = Protocol not available
Failed to set socket option SO_BROADCAST (Error
Protocol not available)
Failed to set socket option SO_BROADCAST (Error
Protocol not available)
open_socket_in(): setsockopt: SO_REUSEADDR = True on
port 137 failed with error = Protocol not available
bind failed on port 137 socket_addr = 192.168.0.100.
Error = Address already in use
nmbd_subnetdb:make_subnet()
  Failed to open nmb socket on interface 192.168.0.100
for port 137.  Error was Address already in use
ERROR: Failed when creating subnet lists. Exiting.


Port 137 is definitely not in use. (checked with
netstat)
I have also checked other Samba versions, although I
couldn't cross-compile all files: Same problem.

There is something said about broadcast. This should
also be configured right:

eth0  Link encap:Ethernet  HWaddr
00:09:34:00:9E:B9
  inet addr:192.168.0.100  Bcast:192.168.0.255
 Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1
  RX packets:4774 errors:0 dropped:0
overruns:0 frame:0
  TX packets:918 errors:0 dropped:0 overruns:0
carrier:0
  collisions:0 txqueuelen:100
  RX bytes:730422 (713.3 KiB)  TX bytes:0 (0.0
B)
  Interrupt:28 Base address:0x300


I hope anyone can find my mistake in the log.

Thanks in advance!






Mit schönen Grüßen von Yahoo! Mail - http://mail.yahoo.de
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Compiling --with-ldap on Solaris 9

2004-05-06 Thread Sojka Reinhard
Hi Andy,

I am not from the Samba team, but I am fighting this problem since
Jannuary. In the meanwhile I have a rough overview and hope I can
provide you with some links to dig into this problem.

In my understanding the most helpful statement is made here
http://marc.theaimsgroup.com/?l=samba-technicalm=107051047631564w=2


Bugzilla entry:  https://bugzilla.samba.org/show_bug.cgi?id=395

To my knowledge the problem with Solaris 9 appeared on the List in
December 2003
http://marc.theaimsgroup.com/?l=samba-technicalm=107026747906385w=2
Tough it was Samba 2.2.8a, the problem with LDAP and Solaris 9 is the
same as with Samba 3.0.x. This was solved by tweaking Samba 2.2.8a a bit
to make it compile with Sun LDAP libraries. 

here are the results of my testing
http://lists.samba.org/archive/samba/2004-February/080092.html
and here is Jerry's answer
http://lists.samba.org/archive/samba/2004-February/080160.html
which leads, at the end, to first link in my mail
http://marc.theaimsgroup.com/?l=samba-technicalm=107051047631564w=2


cheers,
Reinhard

-- 
Reinhard Sojka [EMAIL PROTECTED]
System-  Networkadmin
Parlamentsdirektion
+43 1 40110 2824

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


[Samba] Samba using a MySQL passdb for machine records

2004-05-06 Thread Andrew Gray
Greetings.  I'm using Samba 3.0.3 with the MySQL auth backend, as a NT
domain controller.  I'm having some issues trying to get machines to
join the domain.  In full debug, I see samba queries the machines
database (I have two seperate MySQL passdb sources, one for users, one
for machines), and does retrieve the record.  However, it then returns a
NT_STATUS_NONE_MAPPED for no apparent reason.  I got this error before,
when I didn't have SIDs set, but a) there was a seperate message about
that in the log which isn't appearing now and b) SIDs are set and being
retrieved.  Is there something else that could cause
NT_STATUS_NONE_MAPPED during machine joining?

Log:
[2004/05/05 15:28:45, 5]
passdb/pdb_mysql.c:mysqlsam_select_by_field(237)
  Executing query SELECT
NULL,NULL,NULL,'10','10','40',CONCAT(hostname,
$),'EGR2',CONCAT(hostname, $),CONCAT(hostname, '.',
domain),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,systemSid,systemSid,LANMANHash,NTHash,NULL,NULL,NULL,NULL,'5',NULL,NULL
 FROM network_info_sambatest WHERE CONCAT(hostname, $) = 'BLARGH-VM-WINXP$'
[2004/05/05 15:28:45, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/05/05 15:28:45, 5]
rpc_parse/parse_samr.c:init_samr_r_lookup_names(4709)
  init_samr_r_lookup_names
[2004/05/05 15:28:45, 5]
rpc_server/srv_samr_nt.c:_samr_lookup_names(1445)
  _samr_lookup_names: 1445
[2004/05/05 15:28:45, 5] rpc_parse/parse_prs.c:prs_debug(82)
  00 samr_io_r_lookup_names
[2004/05/05 15:28:45, 5] rpc_parse/parse_prs.c:prs_uint32(635)
   num_rids1: 
[2004/05/05 15:28:45, 5] rpc_parse/parse_prs.c:prs_uint32(635)
  0004 ptr_rids : 
[2004/05/05 15:28:45, 5] rpc_parse/parse_prs.c:prs_uint32(635)
  0008 num_types1: 
[2004/05/05 15:28:45, 5] rpc_parse/parse_prs.c:prs_uint32(635)
  000c ptr_types : 
[2004/05/05 15:28:45, 5] rpc_parse/parse_prs.c:prs_ntstatus(665)
  0010 status: NT_STATUS_NONE_MAPPED
[2004/05/05 15:28:45, 5] rpc_server/srv_pipe.c:api_rpcTNP(1549)
  api_rpcTNP: called samr successfully

Config for that passdb source:
   systems:mysql host = mydbhost
   systems:mysql user = user
   systems:mysql password = password
   systems:mysql database = network
   systems:table = network_info_sambatest
   systems:logon time column = NULL:
   systems:logoff time column = NULL:
   systems:kickoff time column = NULL:
   systems:pass last set time column = '10':
   systems:pass can change time column = '10':
   systems:pass must change time column = '40':
   systems:username column = CONCAT(hostname, $):
   systems:domain column = 'EGR2':
   systems:nt username column = CONCAT(hostname, $):
   systems:fullname column = CONCAT(hostname, '.', domain):
   systems:home dir column = NULL:
   systems:dir drive column = NULL:
   systems:logon script column = NULL:
   systems:profile path column = NULL:
   systems:acct desc column = NULL:
   systems:workstations column = NULL:
   systems:unknown string column = NULL:
   systems:munged dial column = NULL:
   systems:user sid column = systemSid
   systems:group sid column = systemSid
   systems:lanman pass column = LANMANHash
   systems:nt pass column = NTHash
   systems:plain pass column = NULL:
   systems:acct ctrl column = NULL:
   systems:unknown 3 column = NULL:
   systems:logon divs column = NULL:
   systems:hours len column = NULL:
   systems:bad password count column = '5':
   systems:logon count column = NULL:
   systems:unknown 6 column = NULL:

pdbedit -u BLARGH-VM-WINXP$ -v ends with:

Executing query SELECT
NULL,NULL,NULL,'10','10','40',CONCAT(hostname,
$),'EGR2',CONCAT(hostname, $),CONCAT(hostname, '.',
domain),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,systemSid,systemSid,LANMANHash,NTHash,NULL,NULL,NULL,NULL,'5',NULL,NULL
 FROM network_info_sambatest WHERE CONCAT(hostname, $) = 'BLARGH-VM-WINXP$'
Account not autolocked, no check needed
No bad password attempts.
Unix username:blargh-vm-winxp$
NT username:  blargh-vm-winxp$
Account Flags:[   ]
User SID:
S-1-5-352321536-804289157-1853071673-2171392347-41386
Primary Group SID:   
S-1-5-352321536-804289157-1853071673-2171392347-41386
Full Name:blargh-vm-winxp.Egr.UNLV.EDU
Home Directory:
HomeDir Drive:
Logon Script:
Profile Path:
Domain:   EGR2
Account desc:
Workstations:
Munged dial:
Logon time:   0
Logoff time:  0
Kickoff time: 0
Password last set:Sat, 08 Sep 2001 18:46:40 GMT
Password can change:  Sat, 08 Sep 2001 18:46:40 GMT
Password must change: Mon, 18 Jan 2038 19:14:07 GMT
Last bad password   : 0
Bad password count  : 0

-- 
Andrew Gray
Systems Administrator
College of Engineering
University of Nevada, Las Vegas


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


RE: [Samba] Samba and Winbind ?

2004-05-06 Thread ww m-pubsyssamba
No, if you are using winbind you should not create a local user,
you need to modify your pam.conf file (think this is correct for
linux I have done it on Solaris) and this is documented in the
samba how to guide which can be found on-line at samba.org or
included with the source code,

thanks Andy.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Talwar, Puneet (NIH/NIAID)
Posted At: 06 May 2004 16:44
Posted To: Samba
Conversation: [Samba] Samba and Winbind ?
Subject: [Samba] Samba and Winbind ?


I have a question about Samba and Winbind setup.  I have successfully setup
Samba, Winbind and Kerberos w/out any problems and I am even able to pull
all the info from the AD user list running the wbinfo -u, and -g and the
getent passwd as well.  The question I have is when it comes time to login
to the Linux box from via console using my AD account and password it for
some reason fail to do so, so I was wondering do I need to create a local
account the linux which has the same username in the passwd file?
 
Thanks,
 
Puneet
 
--
Puneet Talwar
 
-- 
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] Microsoft KB835732 Update Disrupting Samba Connections

2004-05-06 Thread Jeff Umbach
I'm not 100% sure it's that WinXP KB835732 update but it's the only thing
that has been changed in the last two days.  Machines are regularly losing
their network connections, mapped drives, and printers, leading to lockup
and crashes.  I found this in the samba logs of the affected machines.

[2004/05/06 12:03:15, 0] lib/fault.c:fault_report(36)
  ===
[2004/05/06 12:03:15, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 5787 (3.0.2-6.3E)
  Please read the appendix Bugs of the Samba HOWTO collection
[2004/05/06 12:03:15, 0] lib/fault.c:fault_report(39)
  ===
[2004/05/06 12:03:15, 0] lib/util.c:smb_panic(1422)
  PANIC: internal error
[2004/05/06 12:03:15, 0] lib/util.c:smb_panic(1430)
  BACKTRACE: 23 stack frames:
   #0 smbd(smb_panic+0x13f) [0x801a608f]
   #1 smbd [0x80191b48]
   #2 /lib/tls/libc.so.6 [0xb7266c08]
   #3 smbd(print_queue_status+0x186) [0x801c7246]
   #4 smbd [0x800f22aa]
   #5 smbd(_spoolss_rfnpcnex+0x19d) [0x800f25ad]
   #6 smbd [0x800e5d54]
   #7 smbd(api_rpcTNP+0x189) [0x8011ea09]
   #8 smbd(api_pipe_request+0xc8) [0x8011e788]
   #9 smbd [0x80117456]
   #10 smbd [0x801177e9]
   #11 smbd [0x80117a69]
   #12 smbd [0x80117ca8]
   #13 smbd(write_to_pipe+0x115) [0x80117be5]
   #14 smbd [0x8004bb01]
   #15 smbd(reply_trans+0x5ab) [0x8004c53b]
   #16 smbd [0x800901f0]
   #17 smbd [0x80090403]
   #18 smbd(process_smb+0xa6) [0x80090656]
   #19 smbd(smbd_process+0x192) [0x800913d2]
   #20 smbd(main+0x505) [0x8021d345]
   #21 /lib/tls/libc.so.6(__libc_start_main+0xf8) [0xb7254748]
   #22 smbd [0x80035a32]

They all look pretty much like that.  It's only the WinXP SP1 machines that
had problem with the patch that it occurs to.  Others are unaffected.  Some
where fixed by uninstalling and reinstalling the windows patch.  Can anyone
suggest anything?  Should I disabled spoolss and go to using local client
drivers?



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


Re: [Samba] Microsoft KB835732 Update Disrupting Samba Connections

2004-05-06 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeff Umbach wrote:
| I'm not 100% sure it's that WinXP KB835732 update
| but it's the only thing that has been changed in the
| last two days.  Machines are regularly losing their
| network connections, mapped drives, and printers,
| leading to lockup and crashes.  I found this in the samba
| logs of the affected machines.
See https://bugzilla.samba.org/show_bug.cgi?id=1147
for the patch.

cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAmnTZIR7qMdg1EfYRAj1LAKCSktOE5i71cXZgXxKOvM3EWKkvDwCdEqQZ
gqW5iw9kv6FtFPGwR1tlRbI=
=GTPe
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Script repository?

2004-05-06 Thread RRuegner
Tony Whitmore schrieb:
Jonathan Johnson wrote:
Does anyone know of a place where I can find sample scripts for use
with Samba?
Looking thru smb.conf we have these options:
add user script
delete user script
add group script
delete group script
add user to group script
delete user from group script
set primary group script
add machine script
shutdown script
abort shutdown script
logon script
There are probably others that I'm missing.
I think this is a really good idea. I've put some bash scripts on my 
website at http://www.tonywhitmore.co.uk/scripts but they're fairly 
crude. More experienced Samba admins out there must have more powerful 
sets of scripts to share! :)

Cheers,
Tony
the use of this scripts depends on your setup, and they are not equal to 
 ever nix system, so study samba man, for ldap you find examples merged 
from idealix in the samba source

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


[Samba] SOLVED: Roaming profiles not updating XP

2004-05-06 Thread Cassie Moody
This solved my problem.  Thanks very much for sharing.
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Script repository?

2004-05-06 Thread Tony Whitmore
RRuegner wrote:
the use of this scripts depends on your setup, and they are not equal to 
 ever nix system, so study samba man, for ldap you find examples merged 
from idealix in the samba source


I think the point is more that, given a large enough selection of 
scripts, people could browse through them, see how other people do 
things and discover new ways of using existing features. I don't think 
anyone would reasonably expect to lift someone else's configuration file 
and scripts and use them without tweaking!

Tony
--
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.3 Upgrade Issue....Authentification with ArcServ

2004-05-06 Thread Shane Drinkwater
Hello,
I have a couple of Samba Box that have shares backup by ArcServ Ver 9 and
latest service packs. Since I have upgraded to Samba 3.0.3 ArcServ will not
backup the shares. I have setup a test case using public = yes on a share
and still no backup.If I downgrade to Samba 3.0.2a everything works. My
smb.conf on the test box is as follows:
[global]
#=Domain Control options===
local master = no
domain master = no
preferred master = no
#
large readwrite = yes
hosts allow = 127.0.0.1 172.27.1.0/24 172.27.10.0/24 172.27.20.0/24
172.27.40.0/24 172.27.120.0/24
#lpq command = /usr/bin/lpq -P%p
#lpq cache time = 60
veto files = /*.eml/*.nws/riched20.dll/
dns proxy = no
netbios name = testbackup
write cache size = 128000
writeable = yes
#print command = /usr/bin/lpr -P%p %s
workgroup = CSQ
os level = 0
#printcap name = /etc/printcap
security = domain
log file = /var/log/samba/%m.log
#smb passwd file = /etc/samba/smbpasswd
#load printers = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8576
wins server = 172.27.1.17
null passwords = yes
interfaces = 172.27.1.21/24
#map to guest = bad user
encrypt passwords = yes
public = yes
#printing = lprng
#printer admin = @CSQ+Administrator,@CSQ+Programmers,@CSQ+Domain
Admins,@CSQ+Domain Users,@CSQ+PA Doctors
server string = Samba Server
password server = *
guest only = yes
#==Domain Controller==
winbind cache time = 60
winbind separator = +
winbind uid = 1-2
winbind gid = 1-2
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%D/%U
template shell = /bin/bash
#===
# Share Definitions
==
# A publicly accessible directory, but read only, except for people in
# the staff group
[public]
   comment = Public Stuff
   path = /home/samba/public
   public = yes
   writeable = yes
   create mode = 755

If I surf to the test box using network Explorer on the ArcServ I can go
into the share. I have also tried switching the arc Serv programs from Local
to a domain account still no go.. Any Ideas Please!!!
Thank you for your Time
Shane
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Microsoft KB835732 Update Disrupting Samba Connections

2004-05-06 Thread Jeff Umbach
Upgrading to Samba-3.0.3 appears to have fixed this particular problem.

Gerald (Jerry) Carter [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Jeff Umbach wrote:
 | I'm not 100% sure it's that WinXP KB835732 update
 | but it's the only thing that has been changed in the
 | last two days.  Machines are regularly losing their
 | network connections, mapped drives, and printers,
 | leading to lockup and crashes.  I found this in the samba
 | logs of the affected machines.

 See https://bugzilla.samba.org/show_bug.cgi?id=1147
 for the patch.




 cheers, jerry
 - --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ...a hundred billion castaways looking for a home. --- Sting
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFAmnTZIR7qMdg1EfYRAj1LAKCSktOE5i71cXZgXxKOvM3EWKkvDwCdEqQZ
 gqW5iw9kv6FtFPGwR1tlRbI=
 =GTPe
 -END PGP SIGNATURE-
 -- 
 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] tdb_fetch failed

2004-05-06 Thread Adam Tauno Williams
Don't hi-jack threads!

 I have a samba server 3.0.0-15 acting as a PDC on a
 Windows domain (98, XP and 2000). Is there a way to
 automatically  install printers to windows clients
 when users log in? Maybe by running a logon script... 

Yes.

-- 
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.3 Upgrade Issue....Authentification with ArcServ

2004-05-06 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shane Drinkwater wrote:
| Hello,
| I have a couple of Samba Box that have shares backup by ArcServ Ver 9 and
| latest service packs. Since I have upgraded to Samba 3.0.3 ArcServ
will not
| backup the shares. I have setup a test case using public = yes on a share
| and still no backup.If I downgrade to Samba 3.0.2a everything works.
Would you mind trying the patches in
https://bugzilla.samba.org/show_bug.cgi?id=1309 ?  Thanks


cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAmoz8IR7qMdg1EfYRAt6NAJ9nOJf9ssElLz0mLXpKYhAOnsbfIACeNwmF
mm/ZyUWvAZbGq6OIL1CoxPE=
=NRkZ
-END PGP SIGNATURE-
--
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.2a dos access problem null password

2004-05-06 Thread Xavier
Selon [EMAIL PROTECTED]:

Yes , 

I anderstood this John, thanks.
My Samba 3.0.2 is on a security=share level.
My problem is that I have ONE share for anonymous users , it's ok.
And another share for ONE user authenticated and it is ok too for the point of
vue of windows OS.
But using LAN MANAGER onto DOS Floppy disk, I cannot connect to the second one
due to encrypted password!
Is there a way to use encrypted password with LAN MANAGER with old DOS ?

Thanks.

Xavier

 I think you want to use security=share.
 
 In security=user (or security=domain, etc.) the USER is authenticated 
 before he connects to any share - each user can only have one set of 
 credentials for each server.
 
 In security=share mode, each share is authenticated separately.  So you 
 can connect as guest to one share, while you can authenticate as a real 
 user to another share.
 
 


-- 
Xavier
mailto: [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] Re: Migrate passwords from NT4 to Samba-LDAP

2004-05-06 Thread Philip Washington
Alban Browaeys wrote:
   We are also finding that users that we enter manually, when
attempting to login: if we enter the correct password we get and error
messages that the user cannot be logged in due to error C000189. 

I got those kind of errors whenever my statiosn are not joined properly.
(i forgot to create machine posix account, nullify its password, or apply
the join command )
PS/ windows reboot when you set the domain though it fails at this stage
you have to reboot again when you end fixing its trust account on the PDC
Hopes its help
Alban
Thanks, you were correct.  Prior to doing the migration we checked the 
locat sid and everything was fine.  Our problem was that we had an 
preload.ldif file which had the wrong sid in it.  It appears to be 
working now with users whose passwords have been changed manually on the 
Samba PDC.  We still have not found a solution as to why the passwords 
didn't migrate.
 We have also discovered another problem.  The user profiles are changed.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Post migration issues LDAP

2004-05-06 Thread Philip Washington
We have tried to migrate from an NT4 server to Samba3-LDAP and we are 
having the following issues.

1. User passwords did not migrate.  We can change the password in the 
LDAP database using smbtools and then the user can login.

2. Once a user logs in the local profile changes.  If the user logged in 
using the NT4 PDC and then we logged the user in using the Samba3 PDC a 
new profile was created. (New 'My Document' folder).

Is this what is considered a migrated system?
Has someone else done this and not run into these issues or is this 
considered a completed migration?


In the documentation I have read so far, I have not seen these issues 
mentioned.

I am primarily using Samba3 by Example and Samba3 HowTo and Reference 
 Manual as a guide.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] printing from xp

2004-05-06 Thread Hidong Kim
Thanks, Tim!
It's working now according to your procedure.  Thanks,

Hidong


Tim Booher wrote:
Hidong,
Hi. Install the printer locally. Then set up a new local port in the form:
\\myserver\myprinter Make sure the myprinter you are sharing is not set up
with a driver. For example type redhat-config-printer, select a name
'myprinter' then select a port, but for the driver select Raw Queue.
Enjoy,
tim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Hidong Kim
Sent: Wednesday, May 05, 2004 7:39 PM
To: [EMAIL PROTECTED]
Subject: [Samba] printing from xp
Hi,
I've installed Samba 2.2.7a on a Red Hat 9 machine.  This machine is 
also running VMware with Windows XP as the guest OS.  The XP virtual 
machine can access the Linux host's shared directories, but not the 
printer.  The printer is an Epson Stylus Color 860.  It works fine in 
the Linux host.  In the XP guest, I can see the printer in the add 
printer configuration wizard.  But when I try to install the printer on 
the XP guest, it says that access to the printer is denied.  The printer 
portion of my smb.conf is:

[printers]
 comment = All Printers
 path = /var/spool/samba
 guest ok = Yes
 printable = Yes
 browseable = no
What else do I need to check?  Thanks,

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


[Samba] groupmap not working correctly

2004-05-06 Thread Stephen Touset
Currently, my company is trying to deploy a Samba 3.0 server with an 
LDAP back end, for domain authentication. Everything's going extremely 
well so far except for one facet: net groupmap doesn't seem to play well 
with LDAP. I can make the mappings just fine:

hank:/var# net groupmap list
Domain Users (S-1-5-21-616220168-3974143565-3883354751-513) - users
Domain Admins (S-1-5-21-616220168-3974143565-3883354751-512) - wheel
However, when it comes to actually giving these users the permissions, 
it isn't done. Members of wheel aren't given Administrative privilege on 
Domain Member machines. And I can't seem to figure out if there's a way 
to view the membership of a group through Windows dialogs, so I can 
verify whether or not the correct users are indeed members.

Has anyone else had a problem similar to this, or can give me pointers 
as to where to proceed from here?

--
Stephen Touset


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

RE: [Samba] groupmap not working correctly

2004-05-06 Thread Edward Ashley
Hi
I'm having a similar problem. Have you tried checking whether the group is
listed in the local group in computer management? Or can't you get that far
because of user privileges? My problem is that I have to restart the
computer before the second user logs on to get the correct privileges. It's
a bit annoying having to restart just to login as a different user.
Ned

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Stephen Touset
Sent: 06 May 2004 22:19
To: [EMAIL PROTECTED]
Subject: [Samba] groupmap not working correctly

Currently, my company is trying to deploy a Samba 3.0 server with an 
LDAP back end, for domain authentication. Everything's going extremely 
well so far except for one facet: net groupmap doesn't seem to play well 
with LDAP. I can make the mappings just fine:

hank:/var# net groupmap list
Domain Users (S-1-5-21-616220168-3974143565-3883354751-513) - users
Domain Admins (S-1-5-21-616220168-3974143565-3883354751-512) - wheel

However, when it comes to actually giving these users the permissions, 
it isn't done. Members of wheel aren't given Administrative privilege on 
Domain Member machines. And I can't seem to figure out if there's a way 
to view the membership of a group through Windows dialogs, so I can 
verify whether or not the correct users are indeed members.

Has anyone else had a problem similar to this, or can give me pointers 
as to where to proceed from here?

-- 
Stephen Touset

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


[Samba] Local master browser on more than one workgroup

2004-05-06 Thread Andres Adjimann
   Hi, I want to know if is there is a way to configure nmbd to become 
a local master browser in more than one workgroup at the same time.
  
Thanks [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] Script repository?

2004-05-06 Thread RRuegner
Tony Whitmore schrieb:
RRuegner wrote:
the use of this scripts depends on your setup, and they are not equal 
to  ever nix system, so study samba man, for ldap you find examples 
merged from idealix in the samba source


I think the point is more that, given a large enough selection of 
scripts, people could browse through them, see how other people do 
things and discover new ways of using existing features. I don't think 
anyone would reasonably expect to lift someone else's configuration file 
and scripts and use them without tweaking!

Tony
hi tony,
sorry if you have samba loaded from a linux distro, you have enough 
examples for a normal setup included, what description do you need for 
i.e useradd , man useradd tells you everything you need.
for a standart setup you only need normal linux system funktions
no magic is here, and no special scripting.
This is another case i. example with ldap , but you will find
examples in the sources too, what more do you need?

samba comes with the setup tool swat, in serveral distros
there are other setup tools ( i took a look at suse 9.1 , which i cant 
recommend in a whole, but their new samba setup tool in yast is as easy 
as every windows gui )

add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd -r %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/bin/gpasswd -a %u %g
delete user from group script = /usr/bin/gpasswd -d %u %g
set primary group script = /usr/sbin/usermod -g '%g' '%u'
see here for suse 9 linux , all normal system parameters with expansion 
from samba which you can find in man smb.conf

as i said before this might be a little bit different with other nixes
and depends to your passwd backend, tdb,ldap etc
if you search tweaks etc why dont use google , you will find everything, 
which might be helpfull, it is also also allowed to read a book about 
samba ( you dont believe i also read books about windows ), after all i 
think the samba team will be happy for every new
feature which is usefull for the code, this is what
i felt mailing with them which is working in real but sometimes not in 
realtime *g

samba is one of the best working gnu stuff exist, if you wanna give 
something to them wich pumps up the code just do it !

dont forget tweaking setups is one of the great thing with open source,
it pushed my computer knowledge , in my opinion it is not very
usefull setting up server without having understand how it works ( this 
is the way of many so called ms certfullieifhavecreatedtheinternetadmins 
, sorry for the others which exist too )
play with the code ask for help , have fun , have community , struggle 
with users and coders this is what  open source made off
and makes it stronger than everything others
in hoc signum vinces *g
Regards
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Script repository?

2004-05-06 Thread Jonathan Johnson
On Fri, 7 May 2004, RRuegner wrote:

 sorry if you have samba loaded from a linux distro, you have enough 
 examples for a normal setup included, what description do you need for 
 i.e useradd , man useradd tells you everything you need.
 for a standart setup you only need normal linux system funktions
 no magic is here, and no special scripting.
 This is another case i. example with ldap , but you will find
 examples in the sources too, what more do you need?

Not every distro comes with example scripts. Some of the native *nix
tools don't provide exactly the behaviour that Samba expects.

 add user script = /usr/sbin/useradd -m %u
 delete user script = /usr/sbin/userdel -r %u
 add group script = /usr/sbin/groupadd -r %g
 delete group script = /usr/sbin/groupdel %g
 add user to group script = /usr/bin/gpasswd -a %u %g
 delete user from group script = /usr/bin/gpasswd -d %u %g
 set primary group script = /usr/sbin/usermod -g '%g' '%u'
 
 see here for suse 9 linux , all normal system parameters with expansion 
 from samba which you can find in man smb.conf
 

It's great that SuSE 9 provides scripts and docs, but not every distro
is so thoughtful. :-)

 dont forget tweaking setups is one of the great thing with open source,
 it pushed my computer knowledge , in my opinion it is not very
 usefull setting up server without having understand how it works ( this 
 is the way of many so called ms certfullieifhavecreatedtheinternetadmins 
 , sorry for the others which exist too )
 play with the code ask for help , have fun , have community , struggle 
 with users and coders this is what  open source made off
 and makes it stronger than everything others

Please don't take this as a personal attack, but I'd like to point out
that you started with you have enough examples for a normal setup
included.. then finish off with tweaking setups is one of the great
thing with open source.
 
That's exactly what I wanted to do by suggesting a Samba Script
Repository. Everyone will find some need to tweak and adjust their
scripts since it's not one-size-fits-all. If you're looking for that
custom tweak, why not be able to see if someone else has already done
it? Not all of us are not scripting experts. This is what's great about
Samba -- rather than assuming or forcing you to do something a certain
way, the Samba team has, by providing the *script= options in smb.conf,
allowed you to do it your way.

I just discovered that /usr/bin/gpasswd exists on my system. Would have
been nice if somewhere in the documentation it told me that it's what I
want to use for add user script and delete user script; this is the
first I've EVER heard of this utility, so a big thank-you goes out
to Robert.

--Jonathan Johnson
Sutinen Consulting, Inc.
[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: How to tunnel Samba via ssh from Windows XP without having to disable local NetBIOS

2004-05-06 Thread Mike Beaton
I have downloaded smbclient for Win32 from 
http://www.leenux.org.uk/lpackham/smbclient/ and I have found that

smbclient //samba/username -U username

*works perfectly well* even at the same time, on the same network card (only 
wireless card and loopback adapter enabled), that

net use h: \\samba\mjsb20 /user:mjsb20 /persistent:no

does not work at all (with 'System error 53').

So the answer to the main question about my own tunneling solution, 'what's 
wrong with it?', seems to be 'nothing'. Instead there is something wrong with 
the network setup on one of my two network cards (the wireless one) - I always 
get the above weird situation when connected on one card, never on the other, 
even though this card works fine for *everything* else. Has anybody got any 
ideas? I can't find any noticeable differences between the setup of the two 
cards at all. (The QoS and Interface Metric settings on the cards were 
different, but now they're not,  no change in the problem.)

Help!


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


Re: [Samba] Script repository?

2004-05-06 Thread RRuegner
Jonathan Johnson schrieb:
On Fri, 7 May 2004, RRuegner wrote:

sorry if you have samba loaded from a linux distro, you have enough 
examples for a normal setup included, what description do you need for 
i.e useradd , man useradd tells you everything you need.
for a standart setup you only need normal linux system funktions
no magic is here, and no special scripting.
This is another case i. example with ldap , but you will find
examples in the sources too, what more do you need?

Not every distro comes with example scripts. Some of the native *nix
tools don't provide exactly the behaviour that Samba expects.

add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd -r %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/bin/gpasswd -a %u %g
delete user from group script = /usr/bin/gpasswd -d %u %g
set primary group script = /usr/sbin/usermod -g '%g' '%u'
see here for suse 9 linux , all normal system parameters with expansion 
from samba which you can find in man smb.conf


It's great that SuSE 9 provides scripts and docs, but not every distro
is so thoughtful. :-)

dont forget tweaking setups is one of the great thing with open source,
it pushed my computer knowledge , in my opinion it is not very
usefull setting up server without having understand how it works ( this 
is the way of many so called ms certfullieifhavecreatedtheinternetadmins 
, sorry for the others which exist too )
play with the code ask for help , have fun , have community , struggle 
with users and coders this is what  open source made off
and makes it stronger than everything others

Please don't take this as a personal attack, but I'd like to point out
that you started with you have enough examples for a normal setup
included.. then finish off with tweaking setups is one of the great
thing with open source.
 
That's exactly what I wanted to do by suggesting a Samba Script
Repository. Everyone will find some need to tweak and adjust their
scripts since it's not one-size-fits-all. If you're looking for that
custom tweak, why not be able to see if someone else has already done
it? Not all of us are not scripting experts. This is what's great about
Samba -- rather than assuming or forcing you to do something a certain
way, the Samba team has, by providing the *script= options in smb.conf,
allowed you to do it your way.

I just discovered that /usr/bin/gpasswd exists on my system. Would have
been nice if somewhere in the documentation it told me that it's what I
want to use for add user script and delete user script; this is the
first I've EVER heard of this utility, so a big thank-you goes out
to Robert.
--Jonathan Johnson
Sutinen Consulting, Inc.
[EMAIL PROTECTED]
no, problem at all
if you wanna setup a repository for sripts and examples just do it
but if you ask on this list you will get any script you might need *g
but for sure it would nice to see a big example page with different
solutions , i would read it at once *g
dont forget some of this parameters are new to version samba 3 which
is also very new, so its normal many users dont know the new features
i have setup now many smb pdc with different backends , over vpns and 
trusts , with bdc etc.
I must say samba 3 can be a complete nt4 server pdc with all features
are needed in a prof. setup. ( after all i earn my bread with it )
At this time every problem could be solved with phantasie ,googling and 
last but not leasst with many feeware which was written by talented 
windows admins coders and users.
I never missed the active directory, i think the most stuff can be 
solved with ldap.
ldap is my bleeding edge, i have to invest more time on it.
Some doks with ldap scripts , include how to setup global adressbook
with samba and postfix cyrus amavis hylafax procmail apache proftp
would make me very happy.
it would be nice to make a uni-distro with a gui for such a uniserver, 
which works just out of the box, cause for now its a patchwork working.

Best Regards from munich bavaria
--
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.3 breaks domain somehow.

2004-05-06 Thread Tom Dickson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
After upgrading from 3.0.2 to 3.0.3 in a Windows 2000 Native Domain
environment, 9x clients can't connect and wbinfo -t doesn't work:
bash-2.05a# wbinfo -t
checking the trust secret via RPC calls failed
error code was NT_STATUS_PIPE_NOT_AVAILABLE (0xc0ac)
Could not check secret
Downgrading to 3.0.2 fixes this.
I can get log files, but they don't seem to have anything very useful in
them.
Server: Windows 2000 Native Domain
Client: Windows ME or Mac OS X
smb.conf follows:
#=== Global Settings
=
[global]
printcap name = /etc/printcap
load printers = no
log file = /var/log/samba/log.%m
max log size = 50
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
passwd program = /usr/bin/passwd
min password length = 3
logon path = 
# override some defaults
enhanced browsing = no
map archive = no
max connections = 1000
max smbd processes = 1000
follow symlinks = no
username map = /etc/samba/smbusers
winbind separator = +
winbind enum users = yes
winbind enum groups = yes
template shell = /sbin/nologin
template homedir = /dev/null
#
# smbv3.0+
#
create mask = 0700
directory mask = 0700
directory security mask = 0700
#
map acl inherit = yes
inherit permissions = yes
inherit acls = yes
force group = nobody
# Changable Global Settings
==
~ password server = WIN2KNATIVE
~ winbind uid = 1-1
~ map to guest = never
~ security = ads
~ realm = NATIVEDOMAIN.LOCAL
~ domain logons = no
~ server string =
~ workgroup = NATIVEDOMAIN
~ winbind gid = 1-1
~ netbios name = inlab
~ admin users = @NATIVEDOMAIN.LOCAL+Domain Admins
[terabyte]
~ path = /mnt/H00/terabyte
~ comment = terabyte
~ valid users =
~ read only = no
~ available = yes
~ admin users = !
~ write list =
Thank you!
More random output:
bash-2.05a# wbinfo -t
checking the trust secret via RPC calls failed
error code was NT_STATUS_PIPE_NOT_AVAILABLE (0xc0ac)
Could not check secret
bash-2.05a# wbinfo --get-auth-user
NATIVEDOMAIN.LOCAL+nasadmin%nas
bash-2.05a# wbinfo -a NATIVEDOMAIN.LOCAL+nasadmin%nas
plaintext password authentication failed
error code was NT_STATUS_PIPE_NOT_AVAILABLE (0xc0ac)
error messsage was: Named pipe not available
Could not authenticate user NATIVEDOMAIN.LOCAL+nasadmin%nas with
plaintext password
challenge/response password authentication failed
error code was NT_STATUS_PIPE_NOT_AVAILABLE (0xc0ac)
error messsage was: Named pipe not available
Could not authenticate user NATIVEDOMAIN.LOCAL+nasadmin with
challenge/response
wbinfo -u works fine, and connections from the windows 2000 CLIENT
works, also, so kerberos tickets seem to be happy
times and dates:
net time ; date
Thu May  6 17:04:56 2004
Thu May  6 17:04:37 PDT 2004
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD4DBQFAmtHF2dxAfYNwANIRAomLAJdEM/PBdg8OA8m17gQP5QTIo5XtAKCNt6p7
wGxOx7PDN1WAVPNVbk5esg==
=Cxcf
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] problem changing the password as non-root user

2004-05-06 Thread Sergio Belkin
I set the following in smb.conf:
 encrypt passwords = true
 unix password sync = true


As says smb.conf
# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.

1) Always I  had understood if I change the smb passwd, the unix passwoed 
in /etc/passwd did too. However this does not happen. ¿Am I understanding 
right that comment? If that is the case, so, I don't understand the usability 
of 'password sync'ç

2) Also, when I try to change the smb password as non-root user, I can't do 
it, and the following message appear:
machine 127.0.0.1 rejected the password change: Error was : RAP86: The 
specified
 password is invalid.
Failed to change password for sergio
Why? I searched in google, but I don't understand exactly if that is a problem 
of SAmba 3.x
(As root, I can change the password)

3. Finally a question more: How would I do from WIndows if an user change his 
password and automagically change in Linux too? Must I compose a script for 
his connect with samba server?

SErgio BELKin
Obed Liberty
Software Libre al desktop
http://obed.com.ar
-
Baje el manual para el nuevo usuario de GNU/Linux de 
http://www.obed.com.ar/doc/
--
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: How to tunnel Samba via ssh from Windows XP without having to disable local NetBIOS

2004-05-06 Thread Mike Beaton
 even though this card works fine for *everything* else

'Everything else' being all those situations in which the network connection 
on this card doesn't need to use Client for Microsoft Networks.

The final piece of the puzzle: the network connection for the Microsoft 
Loopback Adapter *does not* need Client for Microsoft Networks, but all and 
any network connections on cards which actually connect to the internet do 
need it.

net use, net view, etc. will only work if the genuine, final connection to the 
internet is through a card with C4MN enabled (but smbclient  telnet ... 139 
do not need it, of course...).


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


[Samba] Mac OS 10.3.3 Server How to hide server so users can't browse for it in Windows XP

2004-05-06 Thread Ball, Dan
Hi,

Does anyone know how it is possible to get a OS X 10.3.3 server to hide itself so 
Windows users can't browse for it??

I have the server setup so admin users can login from a Mac or PC to a share on it 
that holds the Mac IT files and I keep seeing in the log files students trying to log 
into it.  I want to hide it so they hopefully think the server went away and stop 
trying.

Thanks,

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


[Samba] RPC net start

2004-05-06 Thread Nick 'Zaf' Clifford
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

First, as far as I can tell, this topic hasn't been mentioned in the mailing 
lists in awhile (atleast not as far as google can tell).

Is there any client/program that can send net start requests to windows 
boxes. 
The ability to start a program as a service on a windows box remotely would 
obviously be very handy.
I am aware of VNC, however it is not suitable for automated tasks.

Nick

- -- 
Nick 'Zaf' Clifford [EMAIL PROTECTED] GnuPG: 0xA8D0F53D
In matters of style, swim with the current; in matters of 
principle, stand like a rock - Thomas Jefferson
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: public key: http://www.nrc.co.nz/Zaf/pubkey.txt

iD8DBQFAmvgtPWICtKjQ9T0RAmHjAJ4phBxvILt95wmhAqYeByiHO/Y1SQCeML8h
h6V3z29xLgVl2Ctp+Z/UOlk=
=cQoL
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


svn commit: samba r510 - branches/SAMBA_4_0/source/rpc_server/samr

2004-05-06 Thread tridge
Author: tridge
Date: 2004-05-06 07:32:51 + (Thu, 06 May 2004)
New Revision: 510

Modified:
   branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c
   branches/SAMBA_4_0/source/rpc_server/samr/samdb.c
Log:
converted the samdb code to give ldb a talloc context rather than letting ldb use 
malloc


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=510nolog=1


svn commit: samba r509 - branches/SAMBA_4_0/source/lib/ldb/ldb_tdb

2004-05-06 Thread tridge
Author: tridge
Date: 2004-05-06 07:30:51 + (Thu, 06 May 2004)
New Revision: 509

Modified:
   branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_cache.c
Log:
fixed a memory handling bug that affects ldb with memory pools that
change with each request


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=509nolog=1


svn commit: samba r512 - branches

2004-05-06 Thread metze
Author: metze
Date: 2004-05-06 09:20:45 + (Thu, 06 May 2004)
New Revision: 512

Added:
   branches/SAMBA_2_2/
Log:
create the SAMBA_2_2 branch as copy from trunk

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=512nolog=1


svn commit: samba r513 - in branches/SAMBA_4_0/source: lib/ldb lib/ldb/common lib/ldb/include lib/ldb/ldb_ldap lib/ldb/tools rpc_server/samr

2004-05-06 Thread tridge
Author: tridge
Date: 2004-05-06 09:55:05 + (Thu, 06 May 2004)
New Revision: 513

Added:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_debug.c
Modified:
   branches/SAMBA_4_0/source/lib/ldb/Makefile.ldb
   branches/SAMBA_4_0/source/lib/ldb/common/ldb.c
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_ldif.c
   branches/SAMBA_4_0/source/lib/ldb/config.m4
   branches/SAMBA_4_0/source/lib/ldb/include/ldb.h
   branches/SAMBA_4_0/source/lib/ldb/ldb_ldap/ldb_ldap.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/ldbsearch.c
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c
   branches/SAMBA_4_0/source/rpc_server/samr/samdb.c
Log:
added a generic ldb debug system to allow the Samba debug functions to
be cleanly interfaced to ldb



WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=513nolog=1


svn commit: samba r514 - branches/SAMBA_4_0/source/rpc_server/samr

2004-05-06 Thread tridge
Author: tridge
Date: 2004-05-06 12:42:42 + (Thu, 06 May 2004)
New Revision: 514

Modified:
   branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c
   branches/SAMBA_4_0/source/rpc_server/samr/samdb.c
Log:
added a context pointer to the samdb interface, as suggested by
metze. Also added a reference count so that a client can close the
connection handle and still used a derived domain handle.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=514nolog=1


svn commit: samba r515 - trunk/source/smbwrapper

2004-05-06 Thread ab
Author: ab
Date: 2004-05-06 14:36:43 + (Thu, 06 May 2004)
New Revision: 515

Modified:
   trunk/source/smbwrapper/realcalls.h
Log:
On GNU/Linux distributions which allow to use both 2.4 and 2.6 kernels
there is SYS_utimes syscall defined at compile time in glibc-kernheaders but 
it is available on 2.6 kernels only. Therefore, we can't rely on syscall at 
compile time but have to check that behaviour during program execution. An easy 
workaround is to have replacement for utimes() implemented within our wrapper and 
do not rely on syscall at all. Thus, if REPLACE_UTIME is defined already (by 
packager), 
skip these syscall shortcuts.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=515nolog=1


svn commit: samba r516 - in branches/SAMBA_3_0/source: smbwrapper utils

2004-05-06 Thread ab
Author: ab
Date: 2004-05-06 14:38:31 + (Thu, 06 May 2004)
New Revision: 516

Modified:
   branches/SAMBA_3_0/source/smbwrapper/realcalls.h
   branches/SAMBA_3_0/source/utils/ntlm_auth.c
Log:
On GNU/Linux distributions which allow to use both 2.4 and 2.6 kernels
there is SYS_utimes syscall defined at compile time in glibc-kernheaders but 
it is available on 2.6 kernels only. Therefore, we can't rely on syscall at 
compile time but have to check that behaviour during program execution. An easy 
workaround is to have replacement for utimes() implemented within our wrapper and 
do not rely on syscall at all. Thus, if REPLACE_UTIME is defined already (by 
packager), 
skip these syscall shortcuts.


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_3_0/sourcerev=516nolog=1


svn commit: samba r517 - branches/SAMBA_3_0/source/utils

2004-05-06 Thread ab
Author: ab
Date: 2004-05-06 14:43:40 + (Thu, 06 May 2004)
New Revision: 517

Modified:
   branches/SAMBA_3_0/source/utils/ntlm_auth.c
Log:
Remove wrong commit I did by mistake


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=517nolog=1


svn commit: samba r519 - branches/SAMBA_3_0/source/smbd

2004-05-06 Thread jerry
Author: jerry
Date: 2004-05-06 15:29:02 + (Thu, 06 May 2004)
New Revision: 519

Modified:
   branches/SAMBA_3_0/source/smbd/password.c
Log:
fix bug in authorise_login() that broke security = share

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=519nolog=1


svn commit: samba r520 - trunk/source/smbd

2004-05-06 Thread jerry
Author: jerry
Date: 2004-05-06 15:33:15 + (Thu, 06 May 2004)
New Revision: 520

Modified:
   trunk/source/smbd/password.c
Log:
BUG 1309:fix bug in authorise_login() that broke security = share

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=520nolog=1


svn commit: samba r521 - in branches/SAMBA_2_2: examples examples/VFS source source/include source/nsswitch swat

2004-05-06 Thread metze
Author: metze
Date: 2004-05-06 17:39:23 + (Thu, 06 May 2004)
New Revision: 521

Added:
   branches/SAMBA_2_2/examples/VFS/configure
   branches/SAMBA_2_2/source/configure
   branches/SAMBA_2_2/source/include/config.h.in
   branches/SAMBA_2_2/source/include/proto.h
   branches/SAMBA_2_2/source/include/version.h
   branches/SAMBA_2_2/source/nsswitch/winbindd_proto.h
Removed:
   branches/SAMBA_2_2/examples/pdb/
   branches/SAMBA_2_2/source/python/
   branches/SAMBA_2_2/swat/lang/
Log:
add some missing files remove some unused files

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_2_2rev=521nolog=1


svn commit: samba r522 - trunk/source/libsmb

2004-05-06 Thread jra
Author: jra
Date: 2004-05-06 17:39:33 + (Thu, 06 May 2004)
New Revision: 522

Modified:
   trunk/source/libsmb/cliconnect.c
Log:
Fix from [EMAIL PROTECTED] to initialise blob structs.
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=522nolog=1


svn commit: samba r523 - branches/SAMBA_3_0/source/libsmb

2004-05-06 Thread jra
Author: jra
Date: 2004-05-06 17:39:36 + (Thu, 06 May 2004)
New Revision: 523

Modified:
   branches/SAMBA_3_0/source/libsmb/cliconnect.c
Log:
Fix from [EMAIL PROTECTED] to initialise blob structs.
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=523nolog=1


svn commit: samba r524 - trunk/source/libsmb

2004-05-06 Thread jra
Author: jra
Date: 2004-05-06 17:48:42 + (Thu, 06 May 2004)
New Revision: 524

Modified:
   trunk/source/libsmb/cliconnect.c
Log:
More memory leak fixes from [EMAIL PROTECTED] in error code
paths.
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=524nolog=1


svn commit: samba r525 - branches/SAMBA_3_0/source/libsmb

2004-05-06 Thread jra
Author: jra
Date: 2004-05-06 17:48:45 + (Thu, 06 May 2004)
New Revision: 525

Modified:
   branches/SAMBA_3_0/source/libsmb/cliconnect.c
Log:
More memory leak fixes from [EMAIL PROTECTED] in error code
paths.
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=525nolog=1


svn commit: samba r526 - branches/SAMBA_2_2/testsuite

2004-05-06 Thread metze
Author: metze
Date: 2004-05-06 17:56:39 + (Thu, 06 May 2004)
New Revision: 526

Removed:
   branches/SAMBA_2_2/testsuite/libsmbclient/
Log:
delete unused files/dirs

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=526nolog=1


svn commit: samba r527 - branches/SAMBA_3_0/source/libsmb

2004-05-06 Thread jra
Author: jra
Date: 2004-05-06 18:23:01 + (Thu, 06 May 2004)
New Revision: 527

Modified:
   branches/SAMBA_3_0/source/libsmb/clikrb5.c
Log:
More memory leak fixes in error paths from [EMAIL PROTECTED]
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=527nolog=1


svn commit: samba r528 - trunk/source/libsmb

2004-05-06 Thread jra
Author: jra
Date: 2004-05-06 18:23:07 + (Thu, 06 May 2004)
New Revision: 528

Modified:
   trunk/source/libsmb/clikrb5.c
Log:
More memory leak fixes in error paths from [EMAIL PROTECTED]
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=528nolog=1


svn commit: samba r529 - branches/SAMBA_2_2/source

2004-05-06 Thread metze
Author: metze
Date: 2004-05-06 18:27:42 + (Thu, 06 May 2004)
New Revision: 529

Modified:
   branches/SAMBA_2_2/source/configure
Log:
fix time stamp problem configure must be newer than configure.in

just a a new line to configure

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=529nolog=1


svn commit: samba r530 - branches/SAMBA_2_2/source

2004-05-06 Thread metze
Author: metze
Date: 2004-05-06 18:29:45 + (Thu, 06 May 2004)
New Revision: 530

Modified:
   branches/SAMBA_2_2/source/configure
Log:
and remove the newline

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=530nolog=1


svn commit: samba r531 - branches

2004-05-06 Thread metze
Author: metze
Date: 2004-05-06 18:34:20 + (Thu, 06 May 2004)
New Revision: 531

Added:
   branches/SAMBA_2_2_RELEASE/
Log:
create SAMBA_2_2_RELEASE branch as copy from SAMBA_2_2

metze


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=531nolog=1


svn commit: samba r532 - in branches/SAMBA_2_2_RELEASE: docs/docbook/manpages docs/docbook/projdoc docs/htmldocs docs/manpages examples/LDAP packaging/Debian/debian packaging/Debian/debian/patches packaging/RedHat packaging/Solaris source source/client source/include source/lib source/libsmb source/locking source/msdfs source/nmbd source/nsswitch source/param source/passdb source/rpc_parse source/rpc_server source/smbd source/tdb source/utils source/web

2004-05-06 Thread metze
Author: metze
Date: 2004-05-06 18:47:38 + (Thu, 06 May 2004)
New Revision: 532

Modified:
   branches/SAMBA_2_2_RELEASE/docs/docbook/manpages/smb.conf.5.sgml
   branches/SAMBA_2_2_RELEASE/docs/docbook/manpages/smbpasswd.8.sgml
   branches/SAMBA_2_2_RELEASE/docs/docbook/projdoc/Integrating-with-Windows.sgml
   branches/SAMBA_2_2_RELEASE/docs/htmldocs/smb.conf.5.html
   branches/SAMBA_2_2_RELEASE/docs/htmldocs/smbpasswd.8.html
   branches/SAMBA_2_2_RELEASE/docs/manpages/smb.conf.5
   branches/SAMBA_2_2_RELEASE/docs/manpages/smbpasswd.8
   branches/SAMBA_2_2_RELEASE/examples/LDAP/samba-nds.schema
   branches/SAMBA_2_2_RELEASE/packaging/Debian/debian/changelog
   branches/SAMBA_2_2_RELEASE/packaging/Debian/debian/control
   branches/SAMBA_2_2_RELEASE/packaging/Debian/debian/patches/Makefile.in.patch
   branches/SAMBA_2_2_RELEASE/packaging/Debian/debian/patches/fhs.patch
   branches/SAMBA_2_2_RELEASE/packaging/RedHat/samba2.spec.tmpl
   branches/SAMBA_2_2_RELEASE/packaging/Solaris/copyright
   branches/SAMBA_2_2_RELEASE/packaging/Solaris/makepkg.sh
   branches/SAMBA_2_2_RELEASE/packaging/Solaris/pkginfo.master
   branches/SAMBA_2_2_RELEASE/packaging/Solaris/prototype.master
   branches/SAMBA_2_2_RELEASE/packaging/Solaris/samba.server.master
   branches/SAMBA_2_2_RELEASE/source/Makefile.in
   branches/SAMBA_2_2_RELEASE/source/acconfig.h
   branches/SAMBA_2_2_RELEASE/source/client/client.c
   branches/SAMBA_2_2_RELEASE/source/configure
   branches/SAMBA_2_2_RELEASE/source/configure.in
   branches/SAMBA_2_2_RELEASE/source/include/config.h.in
   branches/SAMBA_2_2_RELEASE/source/include/proto.h
   branches/SAMBA_2_2_RELEASE/source/include/smb_macros.h
   branches/SAMBA_2_2_RELEASE/source/include/version.h
   branches/SAMBA_2_2_RELEASE/source/lib/access.c
   branches/SAMBA_2_2_RELEASE/source/lib/system.c
   branches/SAMBA_2_2_RELEASE/source/lib/util_sid.c
   branches/SAMBA_2_2_RELEASE/source/lib/util_sock.c
   branches/SAMBA_2_2_RELEASE/source/lib/util_unistr.c
   branches/SAMBA_2_2_RELEASE/source/libsmb/cli_samr.c
   branches/SAMBA_2_2_RELEASE/source/libsmb/clisecdesc.c
   branches/SAMBA_2_2_RELEASE/source/libsmb/libsmbclient.c
   branches/SAMBA_2_2_RELEASE/source/locking/brlock.c
   branches/SAMBA_2_2_RELEASE/source/locking/locking.c
   branches/SAMBA_2_2_RELEASE/source/msdfs/msdfs.c
   branches/SAMBA_2_2_RELEASE/source/nmbd/nmbd.c
   branches/SAMBA_2_2_RELEASE/source/nmbd/nmbd_browsesync.c
   branches/SAMBA_2_2_RELEASE/source/nsswitch/wb_client.c
   branches/SAMBA_2_2_RELEASE/source/nsswitch/winbindd.c
   branches/SAMBA_2_2_RELEASE/source/nsswitch/winbindd_user.c
   branches/SAMBA_2_2_RELEASE/source/param/loadparm.c
   branches/SAMBA_2_2_RELEASE/source/passdb/pdb_ldap.c
   branches/SAMBA_2_2_RELEASE/source/passdb/pdb_smbpasswd.c
   branches/SAMBA_2_2_RELEASE/source/rpc_parse/parse_samr.c
   branches/SAMBA_2_2_RELEASE/source/rpc_server/srv_spoolss_nt.c
   branches/SAMBA_2_2_RELEASE/source/smbd/blocking.c
   branches/SAMBA_2_2_RELEASE/source/smbd/close.c
   branches/SAMBA_2_2_RELEASE/source/smbd/filename.c
   branches/SAMBA_2_2_RELEASE/source/smbd/files.c
   branches/SAMBA_2_2_RELEASE/source/smbd/negprot.c
   branches/SAMBA_2_2_RELEASE/source/smbd/notify_kernel.c
   branches/SAMBA_2_2_RELEASE/source/smbd/open.c
   branches/SAMBA_2_2_RELEASE/source/smbd/oplock.c
   branches/SAMBA_2_2_RELEASE/source/smbd/oplock_linux.c
   branches/SAMBA_2_2_RELEASE/source/smbd/reply.c
   branches/SAMBA_2_2_RELEASE/source/smbd/server.c
   branches/SAMBA_2_2_RELEASE/source/smbd/trans2.c
   branches/SAMBA_2_2_RELEASE/source/smbd/vfs-wrap.c
   branches/SAMBA_2_2_RELEASE/source/tdb/tdb.c
   branches/SAMBA_2_2_RELEASE/source/utils/smbpasswd.c
   branches/SAMBA_2_2_RELEASE/source/web/swat.c
Log:
merge in SAMBA_2_2_RELEASE branch from cvs to branches/SAMBA_2_2_RELEASE

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_2_2_RELEASErev=532nolog=1


svn commit: samba-docs r60 - trunk/manpages

2004-05-06 Thread sfrench
Author: sfrench
Date: 2004-05-06 20:48:35 + (Thu, 06 May 2004)
New Revision: 60

Modified:
   trunk/manpages/mount.cifs.8.xml
Log:
fix description of mount.cifs credential file syntax


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba-docspath=/rev=60nolog=1


svn commit: samba r533 - branches/SAMBA_3_0/source/libads

2004-05-06 Thread jra
Author: jra
Date: 2004-05-06 23:08:56 + (Thu, 06 May 2004)
New Revision: 533

Modified:
   branches/SAMBA_3_0/source/libads/sasl.c
Log:
More memory leak fixes from [EMAIL PROTECTED] I need to
valgrind winbindd with these in
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=533nolog=1


svn commit: samba r534 - trunk/source/libads

2004-05-06 Thread jra
Author: jra
Date: 2004-05-06 23:09:00 + (Thu, 06 May 2004)
New Revision: 534

Modified:
   trunk/source/libads/sasl.c
Log:
More memory leak fixes from [EMAIL PROTECTED] I need to
valgrind winbindd with these in
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=534nolog=1


svn commit: samba r535 - branches/SAMBA_3_0/source/nsswitch

2004-05-06 Thread jra
Author: jra
Date: 2004-05-06 23:11:20 + (Thu, 06 May 2004)
New Revision: 535

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c
Log:
Another memleak fix from [EMAIL PROTECTED]
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=535nolog=1


svn commit: samba r536 - trunk/source/nsswitch

2004-05-06 Thread jra
Author: jra
Date: 2004-05-06 23:11:23 + (Thu, 06 May 2004)
New Revision: 536

Modified:
   trunk/source/nsswitch/winbindd_cache.c
Log:
Another memleak fix from [EMAIL PROTECTED]
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=536nolog=1


  1   2   >