svn commit: samba r98 - in trunk/source: include lib passdb rpc_server utils

2004-04-06 Thread idra
Author: idra
Date: 2004-04-06 23:20:11 + (Tue, 06 Apr 2004)
New Revision: 98

Modified:
   trunk/source/include/passdb.h
   trunk/source/lib/privileges.c
   trunk/source/passdb/passdb.c
   trunk/source/passdb/pdb_interface.c
   trunk/source/passdb/pdb_ldap.c
   trunk/source/passdb/pdb_tdb.c
   trunk/source/passdb/util_sam_sid.c
   trunk/source/rpc_server/srv_lsa_nt.c
   trunk/source/utils/net_privileges.c
Log:

 enable us to add privileges through usrmgr.exe !!
 there still a lot to do:
- add code to remove privileges :-)
- test all cases with both tdbsam and ldapsam
- fix the user rights calls that are mixed in
  a single interface in usrmgr.exe

-SSS





svn commit: samba r97 - in trunk/source: client libsmb smbd

2004-04-06 Thread jra
Author: jra
Date: 2004-04-06 23:09:38 + (Tue, 06 Apr 2004)
New Revision: 97

Modified:
   trunk/source/client/client.c
   trunk/source/libsmb/clifile.c
   trunk/source/smbd/nttrans.c
   trunk/source/smbd/trans2.c
Log:
Stupid f&%'n UNIX extensions SETPATHINFO
normally takes as it's param entry the filename to
be acted upon Unless it's UNIX extensions create
hardlink, or UNIX extensions create symlink. Then it's
param -> newfile name
data -> oldfile name.
This caused me to stuff them up in 3.0.2 (and the
client commands link and symlink). Fixed them, everything
is now called oldname and newname - thus specifying which
name should already exist (hint - the old one...) and which
will be created (newname).
Jeremy.




svn commit: samba r96 - in branches/SAMBA_3_0/source: client libsmb smbd

2004-04-06 Thread jra
Author: jra
Date: 2004-04-06 23:01:09 + (Tue, 06 Apr 2004)
New Revision: 96

Modified:
   branches/SAMBA_3_0/source/client/client.c
   branches/SAMBA_3_0/source/libsmb/clifile.c
   branches/SAMBA_3_0/source/smbd/nttrans.c
   branches/SAMBA_3_0/source/smbd/trans2.c
Log:
Stupid f&%'n UNIX extensions SETPATHINFO
normally takes as it's param entry the filename to
be acted upon Unless it's UNIX extensions create
hardlink, or UNIX extensions create symlink. Then it's
param -> newfile name
data -> oldfile name.
This caused me to stuff them up in 3.0.2 (and the
client commands link and symlink). Fixed them, everything
is now called oldname and newname - thus specifying which
name should already exist (hint - the old one...) and which
will be created (newname).
Jeremy.




svn commit: samba r95 - trunk/source/passdb

2004-04-06 Thread mimir
Author: mimir
Date: 2004-04-06 22:42:32 + (Tue, 06 Apr 2004)
New Revision: 95

Modified:
   trunk/source/passdb/pdb_ldap.c
Log:
Put in a placeholders for trust password manipulation
in LDAP backend.


rafal





CVS update: samba-docs/docbook/manpages

2004-04-06 Thread sfrench

Date:   Tue Apr  6 22:33:01 2004
Author: sfrench

Update of /home/cvs/samba-docs/docbook/manpages
In directory dp.samba.org:/tmp/cvs-serv26785

Modified Files:
mount.cifs.8.xml 
Log Message:
Correct mount.cifs.8 man page


Revisions:
mount.cifs.8.xml1.3 => 1.4

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/manpages/mount.cifs.8.xml.diff?r1=1.3&r2=1.4


Re: svn commit: samba r94 - trunk/source/utils

2004-04-06 Thread Rafal Szczesniak
On Tue, Apr 06, 2004 at 10:23:06PM +, [EMAIL PROTECTED] wrote:
> Author: jmcd
> Date: 2004-04-06 22:23:06 + (Tue, 06 Apr 2004)
> New Revision: 94
> 
> Modified:
>trunk/source/utils/pdbedit.c
> Log:
> Fix the build that mimir broke!
> 
> Function was declared as delete_trustpw, but called as delete_trustpw_entry.

Sorry, just tried to fix that when I noticed you commited the fix.
The latter was the original function name, and it seems I didn't change
it completely...


-- 
Rafal Szczesniak 
Samba Team member  http://www.samba.org



svn commit: samba r94 - trunk/source/utils

2004-04-06 Thread jmcd
Author: jmcd
Date: 2004-04-06 22:23:06 + (Tue, 06 Apr 2004)
New Revision: 94

Modified:
   trunk/source/utils/pdbedit.c
Log:
Fix the build that mimir broke!

Function was declared as delete_trustpw, but called as delete_trustpw_entry.




svn commit: samba r93 - branches/SAMBA_3_0/source

2004-04-06 Thread paulg
Author: paulg
Date: 2004-04-06 22:12:21 + (Tue, 06 Apr 2004)
New Revision: 93

Modified:
   branches/SAMBA_3_0/source/configure.in
Log:
Update VOS _POSIX_C_SOURCE macro to 200112L.



svn commit: samba r92 - in trunk/source: lib rpc_server

2004-04-06 Thread jmcd
Author: jmcd
Date: 2004-04-06 22:02:51 + (Tue, 06 Apr 2004)
New Revision: 92

Modified:
   trunk/source/lib/util_sid.c
   trunk/source/rpc_server/srv_lsa_nt.c
Log:
Fix lsalookupnames.  Previously we'd fail if we didn't find the name, but
we never checked if it was a domain user and didn't find a local one.





svn commit: samba r91 - in branches/SAMBA_3_0/source: lib rpc_server

2004-04-06 Thread jmcd
Author: jmcd
Date: 2004-04-06 22:02:47 + (Tue, 06 Apr 2004)
New Revision: 91

Modified:
   branches/SAMBA_3_0/source/lib/util_sid.c
   branches/SAMBA_3_0/source/rpc_server/srv_lsa_nt.c
Log:
Fix lsalookupnames.  Previously we'd fail if we didn't find the name, but
we never checked if it was a domain user and didn't find a local one.




svn commit: samba r90 - trunk/source

2004-04-06 Thread paulg
Author: paulg
Date: 2004-04-06 22:00:09 + (Tue, 06 Apr 2004)
New Revision: 90

Modified:
   trunk/source/configure.in
Log:
Update VOS _POSIX_C_SOURCE macro to 200112L.



svn commit: samba r89 - trunk/source/client

2004-04-06 Thread sfrench
Author: sfrench
Date: 2004-04-06 21:58:01 + (Tue, 06 Apr 2004)
New Revision: 89

Modified:
   trunk/source/client/mount.cifs.c
Log:
Add missing mount option guest




svn commit: samba r88 - branches/SAMBA_3_0/source/client

2004-04-06 Thread sfrench
Author: sfrench
Date: 2004-04-06 21:56:59 + (Tue, 06 Apr 2004)
New Revision: 88

Modified:
   branches/SAMBA_3_0/source/client/mount.cifs.c
Log:
Add missing guest mount option for mount.cifs




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

2004-04-06 Thread jra
Author: jra
Date: 2004-04-06 21:13:53 + (Tue, 06 Apr 2004)
New Revision: 87

Modified:
   branches/SAMBA_3_0/source/utils/ntlm_auth.c
Log:
Fix the build that Andrew Bartlett broke. Andrew - don't check *ANYTHING* in
unless you have done a make clean; make.
Jeremy.




CVS update: sambaweb

2004-04-06 Thread sfrench

Date:   Tue Apr  6 18:59:49 2004
Author: sfrench

Update of /home/cvs/sambaweb
In directory dp.samba.org:/tmp/cvs-serv19755

Modified Files:
Linux_CIFS_client.html 
Log Message:
Update cifs vfs web page for 1.0.6


Revisions:
Linux_CIFS_client.html  1.51 => 1.52

http://www.samba.org/cgi-bin/cvsweb/sambaweb/Linux_CIFS_client.html.diff?r1=1.51&r2=1.52


svn commit: samba r86 - branches/SAMBA_3_0/source/auth

2004-04-06 Thread abartlet
Author: abartlet
Date: 2004-04-06 16:49:09 + (Tue, 06 Apr 2004)
New Revision: 86

Modified:
   branches/SAMBA_3_0/source/auth/auth_util.c
Log:
This function was moved to lib/nterr.h

Andrew Bartlett




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

2004-04-06 Thread abartlet
Author: abartlet
Date: 2004-04-06 16:45:38 + (Tue, 06 Apr 2004)
New Revision: 85

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_nss.h
Log:
Update the winbind interface version, as I just extended the struct.

Andrew Bartlett




svn commit: samba r84 - in branches/SAMBA_3_0/source: libsmb nsswitch utils

2004-04-06 Thread abartlet
Author: abartlet
Date: 2004-04-06 16:44:24 + (Tue, 06 Apr 2004)
New Revision: 84

Modified:
   branches/SAMBA_3_0/source/libsmb/nterr.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_nss.h
   branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c
   branches/SAMBA_3_0/source/utils/ntlm_auth.c
Log:
Implement --required-membership-of=, an ntlm_auth option that restricts
all authentication to members of this particular group.

Also implement an option to allow ntlm_auth to get 'squashed' error codes,
which are safer to communicate to remote network clients.

Andrew Bartlett






svn commit: samba r83 - trunk/source/utils

2004-04-06 Thread mimir
Author: mimir
Date: 2004-04-06 16:00:11 + (Tue, 06 Apr 2004)
New Revision: 83

Modified:
   trunk/source/utils/pdbedit.c
Log:
1) Implementation of updating and deleting trust password
   entry (update_trustpw and delete_trustpw)
2) More error messages when wrong arguments passed from
   command line


rafal





svn commit: samba r82 - trunk/source/passdb

2004-04-06 Thread mimir
Author: mimir
Date: 2004-04-06 15:57:56 + (Tue, 06 Apr 2004)
New Revision: 82

Modified:
   trunk/source/passdb/pdb_interface.c
   trunk/source/passdb/pdb_tdb.c
Log:
1) Completed basic interface for trust passwords manipulation
   via passdb - tdbsam_update_trust_passwd and tdbsam_delete_trust_password
   functions
2) Fix to method pointers accessing







svn commit: samba r81 - in branches/SAMBA_3_0/source: smbd torture

2004-04-06 Thread jra
Author: jra
Date: 2004-04-06 14:24:13 + (Tue, 06 Apr 2004)
New Revision: 81

Modified:
   branches/SAMBA_3_0/source/smbd/trans2.c
   branches/SAMBA_3_0/source/torture/torture.c
Log:
Make EA's case independent - fix smbtorture to test for this.
Jeremy.




svn commit: samba r80 - in trunk/source: smbd torture

2004-04-06 Thread jra
Author: jra
Date: 2004-04-06 14:24:05 + (Tue, 06 Apr 2004)
New Revision: 80

Modified:
   trunk/source/smbd/trans2.c
   trunk/source/torture/torture.c
Log:
Make EA's case independent - fix smbtorture to test for this.
Jeremy.




svn commit: samba r79 - trunk/source/pam_smbpass

2004-04-06 Thread jerry
Author: jerry
Date: 2004-04-06 13:06:11 + (Tue, 06 Apr 2004)
New Revision: 79

Modified:
   trunk/source/pam_smbpass/pam_smb_auth.c
Log:
patch from Cal Heldenbrand <[EMAIL PROTECTED]> for 'pam_smbpass migrate'



svn commit: samba r78 - trunk/source/client

2004-04-06 Thread sfrench
Author: sfrench
Date: 2004-04-06 13:04:05 + (Tue, 06 Apr 2004)
New Revision: 78

Modified:
   trunk/source/client/mount.cifs.c
Log:
sync mount.cifs fixes from SAMBA_3_0




svn commit: samba r77 - branches/SAMBA_3_0/source/client

2004-04-06 Thread sfrench
Author: sfrench
Date: 2004-04-06 12:57:41 + (Tue, 06 Apr 2004)
New Revision: 77

Modified:
   branches/SAMBA_3_0/source/client/mount.cifs.c
Log:
Fix path canonicalization of the mount target path and help text display in the cifs 
mount helper




svn commit: samba r76 - in branches/SAMBA_3_0/source: client include libsmb

2004-04-06 Thread ab
Author: ab
Date: 2004-04-06 11:45:02 + (Tue, 06 Apr 2004)
New Revision: 76

Modified:
   branches/SAMBA_3_0/source/client/smbmount.c
   branches/SAMBA_3_0/source/include/smb.h
   branches/SAMBA_3_0/source/libsmb/clientgen.c
Log:
Fix smbfs problem with Tree Disconnect issued before smbfs starts its work.
We use cli_state.smb_rw_error to pass this specific case into cli_close_connection()
from smbmount as smb_rw_error can have only selected number of states and
it is ignored in cli_close_connection(). 

Compiled and tested by Lars Mueller from SuSE on x86, x86_64, ppc, ppc64, s390 and
s390x.




svn commit: samba r75 - branches/SAMBA_3_0/source/pam_smbpass

2004-04-06 Thread jerry
Author: jerry
Date: 2004-04-06 11:27:59 + (Tue, 06 Apr 2004)
New Revision: 75

Modified:
   branches/SAMBA_3_0/source/pam_smbpass/pam_smb_auth.c
Log:
patch from Cal Heldenbrand <[EMAIL PROTECTED]> for 'pam_smbpass migrate'



svn commit: samba r74 - trunk/examples/LDAP

2004-04-06 Thread idra
Author: idra
Date: 2004-04-06 09:52:25 + (Tue, 06 Apr 2004)
New Revision: 74

Modified:
   trunk/examples/LDAP/samba.schema
Log:

Heads up.
With the new privilege layout I had to change our schema wrt privileges stuff.
So
- if you were testing privileges with ldapsam you should remove all the privileges 
from your database before you load this schema (usa ldapdelete on the privileges dn).
- if you were testing privileges with tdbsam, please remove the privileges from the 
tdb, probably doing an import export with pdbedit is the easiest thing as pdbedit 
still does not move privileges over.

Simo.





svn commit: samba r73 - in branches/SAMBA_3_0: . source

2004-04-06 Thread jerry
Author: jerry
Date: 2004-04-06 09:27:43 + (Tue, 06 Apr 2004)
New Revision: 73

Modified:
   branches/SAMBA_3_0/WHATSNEW.txt
   branches/SAMBA_3_0/source/VERSION
Log:
bumping version to 3.0.3pre3



svn commit: samba r72 - in trunk/source: auth include lib libsmb nsswitch rpc_server smbd utils

2004-04-06 Thread abartlet
Author: abartlet
Date: 2004-04-06 09:16:57 + (Tue, 06 Apr 2004)
New Revision: 72

Modified:
   trunk/source/auth/auth_ntlmssp.c
   trunk/source/auth/auth_sam.c
   trunk/source/auth/auth_util.c
   trunk/source/include/auth.h
   trunk/source/lib/pam_errors.c
   trunk/source/lib/talloc.c
   trunk/source/libsmb/cliconnect.c
   trunk/source/libsmb/ntlm_check.c
   trunk/source/libsmb/ntlmssp.c
   trunk/source/libsmb/smb_signing.c
   trunk/source/libsmb/smbencrypt.c
   trunk/source/nsswitch/winbindd_nss.h
   trunk/source/nsswitch/winbindd_pam.c
   trunk/source/rpc_server/srv_netlog_nt.c
   trunk/source/smbd/sesssetup.c
   trunk/source/utils/ntlm_auth.c
Log:
Merge PAM error map updates, the NTLMv2, SMB signing and session key
rename work from Samba 3.0

Andrew Bartlett 




svn commit: samba r71 - hooks

2004-04-06 Thread metze
Author: metze
Date: 2004-04-06 08:59:54 + (Tue, 06 Apr 2004)
New Revision: 71

Added:
   hooks/README
Log:
add a README file to hooks/

metze



svn commit: samba r70 - in trunk/source: include lib param passdb utils

2004-04-06 Thread idra
Author: idra
Date: 2004-04-06 08:12:14 + (Tue, 06 Apr 2004)
New Revision: 70

Modified:
   trunk/source/include/passdb.h
   trunk/source/include/smbldap.h
   trunk/source/lib/privileges.c
   trunk/source/lib/smbldap.c
   trunk/source/param/loadparm.c
   trunk/source/passdb/pdb_interface.c
   trunk/source/passdb/pdb_ldap.c
   trunk/source/passdb/pdb_tdb.c
   trunk/source/utils/net_privileges.c
Log:

Upon AndrewB and Volker request now Privileges are indexed by SID in passdb.
Everything should work like before, all the operations have been tested:
 - adding a Privilege to a SID
 - removing a Privilege from a SID
 - listing Privileges
 - running smbd and testing Privileges are honoured
   (right now the only way to test it is by gioving the SeMachineAccountPrivilege to a 
user and then add a workstation to the domain useing that users credentials).

If I messed up something just drop me an email.

Have Fun.
Simo.





svn commit: samba r69 - in branches/SAMBA_3_0/source: auth include libsmb nsswitch rpc_parse rpc_server smbd utils

2004-04-06 Thread abartlet
Author: abartlet
Date: 2004-04-06 08:11:16 + (Tue, 06 Apr 2004)
New Revision: 69

Modified:
   branches/SAMBA_3_0/source/auth/auth_ntlmssp.c
   branches/SAMBA_3_0/source/auth/auth_sam.c
   branches/SAMBA_3_0/source/auth/auth_util.c
   branches/SAMBA_3_0/source/include/auth.h
   branches/SAMBA_3_0/source/libsmb/ntlmssp.c
   branches/SAMBA_3_0/source/libsmb/smbencrypt.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_nss.h
   branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c
   branches/SAMBA_3_0/source/rpc_parse/parse_net.c
   branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c
   branches/SAMBA_3_0/source/smbd/sesssetup.c
   branches/SAMBA_3_0/source/utils/ntlm_auth.c
Log:
Global rename of 'nt_session_key' -> 'user_session_key'.  The session key could
be anything, and may not be based on anything 'NT'.  This is also what microsoft
calls it.




svn commit: samba r68 - branches/SAMBA_4_0/source/bin

2004-04-06 Thread tridge
Author: tridge
Date: 2004-04-06 08:11:07 + (Tue, 06 Apr 2004)
New Revision: 68

Modified:
   branches/SAMBA_4_0/source/bin/
Log:
added some ignores



svn commit: samba r67 - branches/SAMBA_4_0/source/rpc_server

2004-04-06 Thread tridge
Author: tridge
Date: 2004-04-06 08:07:07 + (Tue, 06 Apr 2004)
New Revision: 67

Modified:
   branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c
   branches/SAMBA_4_0/source/rpc_server/dcerpc_server.h
   branches/SAMBA_4_0/source/rpc_server/handles.c
Log:
added a destroy hook in the policy handle -> wire handle code to allow backends
to cleanup handle data





svn commit: samba r66 - branches/SAMBA_4_0/source/client

2004-04-06 Thread tridge
Author: tridge
Date: 2004-04-06 08:05:04 + (Tue, 06 Apr 2004)
New Revision: 66

Modified:
   branches/SAMBA_4_0/source/client/client.c
Log:
fixed a segv when printing an error from a session setup failure. This
was caused by the cli to cli->tree conversion a while ago




svn commit: samba r65 - branches/SAMBA_4_0/source/ntvfs/simple

2004-04-06 Thread tridge
Author: tridge
Date: 2004-04-06 08:02:55 + (Tue, 06 Apr 2004)
New Revision: 65

Modified:
   branches/SAMBA_4_0/source/ntvfs/simple/svfs.h
   branches/SAMBA_4_0/source/ntvfs/simple/svfs_util.c
   branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c
Log:
added support for file streams in the simple NTVFS backend