search for: become_user

Displaying 20 results from an estimated 56 matches for "become_user".

1998 Oct 08
0
readbraw vs. readX
...mba 1.9.18p10 I have found a difference between Win95 and WinNT: opening 'Lotus Freelance' files from Win95 is really slow (about 17 kB/s only) vs fast (~hundreds of kB/s) from WinNT. Looking into the log (with debug level=4) I see using Win95: switch message SMBopenX (pid 33994) Skipping become_user - already user unix_clean_name [./PRIVATE/Goyal_Sep98.PRZ] Got dir cache hit on . PRIVATE -> Private unix_clean_name [Private/Goyal_Sep98.PRZ] calling open_file with flags=0x2 flags2=0x0 mode=0664 Allocated new file_fd_struct 0, dev = ffffffff, inode = ffffffff 1998/10/08 13:50:32 axs opened fil...
1998 Apr 16
2
Problem with visual C++ and samba
...is case. Thanks John -- John Harvey Division Limited Tel: +44 (0)1454 615554 19 Apex Court, Fax: +44 (0)1454 615532 Woodlands Email: john@division.co.uk Bristol BS12 4JT, UK Log file from broken compilation switch message SMBopenX (pid 1726) Skipping become_user - already user unix_clean_name [./dvise-dev/win32.d/src/dmcad/libdnrb/vc50.pch] unix_clean_name [dvise-dev/win32.d/src/dmcad/libdnrb/vc50.pch] calling open_file with flags=0x1 flags2=0x200 mode=0664 Allocated new file_fd_struct 4, dev = ffffffff, inode = ffffffff 04/16/1998 13:58:53 dvise opened fi...
1997 Jul 18
0
Samba 1.9.16pl11: dropping connections between Solaris 2.5.1 and WinNT4SP3
...miss the error dialog and copy the failed file separately. This drastically diminishes the utility of samba. The relevant samba.log file fragment is below. Christopher Dutchyn cdutchyn@aec.ca AECWest SA <last successful file open for write> switch message SMBopenX (pid 2206) Skipping become_user - already user unix_clean_name [./w2/Install/Fixes/ASP.DLL] reduce_name [w2/Install/Fixes/ASP.DLL] [/export/LogArch] chdir to w2/Install/Fixes chdir to /export/LogArch reduced to w2/Install/Fixes/ASP.DLL calling open_file with flags=0x1 flags2=0x300 mode=0664 Allocated new file_fd_struct 0,...
1999 May 27
0
Diagnosis Test Pass, But...
...[1999/05/27 13:10:39, 3] smbd/process.c:process_smb(615) Transaction 0 of length 72 [1999/05/27 13:10:39, 2] smbd/reply.c:reply_special(96) netbios connect: name1=DGRLINUX02 name2=DGR10 ==================== log.dgr10 ==================== [1999/05/27 13:17:01, 5] smbd/uid.c:unbecome_user(295) unbecome_user now uid=(0,0) gid=(0,0) [1999/05/27 13:17:01, 5] smbd/uid.c:become_user(262) become_user uid=(0,14) gid=(0,50) [1999/05/27 13:17:01, 3] lib/doscalls.c:dos_ChDir(336) dos_ChDir to /taurusnfs/repository [1999/05/27 13:17:01, 5] smbd/filename.c:unix_convert(351) unix_convert...
1999 Feb 11
0
File system shows empty with DAVE 2.1
...msg(470) smb_vwv[13]=1 (0x1) [1999/02/12 09:56:25, 5] lib/util.c:show_msg(470) smb_vwv[14]=1 (0x1) [1999/02/12 09:56:25, 5] lib/util.c:show_msg(475) smb_bcc=22 [1999/02/12 09:56:25, 3] smbd/process.c:switch_message(402) switch message SMBtrans2 (pid 2576) [1999/02/12 09:56:25, 4] smbd/uid.c:become_user(209) Skipping become_user - already user [1999/02/12 09:56:25, 3] smbd/trans2.c:call_trans2findfirst(664) call_trans2findfirst: dirtype = 22, maxentries = 1, close_after_first=0, close_if_end = 0 requires_resume_key = 0 level = 770, max_data_bytes = 4096 [1999/02/12 09:56:25, 3] smbd/error.c:er...
2018 Mar 10
2
Run smbd in AD user context
...> environment file in '/var/lib/irods/.irods'. > > smbd_become_authenticated_pipe_user() doesn't change your $HOME > environment variable. > > You need to do more work to correctly become the user you want > to access irods from. > Off list I got a tip on using become_user(). A soon as I get a grip on how to extract the calling user's vuid I give it a try I have of course tried other functions; become_user_permanently( ), become_user_by_session( ) and become_authenticated_pipe_user( ). None of these have given the right $HOME.Or I simply don't know how to int...
2000 May 22
1
Inherit Permissions addition
...between @@ -177,12 +216,12 @@ */ if((lp_security() == SEC_SHARE) && (current_user.conn == conn) && - (current_user.uid == conn->uid)) { + (current_user.uid == conn->uid) && (!inheritnewgid)) { DEBUG(4,("Skipping become_user - already user\n")); return(True); } else if ((current_user.conn == conn) && (vuser != 0) && (current_user.vuid == vuid) && - (current_user.uid == vuser->uid)) { + (current_user.uid == vuser...
2018 Mar 11
2
Run smbd in AD user context
2018-03-10 19:48 GMT+01:00 Jeremy Allison <jra at samba.org>: > On Sat, Mar 10, 2018 at 01:10:46PM +0100, Davor Vusir via samba wrote: > > > > Off list I got a tip on using become_user(). A soon as I get a grip on > how > > to extract the calling user's vuid I give it a try I have of course tried > > other functions; become_user_permanently( ), become_user_by_session( ) > and > > become_authenticated_pipe_user( ). None of these have given the right &gt...
2003 Dec 01
0
No subject
...d.c:open_rpc_pipe_p(204) Opened pipe srvsvc with handle 701a (pipes_open=1) [2001/06/25 16:10:05, 3] smbd/process.c:process_smb(621) Transaction 4 of length 140 [2001/06/25 16:10:05, 3] smbd/process.c:switch_message(451) switch message SMBwriteX (pid 20055) [2001/06/25 16:10:05, 4] smbd/uid.c:become_user(186) Skipping become_user - already user [2001/06/25 16:10:05, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(817) search for pipe pnum=701a [2001/06/25 16:10:05, 3] rpc_server/srv_pipe.c:api_pipe_bind_req(696) api_pipe_bind_req: \PIPE\srvsvc -> \PIPE\ntsvcs [2001/06/25 16:10:05, 3] smbd/pipes....
1997 Jul 31
0
Passwords fail from Win95 but not from DOS (Samba 1.9.16p11/NetBSD)
...user nobody (l=10) SMB Password - pwlen = 10, challenge_done = 0 Checking password for user simon (l=10) ACCEPTED: session list username and given password ok found free connection number 82 Connect path is /home/simon simon is in 2 groups 20 0 trying claim /usr/local/samba/var/locks STATUS. 1000 become_user uid=(0,501) gid=(20,20) chdir to /home/simon chdir to / unbecome_user now uid=(0,0) gid=(0,0) 07/31/97 01:57:54 shagnasty (137.195.5.55) connect to service simon as user simon (uid=501,gid=20) (pid 1235) 07/31/97 01:57:54 tcon service=simon user=simon cnum=82 8<-=-=-=-=-=- Log for Win95 Client...
1999 Jun 29
0
Help. Unable to print from NT
...smb_vwv[1]=65535 (0xFFFF) [1999/06/29 15:26:28, 5] lib/util.c:show_msg(470) smb_vwv[2]=65535 (0xFFFF) [1999/06/29 15:26:28, 5] lib/util.c:show_msg(475) smb_bcc=0 [1999/06/29 15:26:28, 3] smbd/process.c:switch_message(448) switch message SMBclose (pid 1304) [1999/06/29 15:26:28, 4] smbd/uid.c:become_user(209) Skipping become_user - already user [1999/06/29 15:26:28, 3] smbd/reply.c:reply_close(2739) close fd=11 fnum=4328 (numopen=1) [1999/06/29 15:26:28, 3] smbd/open.c:fd_attempt_close(158) fd_attempt_close fd = 11, dev = 306, inode = 15695, open_flags = 2, ref_count = 1. [1999/06/29 15:26:28...
1999 Dec 16
0
explorer freezes on right-clicking .exe's
...for dev = 341, inode = 1962023. Current global_oplocks_open = 2 [1999/12/16 11:15:27, 5] lib/doscalls.c:dos_GetWd(460) dos_GetWd /mnt/bigfoot/public, inode 145409, dev 833 [1999/12/16 11:15:27, 3] lib/doscalls.c:dos_ChDir(329) dos_ChDir to /var/log/samba [1999/12/16 11:15:27, 5] smbd/uid.c:unbecome_user(347) unbecome_user now uid=(0,0) gid=(0,0) [1999/12/16 11:15:37, 2] smbd/oplock.c:oplock_break(717) oplock_break resend [1999/12/16 11:15:47, 2] smbd/oplock.c:oplock_break(717) oplock_break resend [1999/12/16 11:15:57, 2] smbd/oplock.c:oplock_break(717) oplock_break resend [1999/12/16 11:16...
2002 May 16
0
File copy error with Samba 2.2.x and 3.0/Novell/Win2k
...00 00 00 00 00 00 00 00 ........ ........ [2002/05/13 15:40:24, 10] lib/util.c:dump_data(1443) [0F0] 00 00 00 00 00 00 00 ....... [2002/05/13 15:40:24, 3] smbd/process.c:switch_message(667) switch message SMBnttrans (pid 15241) [2002/05/13 15:40:24, 4] smbd/uid.c:become_user(119) Skipping become_user - already user [2002/05/13 15:40:24, 10] smbd/nttrans.c:reply_nttrans(1858) reply_nttrans: parameter_count = 90 [2002/05/13 15:40:24, 10] lib/util.c:dump_data(1435) [000] 10 00 00 00 00 00 00 00 96 01 13 00 00 00 00 00 ........ ........ [2002/05/13 15:40:24, 10] li...
1999 May 31
0
setting passwords from Windows
...4 4D 50 3D 43 3A 00 EST2.E.. .TMP=C:. [1999/05/31 18:40:12, 10] lib/util.c:dump_data(2840) [040] 00 05 00 ... ... cut .. [1999/05/31 18:40:12, 3] smbd/process.c:switch_message(448) switch message SMBtrans (pid 1614) [1999/05/31 18:40:12, 5] smbd/uid.c:become_user(262) become_user uid=(0,500) gid=(0,500) [1999/05/31 18:40:12, 3] lib/doscalls.c:dos_ChDir(336) dos_ChDir to /tmp [1999/05/31 18:40:12, 3] smbd/ipc.c:reply_trans(3612) trans <\PIPE\LANMAN> data=0 params=54 setup=0 [1999/05/31 18:40:12, 5] smbd/ipc.c:reply_trans(3623) calling named_pip...
2024 Apr 05
3
samba as a domain member: a way to ignore groups?
Hi! We had stand-alone anonymous samba server serving a read-only share as guest account. It worked well but had a few strange issues (like lots of noise in logs about bad smb2 signature). Its been suggested to switch to a domain member server. I didn't see the point since we don't need different user IDs and security model, but okay, - I joined a new server to a domain. Now I see
2003 Dec 01
0
No subject
[2001/11/07 11:37:14, 3] smbd/sec_ctx.c:set_sec_ctx(320) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0[2001/11/07 11:37:14, 5] smbd/uid.c:unbecome_user(215) unbecome_user now uid=(0,0) gid=(0,0)[2001/11/07 11:37:14, 6] param/loadparm.c:lp_file_list_changed(2203) lp_file_list_changed() file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf last mod_time: Wed Nov 7 11:27:15 2001 [2001/11/07 11:37:23, 6] smbd/process.c:proc...
1998 Nov 09
0
Password changing on SCO openserver
...00 5C 5C 56 41 4C 50 49 4E 41 5C 49 50 43 24 00 .\\VALPI NA\IPC$. [010] 49 50 43 00 IPC. switch message SMBtconX (pid 7040) Got device type IPC Trying username ipc$ ACCEPTED: validated uid ok as non-guest found free connection number 112 Connect path is /tmp become_user uid=(0,31062) gid=(50,50) chdir to /tmp chdir to /usr/local/samba/bin unbecome_user now uid=(0,0) gid=(0,0) 1998/11/04 19:18:14 v_alpinalh40 (169.80.220.7) connect to service IPC$ as user grebeiro (uid=31062,gid=50) (pid 7040) 1998/11/04 19:18:14 tconX service=ipc$ user=grebeiro cnum=112 size=85 sm...
1998 Oct 14
0
allowing anyone to browse and print (NT 4.0 SP3, 9.18p10)
...ng). Here's the log: Allowed connection from host.domain (192.168.0.1) to ep_txt Trying username ep_txT ACCEPTED: validated uid ok as non-guest found free connection number 39 Connect path is /var/spool/samba willi is in 2 groups 1011 1011 trying claim /usr/local/samba/var/locks STATUS. 1000 become_user uid=(0,1011) gid=(1011,1011) chdir to /var/spool/samba chdir to /usr/local/samba/lib unbecome_user now uid=(0,0) gid=(0,0) 1998/10/13 15:35:12 acwilli (192.168.0.1) connect to service ep_txt as user willi (uid=1011,gid=1011) (pid 8200) 1998/10/13 15:35:12 tconX service=ep_txt user=willi cnum=39 siz...
2001 Mar 16
0
Some Users Work - Some don't (fwd)
...73 73 20 65 72 72 /File ac cess err [2001/03/16 03:38:06, 10] lib/util.c:dump_data(2926) [1F0] 6F 72 0D 0A 30 33 2F 31 33 2F 32 30 30 31 20 35 or..03/1 3/2001 5 [2001/03/16 03:38:06, 3] smbd/process.c:switch_message(448) switch message SMBwrite (pid 24425) [2001/03/16 03:38:06, 4] smbd/uid.c:become_user(186) Skipping become_user - already user [2001/03/16 03:38:06, 10] smbd/fileio.c:seek_file(63) seek_file: requested pos = 20480, new pos = 20480 [2001/03/16 03:38:06, 3] smbd/reply.c:reply_write(2533) write fnum=4470 num=4029 wrote=4029 [2001/03/16 03:38:06, 5] lib/util.c:show_msg(430) It...
2007 Jan 23
2
Re: [nut-commits] svn commit r731
...opened on the second attempt, but only after upsd has forked into the background, so the command-line user is left with no further information after the first error message. Why was it necessary to move conf_load()? In this case, chdir(statepath) should be moved before it. But the problem is that become_user() has to be before chdir (to check permission), and chroot_start() has to be before become_user(), and this might perhaps mess up listen_add() (does listen_add() require root access)? This looks like a catch-22 to me, but I don't understand the code as well as you do. Is there some sequence of...