pam_ldap and passwd
I have a server where I use pam_ldap and nss_ldap. Everything works fine except for changing passwords: [EMAIL PROTECTED] passwd passwd: Sorry, `passwd' can only change passwords for local or NIS users. As I understand pam_ldap supports changing LDAP passwords. Is it supposed to work on FreeBSD ? Yuri ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pam_ldap and passwd
Dag-Erling Smørgrav wrote: Yuri Khotyaintsev [EMAIL PROTECTED] writes: As I understand pam_ldap supports changing LDAP passwords. Is it supposed to work on FreeBSD ? Unfortunately, for historical reasons, passwd(1) does not use PAM to change the password. You may want to file a PR about this and have it assigned to me. DES Done. http://www.freebsd.org/cgi/query-pr.cgi?pr=59638 -- Yuri Khotyaintsev, PhD Swedish Institute of Space Physics, http://www.cluster.irfu.se/yuri Uppsala Division (IRF-U),http://ovt.irfu.se Box 537, S-75121 Uppsala e-mail: yuri AT irfu.se ph: 46-18-471-5929fax: 46-18-471-5905 private: 46-18-462-905 mobile: 46-73-674-8136 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pam_ldap and passwd
Clement Laforet wrote: Yuri Khotyaintsev [EMAIL PROTECTED] wrote: As I understand pam_ldap supports changing LDAP passwords. Is it supposed to work on FreeBSD ? according to src/usr.bin/passwd/passwd.c: ... /* check where the user's from */ switch (pwd-pw_fields _PWF_SOURCE) { case _PWF_FILES: fprintf(stderr, Changing local password for %s\n, pwd-pw_name); break; case _PWF_NIS: fprintf(stderr, Changing NIS password for %s\n, pwd-pw_name); break; default: /* XXX: Green men ought to be supported via PAM. */ errx(1, Sorry, `passwd' can only change passwords for local or NIS users.); } ... If you change default: behaviour you CAN change your password. Currently, passwd is not fully PAM-aware. clem I think I will wait for official solution rather then hacking myself... Do you have any patches for this ? Yuri ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
GL slowdown with latest kernel
I see a ~3x reduced GL performance as measured by glxgears. This is on a dual Athlon sysmem with Radeon 9000 Pro. Old kernel: [EMAIL PROTECTED] uname -a FreeBSD ice.irfu.se 5.1-CURRENT FreeBSD 5.1-CURRENT #3: Wed Oct 22 10:15:08 CEST 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/ICE i386 [EMAIL PROTECTED] glxgears 7128 frames in 5.0 seconds = 1425.600 FPS 8738 frames in 5.0 seconds = 1747.600 FPS 8689 frames in 5.0 seconds = 1737.800 FPS 8725 frames in 5.0 seconds = 1745.000 FPS 8727 frames in 5.0 seconds = 1745.400 FPS 8717 frames in 5.0 seconds = 1743.400 FPS 8717 frames in 5.0 seconds = 1743.400 FPS 8720 frames in 5.0 seconds = 1744.000 FPS 8711 frames in 5.0 seconds = 1742.200 FPS New kernel: [EMAIL PROTECTED] uname -a FreeBSD ice.irfu.se 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Tue Oct 28 09:06:24 CET 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/ICE i386 [EMAIL PROTECTED] glxgears 2851 frames in 5.0 seconds = 570.200 FPS 2961 frames in 5.0 seconds = 592.200 FPS 2873 frames in 5.0 seconds = 574.600 FPS 2866 frames in 5.0 seconds = 573.200 FPS 2877 frames in 5.0 seconds = 575.400 FPS 2863 frames in 5.0 seconds = 572.600 FPS 2884 frames in 5.0 seconds = 576.800 FPS 3436 frames in 5.0 seconds = 687.200 FPS X connection to :0.0 broken (explicit kill or server shutdown). [EMAIL PROTECTED] glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_make_current_read client glx vendor string: SGI client glx version string: 1.2 client glx extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group GLX extensions: GLX_ARB_get_proc_address, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_SGI_video_sync OpenGL vendor string: Tungsten Graphics, Inc. OpenGL renderer string: Mesa DRI R200 20030328 AGP 1x x86/MMX+/3DNow!+/SSE TCL OpenGL version string: 1.3 Mesa 5.0.2 OpenGL extensions: GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic, GL_EXT_texture_object, GL_EXT_texture_lod_bias, GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat, GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos, GL_NV_blend_square, GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod glu version: 1.3 glu extensions: GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat -- 0x23 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None 0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x25 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow 0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None 0x28 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow 0x2a 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x2b 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None 0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x2d 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16
Vinum problem
Hi! I had a vinum mirrored volume usr with two plexes usr.p0 and usr.p1, with respective subdisks usr.p0.s0 and usr.p1.s0. So recently one of the disks crashed. I tried to replace the disk with another one (which later appeared to be somewhat smaller) and run vinum create for a new disk. Because of the small size of the new disk vinum create exited with error, and after that usr.p1.s0 dissapeared from the vinum configuration. so now I have usr.p0 - 1 subdisk (usr.p0.s0) usr.p1 - 0 subdisk Volume usr shows status UP, but trying to run fsck on it produces a kernel panic. Any suggestions how should I proceed to avoid panic and mount the volume? I have no possibility to get new large disk now. Should I try to remove plex usr.p1 ? The system is 4.5-STABLE ___ Yuri Khotyaintsev Swedish Institute of Space Physics, Uppsala Division, Box 537, S-75121 Uppsala To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: can't install world
make buildworld ... make buildkernel ... make installkernel ... mergemaster ... You have to reboot here with new kernel. -- single user make installworld ... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Can't su
Also have the same problem with su on -CURRENT from yesterday. Yuri On Fri, 3 May 2002, Peter S. Housel wrote: Current -CURRENT won't let me run su; it dies with SIGSEGV. The backtrace says: #0 0x28078c57 in openpam_add_module (policy=0xbfbff700, chain=0, flag=1, modpath=0xbfbff28f pam_nologin.so, optc=-1, optv=0xbfbfee78) at /usr/src/lib/libpam/libpam/../../../contrib/openpam/lib/openpam_load.c:182 #1 0x2807796d in openpam_read_policy_file (policy=0xbfbff700, service=0x2807967f other, filename=0x804c1e0 /etc/pam.d/other, style=1) at /usr/src/lib/libpam/libpam/../../../contrib/openpam/lib/openpam_configure.c:189 #2 0x28077b83 in openpam_load_policy (policy=0xbfbff700, service=0x2807967f other) at /usr/src/lib/libpam/libpam/../../../contrib/openpam/lib/openpam_configure.c:236 #3 0x28077c81 in openpam_configure (pamh=0x804f000, service=0x804a250 su) at /usr/src/lib/libpam/libpam/../../../contrib/openpam/lib/openpam_configure.c:275 #4 0x280751b8 in pam_start (service=0x804a250 su, user=0x804a223 root, pam_conv=0xbfbffbd4, pamh=0x804b4ac) at /usr/src/lib/libpam/libpam/../../../contrib/openpam/lib/pam_start.c:68 #5 0x804948f in main (argc=1, argv=0xbfbffc38) at /usr/src/usr.bin/su/su.c:211 #6 0x8049061 in _start () Everything in /etc/pam.d is up to date. I can't run xdm either, (the X server starts, it sits for awhile without a greeter, the server exits and everything starts over) but I don't know if that's related or not. -Peter- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: cardbus problem
On Thursday 07 March 2002 17.13, M. Warner Losh wrote: In message: [EMAIL PROTECTED] : I have xl0: watchdog timeout on my 3Com cardbus card after updating : kernel recently. Everything seems to be OK during boot, : but xl0: watchdog timeout starts directly after ifconfig, and makes : network incredibly slow. : boot -v will not boot at all, it stops somewhere around : cardbus_attach_card. : : It seems the problem is in recent changes to sys/dev/cardbus, because : taking the August version of sys/dev/cardbus/* files resolved the : problem. So using a completely -current kernel, except for the august version of sys/dev/cardbus/*? I wouldn't have expected that to compile, but that's a good data point if true. Yes, it compiled. The only complain was about DETACH_NOWARN. : xl0: 3Com 3c656B Fast Etherlink XL port 0x1000-0x107f mem : 0x84002000-0x8400207f,0x84002000-0x840020ff irq 11 at device 0.0 on : cardbus1 xl0: Ethernet address: 00:50:04:92:29:17 What does vmstat -i say about irq 11? This is for the new kernel: interrupt total rate stray irq0 1 0 stray irq6 1 0 npx0 irq13 1 0 ata0 irq14 1323 12 pccbb1 irq111 0 atkbd0 irq1 200 1 clk irq010417100 Total 11944114 This is for kernel with august cardbus: interrupt total rate stray irq0 1 0 stray irq6 1 0 npx0 irq13 1 0 ata0 irq14 1371 19 atkbd0 irq1 133 1 clk irq0 6868 99 xl0 irq11 63 0 So its pccbb1 on irq 11 in the first case, and xl0 in the second. Yuri Warner /me gets out his 656 cardbus card and gives it a whirl. -- Yuri Khotyaintsev Swedish Institute of Space Physics To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
cardbus problem
Hi! I have xl0: watchdog timeout on my 3Com cardbus card after updating kernel recently. Everything seems to be OK during boot, but xl0: watchdog timeout starts directly after ifconfig, and makes network incredibly slow. boot -v will not boot at all, it stops somewhere around cardbus_attach_card. It seems the problem is in recent changes to sys/dev/cardbus, because taking the August version of sys/dev/cardbus/* files resolved the problem. Further investigation is needed. I attach dmesg output below. -- Yuri Khotyaintsev Swedish Institute of Space Physics, Uppsala Division, Box 537, S-75121 Uppsala Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #0: Mon Mar 4 23:11:04 CET 2002 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/JAZZ Preloaded elf kernel /boot//kernel/kernel at 0xc0454000. Preloaded elf module /boot//kernel/acpi.ko at 0xc04540ac. Timecounter i8254 frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU) Origin = GenuineIntel Id = 0x66a Stepping = 10 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real memory = 100597760 (98240K bytes) avail memory = 93360128 (91172K bytes) Pentium Pro MTRR support enabled Using $PIR table, 9 entries at 0xc00fdf30 ACPI-0567: *** Warning: Reference BAT0 at AML 1276 not found ACPI-0567: *** Warning: Reference BAT1 at AML 127a not found apm0: APM BIOS on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: math processor on motherboard npx0: INT 16 interface acpi0: Other PM system enabled. pcib0: Intel 82443BX (440 BX) host to PCI bridge at pcibus 0 on motherboard pci0: PCI bus on pcib0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) pcm0: ESS Technology Maestro-2E port 0xf800-0xf8ff irq 5 at device 6.0 on pci0 isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel PIIX4 ATA33 controller port 0xfcd0-0xfcdf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: serial bus, USB at device 7.2 (no driver attached) pci0: bridge, PCI-unknown at device 7.3 (no driver attached) pccbb0: TI1220 PCI-CardBus Bridge irq 11 at device 10.0 on pci0 cardbus0: CardBus bus on pccbb0 pccbb1: TI1220 PCI-CardBus Bridge irq 11 at device 10.1 on pci0 cardbus1: CardBus bus on pccbb1 orm0: Option ROM at iomem 0xc-0xcefff on isa0 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 fdc0: enhanced floppy controller (i82077, NE72065 or clone) at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 pmtimer0 on isa0 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 TUPLE: LINKTARGET [3]: 43 49 53 Product version: 5.0 Product name: 3Com Corporation | 3CCFEM656B-LAN | LAN | 1 | Manufacturer ID: 02016265 Functions: Network Adaptor, Multi-Functioned TUPLE: DEVICE_OC [2]: 02 ff cardbus1: Opening BAR: type=IO, bar=10, len=0080 cardbus1: Opening BAR: type=MEM, bar=14, len=0100 TUPLE: CONFIG_CB [6]: 03 01 00 00 00 00 TUPLE: CFTABLE_ENTRY_CB [15]: 41 ba 01 b5 1e 01 b5 1e 02 30 f8 ff 04 01 02 CIS reading done cardbus1: Resource not specified in CIS: id=18, size=80 cardbus1: Non-prefetchable memory at 84002000-8400217f cardbus1: Non-prefetchable memory rid=14 at 84002000-840020ff (100) cardbus1: Non-prefetchable memory rid=18 at 84002000-8400207f (80) cardbus1: IO port at 1000-107f cardbus1: IO port rid=10 at 1000-107f xl0: 3Com 3c656B Fast Etherlink XL port 0x1000-0x107f mem 0x84002000-0x8400207f,0x84002000-0x840020ff irq 11 at device 0.0 on cardbus1 xl0: Ethernet address: 00:50:04:92:29:17 miibus0: MII bus on xl0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto TUPLE: LINKTARGET [3]: 43 49 53 Product version: 5.0 Product name: 3Com Corporation | 3CCFEM656B-MDM | MDM | 1 | Manufacturer ID: 02016365 Functions: Serial Port, Multi-Functioned TUPLE: DEVICE_OC [2]: 02 ff cardbus1: Opening BAR: type=MEM, bar=18, len=1000 TUPLE: CONFIG_CB [6]: 03 01 00 00 00 00 TUPLE: CFTABLE_ENTRY_CB [14]: 41 b2