search for: setpag

Displaying 12 results from an estimated 12 matches for "setpag".

2004 Jan 26
6
OpenSSH, OpenAFS, Heimdal Kerberos and MIT Kerberos
...user. OpenSSH could be built on systems that may or may not have AFS installed and run on a system with or without AFS. The decision is based on the existence of the executable and any options in sshd_config. In its simplest form, all that is needed is: system("/usr/ssh/libexec/aklog -setpag") This is a little over simplified as there should be a test if the executable exists, processing of some return codes, making sure the environment is set, setting some time limit. etc. But the point is there is no compile dependence on OpenAFS, MIT or Hiemdal by the OpenSSH sshd, and an...
2004 Feb 27
2
OPenAFS and OpenSSH replacing kafs
...a modification similar to the one below to replace the kafs modification to get an AFS PAG and token? The nice features of this are that it can be compiled in even if OpenAFS is not available. At runtime if the dynamic library is present, it can be loaded and called. A dynamic lib is used so the setpag is in the same process. It has been reported that the kafs code does not work with delegated gssapi credentials in OpenSSH-3.8. I have not had this problem as I used a different method which this mod is based on. This proposed change would replace the calls to kafs. OpenAFS could then distri...
2004 Feb 27
1
[PATCH] Getting AFS tokens from a GSSAPI-delegated TGT
...bkafs) in combination with GSSAPIDelegateCredentials. The patch is in the public domain and comes with no warranty whatsoever. Applies to pristine 3.8p1. Works for me on Solaris and Tru64. I'd probably have used Doug Engert's patch from 2004-01-30 if Heimdal's afslog command supported -setpag; although to be honest I don't really like the idea of children being able to change their parent's PAG. * modified files ./auth-krb5.c ./auth.h ./session.c * file diffs --- orig/auth-krb5.c +++ mod/auth-krb5.c @@ -199,6 +199,25 @@ return (1); } +/* + * Mainly useful wi...
2003 Nov 13
0
Problem compiling 3.0.0
...LIBS = -lcrypt -lresolv -lnsl -ldl -L/ssl -L/ssl/lib LDSHFLAGS = -shared -L/usr/kerberos/lib LDFLAGS = -L/usr/kerberos/lib Linking bin/smbd auth/pass_check.o: In function `afs_auth': /dp/computing/proj/samba/samba-3.0.0/source/auth/pass_check.c:51: undefined reference to `setpag' /dp/computing/proj/samba/samba-3.0.0/source/auth/pass_check.c:52: undefined reference to `ka_UserAuthenticateGeneral' collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 Has anybody run across this?
2004 Sep 20
0
AFS?
Which version of openafs do I need to compile AFS support into samba. I tried compiling Samba 3.0.7 but get a setpag() undefined error, when building against OpenAFS 1.2.11. Thanks, Derek Isn't sanity just a one-trick pony anyway? I mean, all you get is that one trick, rational thinking, but when you're good and crazy, well, the sky's the limit! "The Tick (comic book)" -------------- ne...
2006 Jan 15
0
Samba 3.0.21a && AFS
...b/afs.c:170: undefined reference to `DES_key_sched' /usr/local/src/tmp/samba-3.0.21a.orig/source/lib/afs.c:171: undefined reference to `DES_pcbc_encrypt' auth/pass_check.o: In function `afs_auth': /usr/local/src/tmp/samba-3.0.21a.orig/source/auth/pass_check.c:51: undefined reference to `setpag' /usr/local/src/tmp/samba-3.0.21a.orig/source/auth/pass_check.c:52: undefined reference to `ka_UserAuthenticateGeneral' collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 ----- s n i p ----- When this was solved, there where other problems, but those are also fixed in the pat...
2000 May 09
1
openssh-2.1.0 and AFS
Hi! I've noticed that openssh always does a do_setpag() if compiled with AFS-support no matter which authentication method is used. Maybe I'm missing something but shouldn't it only get a pag, if AFS-token-passing is used? If password authentication is used, an AFS-pam-module (or the authenticate function on AIX) will do the job, otherwise, n...
2019 Nov 08
1
Regarding an "earlier" variant of `pre-xfer exec` [feature request and proposed patch]
...efore accessing any files, one must call the `klog` tool to authenticate. However as said above, one can`t use `pre-xfer exec` because that executes after `chdir` which fails. For reference: * https://docs.openafs.org/Reference/1/pagsh.html * https://github.com/openafs/openafs/blob/master/src/sys/setpag.c * `k_setpag` -- http://manpages.ubuntu.com/manpages/bionic/man3/krb_afslog.3.html Other use-cases for such a feature: * as the original poster of the thread from 2008 said, he wanted to mount an encrypted file-system; * one could expose a Git worktree as a `rsync` module and use the "early...
2004 Feb 27
3
Change request For OpenSSH 3.8p1
NOTE: This patch requires a previously sent patch fixing a small problem in OpenSSH PAM support when POSIX threads are used. This is a small patch to the OpenSSH portable configuration process that I'd like to have considered for inclusion in the distributed version. It will set the use of (native) POSIX threads in Solaris if the header and library files are present on the system. At
2006 Oct 17
0
[682] trunk/wxruby2/doc/textile/htmlwindow.txtl: Fix some little formatting errors that were causing the page to be unreadable
...onstructor - and virtual height </span><span class="cx"> is changed dynamically depending on page size. </span><span class="cx"> Once the window is created you can set its content by calling </span><del>-"set_page(text)":#HtmlWindow_setpage(text), -"load_page(filename)":#HtmlWindow_loadpage(filename) or -"load_file":#HtmlWindow_loadfile. </del><ins>+"set_page(html_code)":#HtmlWindow_setpage, +"load_page(location)":#HtmlWindow_loadpage or +"load_file(file_name)":#HtmlWindow...
2006 Nov 06
3
HtmlWindow and friends
Hi Attached is a patch to add HtmlWindow and some of its friends, including HtmlEasyPrinting. Also a sample. I haven''t tried exposing the parsing and rendering API yet to allow custom tags etc - I just wanted to get basic HTML and the 0.6.0 compatibility classes first. There may well be some quite easy classes left. There''s one ugly kludge to get OnOpeningURL to compile -
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...- </del><span class="cx"> virtual bool LoadFile(const wxFileName& filename ) ; </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief Unlike SetPage this function first loads HTML page from -and then displays it. See example: -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param const wxString& -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - </del><span class="...