summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3-netlogon: return proper error code for unsupported validation class.Günther Deschner2009-05-291-1/+1
| | | | Guenther
* s3-rpc_server: increase max number of open policy handles per pipe to 2048.Günther Deschner2009-05-291-1/+1
| | | | Guenther
* s3/getdcname: Fix 'net' crash.Kumar Thangavelu2009-05-291-2/+2
| | | | | | | | 'net' command crashed when attempting to join a domain. This occurred in a very specific case where the DC had multiple IPs and one of the IPs was invalid. Signed-off-by: Volker Lendecke <vl@samba.org>
* Make cli_posix_chown()/cli_posix_chmod() async.Jeremy Allison2009-05-283-51/+233
| | | | Jeremy.
* s3 onefs: update the onefs module to be compliant with stat_exTim Prouty2009-05-288-77/+192
|
* s3: Fix a few more users of stat to use stat_exTim Prouty2009-05-281-10/+10
|
* s3 tdbtorture: Fix linking issueTim Prouty2009-05-281-1/+1
| | | | tdbtorture now calls the tdb transaction code and needs to link it appropriately
* Make cli_posix_stat() async.Jeremy Allison2009-05-283-55/+154
| | | | Jeremy.
* s3/auth map NULL domains to our global sam nameSteven Danneman2009-05-281-9/+3
| | | | | | | | | | | | | | This is an addendum to d8c54fdd, which made make_user_info_map() match Windows behavior by mapping untrusted domains given to smbd on the wire with the users credentials to smbd's global sam name. This fix was being circumvented in the case where the client passed a NULL domain. Vista clients do this. In that case smbd was always remapping the name to the machine workgroup. The NULL domain case should also be mapped to the global sam name. Removing the code in this patch, causes us to fall down to the logic added in d8c54fdd and properly map the domain.
* Make getfacl async.Jeremy Allison2009-05-283-47/+145
| | | | Jeremy.
* s3: fix building of pam_smbpass.Bo Yang2009-05-291-0/+14
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3-winbindd: fix remaining callers of sid_binstring().Günther Deschner2009-05-282-4/+4
| | | | Guenther
* Fix some nonempty blank linesVolker Lendecke2009-05-281-17/+17
|
* s3:nmbd: fix typoBjörn Jacke2009-05-281-1/+1
|
* Make sid_binstring & friends take a talloc contextVolker Lendecke2009-05-287-29/+30
|
* TALLOC_ZERO_P->talloc_zeroVolker Lendecke2009-05-281-1/+2
|
* Do not segfault in pdb_search_destructor if no real search was startedVolker Lendecke2009-05-281-1/+2
|
* Add smbldap_pull_sidVolker Lendecke2009-05-283-13/+23
|
* s3-selftest: use nss_wrapper.pl as "add user to group" and "delete user from ↵Günther Deschner2009-05-281-5/+7
| | | | | | group" script. Guenther
* Add a smbclient "readlink" command and add docs for it.Jeremy Allison2009-05-271-0/+49
| | | | Jeremy.
* Add cli_posix_readlink() and a torture test for it.Jeremy Allison2009-05-273-2/+207
| | | | Jeremy.
* Add aync POSIX hardlink and symlink and torture test for them.Jeremy Allison2009-05-274-157/+391
| | | | | Missing call cli_readlink() is next. Jeremy.
* s3:idmap_ldap: filter out of range mappings in default idmap configMichael Adam2009-05-281-16/+55
| | | | | | This fixes bug #6417 Michael
* s3: Allow child processes to exit gracefully if we are out of fdsMarc VanHeyningen2009-05-279-25/+35
| | | | | | | | | | When we run out of file descriptors for some reason, every new connection forks a child that immediately panics causing smbd to coredump. This seems unnecessarily harsh; with this code change we now catch that error and merely log a message about it and exit without the core dump. Signed-off-by: Tim Prouty <tprouty@samba.org>
* s3: zero an uninitialized arrayMarc VanHeyningen2009-05-271-1/+4
| | | | | | | Invalid pointers were being dereferenced in lookup_sids causing occasional seg faults. Signed-off-by: Tim Prouty <tprouty@samba.org>
* s3:idmap: fix a comment typoMichael Adam2009-05-271-1/+1
| | | | Michael
* s3:idmap_tdb2: filter out of range mappings in default idmap configMichael Adam2009-05-271-12/+49
| | | | | | This fixes bug #6416 Michael
* s3:idmap_tdb: add an entry debug statment to idmap_tdb_db_init()Michael Adam2009-05-271-0/+2
| | | | Michael
* s3:idmap_tdb: filter out of range mappings in default idmap configMichael Adam2009-05-271-16/+57
| | | | | | This fixes bug #6415 Michael
* s3: make passdb backend defaults to tdbsamBjörn Jacke2009-05-271-1/+1
|
* Fix the build of nfs4_acls.cVolker Lendecke2009-05-271-1/+2
|
* Fix a size_t/int warningVolker Lendecke2009-05-271-1/+1
|
* Fix some nonempty blank linesVolker Lendecke2009-05-271-14/+13
|
* Gna, how long do I program in C now??? :-)Volker Lendecke2009-05-271-2/+2
|
* Attempt to fix the build on HP/UXVolker Lendecke2009-05-262-0/+12
|
* Attempt to fix the build on NetBSDVolker Lendecke2009-05-263-6/+9
|
* Revert "s3: fix build on systems with struct stat member st_flags"Björn Jacke2009-05-261-3/+0
| | | | for a cleaner and more complete patch that Volker has in the queue :-)
* s3: fix build on systems with struct stat member st_flagsBjörn Jacke2009-05-261-0/+3
|
* Fix some nonempty blank linesVolker Lendecke2009-05-261-28/+27
|
* Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STATVolker Lendecke2009-05-2653-768/+768
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces struct stat_ex { dev_t st_ex_dev; ino_t st_ex_ino; mode_t st_ex_mode; nlink_t st_ex_nlink; uid_t st_ex_uid; gid_t st_ex_gid; dev_t st_ex_rdev; off_t st_ex_size; struct timespec st_ex_atime; struct timespec st_ex_mtime; struct timespec st_ex_ctime; struct timespec st_ex_btime; /* birthtime */ blksize_t st_ex_blksize; blkcnt_t st_ex_blocks; }; typedef struct stat_ex SMB_STRUCT_STAT; It is really large because due to the friendly libc headers playing macro tricks with fields like st_ino, so I renamed them to st_ex_xxx. Why this change? To support birthtime, we already have quite a few #ifdef's at places where it does not really belong. With a stat struct that we control, we can consolidate the nanosecond timestamps and the birthtime deep in the VFS stat calls. At this moment it is triggered by a request to support the birthtime field for GPFS. GPFS does not extend the system level struct stat, but instead has a separate call that gets us the additional information beyond posix. Without being able to do that within the VFS stat calls, that support would have to be scattered around the main smbd code. It will very likely break all the onefs modules, but I think the changes will be reasonably easy to do.
* s3:smbd: remove unused global 'orig_inbuf'Stefan Metzmacher2009-05-262-2/+0
| | | | metze
* s3:pam_smbpass: don't call openlog() or closelog() from pam_smbpassBjörn Jacke2009-05-265-80/+104
| | | | | | | | | Patch from Steve Langasek with tiny fixes by me to make it apply to master. Also see Debian bug #434372 and bugzilla #4831. Calling openlog() or closelog() inside a pam module is not good as these functions are not stackable and no program won't re-do openlog() just because a pam module might have called closelog().
* s3:smbd: move SMB1 specific stuff into a substructure of smbd_server_connectionStefan Metzmacher2009-05-265-28/+30
| | | | metze
* s3:smbd: add support for SMB2 signingStefan Metzmacher2009-05-265-55/+280
| | | | metze
* s3:smbd: return the correct security mode and capabilities in SMB2 NegotitateStefan Metzmacher2009-05-261-5/+18
| | | | metze
* s3:dbwrap_tool: add listkeys operationMichael Adam2009-05-261-2/+45
| | | | Michael
* s3:dbwrap_tool: remove superfluous command mappingMichael Adam2009-05-261-1/+0
| | | | Michael
* s3:dbwrap_tool: add "erase" opearationMichael Adam2009-05-261-6/+42
| | | | Michael
* net: Use samba default command line arguments.Kai Blin2009-05-2511-209/+135
| | | | | | | | | | | | | | | | | | Attention: The meaning of the -N flag changed. To get the old meaning for net groupmap set, use the long option --ntname The long option for using kerberos changed from --kerberos to --use-kerberos net rpc commands will now prompt for a password if none is given. As a benefit, net will now accept an authentication file like other samba command line tools. So no need to specify the password on the command line in scripts anymore. This should fix bug #6357 Signed-off-by: Kai Blin <kai@samba.org>
* s3 ctags: ignore all proto.h files for tag generationKai Blin2009-05-251-1/+1
|